the GREAT CONFIG MIGRATION; (scwrypts v5 and some neat new config stuffs)
This commit is contained in:
1
config/local/umbreon/bin/default
Symbolic link
1
config/local/umbreon/bin/default
Symbolic link
@@ -0,0 +1 @@
|
||||
undock
|
17
config/local/umbreon/bin/runedock
Executable file
17
config/local/umbreon/bin/runedock
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/zsh
|
||||
source ${0:a:h}/xorg.zsh
|
||||
ARGS=($(ALL_OTHER_DISPLAYS_OFF eDP-1))
|
||||
|
||||
xrandr ${ARGS[@]} \
|
||||
--output eDP-1 \
|
||||
--primary \
|
||||
--mode 960x600 \
|
||||
--pos 0x0 \
|
||||
--rotate normal \
|
||||
;
|
||||
|
||||
pkill compton
|
||||
|
||||
scwrypts desktop screen-blank -- disable
|
||||
scwrypts desktop i3 set background -- link-vs-gdizz.jpg
|
||||
scwrypts desktop play sfx -- gamedock
|
1
config/local/umbreon/bin/scwrypts
Symbolic link
1
config/local/umbreon/bin/scwrypts
Symbolic link
@@ -0,0 +1 @@
|
||||
../../zsh/plugins/scwrypts/scwrypts
|
17
config/local/umbreon/bin/undock
Executable file
17
config/local/umbreon/bin/undock
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/zsh
|
||||
source ${0:a:h}/xorg.zsh
|
||||
ARGS=($(ALL_OTHER_DISPLAYS_OFF eDP-1))
|
||||
|
||||
xrandr ${ARGS[@]} \
|
||||
--output eDP-1 \
|
||||
--primary \
|
||||
--mode 1920x1200 \
|
||||
--pos 0x0 \
|
||||
--rotate normal \
|
||||
;
|
||||
|
||||
(pkill compton; sleep 0.5; compton;) &
|
||||
|
||||
scwrypts desktop screen-blank -- enable
|
||||
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg || scwrypts desktop i3 set background -- random
|
||||
scwrypts desktop play sfx -- gamedock
|
10
config/local/umbreon/bin/xorg.zsh
Normal file
10
config/local/umbreon/bin/xorg.zsh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/zsh
|
||||
source $HOME/.config/wryn/env.zsh
|
||||
[ ! $DISPLAY ] && export DISPLAY=:0
|
||||
|
||||
ALL_OTHER_DISPLAYS_OFF() {
|
||||
for OUTPUT in $(xrandr | grep connect | grep -v $1 | awk '{print $1;}')
|
||||
do
|
||||
echo --output $OUTPUT --off
|
||||
done
|
||||
}
|
Reference in New Issue
Block a user