From 3adef2e2374b3a03d97ebcec69998e897b3b902b Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Mon, 25 May 2026 14:41:47 +0200 Subject: [PATCH] use justfile to reset wallpaper as well --- i3/.config/i3/choose-monitor.sh | 1 - i3/.config/i3/config | 2 +- i3/.config/i3/justfile | 6 ++++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/i3/.config/i3/choose-monitor.sh b/i3/.config/i3/choose-monitor.sh index dcce5c6..b6eb142 100644 --- a/i3/.config/i3/choose-monitor.sh +++ b/i3/.config/i3/choose-monitor.sh @@ -6,4 +6,3 @@ fi MONITORS=$(echo "$MONITORS" | sed "/^${CHOSEN_MONITOR}$/d") echo "$MONITORS" | xargs -I {} xrandr --output {} --off xrandr --output "$CHOSEN_MONITOR" --auto -feh --bg-max ~/.wallpaper/ diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 4a984a7..78b196d 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -16,7 +16,7 @@ exec --no-startup-id xset s off -dpms exec --no-startup-id picom --backend glx --vsync exec --no-startup-id nm-applet exec --no-startup-id blueman-applet -exec --no-startup-id feh --bg-max ~/.wallpaper/ +exec --no-startup-id $just reset-wallpaper # Key bindings bindsym $mod+Return exec $term diff --git a/i3/.config/i3/justfile b/i3/.config/i3/justfile index 6072560..1f4a2dc 100644 --- a/i3/.config/i3/justfile +++ b/i3/.config/i3/justfile @@ -1,2 +1,8 @@ choose-monitor: sh choose-monitor.sh + just reset-wallpaper + +reset-wallpaper: + feh --bg-max ~/.wallpaper/ + +