i3status.conf 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. # i3status configuration file.
  2. # see "man i3status" for documentation.
  3. # It is important that this file is edited as UTF-8.
  4. # The following line should contain a sharp s:
  5. # ß
  6. # If the above line is not correctly displayed, fix your editor first!
  7. general {
  8. colors = true
  9. interval = 5
  10. }
  11. order += "disk /"
  12. order += "disk /home"
  13. order += "disk /mnt/storage"
  14. order += "disk /boot"
  15. #order += "run_watch DHCP"
  16. order += "run_watch VPN"
  17. order += "ipv6"
  18. order += "wireless _first_"
  19. order += "ethernet _first_"
  20. order += "battery 0"
  21. order += "cpu_usage"
  22. order += "cpu_temperature 0"
  23. # order += "cpu_temperature 1"
  24. order += "memory"
  25. #order += "load"
  26. order += "volume master"
  27. order += "read_file screen_brightness"
  28. # order += "backlight"
  29. order += "tztime local"
  30. wireless _first_ {
  31. format_up = " %quality %essid %ip"
  32. # format_up = "W: (%quality at %essid) %ip"
  33. format_down = ""
  34. }
  35. ethernet _first_ {
  36. # if you use %speed, i3status requires root privileges
  37. format_up = "E: %ip (%speed)"
  38. format_down = ""
  39. }
  40. # battery 0 {
  41. # format = "%status %percentage %remaining"
  42. # last_full_capacity = true
  43. # integer_battery_capacity = true
  44. # hide_seconds = true
  45. # }
  46. battery 0 {
  47. # format = "🔋 %status %percentage"
  48. format = "%status %percentage %remaining → 0"
  49. format_down = ""
  50. last_full_capacity = true
  51. integer_battery_capacity = true
  52. low_threshold = 11
  53. threshold_type = percentage
  54. hide_seconds = true
  55. status_chr = " "
  56. status_bat = " "
  57. status_unk = "UNK  "
  58. status_full = " "
  59. }
  60. run_watch DHCP {
  61. pidfile = "/var/run/dhclient*.pid"
  62. }
  63. run_watch VPN {
  64. pidfile = "/var/run/vpnc/pid"
  65. }
  66. tztime local {
  67. format = "%Y-%m-%d %H:%M:%S"
  68. }
  69. cpu_temperature 0{
  70. format = "%degrees °C"
  71. max_threshold = "85"
  72. path = "/sys/devices/virtual/thermal/thermal_zone0/temp" #"/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp2_input"
  73. }
  74. cpu_temperature 1{
  75. format = "%degrees °C"
  76. max_threshold = "85"
  77. path = "/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp3_input"
  78. }
  79. cpu_usage {
  80. format = " %usage"
  81. max_threshold = "95"
  82. }
  83. memory {
  84. format = " %used/%total"
  85. # format = "⛁ %used/%total"
  86. threshold_degraded = "2G"
  87. format_degraded = "MEMORY < %available"
  88. }
  89. load {
  90. format = "%1min"
  91. }
  92. disk "/" {
  93. format = " %avail"
  94. }
  95. disk "/home" {
  96. format = " %avail"
  97. }
  98. disk "/mnt/storage" {
  99. format = "%avail"
  100. }
  101. disk "/boot" {
  102. format = "%avail"
  103. }
  104. # volume master {
  105. # format = " %volume"
  106. # format_muted = "x %volume"
  107. # device = "default"
  108. # mixer = "Master"
  109. # mixer_idx = 0
  110. # }
  111. volume master {
  112. format = " %volume"
  113. format_muted = "x %volume"
  114. device = "default"
  115. }
  116. # backlight {
  117. # format = "\uf042 {level}%"
  118. # cache_timeout = 30
  119. # }
  120. read_file screen_brightness {
  121. format = "☀ %content%"
  122. path = "/var/log/scripts/screen_brightness.log"
  123. max_characters = 5
  124. }