flattening and cleaning up various configurations and executables

This commit is contained in:
2022-08-22 16:40:57 -06:00
parent e0594ebfb7
commit 26571b5dfc
32 changed files with 189 additions and 85 deletions

21
bin/umbreon/homedock Executable file
View 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
View 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
View 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
View File

@ -0,0 +1,3 @@
#!/bin/zsh
source $HOME/.config/wryn/env.zsh
[ ! $DISPLAY ] && export DISPLAY=:0