i3status 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. #general {
  2. # colors = true
  3. # color_good = "#BBBBBB"
  4. # color_bad = "#CC1616"
  5. # color_degraded = "#55858E"
  6. # interval = 2
  7. #}
  8. # order += "battery 0"
  9. # order += "tztime local"
  10. #
  11. # battery 0 {
  12. # integer_battery_capacity = true
  13. # format = "%status %percentage %remaining"
  14. # hide_seconds = true
  15. # format_down = "No battery"
  16. # status_chr = "⚇"
  17. # status_bat = "⚡"
  18. # status_full = "✓"
  19. # path = "/sys/class/power_supply/BAT%d/uevent"
  20. # low_threshold = 10
  21. # last_full_capacity = true
  22. # }
  23. #
  24. # tztime local {
  25. # format = " %h %d %-I:%M %p"
  26. # # format = "%Y-%m-%d %H:%M:%S"
  27. # on_click 1 = "exec gsimplecal"
  28. # }
  29. # github.com/rafi i3status config
  30. # i3status configuration file
  31. # see "man i3status" for documentation.
  32. # It is important that this file is edited as UTF-8.
  33. # The following line should contain a sharp s:
  34. # ß
  35. # If the above line is not correctly displayed, fix your editor first!
  36. general {
  37. colors = true
  38. color_good = "#777777"
  39. color_bad = "#CC1616"
  40. color_degraded = "#55858E"
  41. interval = 2
  42. }
  43. order += "volume master"
  44. #order += "load"
  45. order += "cpu_usage"
  46. order += "disk /"
  47. order += "disk /mnt/data"
  48. order += "ethernet enp4s0"
  49. order += "wireless wlp5s0"
  50. order += "battery 0"
  51. order += "tztime local"
  52. #order += "run_watch VPN"
  53. battery 0 {
  54. integer_battery_capacity = true
  55. format = "%status %percentage %remaining"
  56. hide_seconds = true
  57. format_down = "No battery"
  58. status_chr = "⚇"
  59. status_bat = "⚡"
  60. status_full = "✓"
  61. path = "/sys/class/power_supply/BAT%d/uevent"
  62. low_threshold = 10
  63. last_full_capacity = true
  64. }
  65. volume master {
  66. format = "♪: %volume "
  67. device = "default"
  68. mixer = "Master"
  69. mixer_idx = 0
  70. # termsyn font
  71. # format = "À %volume "
  72. }
  73. load {
  74. format = " Δ: %1min "
  75. # termsyn font
  76. # format = " Î %1min"
  77. }
  78. cpu_usage {
  79. format = "CPU: %usage "
  80. }
  81. disk "/" {
  82. format = "/: %avail "
  83. }
  84. disk "/mnt/data" {
  85. format = "data: %avail "
  86. }
  87. wireless wlp5s0 {
  88. format_up = "W: (%quality at %essid) %ip "
  89. #format_down = "W: down "
  90. format_down = ""
  91. }
  92. ethernet enp4s0 {
  93. # if you use %speed, i3status requires root privileges
  94. format_up = " E: %ip "
  95. #format_down = " E: down "
  96. format_down = ""
  97. # termsyn font
  98. # format_up = " ­ %ip "
  99. # format_down = " Ð enp4s0 "
  100. }
  101. run_watch DHCP {
  102. pidfile = "/var/run/dhclient*.pid"
  103. }
  104. run_watch VPN {
  105. pidfile = "/var/run/vpnc/pid "
  106. }
  107. tztime local {
  108. format = " %h %d %-I:%M %p"
  109. # format = "%Y-%m-%d %H:%M:%S"
  110. on_click 1 = "exec gsimplecal"
  111. }