Questions tagged [xmobar]

xmobar is a lightweight, text-based, status bar written in Haskell. It was originally designed to be used together with Xmonad, but it is also usable with any other Window Manager. While xmobar is written in Haskell, no knowledge of the language is required to install and use it.

xmobar is a minimalistic, text based, status bar. It was originally designed and implemented by Andrea Rossato to work with xmonad, but it's actually usable with any window-manager.

34 questions
1
vote
2 answers

Clickable workspaces

I'm using XMonad in combination with two xmobar instances, and I'm using IndependentScreens because I have a dual monitor setup. I'm having an issue with clickable workspaces ever since I introduced the second monitor. The thing is,…
adder
  • 3,512
  • 1
  • 16
  • 28
1
vote
1 answer

Sort workspaces numerically

I'm using XMonad in combination with xmobar, and I'm having an issue with workspaces displayed on xmobar not being sorted numerically. Because workspace ID's are ultimately strings, they get sorted lexicographically. So, provided that I have 12…
adder
  • 3,512
  • 1
  • 16
  • 28
1
vote
1 answer

How to format string output

How to make cpu percentage indicators have fixed width or insert 0 when below 100. My config for cpu commands = [ Run Cpu [ "--template", "cpu: %", "-L", "3", "-H", "50", "--normal", "green", …
phoxd
  • 1,546
  • 3
  • 12
  • 26
1
vote
1 answer

How to spawn XMobar instance for each screen?

This question has an appropriate answer, but it's hiding everything I found difficult inside "spawn xmobar" comment. - How to spawn one instance of xmobar for different screens? - If this is not an option, how to spawn multiple instances on multiple…
biskulopty
  • 13
  • 3
1
vote
1 answer

How to put an instance of XMobar on each screen in XMonad?

I'm running XMonad on a laptop that I sometimes, but not always, have an additional monitor attached. I'd like to detect the number of screens in my xmonad.hs have a instance of XMobar per screen. I've seen this question and answer, but I've not…
ljw
  • 55
  • 1
  • 4
1
vote
1 answer

XMonad windows hiding bars

Without any windows on the screen, I have the beautiful bars (top and bottom) with all the information I need (including the app launcher). I have no idea which bar this is, but I'm guessing the top one is the standard gnome bar. Once I launch any…
Carneiro
  • 3,479
  • 5
  • 24
  • 36
1
vote
1 answer

Starting xmobar with keyboard shortcut after xmonad start

I'm trying to configure xmonad again witout any Haskell knowledge... I would like to find a way to start xmonad without any statusbar at the beginning. I want to avoid running xmobar in the background and drain battery. Then, when pressing meta-b…
Konrad Eisele
  • 3,088
  • 20
  • 35
1
vote
1 answer

xmobar - dynnetwork not picking up usb0

I have xmobar running in xmonad displaying network traffic summary via the dynnetwork monitor. It works fine with eth0 and wlan0, as wired and wireless network are identified on this machine, but the usb0 interface is not picked up when in use. …
Tony Martin
  • 337
  • 1
  • 12
1
vote
1 answer

Same Xmonad.hs configuration breaks under the same version on different computers

I have the exact same Xmonad.hs configuration on two different Linux installations, and while it's working fine on the computer I installed it to the first time, it is causing errors on the second installation. Here is the configuration file: import…
lelandbatey
  • 193
  • 1
  • 1
  • 13
0
votes
0 answers

XMonad: Trying to toggle the gap size together with xmobar

When I remove xmobar I want the top gap to be incremented to make it equal to the bottom gap. On the other hand when I add the bar I want the top gap to be reduced to make it as it was on start. I have a key binding set to toggle xmobar: , ("M-w" ,…
0
votes
2 answers

Xmobar DiskU not get the root partition information in Slackware 15

I trying to show the root partition usage in the Xmobar (with XMonad), but not working!! Without any verbose or error message. I don't know if the problem is the way as the Slackware loading the root partition or its way of the xmobar…
0
votes
1 answer

Xmobar plugins stuck at updating and glyph fonts not working

I have been trying to get my head around xmobar with xmonad on Arch. Some things work and some I just cant get to work. I cannot for the life of my get glyph fonts to work/appear even when they are installed on the system. Some of plugins -…
tanbog
  • 600
  • 9
  • 28
0
votes
1 answer

Could not execute command /usr/bin/bash

I am trying to show volume on my xmobar using the method here: Config { font = "xft:Ubuntu Mono:pixelsize=16:antialias=true:hinting=true" , borderColor = "black" , border = TopB , bgColor = "black" …
Bassie
  • 9,529
  • 8
  • 68
  • 159
0
votes
1 answer

How to configure StdinReader to only show workspaces?

I have a very simple xmonad/xmobar configuration, with this on the left hand side of xmobar: [1] 2 : Tall : How to configure StdinReader to only ... How can I remove the layout name and window title? (Tall and How to ...) ?? I can see the template…
Bassie
  • 9,529
  • 8
  • 68
  • 159
0
votes
0 answers

Box-drawing characters aren't aligned in Xmobar

I've created a little Xmobar status indicator for https://complice.co. Inspired by the agnoster Zsh theme, I used some box-drawing characters to try to put triangle-like ends on the end of the status bar. But they aren't aligning correctly, as shown…
Daniel Hines
  • 63
  • 1
  • 4