sb

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

sbrc.5 (1837B)


      1 .TH "SBRC" "5" "sb-vnumber" 
      2 .hy
      3 .SH NAME
      4 .PP
      5 sbrc - define functions to run for \f[B]sb\f[R](1)
      6 .SH DESCRIPTION
      7 .PP
      8 sbrc is a file that can be added to customize the way \f[B]sb\f[R]
      9 functions.
     10 .PP
     11 Currently, the variables are,
     12 .TP
     13 .B \f[B]NEWMAILDIR\f[R]
     14 this is where new mails are stored on your computer,
     15 e.g.\ \[ti]/.local/share/mail/foo/INBOW/new
     16 .TP
     17 .B \f[B]BATTERY\f[R]
     18 this is the name of your batter, usually \f[B]BAT0\f[R]
     19 .TP
     20 .B \f[B]DATE\f[R]
     21 the way you would like to see date.
     22 see \f[B]date\f[R](1) for more details.
     23 .TP
     24 .B \f[B]SLEEPTIME\f[R]
     25 refresh interval (in seconds)
     26 .SH BAR FUNCTION
     27 .PP
     28 In the configuration, you can edit the \f[B]bar()\f[R] function, which
     29 you can fill with the modules, see sbrc.example for more details
     30 .SH BAR MODULES
     31 .TP
     32 .B \f[B]battery\f[R]
     33 displays battery state and capacity
     34 .TP
     35 .B \f[B]brightness\f[R]
     36 displays screen brightness percentage
     37 .TP
     38 .B \f[B]datetime\f[R]
     39 displays datetime in requested format
     40 .TP
     41 .B \f[B]gethostname\f[R]
     42 displays host name
     43 .TP
     44 .B \f[B]ipv4\f[R]
     45 shows ipv4 address, requires interface name as argument
     46 .TP
     47 .B \f[B]mail\f[R]
     48 displays number of new mail, requires \f[B]NEWMAILDIR\f[R] to be set
     49 .TP
     50 .B \f[B]nightmode\f[R]
     51 displays CARBS nightmode information
     52 .TP
     53 .B \f[B]pulseaudio\f[R]
     54 displays volume information from pulseaudio
     55 .TP
     56 .B \f[B]ram\f[R]
     57 displays ram percentage
     58 .TP
     59 .B \f[B]sfeed_new\f[R]
     60 displays number of feeds that have been published today, takes argument
     61 for the feed directory, and a second argument for name.
     62 .TP
     63 .B \f[B]showmpd\f[R]
     64 displays current song, if any
     65 .TP
     66 .B \f[B]ssid\f[R]
     67 displays connected wireless ssid, requires interface name as argument
     68 .TP
     69 .B \f[B]storage\f[R]
     70 displays used/total disk space in GB, takes arguments for directories,
     71 \f[B]e.g.\ storage /home\f[R]
     72 .SH SEE ALSO
     73 .PP
     74 \f[B]sb\f[R](1)
     75 .SH AUTHORS
     76 Cem Keylan.