sb

shitty bar for dwm
git clone git://git.ckyln.com/~cem/sb.git
Log | Files | Refs | README | LICENSE

sbrc.example (874B)


      1 #
      2 # sb configuration
      3 #
      4 
      5 # Add this to ~/.config/sbrc
      6 
      7 # Delimeter. Default: "|"
      8 DELIMITER="|"
      9 
     10 # Battery name. Default:"BAT0"
     11 BATTERY=""
     12 
     13 # Date function. Default: "%a %d %b %Y %H:%M"
     14 DATE="%a %d %b %Y %H:%M"
     15 
     16 # Refresh Interval. Default: "1"
     17 SLEEPTIME=""
     18 
     19 # If the variable is nonzero it will kill the existing
     20 # sb instance, if the variable is empty sb will exit with
     21 # exit-code 1.
     22 KILLEXISTING=""
     23 
     24 # Add the modules you want to run in the bar. Do not add the "sb_" part
     25 # If you want to add the battery module, type battery instead of sb_battery
     26 # To switch from top bar to bottom bar add DELIMITER=";" to the beginning of the
     27 # last module of the top bar
     28 bar() {
     29 	brightness
     30 	pulseaudio
     31 	battery
     32 	DELIMITER=";" datetime
     33 	storage
     34 	storage /home
     35 	ram
     36 	nightmode
     37 	gethostname
     38 	sfeed_new "$HOME/.sfeed/main" "Feeds"
     39 	showmpd
     40         mail /path/to/new/maildir accountname
     41 }