scwrypts v3 refactor
This commit is contained in:
1
bin/altaria/default
Symbolic link
1
bin/altaria/default
Symbolic link
@ -0,0 +1 @@
|
||||
homedock
|
@ -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
|
||||
|
@ -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
20
bin/altaria/homedock
Executable 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
|
@ -1,2 +1,3 @@
|
||||
#!/bin/zsh
|
||||
source $HOME/.config/wryn/env.zsh
|
||||
[ ! $DISPLAY ] && export DISPLAY=:0
|
||||
|
Reference in New Issue
Block a user