flattening and cleaning up various configurations and executables
This commit is contained in:
21
bin/umbreon/homedock
Executable file
21
bin/umbreon/homedock
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/zsh
|
||||
source ${0:a:h}/xorg.zsh
|
||||
|
||||
xrandr \
|
||||
--output DP-3-1 \
|
||||
--primary \
|
||||
--auto \
|
||||
--mode 1920x1080 \
|
||||
--rotate normal \
|
||||
--pos 0x0 \
|
||||
--output eDP-1 \
|
||||
--off \
|
||||
;
|
||||
|
||||
xset dpms 0 0 0 && xset s noblank && xset s off \
|
||||
&& notify-send 'DPMS' 'disabled screen blank'
|
||||
|
||||
(pkill compton; sleep 0.5; compton;) &
|
||||
|
||||
$DOTWRYN/bin/set-background random
|
||||
$DOTWRYN/bin/play-sound gamedock
|
20
bin/umbreon/runedock
Executable file
20
bin/umbreon/runedock
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/zsh
|
||||
source ${0:a:h}/xorg.zsh
|
||||
|
||||
xrandr \
|
||||
--output eDP-1 \
|
||||
--primary \
|
||||
--auto \
|
||||
--mode 960x600 \
|
||||
--rotate normal \
|
||||
--rate 60 \
|
||||
--pos 0x0 \
|
||||
;
|
||||
|
||||
pkill compton
|
||||
|
||||
xset dpms 0 0 0 && xset s noblank && xset s off \
|
||||
&& notify-send 'DPMS' 'disabled screen blank'
|
||||
|
||||
$DOTWRYN/bin/set-background random
|
||||
$DOTWRYN/bin/play-sound gamedock
|
21
bin/umbreon/undock
Executable file
21
bin/umbreon/undock
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/zsh
|
||||
source ${0:a:h}/xorg.zsh
|
||||
|
||||
xrandr \
|
||||
--output eDP-1 \
|
||||
--primary \
|
||||
--auto \
|
||||
--mode 1920x1200 \
|
||||
--rotate normal \
|
||||
--pos 0x0 \
|
||||
--output DP-3-1 \
|
||||
--off \
|
||||
;
|
||||
|
||||
xset +dpms && xset s blank && xset s on \
|
||||
&& notify-send 'DPMS' 'enabled screen blank'
|
||||
|
||||
(pkill compton; sleep 0.5; compton;) &
|
||||
|
||||
$DOTWRYN/bin/set-background random
|
||||
$DOTWRYN/bin/play-sound gamedock
|
3
bin/umbreon/xorg.zsh
Normal file
3
bin/umbreon/xorg.zsh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/zsh
|
||||
source $HOME/.config/wryn/env.zsh
|
||||
[ ! $DISPLAY ] && export DISPLAY=:0
|
Reference in New Issue
Block a user