From e7e4d71e59973dba45bf63cd3db54d0bd6814572 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 20 Jan 2022 11:13:20 +0530 Subject: added script to start and restart polybar --- .config/XMonad/xmonad.hs | 2 +- .scripts/polystart | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 .scripts/polystart 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 -- cgit v1.2.3