added scripts

This commit is contained in:
CoolnsX
2021-07-01 21:23:58 +05:30
parent 4d1bf7b564
commit a0d2ace1f2
6 changed files with 73 additions and 0 deletions

17
launch.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q polybar
# custom script
rm $HOME/wallpapers/x.png
conky -c "/home/tanveer/.conky/Rock and Roll/Rock/Hermoso_Rc" &
conky -c "/home/tanveer/.conky/Rock and Roll/Rock 1/.conkyrc" &
sleep 2
maim --hidecursor -d 1 $HOME/wallpapers/x.png #screenshot of wallpaper with conky running
killall -q conky &
xwallpaper --stretch $HOME/wallpapers/x.png & #apply that screenshot as wallpaper
# Launch polybar
polybar example &