the GREAT CONFIG MIGRATION; (scwrypts v5 and some neat new config stuffs)
This commit is contained in:
21
config/local/altaria/bin/default
Executable file
21
config/local/altaria/bin/default
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/zsh
|
||||
source ${0:a:h}/xorg.zsh
|
||||
|
||||
case $MONITOR_CONFIGURATION in
|
||||
home )
|
||||
XRANDR_SET \
|
||||
--screen-blank disable \
|
||||
${XRANDR_ARGS__smol__1440p[@]} --pos 0x0 --primary --rate 120.00 \
|
||||
${XRANDR_ARGS__livingroom__1440p[@]} --pos 0x0 \
|
||||
;
|
||||
|
||||
;;
|
||||
unknown )
|
||||
echo 'unknown state; using default configuration to prevent monitor issues'
|
||||
xrandr --output $(xrandr | grep ' connected' | awk '{print $1;}') --primary
|
||||
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
|
||||
$DOTWRYN/bin/polybar
|
||||
scwrypts desktop play sfx -- login
|
||||
return 0
|
||||
;;
|
||||
esac
|
Reference in New Issue
Block a user