mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-10 06:29:44 +00:00
commit
f1478e37ac
2 changed files with 43 additions and 24 deletions
18
README.md
18
README.md
|
@ -21,7 +21,7 @@ See [module prerequisites][Module Prerequisites]
|
||||||
|
|
||||||
## Arch Linux
|
## Arch Linux
|
||||||
|
|
||||||
There is an [AUR package](https://aur.archlinux.org/packages/dwmbar) for
|
There is an [AUR package](https://aur.archlinux.org/packages/dwmbar-git) for
|
||||||
dwmbar, which can be installed with your favourite aur helper, or manually.
|
dwmbar, which can be installed with your favourite aur helper, or manually.
|
||||||
|
|
||||||
Please see the [archwiki
|
Please see the [archwiki
|
||||||
|
@ -100,9 +100,16 @@ Currently available default modules are:
|
||||||
- daypercentage - Shows how far through the day you are, in %
|
- daypercentage - Shows how far through the day you are, in %
|
||||||
- disksize - Shows the disk usage
|
- disksize - Shows the disk usage
|
||||||
- ethernet - Shows ethernet connection
|
- 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)
|
- 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
|
- mail - Shows how much mail you have
|
||||||
- mpd - Shows MPD status
|
- 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
|
- ram - Shows RAM usage
|
||||||
- redshift - Shows current screen temperature from Redshift
|
- redshift - Shows current screen temperature from Redshift
|
||||||
- sunmoon - Displays a sun or moon for time of day
|
- sunmoon - Displays a sun or moon for time of day
|
||||||
|
@ -110,8 +117,9 @@ Currently available default modules are:
|
||||||
- time - Displays time
|
- time - Displays time
|
||||||
- todo - Prints the number of todos for the "t" todo manager
|
- todo - Prints the number of todos for the "t" todo manager
|
||||||
- tor - Prints if the tor service is enabled
|
- tor - Prints if the tor service is enabled
|
||||||
- volume - Prints volume in %
|
- voidupdates - Gets the number of updates available **Void Linux Only**
|
||||||
- volumebar - Displays a volume bar
|
- volumebar - Displays a volume bar
|
||||||
|
- volume - Prints volume in %
|
||||||
- weather - Shows weather info
|
- weather - Shows weather info
|
||||||
- wifi - Shows wifi connection
|
- wifi - Shows wifi connection
|
||||||
|
|
||||||
|
@ -126,11 +134,15 @@ See Module Dependencies
|
||||||
- light
|
- light
|
||||||
* bluetooth
|
* bluetooth
|
||||||
- bluez
|
- bluez
|
||||||
|
* fanspeed
|
||||||
|
- lmsensors
|
||||||
* mail
|
* mail
|
||||||
- mutt/neomutt (We recommend [Luke Smith's Mutt-Wizard](https://github.com/LukeSmithxyz/mutt-wizard)) for configuration.
|
- mutt/neomutt (We recommend [Luke Smith's Mutt-Wizard](https://github.com/LukeSmithxyz/mutt-wizard)) for configuration.
|
||||||
* mpd
|
* mpd
|
||||||
- mpd
|
- mpd
|
||||||
- mpc
|
- mpc
|
||||||
|
* publicip
|
||||||
|
- curl
|
||||||
* redshift
|
* redshift
|
||||||
- redshift
|
- redshift
|
||||||
* sunmoon
|
* sunmoon
|
||||||
|
@ -141,6 +153,8 @@ See Module Dependencies
|
||||||
- [t todo manager](https://github.com/sjl/t)
|
- [t todo manager](https://github.com/sjl/t)
|
||||||
* tor
|
* tor
|
||||||
- tor
|
- tor
|
||||||
|
* voidupdates
|
||||||
|
- xbps package manager
|
||||||
* volume
|
* volume
|
||||||
- pulseaudio
|
- pulseaudio
|
||||||
* volumebar
|
* volumebar
|
||||||
|
|
5
dwmbar
5
dwmbar
|
@ -53,6 +53,11 @@ check_files(){
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ ! -d $CACHE_DIR ]]; then
|
||||||
|
echo "$CACHE_DIR does not exist." > /dev/stderr
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ! -f $DEFAULT_BAR_LOCATION ]]; then
|
if [[ ! -f $DEFAULT_BAR_LOCATION ]]; then
|
||||||
echo "$DEFAULT_BAR_LOCATION does not exist." > /dev/stderr
|
echo "$DEFAULT_BAR_LOCATION does not exist." > /dev/stderr
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue