Advertisement
Guest User

i3bar config

a guest
Feb 7th, 2017
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.39 KB | None | 0 0
  1. [hank@ganesh ~]$ cat /etc/i3status.conf
  2. # i3status configuration file.
  3. # see "man i3status" for documentation.
  4.  
  5. # It is important that this file is edited as UTF-8.
  6. # The following line should contain a sharp s:
  7. # ß
  8. # If the above line is not correctly displayed, fix your editor first!
  9.  
  10. general {
  11.         colors = true
  12.         interval = 5
  13. }
  14.  
  15. order += "ipv6"
  16. order += "disk /"
  17. order += "disk /dev/sdb2"
  18. order += "run_watch DHCP"
  19. order += "run_watch VPN"
  20. order += "wireless _first_"
  21. order += "ethernet _first_"
  22. order += "battery"
  23. order += "load"
  24. order += "tztime local"
  25.  
  26. wireless _first_ {
  27.         format_up = "W: (%quality at %essid) %ip"
  28.         format_down = "W: down"
  29. }
  30.  
  31. ethernet _first_ {
  32.         # if you use %speed, i3status requires root privileges
  33.         format_up = "E: %ip (%speed)"
  34.         format_down = "E: down"
  35. }
  36.  
  37. battery 0 {
  38.     format = "%status %percentage %remaining %emptytime"
  39.     low_threshold = "20"
  40.     status_bat = "BAT"
  41.     status_chr = "CHR"
  42.     status_full = "FULL"
  43.     integer_battery_capacity = true
  44.     path = "/sys/class/power_supply/BAT1/uevent"
  45. }
  46.  
  47. run_watch DHCP {
  48.         pidfile = "/var/run/dhclient*.pid"
  49. }
  50.  
  51. run_watch VPN {
  52.         pidfile = "/var/run/vpnc/pid"
  53. }
  54.  
  55. tztime local {
  56.         format = "%d-%m-%Y %H:%M:%S"
  57. }
  58.  
  59. load {
  60.         format = "%1min"
  61. }
  62.  
  63. disk "/" {
  64.         format = "%avail"
  65. }
  66.  
  67. disk "/dev/sdb2" {
  68.     format = "%avail"
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement