modules.ini 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. [module/audio]
  2. type = internal/pulseaudio
  3. master-mixer = Master
  4. label-volume-foreground = ${colors.foreground}
  5. label-volume = %{A3:pavucontrol & disown:}%percentage%% %{A}
  6. format-volume = <ramp-volume><label-volume>
  7. format-volume-padding =
  8. label-volume-padding = 2
  9. format-volume-background = #202020
  10. label-volume-background = #202020
  11. ramp-volume-background = #202020
  12. label-muted = ""
  13. label-muted-padding = 2
  14. label-muted-foreground = ${xrdb:color5}
  15. label-muted-background = #202020
  16. ramp-volume-0 = ""
  17. ramp-volume-0-foreground = ${xrdb:color5}
  18. ramp-volume-1 = ""
  19. ramp-volume-1-foreground = ${xrdb:color5}
  20. ramp-volume-2 = ""
  21. ramp-volume-2-foreground = ${xrdb:color5}
  22. ramp-volume-3 = ""
  23. ramp-volume-3-foreground = ${xrdb:color1}
  24. ramp-volume-padding = 2
  25. click-right = pavucontrol
  26. ;sink = alsa_output.usb-Burr-Brown_Japan_Burr-Brown_Japan_PCM2702-00.iec958-stereo
  27. [module/date]
  28. type = internal/date
  29. interval = 1
  30. format-prefix = ""
  31. format-prefix-foreground = ${xrdb:color1}
  32. ;date = %I:%M %p
  33. date = %H:%M, %a, %d %b %Y%
  34. format = <label>
  35. format-background = #202020
  36. format-foreground =#505050
  37. label = "%date%"
  38. format-padding = 2
  39. label-padding = 2
  40. [module/term]
  41. type = custom/script
  42. exec = echo ""
  43. click-left = "st"
  44. [module/disk]
  45. type = custom/script
  46. interval = 300
  47. format-prefix = "﫭 "
  48. format = <label>
  49. exec = ~/.config/polybar/disk.sh
  50. [module/hostname]
  51. type = custom/script
  52. interval = 9999
  53. exec = hostnamectl --static
  54. format-prefix = ""
  55. format-prefix-foreground = ${xrdb:color6}
  56. format-padding = 2
  57. format-prefix-padding = 2
  58. [module/wallpaper]
  59. type = custom/script
  60. exec = echo " "
  61. click-left= feh -z --bg-fill ~/Image/wallpapers/wallpapers/abstract
  62. click-right= feh -z --bg-fill ~/Image/wallpapers/wallpapers/landscape
  63. click-middle= feh -z --bg-fill ~/Image/wallpapers/wallpapers/art
  64. scroll-click-up= feh -z --bg-fill ~/Image/wallpapers/wallpapers/space
  65. scroll-click-down= feh -z --bg-fill ~/Image/wallpapers/wallpapers/animals
  66. double-click-left= feh -z --bg-fill ~/Image/wallpapers/wallpapers/maller
  67. double-click-right= feh -z --bg-fill ~/Image/wallpapers/wallpapers/films
  68. double-click-middle= feh -z --bg-fill ~/Image/wallpapers/wallpapers/people
  69. [module/dwm]
  70. type = internal/dwm
  71. socket-path = /tmp/dwm.sock
  72. enable-tags-click = true
  73. enable-tags-scroll = true
  74. tags-scroll-empty = false
  75. tags-scroll-reverse = true
  76. tags-scroll-wrap = true
  77. enable-layout-click = true
  78. enable-layout-scroll = true
  79. layout-scroll-wrap = true
  80. layout-scroll-reverse = true
  81. secondary-layout-symbol = 󰕰
  82. label-floating = 
  83. label-floating-padding = 2
  84. label-floating-background = #202020
  85. label-floating-foreground = #a3535a
  86. ;label-title = %title%
  87. label-title =
  88. label-title-maxlen = 35
  89. label-title-padding = 4
  90. label-title-foreground = #505050
  91. label-title-background = #202020
  92. label-layout = %symbol%
  93. label-layout-padding = 4
  94. label-layout-foreground = #505050
  95. label-layout-background = #202020
  96. ; focused = Active tag on focused monitor
  97. label-focused = %name%
  98. label-focused-background = #202020
  99. label-focused-foreground = #606d84
  100. label-focused-padding = 4
  101. label-focused-font = 7
  102. label-focused-underline = #505050
  103. ; unfocused = Inactive tag on any monitor
  104. label-unfocused = %name%
  105. label-unfocused-background = #202020
  106. label-unfocused-foreground = #505050
  107. label-unfocused-padding = 4
  108. label-unfocused-font = 7
  109. ; visible = Active tag on unfocused monitor
  110. label-visible = %name%
  111. label-visible-background = #202020
  112. label-visible-foreground = #4e4e4e
  113. label-visible-padding = 4
  114. label-visible-font = 7
  115. label-visible-underline = #7e9cb9
  116. label-visible-underline-padding = 4
  117. ; urgent = Tag with urgency hint set
  118. label-urgent = %name%
  119. label-urgent-background = #202020
  120. label-urgent-foreground = #a3535a
  121. label-urgent-padding = 4
  122. label-urgent-font = 7
  123. ; empty = Tags with no windows assigned
  124. ; This can be set to an empty string to hide empty tags
  125. label-empty =
  126. label-empty-padding = 4
  127. label-empty-foreground = #444444
  128. label-empty-font = 7
  129. ; Separator in between workspaces
  130. ;label-separator = |
  131. ;label-separator-padding = 2
  132. [module/mpd]
  133. type = internal/mpd
  134. format-online = "<toggle> <label-song> <label-time>"
  135. ;format-online = "<toggle> <label-song>"
  136. format-underline = #FF00DB
  137. format-prefix-foreground = #505050
  138. format-prefix = ""
  139. format--online-suffix = ""
  140. format-online-suffix-foreground = #505050
  141. label-song = %title% - %artist% - %album% (%date%)
  142. label-song-foreground = #505050
  143. label-song-maxlen = 380
  144. label-song-ellipsis = true
  145. ;format-online-foreground = ${colors.foreground}
  146. format-online-background = #202020
  147. label-time-foreground = 505050
  148. label-time-padding = 2
  149. icon-prev = 
  150. icon-stop = 
  151. icon-play-prefix = ${xrdb:color2}
  152. icon-play-padding = 4
  153. icon-pause-padding = 4
  154. icon-play = " "
  155. icon-pause = " "
  156. icon-next = " "
  157. icon-play-foreground = ${xrdb:color9}
  158. icon-pause-foreground = ${xrdb:color4}
  159. [module/xwindow]
  160. type = internal/xwindow
  161. label = %title%
  162. label-empty = dwm 6.2
  163. label-maxlen = 150
  164. format-foreground = ${colors.foreground}
  165. format-padding = 2
  166. format-prefix =
  167. format-prefix-padding = 2
  168. format-prefix-foreground = ${xrdb:color3}
  169. ;format-background = #333333
  170. format-background = #202020
  171. [module/xwindowi3]
  172. type = internal/xwindow
  173. label = %title%
  174. label-empty = i3-gaps
  175. label-maxlen = 150
  176. format-foreground = ${colors.foreground}
  177. format-padding = 2
  178. format-prefix = 
  179. format-prefix-padding = 2
  180. format-prefix-foreground = ${xrdb:color3}
  181. ;format-background = #333333
  182. format-background = #202020
  183. [module/i3]
  184. type = internal/i3
  185. pin-workspaces = true
  186. strip-wsnumbers = true
  187. index-sort = true
  188. enable-click = true
  189. enable-scroll = false
  190. wrapping-scroll = false
  191. reverse-scroll = false
  192. fuzzy-match = true
  193. ws-icon-0 = 1; 
  194. ws-icon-1 = 2; 
  195. ws-icon-2 = 3; 
  196. ws-icon-3 = 4; 
  197. ws-icon-4 = 5; 
  198. ws-icon-5 = 6; 
  199. ws-icon-6 = 7; 
  200. ws-icon-7 = 8; 
  201. ws-icon-8 = 9; 
  202. ;ws-icon-9 = 10s;  Editing
  203. format = <label-state> <label-mode>
  204. label-mode = %mode%
  205. label-mode-padding = 4
  206. label-mode-background = #202020
  207. label-focused = %icon%
  208. label-focused-foreground = #505050
  209. label-focused-background = #202020
  210. label-focused-underline = #505050
  211. label-focused-padding = 4
  212. label-unfocused = %icon%
  213. label-unfocused-foreground = #606d84
  214. label-unfocused-background = #202020
  215. label-unfocused-underline = #202020
  216. label-unfocused-padding = 4
  217. label-visible = %icon%
  218. label-visible-underline = #15539E
  219. label-visible-padding = 4
  220. label-urgent = %icon%
  221. label-urgent-foreground = #202020
  222. label-urgent-background = #cc6666
  223. label-urgent-underline = #202020
  224. label-urgent-padding = 4
  225. ;label-separator =
  226. ;label-separator-foreground = #737f7f
  227. [module/xdesktops]
  228. type = internal/xworkspaces
  229. pin-workspaces = false
  230. enable-click = true
  231. enable-scroll = false
  232. reverse-scroll = false
  233. fuzzy-match = false
  234. ; icon-[0-9]+ = <desktop-name>;<icon>
  235. ; NOTE: The desktop name needs to match the name configured by the WM
  236. ; You can get a list of the defined desktops using:
  237. ; $ xprop -root _NET_DESKTOP_NAMES
  238. icon-0 = 1;
  239. icon-1 = 2;
  240. icon-2 = 3;
  241. icon-3 = 4;
  242. icon-4 = 5;
  243. icon-5 = 6;
  244. icon-6 = 7;
  245. icon-7 = 8;
  246. icon-8 = 9;
  247. icon-9 = 10;
  248. format = <label-state>
  249. label-monitor = %name%
  250. label-active = %name%
  251. label-active-foreground = #7587a6
  252. label-active-padding = 3
  253. label-occupied = %name%
  254. label-occupied-foreground = #505050
  255. label-occupied-background = #202020
  256. label-occupied-padding = 3
  257. label-urgent = %name%
  258. label-urgent-foreground = #a3535a
  259. label-urgent-background = #202020
  260. label-urgent-padding = 1
  261. label-empty = %name%
  262. label-empty-foreground = #434950
  263. label-empty-background = #202020
  264. label-empty-padding = 3
  265. [module/xwindowdk]
  266. type = internal/xwindow
  267. label = %title%
  268. label-empty = dkwm
  269. label-maxlen = 150
  270. format-foreground = ${colors.foreground}
  271. format-padding = 2
  272. format-prefix =
  273. format-prefix-padding = 2
  274. format-prefix-foreground = ${xrdb:color3}
  275. ;format-background = #333333
  276. format-background = #202020
  277. [module/dklayouts]
  278. type = custom/script
  279. ;exec-if = uptime
  280. exec = /home/dobbie/.config/dk/layouts.sh
  281. ;format-prefix = " "
  282. format-prefix =
  283. interval = 1.0
  284. format-prefix-foreground = #505050
  285. format-prefix-background = #202020
  286. label-foreground = #505050
  287. label-background = #202020
  288. format-background = #202020
  289. format-foreground = #505050
  290. format-padding = 2
  291. [module/cpu]
  292. type = internal/cpu
  293. interval = 2
  294. format-prefix = " "
  295. format-padding = 2
  296. format-prefix-foreground = ${xrdb:color3}
  297. format-underline = #f90000
  298. label = %percentage%%
  299. label-padding = 2
  300. format-background = #202020
  301. [module/memory]
  302. type = internal/memory
  303. interval = 2
  304. format-prefix = " "
  305. format-padding = 2
  306. format-prefix-foreground = ${xrdb:color6}
  307. format-underline = #4bffdc
  308. label = %percentage_used%%
  309. label-padding = 2
  310. format-background = #202020
  311. [module/filesystem]
  312. type = internal/fs
  313. ; Mountpoints to display
  314. mount-0 = /home
  315. ; Seconds to sleep between updates
  316. ; Default: 30
  317. interval = 10
  318. ; Display fixed precision values
  319. ; Default: false
  320. fixed-values = true
  321. format-mounted-prefix = ""
  322. format-mounted-prefix-foreground = ${xrdb:color2}
  323. format-mounted-prefix-padding = 2
  324. spacing = 4
  325. format-mounted = <label-mounted>
  326. format-unmounted = <label-unmounted>
  327. format-unmounted-prefix-padding = 2
  328. label-mounted = " %free%"
  329. label-mounted-padding = 2
  330. format-mounted-background = #202020
  331. ; Available tokens:
  332. ; %mountpoint%
  333. ; Default: %mountpoint% is not mounted
  334. label-unmounted = %mountpoint%: not mounted
  335. label-unmounted-foreground = #55
  336. [module/filesystemm]
  337. type = internal/fs
  338. ; Mountpoints to display
  339. mount-0 = /run/media/dobbie/Music
  340. ; Seconds to sleep between updates
  341. ; Default: 30
  342. interval = 10
  343. ; Display fixed precision values
  344. ; Default: false
  345. fixed-values = true
  346. format-mounted-prefix = ""
  347. format-mounted-prefix-foreground = ${xrdb:color1}
  348. format-mounted-prefix-padding = 2
  349. spacing = 4
  350. format-mounted = <label-mounted>
  351. format-unmounted = <label-unmounted>
  352. format-unmounted-prefix-padding = 2
  353. ;label-mounted = %mountpoint%: %percentage_free%% of %total%
  354. label-mounted = " %free%"
  355. label-mounted-padding = 2
  356. format-mounted-background = #202020
  357. ; Available tokens:
  358. ; %mountpoint%
  359. ; Default: %mountpoint% is not mounted
  360. label-unmounted = %mountpoint%: not mounted
  361. label-unmounted-foreground = #55
  362. [module/filesystema]
  363. type = internal/fs
  364. ; Mountpoints to display
  365. mount-0 = /run/media/dobbie/Archive
  366. ; Seconds to sleep between updates
  367. ; Default: 30
  368. interval = 10
  369. ; Display fixed precision values
  370. ; Default: false
  371. fixed-values = true
  372. format-mounted-prefix = ""
  373. format-mounted-prefix-foreground = ${xrdb:color3}
  374. format-mounted-prefix-padding = 2
  375. spacing = 4
  376. format-mounted = <label-mounted>
  377. format-unmounted = <label-unmounted>
  378. format-unmounted-prefix-padding = 2
  379. ;label-mounted = %mountpoint%: %percentage_free%% of %total%
  380. label-mounted = " %free%"
  381. label-mounted-padding = 2
  382. format-mounted-background = #202020
  383. ; Available tokens:
  384. ; %mountpoint%
  385. ; Default: %mountpoint% is not mounted
  386. label-unmounted = %mountpoint%: not mounted
  387. label-unmounted-foreground = #55
  388. [module/filesystemi]
  389. type = internal/fs
  390. ; Mountpoints to display
  391. mount-0 = /run/media/dobbie/Important
  392. ; Seconds to sleep between updates
  393. ; Default: 30
  394. interval = 10
  395. ; Display fixed precision values
  396. ; Default: false
  397. fixed-values = true
  398. format-mounted-prefix = ""
  399. format-mounted-prefix-foreground = ${xrdb:color3}
  400. format-mounted-prefix-padding = 2
  401. spacing = 4
  402. format-mounted = <label-mounted>
  403. format-unmounted = <label-unmounted>
  404. format-unmounted-prefix-padding = 2
  405. ;label-mounted = %mountpoint%: %percentage_free%% of %total%
  406. label-mounted = " %free%"
  407. label-mounted-padding = 2
  408. format-mounted-background = #202020
  409. ; Available tokens:
  410. ; %mountpoint%
  411. ; Default: %mountpoint% is not mounted
  412. label-unmounted = %mountpoint%: not mounted
  413. label-unmounted-foreground = #55