birdwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 814869babf33c7fdfced3f078cea0c37df41be39
parent 26da3f0b96729514d9d60411bf4652aa690ba518
Author: grouse <bdmfegys@duck.com>
Date:   Sun, 10 Mar 2024 21:14:45 -0400

remove wallpaper script dependencies, add configurable wallpaper keybind

Diffstat:
Mconfig.def.h | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -126,8 +126,12 @@ static const char *termcmd[] = { "birdterm", NULL }; static const char *screenshotcmd[] = { "screenshot" }; /* screenshot command */ /*static const char *wallpaper[] = { "nsxiv", "-t", "/home/tetraonini/Pictures/wallpapers/\*.png", NULL }; */ /*static const char *wallpapergif[] = { "nsxiv", "-t", "/home/tetraonini/Pictures/wallpapers/gif/\*.gif", NULL }; */ -static const char *wallpaper[] = { "xwallpaper" }; /* calling wallpaper picker script, utilizes nsxiv */ -static const char *wallpapergif[] = { "xwallpapergif" }; /* calling gif wallpaper picker script, utilizes nsxiv */ +//static const char *wallpaper[] = { "xwallpaper" }; /* calling wallpaper picker script, utilizes nsxiv */ +#define WALLPAPERDIR "/home/example/dir" +#define GIFDIR "/home/example/dir/gif" +static const char *wallpaper[] = { "nsxiv", "-t", WALLPAPERDIR, NULL }; +//nsxiv -t $HOME/Pictures/wallpapers +static const char *wallpapergif[] = { "nsxiv", "-t", GIFDIR, NULL }; /* calling gif wallpaper picker script, utilizes nsxiv */ static const char *restarter[] = { "restarter" }; /* dmenu script for restarting daemons and getting system info through dunst */ static const char *browser[] = { "surf" }; /* browser shortcut */ /* pulseaudio script for setting volume, called by XF86 keys */