diff options
| author | nic <ra@afu.re> | 2023-12-31 14:24:44 -0500 |
|---|---|---|
| committer | nic <ra@afu.re> | 2023-12-31 14:24:44 -0500 |
| commit | 84ee878342ebfa109ac547b91616eabbd7bfd30a (patch) | |
| tree | 8fd84e3d9bece3700d7fec9b68ad13c4367384ec /.local/bin/setbg | |
Initial commit
Diffstat (limited to '.local/bin/setbg')
| -rwxr-xr-x | .local/bin/setbg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.local/bin/setbg b/.local/bin/setbg new file mode 100755 index 0000000..78df441 --- /dev/null +++ b/.local/bin/setbg @@ -0,0 +1,5 @@ +#!/bin/sh +#File given as argument will be set as background + +[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed." +xwallpaper --zoom ~/.config/wall.png |
