├── .github └── workflows │ └── ci.yml ├── .gitignore ├── COPYING ├── Makefile ├── README.md ├── bar.sh ├── config ├── config-sync.sh ├── config.json ├── dwmbar ├── install.sh ├── lib ├── cache.sh └── common.sh ├── modules ├── archupdates ├── archupdates-aur ├── backlight ├── battery ├── bluetooth ├── cpuload ├── cputemp ├── date ├── day_of_week ├── daypercentage ├── default_shell ├── disksize ├── ethernet ├── fanspeed ├── hostname ├── internet ├── kernel ├── localip ├── mail ├── mpd ├── networkdowntraffic ├── networkuptraffic ├── nvidia_gpu_temp ├── os-release ├── process_count ├── publicip ├── ram ├── ram_perc ├── redshift ├── sunmoon ├── time ├── todo ├── tor ├── uptime ├── username ├── voidupdates ├── volume ├── volumebar ├── weather └── wifi ├── res ├── bar.png ├── bar2.png └── example.png ├── tests ├── expected │ ├── archupdates.txt │ ├── ethernet.txt │ ├── localip.txt │ ├── publicip.txt │ ├── volume.txt │ ├── weather.txt │ └── wifi.txt ├── fixtures │ ├── mail │ │ └── INBOX │ │ │ └── new │ │ │ ├── 001 │ │ │ └── 002 │ ├── proc │ │ └── net │ │ │ └── wireless │ ├── sys │ │ └── class │ │ │ └── net │ │ │ ├── eth0 │ │ │ ├── carrier │ │ │ ├── operstate │ │ │ └── statistics │ │ │ │ ├── rx_bytes │ │ │ │ └── tx_bytes │ │ │ └── wlan0 │ │ │ ├── carrier │ │ │ ├── operstate │ │ │ └── statistics │ │ │ ├── rx_bytes │ │ │ └── tx_bytes │ └── todo │ │ └── tasks ├── mocks │ ├── checkupdates │ ├── curl │ ├── hostname │ ├── ip │ ├── mpc │ ├── pactl │ ├── paru │ ├── ping │ ├── redshift │ ├── sensors │ ├── trizen │ ├── wpctl │ ├── xbps-install │ └── yay └── run.sh ├── todo.md └── uninstall.sh /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/.gitignore -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/COPYING -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/README.md -------------------------------------------------------------------------------- /bar.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/bar.sh -------------------------------------------------------------------------------- /config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/config -------------------------------------------------------------------------------- /config-sync.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/config-sync.sh -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/config.json -------------------------------------------------------------------------------- /dwmbar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/dwmbar -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/install.sh -------------------------------------------------------------------------------- /lib/cache.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/lib/cache.sh -------------------------------------------------------------------------------- /lib/common.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/lib/common.sh -------------------------------------------------------------------------------- /modules/archupdates: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/archupdates -------------------------------------------------------------------------------- /modules/archupdates-aur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/archupdates-aur -------------------------------------------------------------------------------- /modules/backlight: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/backlight -------------------------------------------------------------------------------- /modules/battery: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/battery -------------------------------------------------------------------------------- /modules/bluetooth: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/bluetooth -------------------------------------------------------------------------------- /modules/cpuload: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/cpuload -------------------------------------------------------------------------------- /modules/cputemp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/cputemp -------------------------------------------------------------------------------- /modules/date: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/date -------------------------------------------------------------------------------- /modules/day_of_week: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/day_of_week -------------------------------------------------------------------------------- /modules/daypercentage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/daypercentage -------------------------------------------------------------------------------- /modules/default_shell: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/default_shell -------------------------------------------------------------------------------- /modules/disksize: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/disksize -------------------------------------------------------------------------------- /modules/ethernet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/ethernet -------------------------------------------------------------------------------- /modules/fanspeed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/fanspeed -------------------------------------------------------------------------------- /modules/hostname: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/hostname -------------------------------------------------------------------------------- /modules/internet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/internet -------------------------------------------------------------------------------- /modules/kernel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/kernel -------------------------------------------------------------------------------- /modules/localip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/localip -------------------------------------------------------------------------------- /modules/mail: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/mail -------------------------------------------------------------------------------- /modules/mpd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/mpd -------------------------------------------------------------------------------- /modules/networkdowntraffic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/networkdowntraffic -------------------------------------------------------------------------------- /modules/networkuptraffic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/networkuptraffic -------------------------------------------------------------------------------- /modules/nvidia_gpu_temp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/nvidia_gpu_temp -------------------------------------------------------------------------------- /modules/os-release: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/os-release -------------------------------------------------------------------------------- /modules/process_count: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/process_count -------------------------------------------------------------------------------- /modules/publicip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/publicip -------------------------------------------------------------------------------- /modules/ram: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/ram -------------------------------------------------------------------------------- /modules/ram_perc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/ram_perc -------------------------------------------------------------------------------- /modules/redshift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/redshift -------------------------------------------------------------------------------- /modules/sunmoon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/sunmoon -------------------------------------------------------------------------------- /modules/time: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/time -------------------------------------------------------------------------------- /modules/todo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/todo -------------------------------------------------------------------------------- /modules/tor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/tor -------------------------------------------------------------------------------- /modules/uptime: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/uptime -------------------------------------------------------------------------------- /modules/username: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/username -------------------------------------------------------------------------------- /modules/voidupdates: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/voidupdates -------------------------------------------------------------------------------- /modules/volume: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/volume -------------------------------------------------------------------------------- /modules/volumebar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/volumebar -------------------------------------------------------------------------------- /modules/weather: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/weather -------------------------------------------------------------------------------- /modules/wifi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/modules/wifi -------------------------------------------------------------------------------- /res/bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/res/bar.png -------------------------------------------------------------------------------- /res/bar2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/res/bar2.png -------------------------------------------------------------------------------- /res/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/res/example.png -------------------------------------------------------------------------------- /tests/expected/archupdates.txt: -------------------------------------------------------------------------------- 1 | Updates: 1 2 | -------------------------------------------------------------------------------- /tests/expected/ethernet.txt: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /tests/expected/localip.txt: -------------------------------------------------------------------------------- 1 | ᯤ 192.0.2.10 2 | -------------------------------------------------------------------------------- /tests/expected/publicip.txt: -------------------------------------------------------------------------------- 1 |  203.0.113.42 2 | -------------------------------------------------------------------------------- /tests/expected/volume.txt: -------------------------------------------------------------------------------- 1 |  100% 2 | -------------------------------------------------------------------------------- /tests/expected/weather.txt: -------------------------------------------------------------------------------- 1 | TestCity: ☀ +20°C (Clear) 2 | -------------------------------------------------------------------------------- /tests/expected/wifi.txt: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /tests/fixtures/mail/INBOX/new/001: -------------------------------------------------------------------------------- 1 | dummy -------------------------------------------------------------------------------- /tests/fixtures/mail/INBOX/new/002: -------------------------------------------------------------------------------- 1 | dummy -------------------------------------------------------------------------------- /tests/fixtures/proc/net/wireless: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/fixtures/proc/net/wireless -------------------------------------------------------------------------------- /tests/fixtures/sys/class/net/eth0/carrier: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /tests/fixtures/sys/class/net/eth0/operstate: -------------------------------------------------------------------------------- 1 | up -------------------------------------------------------------------------------- /tests/fixtures/sys/class/net/eth0/statistics/rx_bytes: -------------------------------------------------------------------------------- 1 | 34 -------------------------------------------------------------------------------- /tests/fixtures/sys/class/net/eth0/statistics/tx_bytes: -------------------------------------------------------------------------------- 1 | 32 -------------------------------------------------------------------------------- /tests/fixtures/sys/class/net/wlan0/carrier: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /tests/fixtures/sys/class/net/wlan0/operstate: -------------------------------------------------------------------------------- 1 | up -------------------------------------------------------------------------------- /tests/fixtures/sys/class/net/wlan0/statistics/rx_bytes: -------------------------------------------------------------------------------- 1 | 345 -------------------------------------------------------------------------------- /tests/fixtures/sys/class/net/wlan0/statistics/tx_bytes: -------------------------------------------------------------------------------- 1 | 325 -------------------------------------------------------------------------------- /tests/fixtures/todo/tasks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/fixtures/todo/tasks -------------------------------------------------------------------------------- /tests/mocks/checkupdates: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/checkupdates -------------------------------------------------------------------------------- /tests/mocks/curl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/curl -------------------------------------------------------------------------------- /tests/mocks/hostname: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | echo test-host 3 | -------------------------------------------------------------------------------- /tests/mocks/ip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/ip -------------------------------------------------------------------------------- /tests/mocks/mpc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/mpc -------------------------------------------------------------------------------- /tests/mocks/pactl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/pactl -------------------------------------------------------------------------------- /tests/mocks/paru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/paru -------------------------------------------------------------------------------- /tests/mocks/ping: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Always succeed a single ping quickly 3 | exit 0 4 | -------------------------------------------------------------------------------- /tests/mocks/redshift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/redshift -------------------------------------------------------------------------------- /tests/mocks/sensors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/sensors -------------------------------------------------------------------------------- /tests/mocks/trizen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/trizen -------------------------------------------------------------------------------- /tests/mocks/wpctl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/wpctl -------------------------------------------------------------------------------- /tests/mocks/xbps-install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/xbps-install -------------------------------------------------------------------------------- /tests/mocks/yay: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/mocks/yay -------------------------------------------------------------------------------- /tests/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/tests/run.sh -------------------------------------------------------------------------------- /todo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/todo.md -------------------------------------------------------------------------------- /uninstall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thytom/dwmbar/HEAD/uninstall.sh --------------------------------------------------------------------------------