scwrypts v3 refactor

This commit is contained in:
2023-06-27 16:53:59 -06:00
parent 02ed7d615a
commit 1a64551465
57 changed files with 590 additions and 501 deletions

1
bin/altaria/default Symbolic link
View File

@ -0,0 +1 @@
homedock

View File

@ -1,22 +1,18 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh
xrandr --output HDMI-0 --mode 3840x2160; sleep 1
xrandr \
--output DP-0 \
--off \
--output DP-2 \
--output HDMI-0 \
--primary \
--mode 3840x2160 \
--rotate normal \
--pos 0x0 \
;
sleep 2;
xrandr --output DP-2 --mode 3840x2160 --rate 120;
pkill compton
$DOTWRYN/bin/set-background random
$DOTWRYN/bin/play-sound login
xset dpms 0 0 0 && xset s noblank && xset s off \
&& notify-send 'DPMS' 'disabled screen blank'
scwrypts desktop/screen-blank -- disable
scwrypts desktop/i3/set-background -- roy-art.jpg
scwrypts desktop/play-sound -- gamedock

View File

@ -1,24 +0,0 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh
xrandr --output HDMI-0 --mode 3840x2160; sleep 1
xrandr \
--output DP-0 \
--mode 3840x2160 \
--rotate normal \
--pos 0x0 \
--output DP-2 \
--primary \
--mode 3840x2160 \
--rotate normal \
--left-of DP-0 \
;
(pkill compton; sleep 1; compton;) &
$DOTWRYN/bin/set-background purple.jpg
$DOTWRYN/bin/play-sound login
xset dpms 0 0 0 && xset s noblank && xset s off \
&& notify-send 'DPMS' 'disabled screen blank'

20
bin/altaria/homedock Executable file
View File

@ -0,0 +1,20 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh
xrandr \
--output DP-0 \
--primary \
--mode 1920x1080 \
--rotate normal \
--pos 0x0 \
--output HDMI-0 \
--mode 1920x1080 \
--rotate normal \
--pos 0x0 \
;
(pkill compton; sleep 1; compton;) &
scwrypts desktop/screen-blank -- disable
scwrypts desktop/i3/set-background -- purple.jpg
scwrypts desktop/play-sound -- login

View File

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