use justfile to reset wallpaper as well

This commit is contained in:
2026-05-25 14:41:47 +02:00
parent c0bef8793f
commit 3adef2e237
3 changed files with 7 additions and 2 deletions
-1
View File
@@ -6,4 +6,3 @@ fi
MONITORS=$(echo "$MONITORS" | sed "/^${CHOSEN_MONITOR}$/d") MONITORS=$(echo "$MONITORS" | sed "/^${CHOSEN_MONITOR}$/d")
echo "$MONITORS" | xargs -I {} xrandr --output {} --off echo "$MONITORS" | xargs -I {} xrandr --output {} --off
xrandr --output "$CHOSEN_MONITOR" --auto xrandr --output "$CHOSEN_MONITOR" --auto
feh --bg-max ~/.wallpaper/
+1 -1
View File
@@ -16,7 +16,7 @@ exec --no-startup-id xset s off -dpms
exec --no-startup-id picom --backend glx --vsync exec --no-startup-id picom --backend glx --vsync
exec --no-startup-id nm-applet exec --no-startup-id nm-applet
exec --no-startup-id blueman-applet exec --no-startup-id blueman-applet
exec --no-startup-id feh --bg-max ~/.wallpaper/ exec --no-startup-id $just reset-wallpaper
# Key bindings # Key bindings
bindsym $mod+Return exec $term bindsym $mod+Return exec $term
+6
View File
@@ -1,2 +1,8 @@
choose-monitor: choose-monitor:
sh choose-monitor.sh sh choose-monitor.sh
just reset-wallpaper
reset-wallpaper:
feh --bg-max ~/.wallpaper/