xmobar
xmonad-contrib

xmobar | xmonad-contrib | |
---|---|---|
33 | 50 | |
781 | 596 | |
- | 0.8% | |
8.7 | 8.5 | |
over 2 years ago | 6 days ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xmobar
-
Xmobar update on keypress and hiding windows
Updating statusbar modules(like brightness or volume) only on keypress instead of timeout. Didn't find much about this for xmobar. Looked into Github issue but didn't understand exactly how to implement it
-
AUR VCS package has changed version overnight (xmobar-git)
Recently I have installed the xmobar-git AUR package, you can find it here: It correctly installed the latest version, last git commit (xmobar-git 0.43.r5.g289271f-1) from the git repo here.
-
Strange colons in XMobar
Strange. I probably won't have time to look into this today, but I will look into it this weekend if it's still happening. The lead maintainer is nice and responsive. Feel free to make an issue at https://github.com/jaor/xmobar.
-
Recommend packages for a WM Setup
I use Sakura for terminals, xmobar for info, nemo) as the file manager, flameshot to grab screenshots, picom for transparency, notify-osd for showing notifications, xscreensaver to blank/lock the screen, redshift to set brightness/adjust color, x-on-resize to handle connecting screens, and parcellite for clipboards.
-
Issue with writeShellScriptBin and writeScriptBin
Code: `` trayer-padding-icon = pkgs.writeScriptBin "trayer-padding-icon.sh" '' #!/bin/sh # Copied from https://github.com/jaor/xmobar/issues/239#issuecomment-233206552 # Detects the width of running trayer-srg window (xprop name 'panel') # and creates an XPM icon of that width, 1px height, and transparent. # Outputs an -tag for use in xmobar to display the generated # XPM icon. # # Run script from xmobar: #Run Com "/where/ever/trayer-padding-icon.sh" [] "trayerpad" 10 # and use%trayerpad%` in your template.
-
?trayer padding in haskell
That's a bit unfortunate, but I think adding something like to xmobar's format would be a good idea. You might want to mention that as an alternative in https://github.com/jaor/xmobar/issues/583 so jaor has the full picture and can let us know what he thinks about it all. Perhaps just link to this discussion.
-
Stalonetray dynamically sizing xmobar
I followed 4.1.2 Dynamically sizing xmobar in xmobar.org and it works with 1 monitor, but with 2 monitors the tray is in the wrong place
-
How to build an xmobar config from from a haskell source file?
The ah-xmobar built by NixOS doesn't display. I'm now reasonably convinced that the xmobar library provided by nixpkgs was not compiled with the necessary flags to support my config. Reason being that: - Compiled ah-xmobar using NixOS pre-compiled xmobar library doesn't work with xmobar's example hs config. - Compiled ah-xmobar using NixOS pre-compiled xmobar library works with a config that uses commands = [] and template = "%uname%". - Compiled ah-xmobar using custom compiled xmobar library with the +all_extensions flag works for any configuration.
-
Using trayer with xmobar?
https://github.com/jaor/xmobar/blob/master/examples/padding-icon.sh this script generates a transparent xpm icon same width as your tray size. run this as a module in xmobar wherever you want trayer to be and launch trayer to that position. take a look at this https://github.com/Sloopy3333/dotfiles/tree/master/.config/xmonad
-
Problems with xmobar
I tried this example config from xmobar.org. And it works. Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*" , additionalFonts = [] , borderColor = "black" , border = TopB , bgColor = "black" , fgColor = "grey" , alpha = 255 , position = Top , textOffset = -1 , iconOffset = -1 , lowerOnStart = True , pickBroadest = False , persistent = False , hideOnStart = False , iconRoot = "." , allDesktops = True , overrideRedirect = True , commands = [ Run Weather "EGPF" ["-t",": C", "-L","18","-H","25", "--normal","green", "--high","red", "--low","lightblue"] 36000 , Run Network "eth0" ["-L","0","-H","32", "--normal","green","--high","red"] 10 , Run Network "eth1" ["-L","0","-H","32", "--normal","green","--high","red"] 10 , Run Cpu ["-L","3","-H","50", "--normal","green","--high","red"] 10 , Run Memory ["-t","Mem: %"] 10 , Run Swap [] 10 , Run Com "uname" ["-s","-r"] "" 36000 , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10 ] , sepChar = "%" , alignSep = "}{" , template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% }\ \{ %date%| %EGPF% | %uname%" }
xmonad-contrib
-
defToggleStrutsKey not working
This should now also be fixed in HEAD: https://github.com/xmonad/xmonad-contrib/commit/90f4a96f933a8ecc014b6def54fb929ee9e73e49
-
How to check xmonad version?
If you're on NixOS then definitely look into /u/LSLeary's excellent flake! (docs)
-
XMonad on NixOS
Perhaps you're not aware of the module exposed by the xmonad-contrib flake? It can do most of the setup for you. See the NixOS Modules section of https://github.com/xmonad/xmonad-contrib/blob/master/NIX.md.
-
Custom gsConfig for spawnSelected
Seems there was a documentation bug in that module. Does this fix help?
- Most Recently Used (MRU)
- Normalize the Fraction Between Master and Slave Windows
-
Mimic LeftWM's CenterdMainFluid in Xmonad?
There is X.L.CenteredIfSingle. However, it didn't land in 0.17.0, so you'll have to either wait for 0.17.1 (dropping soon, I promise!), compile xmonad from git, or just copy the file as-is (which should be doable) into your configuration.
-
Applying window decorations in xmonad while there is onlmore than one window
Btw there is an alternative way to implement smart bar using `AltMax` from xmonad-contrib but I'm not using it because of this [known bug](https://github.com/xmonad/xmonad-contrib/issues/75).
- Key bind to remove borders around windows??
-
Custom Xomobar output
Note that the linked solution is a bit buggy (see here). But regarding your question, it's as simple as it gets. You could maybe replace (getModeName <$> (XS.get :: X ModeName)) with XS.gets getModeNameand maybe defining it somewhere else (e.g. logMode :: Logger), but that's really it. You could wait for #703 to be merged (whenever that may be), or just take the code from there (PSA: still in a rough state, undocumented, and very likely will change) and roll with it: it is xmonad after all, your config is going to be compiled anyway!
What are some alternatives?
taffybar - A gtk based status bar for tiling window managers such as XMonad
xmonad - The core of xmonad, a small but functional ICCCM-compliant tiling window manager
nix-diff - Explain why two Nix derivations differ
picom - A lightweight compositor for X11 with animation support
clock - High-resolution clock functions: monotonic, realtime, cputime.
xmonad-utils - A small collection of X utilities useful when running XMonad.
ascii-progress - A simple Haskell progress bar for the console. Heavily borrows from TJ Holowaychuk's Node.JS project
polybar - A fast and easy-to-use status bar
bench - Command-line benchmark tool
dotfiles
xmonad-dbus - XMonad DBus monitor application and library to easily connect XMonad with Polybar
Hypr - Hypr is a tiling window manager written in modern C++.
