Configuration Issue version 0.17

Hello all:
I am not sure how I borked my xmonad been trying to configure it to run
trayer xmobar and dmenu and started working with it today.
I added workspaces to the config and now it appears this has borked my
xmobar. I am simply trying to get xmobar to show the workspaces. Xmobar
starts and then quits I can restart from terminal but the minute I close
the terminal it disappears again. I have to assume I am doing something
wrong as it worked before the workspaces. please see both config files
below
xmobarrc:
------------------
Config { overrideRedirect = False
, font = "xft:ubunutu"
, bgColor = "#5f5f5f"
, fgColor = "#f8f8f2"
, position = TopW L 90
, commands = [ Run Weather "KMCI"
[ "--template", "<weather> <tempC>°C"
, "-L", "0"
, "-H", "25"
, "--low" , "lightblue"
, "--normal", "#f8f8f2"
, "--high" , "red"
] 36000
, Run Cpu
[ "-L", "3"
, "-H", "50"
, "--high" , "red"
, "--normal", "green"
] 10
, Run Alsa "default" "Master"
[ "--template", "<volumestatus>"
, "--suffix" , "True"
, "--"
, "--on", ""
]
, Run Memory ["--template", "Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Date "%a %Y-%m-%d

A few observations:
(1) You misspelled "xft:ubuntu". This should have shown up in the
terminal, though. (But see (3) below.)
(2) Your xmonad.hs is actually a re-paste of your .xmobarrc.
(3) It's not that unusual that closing a terminal kills any programs
started from it. Moreover, if you backgrounded it, you won't see any
messages from it; at most you'll see a message from the shell that it
stopped on output. You would need to foreground it (`fg %1`) to see
the message(s). Correct way to do this is to start it without `&`,
wait for it to initialize itself, then press control-Z to background
it; then type `disown %1` so the shell in the terminal won't kill it
on exit. (This should also resume it; if not, you may need to
explicitly `bg %1` to resume it after control-Z stops it.)
On Sat, Apr 2, 2022 at 5:11 PM Michael Needham
Hello all: I am not sure how I borked my xmonad been trying to configure it to run trayer xmobar and dmenu and started working with it today.
I added workspaces to the config and now it appears this has borked my xmobar. I am simply trying to get xmobar to show the workspaces. Xmobar starts and then quits I can restart from terminal but the minute I close the terminal it disappears again. I have to assume I am doing something wrong as it worked before the workspaces. please see both config files below
xmobarrc: ------------------ Config { overrideRedirect = False , font = "xft:ubunutu" , bgColor = "#5f5f5f" , fgColor = "#f8f8f2" , position = TopW L 90 , commands = [ Run Weather "KMCI" [ "--template", "<weather> <tempC>°C" , "-L", "0" , "-H", "25" , "--low" , "lightblue" , "--normal", "#f8f8f2" , "--high" , "red" ] 36000 , Run Cpu [ "-L", "3" , "-H", "50" , "--high" , "red" , "--normal", "green" ] 10 , Run Alsa "default" "Master" [ "--template", "<volumestatus>" , "--suffix" , "True" , "--" , "--on", "" ] , Run Memory ["--template", "Mem: <usedratio>%"] 10 , Run Swap [] 10 , Run Date "%a %Y-%m-%d
%H:%M</fc>" "date" 10 , Run XMonadLog ] , sepChar = "%" , alignSep = "}{" , template = "%XMonadLog% }{ %alsa:default:Master% | %cpu% | %memory% * %swap% | %KMCI% | %date% " } _____________ xmonad.hs: ------------------------
Config { overrideRedirect = False , font = "xft:ubunutu" , bgColor = "#5f5f5f" , fgColor = "#f8f8f2" , position = TopW L 90 , commands = [ Run Weather "KMCI" [ "--template", "<weather> <tempC>°C" , "-L", "0" , "-H", "25" , "--low" , "lightblue" , "--normal", "#f8f8f2" , "--high" , "red" ] 36000 , Run Cpu [ "-L", "3" , "-H", "50" , "--high" , "red" , "--normal", "green" ] 10 , Run Alsa "default" "Master" [ "--template", "<volumestatus>" , "--suffix" , "True" , "--" , "--on", "" ] , Run Memory ["--template", "Mem: <usedratio>%"] 10 , Run Swap [] 10 , Run Date "%a %Y-%m-%d
%H:%M</fc>" "date" 10 , Run XMonadLog ] , sepChar = "%" , alignSep = "}{" , template = "%XMonadLog% }{ %alsa:default:Master% | %cpu% | %memory% * %swap% | %KMCI% | %date% " } --------------------- Hope someone can tell me to revert back or properly add workspaces. I really only want clickable workspaces and launch a terminal on ws 2 and also volume control in trayer with the pipewire controls for proaudio (like gnome volume control or KDE Plasman pa.
Thanks in advance and hope someone can see where it went wrong.
Thanks in advnace.
--
Kind Regards,
Michael Needham
_______________________________________________ xmonad mailing list xmonad@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
-- brandon s allbery kf8nh allbery.b@gmail.com
participants (2)
-
Brandon Allbery
-
Michael Needham