aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-01-20 11:13:20 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-01-20 11:13:20 +0530
commite7e4d71e59973dba45bf63cd3db54d0bd6814572 (patch)
treecca73935793742f1e91e40992331c763d810ac29
parent966cee080fb854efe3adf4f06288e98465b9a363 (diff)
added script to start and restart polybar
-rw-r--r--.config/XMonad/xmonad.hs2
-rwxr-xr-x.scripts/polystart4
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