scwrypts v4.4 config adjustments; added os dependencies; removed dotwryn.env.vim references from setup; generate i3 config on setup
This commit is contained in:
@ -1,4 +1,12 @@
|
||||
#!/bin/zsh
|
||||
|
||||
command -v scwrypts &>/dev/null || {
|
||||
[ -f $HOME/.local/bin/scwrypts ] \
|
||||
&& scwrypts() { $HOME/.local/bin/scwrypts $@; } \
|
||||
|| scwrypts() { $HOME/.wryn/zsh/plugins/scwrypts/scwrypts $@; } \
|
||||
;
|
||||
}
|
||||
|
||||
case $1 in
|
||||
( next | previous | play-pause ) playerctl $1 ;;
|
||||
( fastforward ) playerctl position 5+ ;;
|
||||
|
@ -13,5 +13,5 @@ xrandr ${ARGS[@]} \
|
||||
(pkill compton; sleep 0.5; compton;) &
|
||||
|
||||
scwrypts desktop screen-blank -- enable
|
||||
scwrypts desktop i3 set background -- random
|
||||
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg || scwrypts desktop i3 set background -- random
|
||||
scwrypts desktop play sound -- gamedock
|
||||
|
Reference in New Issue
Block a user