Updates
This commit is contained in:
18
scripts/reload_desktop.sh
Executable file
18
scripts/reload_desktop.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
# send notification
|
||||
notify-send -i /usr/share/icons/Papirus/48x48/devices/computer-laptop.svg "Reload" "Reloading desktop..."
|
||||
|
||||
# bar
|
||||
killall -q polybar
|
||||
while pgrep -u $UID -x polybar > /dev/null; do sleep 1; done
|
||||
$HOME/dots/scripts/polybar.sh
|
||||
|
||||
# wallpaper
|
||||
feh --bg-fill $HOME/data/Seafile/images/wallpaper/wallpaper.png
|
||||
|
||||
# for some reason xmodmap and xset settings reset
|
||||
source $HOME/.profile
|
||||
|
||||
# send notification
|
||||
notify-send -i /usr/share/icons/Papirus/48x48/devices/computer-laptop.svg "Reload" "Reloaded desktop"
|
||||
Reference in New Issue
Block a user