Skip to content

PANDA2312/DwmStatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

DwmStatus

Display the common stauts for dwm status bar

Dependency

Any fonts with Nerd Font patch

Usage

  1. Download or Compile it
  2. Add it to your autostart

Config

It's doesn't have any configuration file, so you need to modify it by yourself.

Change the command for get status

//Battery
const char* GET_BATTERY_STAT = "cat /sys/class/power_supply/BAT1/status";
const char* GET_BATTERY_FULL = "cat /sys/class/power_supply/BAT1/energy_full";
const char* GET_BATTERY_NOW = "cat /sys/class/power_supply/BAT1/energy_now";

//Brightness
const char* GET_BRIGHTNESS = "xrandr --verbose | grep Brightness";

//Volume
const char* GET_VOLUME = "amixer get -c 0 Master | grep '[[0-9%]]'";
const char* VOLUME_UP = "pactl set-sink-volume 0 +10%";
const char* VOLUME_DOWM = "pactl set-sink-volume 0 -10%";

Add & Remove any functions by yourself

About

Display the common status for dwm

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages