Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.45 KB | None | 0 0
  1. ;=====================================================================
  2. ;
  3. ;
  4. ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
  5. ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
  6. ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
  7. ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
  8. ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
  9. ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
  10. ;
  11. ;
  12. ;====================================================================
  13.  
  14. ;==Colors==================================================
  15.  
  16. [colors]
  17.  
  18. black = #000000
  19. white = #ffffff
  20. grey = #5d5d5d
  21. background = #0a9ce1
  22.  
  23. pink = #D70170
  24. peach = #f8d480
  25.  
  26. ;==Top Bar=================================================
  27.  
  28. [bar/top]
  29.  
  30. monitor = DP-1
  31. width = 100%
  32. height = 24
  33. fixed-center = true
  34. override-redirect = true
  35. wm-restack = i3
  36.  
  37. background = ${colors.background}
  38. foreground = ${colors.black}
  39. border-top-size = 10
  40. border-bottom-size = 10
  41. border-color = ${colors.background}
  42.  
  43. padding-left = 5
  44. padding-right = 5
  45.  
  46. font-0 = "Roboto:size=11:weight=bold;2"
  47. font-1 = "Iosevka Nerd Font:style=Regular:size=16;3"
  48. font-2 = "Material Icons:size=4;"
  49.  
  50. modules-left = left1 xwindow left
  51. modules-right = right4 ssd hdd hdd2 right3 memory cpu temperature right2 network right1 hour date rightend
  52.  
  53. ;==Bottom Bar==============================================
  54.  
  55. [bar/bottom]
  56.  
  57. monitor = DP-1
  58. width = 100%
  59. height = 24
  60. fixed-center = true
  61. override-redirect = true
  62. wm-restack = i3
  63. bottom = true
  64.  
  65. background = ${colors.background}
  66. foreground = ${colors.black}
  67. border-top-size = 10
  68. border-bottom-size = 10
  69. border-color = ${colors.background}
  70.  
  71. padding-left = 5
  72. padding-right = 5
  73.  
  74. font-0 = "Roboto:size=11:weight=bold;2"
  75. font-1 = "Iosevka Nerd Font:style=Regular:size=16;3"
  76. font-2 = "Material Icons:size=4"
  77.  
  78. modules-center = left1 i3 left
  79. modules-left = left1 player-cmus left
  80.  
  81. ;==Separators================================================
  82.  
  83. [module/left]
  84.  
  85. type = custom/text
  86.  
  87. content = ""
  88. content-background = ${colors.background}
  89. content-foreground = ${colors.black}
  90.  
  91. [module/left1]
  92.  
  93. type = custom/text
  94. content = ""
  95. content-background = ${colors.background}
  96. content-foreground = ${colors.black}
  97.  
  98. [module/bleft]
  99.  
  100. type = custom/text
  101. content = ""
  102. content-background = ${colors.black}
  103. content-foreground = ${colors.background}
  104.  
  105. [module/bleft1]
  106.  
  107. type = custom/text
  108. content = ""
  109. content-background = ${colors.darkgrey}
  110. content-foreground = ${colors.white}
  111.  
  112. [module/rightend]
  113.  
  114. type = custom/text
  115. content = ""
  116. content-background = ${colors.background}
  117. content-foreground = ${colors.black}
  118.  
  119.  
  120. [module/right1]
  121.  
  122. type = custom/text
  123. content = ""
  124. content-background = ${colors.white}
  125. content-foreground = ${colors.black}
  126.  
  127.  
  128. [module/right2]
  129.  
  130. type = custom/text
  131. content = ""
  132. content-background = ${colors.black}
  133. content-foreground = ${colors.white}
  134.  
  135.  
  136. [module/right3]
  137.  
  138. type = custom/text
  139. content = ""
  140. content-background = ${colors.white}
  141. content-foreground = ${colors.black}
  142.  
  143.  
  144. [module/right4]
  145.  
  146. type = custom/text
  147. content = ""
  148. content-background = ${colors.background}
  149. content-foreground = ${colors.white}
  150.  
  151.  
  152. ;==Modules===============================================
  153.  
  154. [module/player-cmus]
  155. type = custom/script
  156. exec = ~/.config/polybar/player-cmus.sh
  157. interval = 5
  158. click-left = cmus-remote -n
  159. click-right = cmus-remote -r
  160. click-middle = cmus-remote -u
  161. format-background = ${colors.black}
  162. format-foreground = ${colors.white}
  163.  
  164.  
  165. [module/xwindow]
  166. type = internal/xwindow
  167. label = " %title:0:60:...% "
  168. format-background = ${colors.black}
  169. format-foreground = ${colors.white}
  170.  
  171. [module/ssd]
  172. type = internal/fs
  173. interval = 25
  174. mount-0 = /
  175. format-mounted-prefix = " / "
  176. format-mounted-prefix-foreground = ${colors.black}
  177. format-mounted-prefix-background = ${colors.white}
  178. format-unmounted-prefix = ${self.format-mounted-prefix}
  179. format-unmounted-prefix-foreground = ${self.format-mounted-prefix-foreground}
  180. format-unmounted-prefix-background = ${self.format-mounted-prefix-background}
  181.  
  182. label-mounted = "%free% "
  183. label-unmounted = "%mountpoint% not mounted "
  184. label-unmounted-foreground = ${self.label-mounted-foreground}
  185. label-unmounted-background = ${self.label-mounted-background}
  186. label-mounted-background = ${colors.white}
  187. label-mounted-foreground = ${colors.black}
  188. #format-background = ${colors.grey}
  189.  
  190.  
  191. [module/hdd]
  192. type = internal/fs
  193. interval = 25
  194. mount-0 = /home/miles/media
  195. format-mounted-prefix = " ~ "
  196. format-mounted-prefix-foreground = ${colors.black}
  197. format-mounted-prefix-background = ${colors.white}
  198. format-unmounted-prefix = ${self.format-mounted-prefix}
  199. format-unmounted-prefix-foreground = ${self.format-mounted-prefix-foreground}
  200. format-unmounted-prefix-background = ${self.format-mounted-prefix-foreground}
  201.  
  202. label-mounted = "%free% "
  203. label-unmounted = "%mountpoint% not mounted "
  204. label-unmounted-foreground = ${colors.grey}
  205. label-unmounted-background = ${colors.grey}
  206. label-mounted-background = ${colors.white}
  207. label-mounted-foreground = ${colors.black}
  208. format-mounted-underline = #55aa55
  209. format-unmounted-underline = #aa5555
  210.  
  211. [module/hdd2]
  212. type = internal/fs
  213. interval = 25
  214. mount-0 = /home/miles/games
  215. format-mounted-prefix = " game "
  216. format-mounted-prefix-foreground = ${colors.black}
  217. format-mounted-prefix-background = ${colors.white}
  218. format-unmounted-prefix = ${self.format-mounted-prefix}
  219. format-unmounted-prefix-foreground = ${self.format-mounted-prefix-foreground}
  220. format-unmounted-prefix-background = ${self.format-mounted-prefix-foreground}
  221.  
  222. label-mounted = "%free% "
  223. label-unmounted = "%mountpoint% not mounted "
  224. label-unmounted-foreground = ${colors.grey}
  225. label-unmounted-background = ${colors.grey}
  226. label-mounted-background = ${colors.white}
  227. label-mounted-foreground = ${colors.black}
  228. format-mounted-underline = #55aa55
  229. format-unmounted-underline = #aa5555
  230.  
  231.  
  232. [module/i3]
  233. type = internal/i3
  234. format = <label-state> <label-mode>
  235. index-sort = true
  236. wrapping-scroll = false
  237. enable-scoll = false
  238. enable-click = true
  239.  
  240. ; focused = Active workspace on focused monitor
  241. label-focused-background = ${colors.black}
  242. label-focused-foreground = ${colors.background}
  243. label-focused-padding = 5
  244.  
  245. ; unfocused = Inactive workspace on any monitor
  246. label-unfocused-background = ${colors.black}
  247. label-unfocused-foreground = ${colors.white}
  248. label-unfocused-padding = 5
  249.  
  250.  
  251. [module/cpu]
  252. type = internal/cpu
  253. interval = 2
  254. format = <label>
  255. format-prefix = "  "
  256. format-prefix-foreground = ${colors.white}
  257. format-underline = #0a6cf5
  258. format-background = ${colors.black}
  259. format-foreground = ${colors.white}
  260. label = "%percentage%% "
  261.  
  262.  
  263. [module/memory]
  264. type = internal/memory
  265. interval = 2
  266. format = <label>
  267. format-prefix = "  "
  268. format-prefix-foreground = ${colors.white}
  269. format-underline = #0a6cf5
  270. label = "%gb_free% "
  271. format-background = ${colors.black}
  272. format-foreground = ${colors.white}
  273.  
  274. [module/network]
  275. type = internal/network
  276. interface = enp3s0
  277. interval = 3.0
  278.  
  279. format-connected-underline = #55aa55
  280. format-connected-prefix = "  "
  281. format-connected-prefix-foreground = ${colors.black}
  282. format-connected-prefix-background = ${colors.white}
  283. label-connected = " %local_ip% "
  284. label-connected-foreground = ${colors.black}
  285. label-connected-background = ${colors.white}
  286.  
  287.  
  288. [module/hour]
  289. type = internal/date
  290. interval = 1
  291. format-prefix = "  "
  292. format-prefix-foreground = ${colors.white}
  293. format-underline = #0a6cf5
  294. date = %H:%M
  295. format = <label>
  296. format-background = ${colors.black}
  297. format-foreground = ${colors.white}
  298. label = "%date% "
  299.  
  300.  
  301. [module/date]
  302. type = internal/date
  303. interval = 1
  304. format-prefix = "  "
  305. format-prefix-foreground = ${colors.white}
  306. format-underline = #0a6cf5
  307. date = %d.%m.%Y%
  308. format = <label>
  309. format-background = ${colors.black}
  310. format-foreground = ${colors.white}
  311. label = "%date% "
  312.  
  313.  
  314. [module/temperature]
  315. type = internal/temperature
  316. thermal-zone = 0
  317. warn-temperature = 80
  318. format-prefix = "  "
  319. format-prefix-foreground = ${colors.white}
  320. format = <label>
  321. format-underline = #f50a4d
  322. #format-warn = <ramp> <label-warn>
  323. #format-warn-underline = ${self.format-underline}
  324. format-background = ${colors.black}
  325. label-foreground = ${colors.white}
  326. label ="%temperature-c% "
  327. #label-warn = "%temperature-c% "
  328. #label-warn-foreground = ${colors.grey}
  329. #ramp-0 = "  "
  330. #ramp-1 = "  "
  331. #ramp-2 = "  "
  332. #ramp-3 = "  "
  333. #ramp-foreground = ${colors.white}
  334. #hwmon-path=/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon0/temp1_input
  335.  
  336. ;=====================================================
  337.  
  338. [settings]
  339.  
  340. screenchange-reload = true
  341. ;compositing-background = xor
  342. ;compositing-background = screen
  343. ;compositing-foreground = source
  344. ;compositing-border = over
  345.  
  346. ;=====================================================
  347.  
  348. [global/wm]
  349.  
  350. margin-top = 50
  351. ;margin-bottom = 50
  352.  
  353. ;vim:ft=dosini
  354.  
  355. ;====================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement