diff --git a/.config/i3/config b/.config/i3/config index 4017f49..6dc6cfa 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -13,7 +13,7 @@ set $mod2 Mod1 floating_modifier $mod # Application startup -exec_always --no-startup-id feh --bg-fill --no-fehbg "$HOME/Pictures/wallpaper.jpg" +exec_always --no-startup-id $HOME/.scripts/wm/wallpaper.sh & exec --no-startup-id qutebrowser exec --no-startup-id urxvt exec --no-startup-id thunar --daemon @@ -199,9 +199,10 @@ bindsym $mod+$mod2+Right resize grow width 10 px or 10 ppt #--- Media key bindings ---# # Screenshot -bindsym --release Print exec scrot -e "mv \$f $HOME/Pictures/screen_captures/" # Fullscreen -bindsym --release Shift+Print exec scrot -s -e "mv \$f $HOME/Pictures/screen_captures/" # Selection -bindsym --release $mod+Print exec scrot -u -e "mv \$f $HOME/Pictures/screen_captures/" # Focused window +set $capture "$HOME/pictures/screen-captures/" +bindsym --release Print exec scrot -e "mv \$f "$capture # Fullscreen +bindsym --release Shift+Print exec scrot -s -e "mv \$f "$capture # Selection +bindsym --release $mod+Print exec scrot -u -e "mv \$f "$capture # Focused window # Volume bindsym XF86AudioRaiseVolume exec --no-startup-id mediacontrol.sh up 5 diff --git a/.scripts/displayselect.sh b/.scripts/displayselect.sh index 6ab626a..68a7d6e 100755 --- a/.scripts/displayselect.sh +++ b/.scripts/displayselect.sh @@ -55,4 +55,4 @@ case "$CHOOSE" in esac # Reload background -feh --bg-fill --no-fehbg "$HOME/Pictures/wallpaper.jpg" +$HOME/.scripts/wm/wallpaper.sh diff --git a/.scripts/wm/wallpaper.sh b/.scripts/wm/wallpaper.sh new file mode 100644 index 0000000..18ee971 --- /dev/null +++ b/.scripts/wm/wallpaper.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +feh --no-fehbg --bg-fill "$HOME/pictures/wallpaper.jpg"