mirror of
https://github.com/CoolnsX/repos_scripts.git
synced 2025-12-20 15:25:20 +05:30
added scripts
This commit is contained in:
17
launch.sh
Executable file
17
launch.sh
Executable 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 &
|
||||
|
||||
Reference in New Issue
Block a user