diff options
author | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-01-20 11:13:20 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-01-20 11:13:20 +0530 |
commit | e7e4d71e59973dba45bf63cd3db54d0bd6814572 (patch) | |
tree | cca73935793742f1e91e40992331c763d810ac29 | |
parent | 966cee080fb854efe3adf4f06288e98465b9a363 (diff) |
added script to start and restart polybar
-rw-r--r-- | .config/XMonad/xmonad.hs | 2 | ||||
-rwxr-xr-x | .scripts/polystart | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs index 1d4743f..29e9470 100644 --- a/.config/XMonad/xmonad.hs +++ b/.config/XMonad/xmonad.hs @@ -211,7 +211,7 @@ main = do spawnOnce "glava --force-mod radial --desktop" spawnOnce "picom" spawnOnce "dunst" - spawnOnce "polybar mybar" + spawnOnce "polystart" spawnOnce "nitrogen --restore" spawnOnce "cbatticon" spawnOnce "blueman-applet" diff --git a/.scripts/polystart b/.scripts/polystart new file mode 100755 index 0000000..af25059 --- /dev/null +++ b/.scripts/polystart @@ -0,0 +1,4 @@ +#!/bin/sh + +killall polybar +polybar mybar |