Browse Source

Add wallpaper.sh

master
Riyyi 5 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
# 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

2
.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

3
.scripts/wm/wallpaper.sh

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