My personal dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. ;=====================================================
  2. ;
  3. ; To learn more about how to configure Polybar
  4. ; go to https://github.com/jaagr/polybar
  5. ;
  6. ; The README contains alot of information
  7. ;
  8. ;=====================================================
  9. [colors]
  10. background = #222
  11. background-alt = #444
  12. foreground = #dfdfdf
  13. foreground-alt = #555
  14. primary = #ffb52a
  15. secondary = #e60053
  16. alert = #bd2c40
  17. linecolor = #fba922
  18. bordercolor = #333
  19. accent = #e60053
  20. [bar/my-awesome-polybar]
  21. enable-ipc = true
  22. override-redirect = true
  23. width = 100%
  24. height = 25
  25. fixed-center = true
  26. background = ${colors.background}
  27. foreground = ${colors.foreground}
  28. line-size = 3
  29. #line-color = #f00
  30. line-color = ${colors.linecolor}
  31. underline-size = 2
  32. overline-size = 2
  33. border-size = 4
  34. border-color = #00000000
  35. padding-left = 0
  36. padding-right = 2
  37. module-margin-left = 1
  38. module-margin-right = 1
  39. font-0 = DejaVu Sans Mono:size=9;1
  40. font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
  41. font-2 = siji:pixelsize=10;1
  42. font-3 = "Font Awesome 5 Free:size=12:style=Solid"
  43. modules-left = ewmh xwindow
  44. modules-center =
  45. modules-right = xbacklight volume memory cpu wlan battery temperature date
  46. tray-position = right
  47. tray-padding = 4
  48. tray-maxsize = 16
  49. [module/ewmh]
  50. type = internal/xworkspaces
  51. ; Only show workspaces defined on the same output as the bar
  52. ; ;
  53. ; ; Useful if you want to show monitor specific workspaces
  54. ; ; on different bars
  55. ; ;
  56. ; ; Default: false
  57. ; pin-workspaces = true
  58. ;
  59. ; ; Create click handler used to focus desktop
  60. ; ; Default: true
  61. enable-click = true
  62. ;
  63. ; ; Create scroll handlers used to cycle desktops
  64. ; ; Default: true
  65. enable-scroll = true
  66. ; icon-[0-9]+ = <desktop-name>;<icon>
  67. ; ; NOTE: The desktop name needs to match the name configured by the WM
  68. ; ; You can get a list of the defined desktops using:
  69. ; ; $ xprop -root _NET_DESKTOP_NAMES
  70. ; icon-0 = code;♚
  71. ; icon-1 = office;♛
  72. ; icon-2 = graphics;♜
  73. ; icon-3 = mail;♝
  74. ; icon-4 = web;♞
  75. ; icon-default = ♟
  76. ;
  77. ; ; Available tags:
  78. ; ; <label-monitor>
  79. ; ; <label> - gets replaced with <label-(active|urgent|occupied|empty)>
  80. ; ; Default: <label>
  81. ;format = <label>
  82. ;
  83. ; ; Available tokens:
  84. ; ; %name%
  85. ; ; Default: %name%
  86. #label-monitor = %name%
  87. ;
  88. ; ; Available tokens:
  89. ; ; %name%
  90. ; ; %icon%
  91. ; ; %index%
  92. ; ; Default: %icon% %name%
  93. label-active = %icon% %name% %icon%
  94. label-active-foreground = #ffffff
  95. label-active-background = #3f3f3f
  96. label-active-underline = #fba922
  97. ;
  98. ; ; Available tokens:
  99. ; ; %name%
  100. ; ; %icon%
  101. ; ; %index%
  102. ; ; Default: %icon% %name%
  103. label-occupied = %icon% %name% %icon%
  104. label-occupied-underline = #555555
  105. label-occupied-foreground = #ffffff
  106. ;
  107. ; ; Available tokens:
  108. ; ; %name%
  109. ; ; %icon%
  110. ; ; %index%
  111. ; ; Default: %icon% %name%
  112. label-urgent = %icon% %name% %icon%
  113. label-urgent-foreground = #000000
  114. label-urgent-background = #bd2c40
  115. label-urgent-underline = #9b0a20
  116. ;
  117. ; ; Available tokens:
  118. ; ; %name%
  119. ; ; %icon%
  120. ; ; %index%
  121. ; ; Default: %icon% %name%
  122. label-empty = %icon% %name% %icon%
  123. label-empty-foreground = #55
  124. [module/xwindow]
  125. type = internal/xwindow
  126. label = %title: 0:40:...%
  127. label-maxlen = 70
  128. #format-background = #808000
  129. format-background = #555555
  130. format-foreground = #FFFFFF
  131. format-padding = 2
  132. [module/xkeyboard]
  133. type = internal/xkeyboard
  134. blacklist-0 = num lock
  135. format-prefix = " "
  136. #format-prefix-foreground = ${colors.foreground-alt}
  137. format-prefix-underline = ${colors.secondary}
  138. label-layout = %layout%
  139. label-layout-underline = ${colors.secondary}
  140. label-indicator-padding = 2
  141. label-indicator-margin = 1
  142. label-indicator-background = ${colors.secondary}
  143. label-indicator-underline = ${colors.secondary}
  144. [module/filesystem]
  145. type = internal/fs
  146. interval = 25
  147. mount-0 = /
  148. mount-1 = /boot
  149. mount-2 = /home
  150. label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
  151. label-unmounted = %mountpoint% not mounted
  152. label-unmounted-foreground = ${colors.foreground-alt}
  153. [module/mpd]
  154. type = internal/mpd
  155. label-song = %artist% - %title%
  156. format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next> <icon-repeat> <icon-random> <label-time> <bar-progress>
  157. icon-prev = 
  158. icon-stop = 
  159. icon-play = 
  160. icon-pause = 
  161. icon-next = 
  162. icon-random = 
  163. icon-repeat = 
  164. toggle-on-foreground = #ff
  165. toggle-off-foreground = #55
  166. ; Only applies if <bar-progress> is used
  167. bar-progress-width = 45
  168. bar-progress-indicator = |
  169. bar-progress-fill = ─
  170. bar-progress-empty = ─
  171. bar-progress-fill-foreground = #00FF00
  172. label-song-maxlen = 50
  173. label-song-ellipsis = true
  174. [module/xbacklight]
  175. type = internal/xbacklight
  176. output = eDP1
  177. format = <label> <bar>
  178. label = " %percentage%%"
  179. bar-width = 10
  180. bar-indicator = |
  181. bar-indicator-foreground = #ff
  182. bar-indicator-font = 2
  183. bar-fill = ─
  184. bar-fill-font = 2
  185. bar-fill-foreground = #9f78e1
  186. bar-empty = ─
  187. bar-empty-font = 2
  188. bar-empty-foreground = ${colors.foreground-alt}
  189. [module/backlight-acpi]
  190. inherit = module/xbacklight
  191. type = internal/backlight
  192. card = intel_backlight
  193. [module/cpu]
  194. type = internal/cpu
  195. interval = 2
  196. format = <label> <ramp-coreload>
  197. format-prefix = " "
  198. #format-prefix-foreground = ${colors.foreground-alt}
  199. format-underline = #f90000
  200. label = %percentage%%
  201. ramp-coreload-0 = ▁
  202. ramp-coreload-0-font = 2
  203. ramp-coreload-0-foreground = #aaff77
  204. ramp-coreload-1 = ▂
  205. ramp-coreload-1-font = 2
  206. ramp-coreload-1-foreground = #aaff77
  207. ramp-coreload-2 = ▃
  208. ramp-coreload-2-font = 2
  209. ramp-coreload-2-foreground = #aaff77
  210. ramp-coreload-3 = ▄
  211. ramp-coreload-3-font = 2
  212. ramp-coreload-3-foreground = #aaff77
  213. ramp-coreload-4 = ▅
  214. ramp-coreload-4-font = 2
  215. ramp-coreload-4-foreground = #fba922
  216. ramp-coreload-5 = ▆
  217. ramp-coreload-5-font = 2
  218. ramp-coreload-5-foreground = #fba922
  219. ramp-coreload-6 = ▇
  220. ramp-coreload-6-font = 2
  221. ramp-coreload-6-foreground = #ff5555
  222. ramp-coreload-7 = █
  223. ramp-coreload-7-font = 2
  224. ramp-coreload-7-foreground = #ff5555
  225. [module/memory]
  226. type = internal/memory
  227. interval = 2
  228. format = <label> <bar-used>
  229. format-prefix = " "
  230. #format-prefix-foreground = ${colors.foreground-alt}
  231. format-underline = #4bffdc
  232. label = %percentage_used%%
  233. bar-used-width = 8
  234. bar-used-foreground-0 = #aaff77
  235. bar-used-foreground-1 = #aaff77
  236. bar-used-foreground-2 = #fba922
  237. bar-used-foreground-3 = #ff5555
  238. bar-used-indicator = |
  239. bar-used-indicator-font = 6
  240. bar-used-indicator-foreground = #ff
  241. bar-used-fill = ─
  242. bar-used-fill-font = 6
  243. bar-used-empty = ─
  244. bar-used-empty-font = 6
  245. bar-used-empty-foreground = #444444
  246. [module/ip-wired]
  247. type = internal/network
  248. interface = enp1s0f1
  249. format-connected = <label-connected>
  250. label-connected = LAN: %local_ip%
  251. label-connected-foreground = #eefafafa
  252. [module/ip-wireless]
  253. type = internal/network
  254. interface = wlp2s0
  255. format-connected = <label-connected>
  256. label-connected = WIFI: %local_ip%
  257. label-connected-foreground = #eefafafa
  258. [module/wlan]
  259. type = internal/network
  260. interface = wlp2s0
  261. ; ; Default: 1
  262. interval = 2.0
  263. ;
  264. ; ; Test connectivity every Nth update
  265. ; ; A value of 0 disables the feature
  266. ; ; NOTE: Experimental (needs more testing)
  267. ; ; Default: 0
  268. ; ;ping-interval = 3
  269. ;
  270. ; ; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%)
  271. ; ; Minimum output width of upload/download rate
  272. ; ; Default: 3
  273. ; udspeed-minwidth = 5
  274. ;
  275. ; ; Accumulate values from all interfaces
  276. ; ; when querying for up/downspeed rate
  277. ; ; Default: false
  278. ; accumulate-stats = true
  279. ; Available tags:
  280. ; ; <label-connected> (default)
  281. ; ; <ramp-signal>
  282. format-connected =  <label-connected>
  283. format-connected-underline = #9f78e1
  284. ;
  285. ; ; Available tags:
  286. ; ; <label-disconnected> (default)
  287. format-disconnected = <label-disconnected>
  288. ;
  289. ; ; Available tags:
  290. ; ; <label-connected> (default)
  291. ; ; <label-packetloss>
  292. ; ; <animation-packetloss>
  293. format-packetloss = <animation-packetloss> <label-connected>
  294. ;
  295. ; ; Available tokens:
  296. ; ; %ifname% [wireless+wired]
  297. ; ; %local_ip% [wireless+wired]
  298. ; ; %essid% [wireless]
  299. ; ; %signal% [wireless]
  300. ; ; %upspeed% [wireless+wired]
  301. ; ; %downspeed% [wireless+wired]
  302. ; ; %linkspeed% [wired]
  303. ; ; Default: %ifname% %local_ip%
  304. label-connected = %essid% %downspeed:8%%upspeed:8%
  305. label-connected-foreground = #eefafafa
  306. ;
  307. ; ; Available tokens:
  308. ; ; %ifname% [wireless+wired]
  309. ; ; Default: (none)
  310. #format-disconnected =
  311. #format-disconnected = <label-disconnected>
  312. format-disconnected-underline = ${self.format-connected-underline}
  313. label-disconnected = %ifname% disconnected
  314. label-disconnected-foreground = ${colors.foreground-alt}
  315. ;
  316. ; ; Available tokens:
  317. ; ; %ifname% [wireless+wired]
  318. ; ; %local_ip% [wireless+wired]
  319. ; ; %essid% [wireless]
  320. ; ; %signal% [wireless]
  321. ; ; %linkspeed% [wired]
  322. ; ; Default: (none)
  323. label-packetloss = %essid%
  324. label-packetloss-foreground = #eefafafa
  325. ;
  326. ; ; Only applies if <ramp-signal> is used
  327. ramp-signal-0 = 😱
  328. ramp-signal-1 = 😠
  329. ramp-signal-2 = 😒
  330. ramp-signal-3 = 😊
  331. ramp-signal-4 = 😃
  332. ramp-signal-5 = 😈
  333. ;
  334. ; ; Only applies if <animation-packetloss> is used
  335. animation-packetloss-0 = ⚠
  336. animation-packetloss-0-foreground = #ffa64c
  337. animation-packetloss-1 = 📶
  338. animation-packetloss-1-foreground = #000000
  339. ; ; Framerate in milliseconds
  340. animation-packetloss-framerate = 500
  341. [module/eth]
  342. type = internal/network
  343. interface = enp1s0f1
  344. interval = 3.0
  345. format-connected-underline = #55aa55
  346. format-connected-prefix = " "
  347. format-connected-prefix-foreground = ${colors.foreground-alt}
  348. label-connected = %local_ip%
  349. ;format-disconnected =
  350. ;format-disconnected = <label-disconnected>
  351. ;format-disconnected-underline = ${self.format-connected-underline}
  352. ;label-disconnected = %ifname% disconnected
  353. ;label-disconnected-foreground = ${colors.foreground-alt}
  354. [module/date]
  355. type = internal/date
  356. interval = 5
  357. date =
  358. date-alt = " %Y-%m-%d"
  359. time = %H:%M
  360. time-alt = %H:%M:%S
  361. format-prefix = 
  362. #format-prefix-foreground = ${colors.foreground-alt}
  363. format-underline = #0a6cf5
  364. label = %date% %time%
  365. [module/volume]
  366. type = internal/alsa
  367. format-volume = "<label-volume> <bar-volume>"
  368. label-volume = " %percentage%%"
  369. label-volume-foreground = ${root.foreground}
  370. format-muted-prefix = " "
  371. format-muted-foreground = ${colors.foreground-alt}
  372. label-muted = sound muted
  373. bar-volume-width = 10
  374. bar-volume-foreground-0 = #55aa55
  375. bar-volume-foreground-1 = #55aa55
  376. bar-volume-foreground-2 = #55aa55
  377. bar-volume-foreground-3 = #55aa55
  378. bar-volume-foreground-4 = #55aa55
  379. bar-volume-foreground-5 = #f5a70a
  380. bar-volume-foreground-6 = #ff5555
  381. bar-volume-gradient = false
  382. bar-volume-indicator = |
  383. bar-volume-indicator-font = 2
  384. bar-volume-fill = ─
  385. bar-volume-fill-font = 2
  386. bar-volume-empty = ─
  387. bar-volume-empty-font = 2
  388. bar-volume-empty-foreground = ${colors.foreground-alt}
  389. [module/battery]
  390. type = internal/battery
  391. battery = BAT0
  392. adapter = AC
  393. full-at = 98
  394. format-charging = <animation-charging> <label-charging>
  395. format-charging-underline = #ffb52a
  396. format-discharging = <ramp-capacity> <label-discharging>
  397. format-discharging-underline = ${self.format-charging-underline}
  398. format-full-prefix = " "
  399. format-full-prefix-foreground = ${colors.foreground-alt}
  400. format-full-underline = ${self.format-charging-underline}
  401. ramp-capacity-0 = " "
  402. ramp-capacity-1 = " "
  403. ramp-capacity-2 = " "
  404. #ramp-capacity-foreground = ${colors.foreground-alt}
  405. animation-charging-0 = " "
  406. animation-charging-1 = " "
  407. animation-charging-2 = " "
  408. animation-charging-foreground = ${colors.foreground-alt}
  409. animation-charging-framerate = 750
  410. [module/temperature]
  411. type = internal/temperature
  412. thermal-zone = 0
  413. warn-temperature = 60
  414. format = <ramp> <label>
  415. format-underline = #f50a4d
  416. format-warn = <ramp> <label-warn>
  417. format-warn-underline = ${self.format-underline}
  418. label = %temperature-c%
  419. label-warn = %temperature-c%
  420. label-warn-foreground = ${colors.secondary}
  421. ramp-0 = 
  422. ramp-1 = 
  423. ramp-2 = 
  424. #ramp-foreground = ${colors.foreground-alt}
  425. [module/powermenu]
  426. type = custom/menu
  427. format-spacing = 1
  428. label-open = 
  429. label-open-foreground = ${colors.secondary}
  430. label-close =  cancel
  431. label-close-foreground = ${colors.secondary}
  432. label-separator = |
  433. label-separator-foreground = ${colors.foreground-alt}
  434. menu-0-0 = reboot
  435. menu-0-0-exec = gksudo reboot
  436. menu-0-1 = power off
  437. menu-0-1-exec = gksudo poweroff
  438. menu-1-0 = cancel
  439. menu-1-0-exec = menu-open-0
  440. menu-1-1 = reboot
  441. menu-1-1-exec = gksudo reboot
  442. menu-2-0 = power off
  443. menu-2-0-exec = gksudo poweroff
  444. menu-2-1 = cancel
  445. menu-2-1-exec = menu-open-0
  446. [settings]
  447. screenchange-reload = true
  448. [global/wm]
  449. margin-top = 5
  450. margin-bottom = 5
  451. ; vim:ft=dosini