Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

polybar 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. [settings]
  2. screenchange-reload = true
  3. [global/wm]
  4. margin-top = 0
  5. margin-bottom = 0
  6. [color]
  7. background = <{color.bg}>
  8. foreground = <{color.fg}>
  9. red = <{color5}>
  10. green = <{color2}>
  11. fg-bright = <{darken:<{color.fg}>:0.3}>
  12. [bar/main]
  13. width = 1914
  14. height = 24
  15. offset-x = 3
  16. offset-y = 3
  17. padding-right = 1
  18. module-margin = 1
  19. modules-left = bspwm xwindow
  20. modules-center = mpd
  21. modules-right = net memory cpu temperature date
  22. font-0 = Sarasa UI J:size=10;3
  23. font-1 = 3270Medium Nerd Font Mono:size=15;4
  24. background = ${color.background}
  25. foreground = ${color.foreground}
  26. border-size = 1
  27. border-color = ${color.fg-bright}
  28. wm-restack = bspwm
  29. scroll-up = bspwm-desknext
  30. scroll-down = bspwm-deskprev
  31. tray-position = right
  32. tray-detached = false
  33. tray-padding = 1
  34. [module/bspwm]
  35. type = internal/bspwm
  36. ws-icon-0 = 0;一
  37. ws-icon-1 = 1;二
  38. ws-icon-2 = 2;三
  39. ws-icon-3 = 3;四
  40. ws-icon-4 = 4;五
  41. ws-icon-5 = 5;六
  42. ws-icon-6 = 6;七
  43. ws-icon-7 = 7;八
  44. ws-icon-8 = 8;九
  45. ws-icon-9 = 9;十
  46. format = <label-state>
  47. label-focused = %icon%
  48. label-focused-background = #444
  49. label-focused-padding = 2
  50. label-occupied = %icon%
  51. label-occupied-padding = 2
  52. label-marked = %icon%+
  53. label-marked-background = ${color.blue}
  54. label-makred-padding = 2
  55. label-urgent = %icon%!
  56. label-urgent-background = ${color.green}
  57. label-urgent-padding = 2
  58. label-empty =
  59. [module/xwindow]
  60. type = internal/xwindow
  61. label = %title:0:80:…%
  62. [module/mpd]
  63. type = internal/mpd
  64. icon-prev = 
  65. icon-play = 
  66. icon-pause = 
  67. icon-next = 
  68. label-song-maxlen = 45
  69. label-song-ellipsis = true
  70. format-online = <label-song> <toggle><icon-prev><icon-next>
  71. [module/net]
  72. type = internal/network
  73. interface = eno1
  74. format-connected = <label-connected>
  75. format-connected-prefix = " "
  76. format-connected-prefix-foreground = ${color.fg-bright}
  77. label-connected = %downspeed%
  78. format-disconnected =
  79. [module/memory]
  80. type = internal/memory
  81. interval = 2
  82. format-prefix = "﬙ "
  83. format-prefix-foreground = ${color.fg-bright}
  84. label = %percentage_used%%
  85. [module/cpu]
  86. type = internal/cpu
  87. interval = 2
  88. format-prefix = " "
  89. format-prefix-foreground = ${color.fg-bright}
  90. label = %percentage%%
  91. [module/temperature]
  92. type = internal/temperature
  93. thermal-zone = 0
  94. warn-temperature = 85
  95. format = <label>
  96. format-warn = <label-warn>
  97. format-prefix = " "
  98. format-warn-prefix = " "
  99. format-prefix-foreground = ${color.fg-bright}
  100. format-warn-prefix-foreground = ${color.fg-bright}
  101. label = %temperature-c%
  102. label-warn = %temperature-c%
  103. label-warn-foreground = ${color.red}
  104. [module/date]
  105. type = internal/date
  106. interval = 5
  107. date =
  108. date-alt = " %d-%m-%Y"
  109. time = %H:%M
  110. time-alt = %H:%M:%S
  111. format-prefix = 
  112. format-prefix-foreground = ${color.fg-bright}
  113. label = %date% %time%