From e193f68f84e1516705d9d8176c4eb6c11c82df81 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Mon, 3 Mar 2025 02:18:45 -0500 Subject: feh: Remove .fehbg file from version control Allow user to change wallpaper via feh --bg-* commands without dirtying the .fehbg file in the repository. Fallback to the provided default wallpaper if this file doesn't exist. --- .fehbg | 2 -- .xinitrc | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100755 .fehbg diff --git a/.fehbg b/.fehbg deleted file mode 100755 index 827748b..0000000 --- a/.fehbg +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -feh --no-fehbg --bg-fill "$HOME/rice/wallpaper.jpg" diff --git a/.xinitrc b/.xinitrc index 303cb1d..9076069 100644 --- a/.xinitrc +++ b/.xinitrc @@ -16,6 +16,7 @@ unclutter --fork --start-hidden numlockx xset dpms 0 0 0 xset s off -~/.fehbg + +[ -f ~/.fehbg ] && sh ~/.fehbg || feh --no-fehbg --bg-fill "$HOME/rice/wallpaper.jpg" exec dwm -- cgit v1.2.3