Work on wallpaper scripts
This commit is contained in:
parent
432e36183a
commit
6e18bfed69
14
de/bspwm/fehbg
Executable file
14
de/bspwm/fehbg
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
feh --no-fehbg --bg-fill \
|
||||||
|
"${HOME}/.wallpaper" \
|
||||||
|
"${HOME}/.wallpaper2" \
|
||||||
|
"${HOME}/.wallpaper3" \
|
||||||
|
"${HOME}/.wallpaper4" \
|
||||||
|
"${HOME}/.wallpaper5" \
|
||||||
|
"${HOME}/.wallpaper6" \
|
||||||
|
"${HOME}/.wallpaper7" \
|
||||||
|
"${HOME}/.wallpaper8" \
|
||||||
|
"${HOME}/.wallpaper9" \
|
||||||
|
"${HOME}/.wallpaper_last" \
|
||||||
|
2>/dev/null
|
|
@ -1,5 +1,5 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Sway
|
Name=sway-lytedev
|
||||||
Comment=SirCmpwn's Wayland window manager
|
Comment=SirCmpwn's Wayland window manager with lytedev's config
|
||||||
Exec=sway-lytedev
|
Exec=sway-lytedev
|
||||||
Type=Application
|
Type=Application
|
||||||
|
|
|
@ -33,6 +33,7 @@ super + {_,shift + }{h,j,k,l}
|
||||||
bspc node -{f,s} {west,south,north,east}
|
bspc node -{f,s} {west,south,north,east}
|
||||||
|
|
||||||
# swap previous/next desktops
|
# swap previous/next desktops
|
||||||
|
|
||||||
super + bracket{left,right}
|
super + bracket{left,right}
|
||||||
bspc desktop -f {prev,next}
|
bspc desktop -f {prev,next}
|
||||||
|
|
||||||
|
@ -72,6 +73,7 @@ super + {_,shift + }{1-9,0}
|
||||||
~button1
|
~button1
|
||||||
bspc node -f pointed
|
bspc node -f pointed
|
||||||
|
|
||||||
|
# set the current node's dimensions to 1920x1080 (for streaming)
|
||||||
super + shift + alt + ctrl + s
|
super + shift + alt + ctrl + s
|
||||||
wres1080
|
wres1080
|
||||||
|
|
||||||
|
@ -131,17 +133,9 @@ super + ctrl + alt + shift + space
|
||||||
super + ctrl + alt + space
|
super + ctrl + alt + space
|
||||||
bspc config -d focused bottom_padding 200; bspc config -d focused top_padding 200; bspc config -d focused left_padding 400; bspc config -d focused right_padding 400
|
bspc config -d focused bottom_padding 200; bspc config -d focused top_padding 200; bspc config -d focused left_padding 400; bspc config -d focused right_padding 400
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
super + alt + minus
|
super + alt + minus
|
||||||
bspc config -d focused bottom_padding $(expr $(bspc config -d focused bottom_padding) - 5)
|
bspc config -d focused bottom_padding $(expr $(bspc config -d focused bottom_padding) - 5)
|
||||||
|
|
||||||
# wm-independant shortcuts
|
|
||||||
|
|
||||||
# spawn a transparent node
|
|
||||||
super + alt + t
|
|
||||||
urxvtc && compton-trans -c -o 0
|
|
||||||
|
|
||||||
# rotate the current node
|
# rotate the current node
|
||||||
super + r
|
super + r
|
||||||
bspc node -R 90
|
bspc node -R 90
|
||||||
|
@ -150,6 +144,12 @@ super + r
|
||||||
super + shift + b
|
super + shift + b
|
||||||
bspc node -B
|
bspc node -B
|
||||||
|
|
||||||
|
# wm-independant shortcuts
|
||||||
|
|
||||||
|
# spawn a transparent node
|
||||||
|
super + alt + t
|
||||||
|
urxvtc && compton-trans -c -o 0
|
||||||
|
|
||||||
# make current node transparent
|
# make current node transparent
|
||||||
super + t
|
super + t
|
||||||
compton-trans -c -o 0
|
compton-trans -c -o 0
|
||||||
|
@ -168,7 +168,7 @@ super + Return
|
||||||
|
|
||||||
# spawn a floating terminal
|
# spawn a floating terminal
|
||||||
super + shift + Return
|
super + shift + Return
|
||||||
bspc rule -a '*' -o state=floating && urxvtc --dimensions 80x24
|
bspc rule -a '*' -o state=floating && urxvtc
|
||||||
|
|
||||||
# spawn the app launcher
|
# spawn the app launcher
|
||||||
super + space
|
super + space
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
feh --bg-fill "$@"
|
index="${2}"
|
||||||
|
wp_file="${HOME}/.wallpaper${index}"
|
||||||
|
rm -f "${wp_file}"
|
||||||
|
ln -s "${1}" "${wp_file}"
|
||||||
|
"${HOME}/.fehbg"
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
"$DOTFILES_PATH/de/x/loadresources" lodpi && autorandr --change && sleep 1 && restartbar
|
"${DOTFILES_PATH}/de/x/loadresources" lodpi
|
||||||
|
autorandr --change
|
||||||
|
restartbar
|
||||||
|
"${HOME}/.fehbg"
|
||||||
|
|
3
setup
3
setup
|
@ -7,8 +7,9 @@ source "${dfp}/scripts/setup_helpers.bash"
|
||||||
|
|
||||||
links=(
|
links=(
|
||||||
# desktop environment files
|
# desktop environment files
|
||||||
"$dfp/de/sway/config" "$XDG_CONFIG_HOME/sway/config"
|
|
||||||
"$dfp/de/bspwm/bspwmrc" "$XDG_CONFIG_HOME/bspwm/bspwmrc"
|
"$dfp/de/bspwm/bspwmrc" "$XDG_CONFIG_HOME/bspwm/bspwmrc"
|
||||||
|
"$dfp/de/bspwm/fehbg" "$HOME/.fehbg"
|
||||||
|
"$dfp/de/sway/config" "$XDG_CONFIG_HOME/sway/config"
|
||||||
"$dfp/de/sxhkd/sxhkdrc" "$XDG_CONFIG_HOME/sxhkd/sxhkdrc"
|
"$dfp/de/sxhkd/sxhkdrc" "$XDG_CONFIG_HOME/sxhkd/sxhkdrc"
|
||||||
"$dfp/de/x/resources" "$HOME/.Xresources"
|
"$dfp/de/x/resources" "$HOME/.Xresources"
|
||||||
"$dfp/de/x/initrc" "$HOME/.xinitrc"
|
"$dfp/de/x/initrc" "$HOME/.xinitrc"
|
||||||
|
|
|
@ -69,7 +69,6 @@ alias gl="git log --graph --pretty=oneline --abbrev-commit --decorate"
|
||||||
# misc aliases
|
# misc aliases
|
||||||
alias qute="qutebrowser --backend webengine"
|
alias qute="qutebrowser --backend webengine"
|
||||||
alias p="ping 8.8.8.8"
|
alias p="ping 8.8.8.8"
|
||||||
alias setbg="feh --bg-fill"
|
|
||||||
alias C="clear && clear"
|
alias C="clear && clear"
|
||||||
alias keyrepeat="xset r rate 250 80"
|
alias keyrepeat="xset r rate 250 80"
|
||||||
alias r="ranger"
|
alias r="ranger"
|
||||||
|
|
Reference in a new issue