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:
2024-05-08 23:33:06 -06:00
parent 95f26a6322
commit c5fa4d1056
36 changed files with 181 additions and 75 deletions

View File

@ -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+ ;;

View File

@ -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