FG
💻 Software

Cleanly respawning xmobar when reload xmonad

Fresh5 days ago
Mar 15, 20266603 views
Confidence Score0%
0%

Problem

This is just a small annoyance, but I've made the XMonad configuration file load xmobar using this code: It works well, but it spawn a new xmobar process every time XMonad is reloaded. I wonder if there's an easy way to kill the old one? update: As suggested by entropo, I've created a bash script l…

Error Output

xmproc <- spawnPipe "/use/bin/xmobar ~/.xmobarrc"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Cleanly respawning xmobar when reload xmonad

Low Risk

If you have a shell script to start XMobar then you are 'doing it wrong'. You should be starting xmobar using the correct Haskell functions in the xmonad.hs config source file. Take a look at my configs main function: The salient line is this one: T…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment