Browse Source

Add wallpaper.sh

master
Riyyi 6 years ago
parent
commit
de67b27ab1
  1. 9
      .config/i3/config
  2. 2
      .scripts/displayselect.sh
  3. 3
      .scripts/wm/wallpaper.sh

9
.config/i3/config

@ -13,7 +13,7 @@ set $mod2 Mod1
floating_modifier $mod floating_modifier $mod
# Application startup # 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 qutebrowser
exec --no-startup-id urxvt exec --no-startup-id urxvt
exec --no-startup-id thunar --daemon 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 ---# #--- Media key bindings ---#
# Screenshot # Screenshot
bindsym --release Print exec scrot -e "mv \$f $HOME/Pictures/screen_captures/" # Fullscreen set $capture "$HOME/pictures/screen-captures/"
bindsym --release Shift+Print exec scrot -s -e "mv \$f $HOME/Pictures/screen_captures/" # Selection bindsym --release Print exec scrot -e "mv \$f "$capture # Fullscreen
bindsym --release $mod+Print exec scrot -u -e "mv \$f $HOME/Pictures/screen_captures/" # Focused window 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 # Volume
bindsym XF86AudioRaiseVolume exec --no-startup-id mediacontrol.sh up 5 bindsym XF86AudioRaiseVolume exec --no-startup-id mediacontrol.sh up 5

2
.scripts/displayselect.sh

@ -55,4 +55,4 @@ case "$CHOOSE" in
esac esac
# Reload background # Reload background
feh --bg-fill --no-fehbg "$HOME/Pictures/wallpaper.jpg" $HOME/.scripts/wm/wallpaper.sh

3
.scripts/wm/wallpaper.sh

@ -0,0 +1,3 @@
#!/bin/sh
feh --no-fehbg --bg-fill "$HOME/pictures/wallpaper.jpg"
Loading…
Cancel
Save