sb

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

sb_gethostname (133B)


      1 # displays hostname
      2 
      3 gethostname() {
      4     read -r hostname < /proc/sys/kernel/hostname
      5     printf '%s %s ' "$hostname" "$DELIMITER"
      6 }