All Projects → thytom → dwmbar

thytom / dwmbar

Licence: GPL-3.0 License
A Modular Status Bar for dwm.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to dwmbar

dotfiles
.foos for foos & more
Stars: ✭ 21 (-73.08%)
Mutual labels:  dwm
Goblocks
Status bar for dwm
Stars: ✭ 50 (-35.9%)
Mutual labels:  dwm
archlinuxcn-dotfiles-collection
来自社区小伙伴们的 dotfiles 集锦
Stars: ✭ 73 (-6.41%)
Mutual labels:  dwm
dwm-vanitygaps
My dwm vanitygaps build (incl. individual patches)
Stars: ✭ 26 (-66.67%)
Mutual labels:  dwm
rsblocks
A fast status-bar for dwm window manager written in Rust 🦀
Stars: ✭ 30 (-61.54%)
Mutual labels:  dwm
patches
Collection of patches for dwm, st and dmenu
Stars: ✭ 202 (+158.97%)
Mutual labels:  dwm
WinCenterTitle
WinCenterTitle is a simple tool that allows you to center align the text in Windows 10 titlebars, the same way it was in Windows 8, 8.1, or even 3.1.
Stars: ✭ 63 (-19.23%)
Mutual labels:  dwm
axyl-iso
Axyl is a Linux distro centered on tiling window managers. Choose from i3, bspwm, dwm and more.
Stars: ✭ 348 (+346.15%)
Mutual labels:  dwm
uniblocks
Status bar agnostic module generator
Stars: ✭ 40 (-48.72%)
Mutual labels:  dwm
aaku-sys
アーク (The Ark): My Linux dotfiles for the desktop system
Stars: ✭ 28 (-64.1%)
Mutual labels:  dwm
cfg
my dotfiles
Stars: ✭ 26 (-66.67%)
Mutual labels:  dwm
dotfiles
Current dotfiles and scripts
Stars: ✭ 35 (-55.13%)
Mutual labels:  dwm
dwm-win32
dwm port of tiling manager to Window
Stars: ✭ 186 (+138.46%)
Mutual labels:  dwm
torjail
🔒 download, verify & run torbrowser in a sandbox
Stars: ✭ 14 (-82.05%)
Mutual labels:  dwm
dwm
Salonia Matteo's build of dwm + dwmblocks + included scripts; dwm & dwmblocks forked from Luke Smith
Stars: ✭ 25 (-67.95%)
Mutual labels:  dwm
dotfiles
Config files for wm and terminal apps
Stars: ✭ 15 (-80.77%)
Mutual labels:  dwm
Win32Acrylic
Acrylic demo applications based on different technology stack
Stars: ✭ 35 (-55.13%)
Mutual labels:  dwm
dotfiles
~/.*
Stars: ✭ 41 (-47.44%)
Mutual labels:  dwm
rust-dwm-status
A status bar for dwm written in rust
Stars: ✭ 30 (-61.54%)
Mutual labels:  dwm
voidwm
voidwm • sanely patched dwm
Stars: ✭ 32 (-58.97%)
Mutual labels:  dwm

dwmbar - A Modular Status Bar for dwm

Example image

dwmbar is a very simple status bar written for dwm.

This project is no longer actively maintained. You will likely not receive support from the devs if something's not right. If you are somebody who is interested in taking over this project, please contact me (thytom) and we can discuss adding you as a contributor. You are also more than welcome to fork the project if you wish to make improvements on your own.

Installation

Prerequisites

While some modules will work without these dependencies, we recommend grabbing the ones you want for specific modules.

Highly Recommended:

  • Any patched Nerd Font for icons.

Optional (By module):

See module prerequisites.

Arch Linux

There is an AUR package for dwmbar, which can be installed with your favourite aur helper, or manually.

Please see the archwiki page for how to manually install AUR packages.

Manual Installation

$ git clone https://github.com/thytom/dwmbar
$ cd dwmbar
$ sudo ./install.sh

Usage

dwmbar works by setting the root window name, which dwm displays. It does this by calling the dwmbarrc file in your .config/dwmbar folder.

Add the line dwmbar & to your .xinitrc file to run on startup. You can also run dwmbar in terminal for testing purposes.

Customisation

Configuring the Bar

Most non-modular configuration is done in ~/.config/dwmbar/dwmbarrc, a bash script that calls scripts in turn, caching their output and then constructing the bar from that.

To add a module to the bar, simply include its name in the MODULES variable:

MODULES="mpd volumebar wifi battery"

Modules are displayed left-to-right in the order they are written in MODULES. By default, they are delimited by the SEPARATOR variable, which you can change.

We also offer a PADDING variable, which contains a string you can include at the start of your bar, on the very right. This can either be padding spaces, to move the bar away from the right edge, or even text. By default, we set PADDING to $USER@$HOSTNAME. Feel free to change this.

Writing Modules

Default modules are located within /usr/share/dwmbar/modules, and custom modules can be placed in ~/.config/dwmbar/modules/custom. If a default module exists with the same name as a custom module, then the custom module will take precedence.

Default modules will possibly be overwritten during updates, so if you want to modify them be sure to make a copy in the custom folder, which will not be touched, and edit it there.

Modules can be written in any language, so long as they are executable and print their output to stdout.

Currently available default modules are:

  • archupdates - Gets the number of updates available Arch Linux Only
  • backlight - Shows the brightness of the screen
  • battery - Gets battery percentage
  • bluetooth - Shows bluetooth status
  • cpuload - Shows the CPU load in %
  • date - Shows the calendar date
  • daypercentage - Shows how far through the day you are, in %
  • disksize - Shows the disk usage
  • ethernet - Shows ethernet connection
  • fanspeed - Shows the rpm of your main fan
  • hostname - Shows your current user and hostname
  • internet - Shows whether internet is available (TODO)
  • kernel - Shows the kernel version
  • localip - Shows your local IP address
  • mail - Shows how much mail you have
  • mpd - Shows MPD status
  • networkdowntraffic - Gets the download traffic in Kb/s
  • networkuptraffic - Gets the upload traffic in Kb/s
  • publicip - Shows your public IP address
  • ram - Shows RAM usage
  • redshift - Shows current screen temperature from Redshift
  • sunmoon - Displays a sun or moon for time of day
  • temperature - Displays the temperature of the CPU
  • time - Displays time
  • todo - Prints the number of todos for the "t" todo manager
  • tor - Prints if the tor service is enabled
  • voidupdates - Gets the number of updates available Void Linux Only
  • volumebar - Displays a volume bar
  • volume - Prints volume in %
  • weather - Shows weather info
  • wifi - Shows wifi connection

Module Prerequisites

See Module Dependencies

  • archupdates
    • Arch Linux
    • yay
    • pacman-contrib
  • backlight
    • light
  • bluetooth
    • bluez
  • fanspeed - lm_sensors
  • mail
  • mpd
    • mpd
    • mpc
  • publicip
    • curl
  • redshift
    • redshift
  • sunmoon
    • redshift
  • temperature
    • lm_sensors
  • todo
  • tor
    • tor
  • voidupdates
    • xbps package manager
  • volume
    • pulseaudio
  • volumebar
    • pulseaudio
  • weather
    • curl
    • Internet connection
  • wifi
    • Wifi card

Feature Wishlist

  • Paralellised Modules
    • Some modules are slower than others. Have modules set a DELAY variable; if they don't have one, use a default.
    • Modules are called and bar is updated when a module finishes, but an internal bar clock updates the clock at a specific delay.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].