setbg script for centrally editing wallpaper cmd
This commit is contained in:
@@ -45,7 +45,7 @@ for_window [instance="dropdown_*"] move position center
|
||||
|
||||
# #---Starting External Scripts---# #
|
||||
# Setting the background:
|
||||
exec --no-startup-id feh --bg-scale ~/.config/wall.png
|
||||
exec --no-startup-id setbg
|
||||
# Starts dunst for notifications:
|
||||
exec --no-startup-id dunst
|
||||
# Composite manager:
|
||||
|
||||
@@ -4,7 +4,7 @@ do
|
||||
case "$1" in
|
||||
"w")
|
||||
cp "$file" ~/.config/wall.png &&
|
||||
feh --bg-scale "$HOME/.config/wall.png"
|
||||
setbg
|
||||
notify-send -i "$HOME/.config/wall.png" "Wallpaper changed." ;;
|
||||
"c")
|
||||
[ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.bmdirs | awk '{print $2}' | dmenu -l 20 -i -p "Copy file(s) to where?" | sed "s|~|$HOME|g")"
|
||||
|
||||
Reference in New Issue
Block a user