SHARE
TWEET

polybar solarized

a guest Jun 20th, 2019 137 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;==========================================================
  2. ;
  3. ;
  4. ;   ██████╗  ██████╗ ██╗  ██╗   ██╗██████╗  █████╗ ██████╗
  5. ;   ██╔══██╗██╔═══██╗██║  ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
  6. ;   ██████╔╝██║   ██║██║   ╚████╔╝ ██████╔╝███████║██████╔╝
  7. ;   ██╔═══╝ ██║   ██║██║    ╚██╔╝  ██╔══██╗██╔══██║██╔══██╗
  8. ;   ██║     ╚██████╔╝███████╗██║   ██████╔╝██║  ██║██║  ██║
  9. ;   ╚═╝      ╚═════╝ ╚══════╝╚═╝   ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝
  10. ;
  11. ;
  12. ;   To learn more about how to configure Polybar
  13. ;   go to https://github.com/jaagr/polybar
  14. ;
  15. ;   The README contains alot of information
  16. ;
  17. ;==========================================================
  18.  
  19. [colors]
  20. ;background = ${xrdb:color0:#222}
  21. ;background = #222
  22. ;background-alt = #444
  23. ;foreground = ${xrdb:color7:#222}
  24. ;foreground = #dfdfdf
  25. ;foreground-alt = #555
  26. ;primary = #ffb52a
  27. ;secondary = #e60053
  28. ;alert = #bd2c40
  29.  
  30.  
  31. background = ${xrdb:background:#002b36}
  32. background-main = ${xrdb:color0:#073642}
  33.  
  34. secondary = ${xrdb:color2:#859900}
  35.  
  36. ;foreground = #839496
  37. foreground = ${xrdb:color3:#b58900}
  38.  
  39.  
  40. alert = #dc322f
  41. alert-foreground = #002b36
  42.  
  43. [bar/dock]
  44. monitor = eDP-1
  45. dpi-x=112
  46. dpi-y=112
  47. width=100%
  48. height=50
  49. wm-restack = i3
  50.  
  51. bottom=true
  52.  
  53. background = ${colors.background-main}
  54. foreground = ${colors.foreground}
  55.  
  56. modules-left = menu-apps
  57.  
  58. [module/menu-apps]
  59. type = custom/menu
  60.  
  61. ; "menu-LEVEL-N" has the same properties as "label-NAME" with
  62. ; the additional "exec" property
  63. ;
  64. ; Available exec commands:
  65. ; menu-open-LEVEL
  66. ; menu-close
  67. ; Other commands will be executed using "/usr/bin/env sh -c $COMMAND"
  68.  
  69. label-open = MENU
  70.  
  71. menu-0-0 = Browsers
  72. menu-0-0-exec = menu-open-1
  73. menu-0-2 = Multimedia
  74. menu-0-2-exec = menu-open-2
  75.  
  76. menu-1-0 = Firefox
  77. menu-1-0-exec = firefox &
  78. menu-1-1 = Chromium
  79. menu-1-1-exec = chromium &
  80.  
  81. menu-2-0 = Gimp
  82. menu-2-0-exec = gimp &
  83. menu-2-1 = Scrot
  84. menu-2-1-exec = scrot &
  85.  
  86. [bar/top]
  87. monitor = eDP-1
  88. dpi-x=112
  89. dpi-y=112
  90. ;monitor = ${env:MONITOR:HDMI-1}
  91. width = 100%
  92. height = 36
  93. ;offset-x = 1%
  94. ;offset-y = 1%
  95. radius = 0
  96. fixed-center = false
  97.  
  98. background = ${colors.background-main}
  99. foreground = ${colors.foreground}
  100.  
  101. font-0 = "RobotoMono Nerd Font:style=Bold"
  102. font-1 = "Material Icons:style=Regular"
  103.  
  104. modules-left = i3
  105. modules-center =
  106. modules-right = s xbacklight d pulseaudio d wlan d eth d battery d temperature d memory d cpu d date d powermenu d
  107.  
  108. tray-position = right
  109. tray-padding = 2
  110. ;tray-transparent = true
  111. tray-background = ${colors.background}
  112.  
  113.  
  114. wm-restack = i3
  115.  
  116. ;override-redirect = true
  117.  
  118. line-size = 1
  119.  
  120. [module/s]
  121. type = custom/text
  122.  
  123. content = ""
  124. content-foreground = ${colors.background}
  125.  
  126.  
  127. [module/d]
  128. type = custom/text
  129.  
  130. content-prefix = ""
  131. content-prefix-foreground = ${colors.background-main}
  132. content-prefix-background = ${colors.background}
  133.  
  134. content = ""
  135. content-foreground = ${colors.background}
  136. content-background = ${colors.background-main}
  137.  
  138.  
  139. [module/xwindow]
  140. type = internal/xwindow
  141. label = %title:0:30:...%
  142.  
  143. [module/xkeyboard]
  144. type = internal/xkeyboard
  145. blacklist-0 = num lock
  146.  
  147. format = <label-layout> <label-indicator>
  148. format-background = ${colors.background}
  149. format-foreground = ${colors.foreground}
  150.  
  151. format-prefix = " "
  152.  
  153. label-layout = %layout%
  154. label-layout-padding = 1
  155.  
  156. label-indicator-padding = 2
  157. label-indicator-foreground = ${colors.alert-foreground}
  158. label-indicator-background = ${colors.alert}
  159.  
  160. [module/filesystem]
  161. type = internal/fs
  162. interval = 25
  163.  
  164. mount-0 = /
  165.  
  166. label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
  167. label-mounted-background = ${colors.background}
  168. label-unmounted = %mountpoint% not mounted
  169. label-unmounted-background = ${colors.background}
  170.  
  171. [module/bspwm]
  172. type = internal/bspwm
  173.  
  174. label-focused = %index%
  175. label-focused-background = ${colors.background}
  176. label-focused-padding = 2
  177.  
  178. label-occupied = %index%
  179. label-occupied-padding = 2
  180.  
  181. label-urgent = %index%!
  182. label-urgent-background = ${colors.alert}
  183. label-urgent-padding = 2
  184.  
  185. label-empty = %index%
  186. label-empty-foreground = ${colors.foreground}
  187. label-empty-padding = 2
  188.  
  189. ; Separator in between workspaces
  190. ; label-separator = |
  191.  
  192. [module/i3]
  193. type = internal/i3
  194.  
  195. format = <label-state> <label-mode>
  196. format-background = ${colors.background}
  197. format-suffix = 
  198. format-suffix-foreground = ${colors.background}
  199. format-suffix-background = ${colors.background-main}
  200.  
  201. index-sort = true
  202. wrapping-scroll = false
  203.  
  204. ; Only show workspaces on the same output as the bar
  205. ;pin-workspaces = true
  206.  
  207. label-mode-padding = 1
  208. ;label-mode-background = ${colors.background}
  209.  
  210. ; focused = Active workspace on focused monitor
  211. label-focused = %index%
  212. label-focused-padding = 1
  213. label-focused-underline = ${colors.alert}
  214.  
  215. ; unfocused = Inactive workspace on any monitor
  216. label-unfocused = %index%
  217. label-unfocused-padding = 1
  218.  
  219. ; visible = Active workspace on unfocused monitor
  220. label-visible = %index%
  221. label-visible-padding = 1
  222. label-visible-underline = ${colors.secondary}
  223.  
  224. ; urgent = Workspace with urgency hint set
  225. label-urgent = %index%
  226.  
  227. ; Separator in between workspaces
  228. ; label-separator = |
  229.  
  230. [module/xbacklight]
  231. type = internal/xbacklight
  232.  
  233. format = <label>
  234. format-background = ${colors.background}
  235. label = "  %percentage:2%% "
  236.  
  237. [module/backlight-acpi]
  238. inherit = module/xbacklight
  239. type = internal/backlight
  240. card = intel_backlight
  241.  
  242. [module/cpu]
  243. type = internal/cpu
  244. interval = 2
  245. format-prefix = "  "
  246. format-background = ${colors.background}
  247. label = "%percentage:2%% "
  248.  
  249. [module/memory]
  250. type = internal/memory
  251. interval = 2
  252. format-prefix = "  "
  253. format-background = ${colors.background}
  254. label = "%percentage_used%% "
  255.  
  256. [module/wlan]
  257. type = internal/network
  258. interface = wlp4s0
  259. interval = 3.0
  260.  
  261. format-connected = <label-connected>
  262. format-connected-background = ${colors.background}
  263.  
  264. ;label-connected = "直 %essid%"
  265. label-connected = "  %essid% "
  266.  
  267. format-disconnected = "  "
  268. format-disconnected-background = ${colors.background}
  269.  
  270. [module/eth]
  271. type = internal/network
  272. interface = enp0s25
  273. interval = 3.0
  274.  
  275. format-connected-prefix = "  "
  276. format-connected-prefix-background = ${colors.background}
  277. label-connected = %local_ip%
  278.  
  279. format-disconnected = "  "
  280. format-disconnected-background = ${colors.background}
  281.  
  282. [module/date]
  283. type = internal/date
  284. interval = 0.5
  285.  
  286. ;date =
  287. date = "%Y-%m-%d"
  288.  
  289. ;time = %H:%M
  290. time = %H:%M:%S
  291.  
  292. format-background = ${colors.background}
  293. label = "  %date%  %time% "
  294.  
  295. [module/pulseaudio]
  296. type = internal/pulseaudio
  297.  
  298. ;format-volume = <label-volume> <bar-volume>
  299. format-volume = <ramp-volume> <label-volume>
  300. format-volume-padding = 1
  301. format-volume-background = ${colors.background}
  302.  
  303. label-volume-foreground = ${colors.foreground}
  304.  
  305. ramp-volume-0 = 
  306. ramp-volume-1 = 
  307. ramp-volume-2 = 
  308. ramp-volume-3 = 
  309.  
  310. format-muted-padding = 1
  311. format-muted-background = ${colors.background}
  312.  
  313. label-muted =  muted
  314. label-muted-foreground = #666
  315.  
  316. bar-volume-width = 10
  317. bar-volume-foreground-0 = #55aa55
  318. bar-volume-foreground-1 = #55aa55
  319. bar-volume-foreground-2 = #55aa55
  320. bar-volume-foreground-3 = #55aa55
  321. bar-volume-foreground-4 = #55aa55
  322. bar-volume-foreground-5 = #f5a70a
  323. bar-volume-foreground-6 = #ff5555
  324. bar-volume-gradient = false
  325. bar-volume-indicator = |
  326. bar-volume-indicator-font = 2
  327. bar-volume-fill = ─
  328. bar-volume-fill-font = 2
  329. bar-volume-empty = ─
  330. bar-volume-empty-font = 2
  331. bar-volume-empty-foreground = ${colors.foreground}
  332.  
  333. [module/battery]
  334. type = internal/battery
  335. poll-interval = 2
  336. full-at = 92
  337.  
  338. format-charging = "<animation-charging> <label-charging>CHR "
  339. format-discharging = "<ramp-capacity> <label-discharging>DIS "
  340. format-full = " <label-full> FUL "
  341.  
  342.  
  343. ramp-capacity-0 = " "
  344. ramp-capacity-0-foreground = #f53c3c
  345. ramp-capacity-1 = " "
  346. ramp-capacity-1-foreground = #ffa900
  347. ramp-capacity-2 = " "
  348. ramp-capacity-3 = " "
  349. ramp-capacity-4 = " "
  350.  
  351. animation-charging-0 = " "
  352. animation-charging-1 = " "
  353. animation-charging-2 = " "
  354. animation-charging-3 = " "
  355. animation-charging-4 = " "
  356. animation-charging-framerate = 500
  357.  
  358. format-charging-background = ${colors.background}
  359. format-discharging-background = ${colors.background}
  360.  
  361. ;label-charging-background = ${colors.background}
  362. label-charging-padding = 1
  363.  
  364. ;label-discharging-background = ${colors.background}
  365. label-discharging-padding = 1
  366.  
  367. format-full-prefix = "  "
  368. format-full-background = ${colors.background}
  369.  
  370. [module/temperature]
  371. type = internal/temperature
  372. thermal-zone = 0
  373. warn-temperature = 60
  374. poll-interval=0.1
  375.  
  376. format = <ramp> <label>
  377. format-padding = 1
  378. format-background = ${colors.background}
  379.  
  380. format-warn = <label-warn>
  381. format-warn-padding= 0
  382. format-warn-background = ${colors.background}
  383. format-warn-prefix = 
  384. format-warn-suffix = 
  385. format-warn-prefix-foreground = ${colors.alert}
  386. format-warn-prefix-background = ${colors.background}
  387. format-warn-suffix-foreground = ${colors.background}
  388. format-warn-suffix-background = ${colors.alert}
  389.  
  390.  
  391. label = %temperature-c%
  392.  
  393. label-warn = " %temperature-c%"
  394. label-warn-foreground = ${colors.alert-foreground}
  395. label-warn-background = ${colors.alert}
  396.  
  397. ramp-0 = 
  398. ramp-1 = 
  399. ramp-2 = 
  400. ramp-3 = 
  401. ramp-4 = 
  402. ramp-5 = 
  403. ramp-6 = 
  404. ramp-7 = 
  405. ramp-foreground = ${colors.foreground}
  406.  
  407. [module/powermenu]
  408. type = custom/menu
  409.  
  410. expand-right = true
  411.  
  412. format-spacing = 1
  413.  
  414. label-open = " 襤 "
  415. label-close = " ﰸ"
  416. label-separator = |
  417. format-background = ${colors.background}
  418.  
  419. menu-0-0 = ﰇ
  420. menu-0-0-exec = systemctl reboot
  421. menu-0-1 = 襤
  422. menu-0-1-exec = systemctl poweroff
  423.  
  424.  
  425. [settings]
  426. screenchange-reload = true
  427. ;compositing-background = xor
  428. ;compositing-background = screen
  429. ;compositing-foreground = source
  430. ;compositing-border = over
  431.  
  432. [global/wm]
  433. margin-top = 20
  434. margin-bottom = 5
  435.  
  436. ; vim:ft=dosini
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top