Advertisement
Guest User

dskjfhdslkgslg

a guest
Jan 23rd, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.95 KB | None | 0 0
  1. [bar/top]
  2.  
  3. ;------------;
  4. ; DIMENSIONS ;
  5. ;------------;
  6.  
  7. width = 100%
  8. height = 20
  9. offset-y = 0
  10. offset-x = 0
  11.  
  12. border-top-size = 7
  13. border-bottom-size = 0
  14. border-right-size = 0
  15. border-left-size = 0
  16.  
  17. ;----------;
  18. ; LOCATION ;
  19. ;----------;
  20.  
  21. bottom = false
  22. monitor = eDP1
  23. monitor-fallback = eDP1
  24. wm-restack = i3
  25. override-redirect = true
  26.  
  27. ;-------;
  28. ; FONTS ;
  29. ;-------;
  30.  
  31. font-0 = "FuraCode Nerd Font Mono:size=10;0"
  32. font-1 = "Font Awesome 5 Free:style=Solid:pixelsize=10;2"
  33. font-2 = "Font Awesome 5 Free:style=Regular:pixelsize=10;2"
  34. font-3 = "Font Awesome 5 Brands:pixelsize=10;2"
  35. font-4 = "WenQuanYi Micro Hei Mono:size=10;0"
  36.  
  37. ;--------;
  38. ; COLORS ;
  39. ;--------;
  40.  
  41. background = 0
  42. foreground = #fbf1c7
  43. border-color = 0
  44.  
  45. ;---------------;
  46. ; MISCELLANEOUS ;
  47. ;---------------;
  48.  
  49. fixed-center = true
  50. padding-left = 2
  51. padding-right = 2
  52. module-margin = 1.5
  53.  
  54. modules-left = battery volume backlight
  55. modules-center = date time
  56. modules-right = wlan cpu memory temperature network
  57.  
  58. ;-----------;
  59. ; UNDERLINE ;
  60. ;-----------;
  61.  
  62. overline-size = 10
  63. overline-color = ${self.background}
  64. underline-size = 2
  65. underline-color = ${self.background}
  66.  
  67. [bar/bottom]
  68. ;------------;
  69. ; DIMENSIONS ;
  70. ;------------;
  71.  
  72. width = 100%
  73. height = 20
  74. offset-y = 0
  75. offset-x = 0
  76.  
  77. border-top-size = 0
  78. border-bottom-size = 3
  79. border-right-size = 0
  80. border-left-size = 0
  81.  
  82. ;----------;
  83. ; LOCATION ;
  84. ;----------;
  85.  
  86. bottom = true
  87. monitor = eDP1
  88. monitor-fallback = eDP1
  89. wm-restack = i3
  90. override-redirect = true
  91.  
  92. ;-------;
  93. ; FONTS ;
  94. ;-------;
  95.  
  96. font-0 = "Font Awesome 5 Free:style=Solid:pixelsize=10;0"
  97. font-1 = "Font Awesome 5 Free:style=Regular:pixelsize=10;0"
  98. font-2 = "Font Awesome 5 Brands:pixelsize=10;0"
  99. font-3 = "FuraCode Nerd Font Mono:size=10;0"
  100. font-4 = "WenQuanYi Micro Hei Mono:size=10;0"
  101.  
  102. ;--------;
  103. ; COLORS ;
  104. ;--------;
  105.  
  106. background = 0
  107. foreground = #fbf1c7
  108. border-color = 0
  109.  
  110. ;---------------;
  111. ; MISCELLANEOUS ;
  112. ;---------------;
  113.  
  114. fixed-center = true
  115. padding-left = 2
  116. padding-right = 2
  117. module-margin = 1.5
  118.  
  119. modules-left = spotify
  120. modules-center = i3
  121. modules-right = wintitle
  122.  
  123. tray-position = right
  124. tray-detached = false
  125. tray-padding = 2
  126. tray-offset-x = -16
  127.  
  128. ;-----------;
  129. ; UNDERLINE ;
  130. ;-----------;
  131.  
  132. overline-size = 10
  133. overline-color = ${self.background}
  134. underline-size = 1
  135. underline-color = ${self.background}
  136.  
  137. [bar/top_secondary]
  138.  
  139. ;------------;
  140. ; DIMENSIONS ;
  141. ;------------;
  142.  
  143. width = 100%
  144. height = 20
  145. offset-y = 0
  146. offset-x = 0
  147.  
  148. border-top-size = 7
  149. border-bottom-size = 0
  150. border-right-size = 16
  151. border-left-size = 16
  152.  
  153. ;----------;
  154. ; LOCATION ;
  155. ;----------;
  156.  
  157. bottom = false
  158. monitor = eDP1
  159. wm-restack = i3
  160. override-redirect = true
  161.  
  162. ;-------;
  163. ; FONTS ;
  164. ;-------;
  165.  
  166. font-0 = "FuraCode Nerd Font Mono:size=10;0"
  167. font-1 = "Font Awesome 5 Free:style=Solid:pixelsize=10;2"
  168. font-2 = "Font Awesome 5 Free:style=Regular:pixelsize=10;2"
  169. font-3 = "Font Awesome 5 Brands:pixelsize=10;2"
  170. font-4 = "WenQuanYi Micro Hei Mono:size=10;0"
  171.  
  172. ;--------;
  173. ; COLORS ;
  174. ;--------;
  175.  
  176. background = 0
  177. foreground = #fbf1c7
  178. border-color = 0
  179.  
  180. ;---------------;
  181. ; MISCELLANEOUS ;
  182. ;---------------;
  183.  
  184. fixed-center = true
  185. padding-left = 2
  186. padding-right = 2
  187. module-margin = 1.5
  188.  
  189. modules-left = backlight
  190. ;modules-center =
  191. ;modules-right =
  192.  
  193. ;-----------;
  194. ; UNDERLINE ;
  195. ;-----------;
  196.  
  197. overline-size = 10
  198. overline-color = ${self.background}
  199. underline-size = 2
  200. underline-color = ${self.background}
  201.  
  202.  
  203. [bar/bottom_secondary]
  204. ;------------;
  205. ; DIMENSIONS ;
  206. ;------------;
  207.  
  208. width = 100%
  209. height = 20
  210. offset-y = 0
  211. offset-x = 0
  212.  
  213. border-top-size = 0
  214. border-bottom-size = 3
  215. border-right-size = 10
  216. border-left-size = 10
  217.  
  218. ;----------;
  219. ; LOCATION ;
  220. ;----------;
  221.  
  222. bottom = true
  223. monitor = eDP1
  224. wm-restack = i3
  225. override-redirect = true
  226.  
  227. ;-------;
  228. ; FONTS ;
  229. ;-------;
  230.  
  231. font-0 = "FuraCode Nerd Font Mono:size=10;0"
  232. font-1 = "Font Awesome 5 Free:style=Solid:pixelsize=10;2"
  233. font-2 = "Font Awesome 5 Free:style=Regular:pixelsize=10;2"
  234. font-3 = "Font Awesome 5 Brands:pixelsize=10;2"
  235. font-4 = "WenQuanYi Micro Hei Mono:size=10;0"
  236.  
  237. ;--------;
  238. ; COLORS ;
  239. ;--------;
  240.  
  241. background = 0
  242. foreground = #fbf1c7
  243. border-color = 0
  244.  
  245. ;---------------;
  246. ; MISCELLANEOUS ;
  247. ;---------------;
  248.  
  249. fixed-center = true
  250. padding-left = 2
  251. padding-right = 2
  252. module-margin = 1.5
  253.  
  254. ;modules-left = i3
  255. modules-center = i3
  256. ;modules-right =
  257.  
  258. ;-----------;
  259. ; UNDERLINE ;
  260. ;-----------;
  261.  
  262. overline-size = 10
  263. overline-color = ${self.background}
  264. underline-size = 2
  265. underline-color = ${self.background}
  266.  
  267.  
  268. ;---------;
  269. ; MODULES ;
  270. ;---------;
  271.  
  272. [module/i3]
  273. type = internal/i3
  274.  
  275. pin-workspaces = true
  276. strip-wsnumbers = true
  277. enable-scroll = false
  278.  
  279. label-unfocused-foreground = #bdae93
  280. label-focused-foreground = #fbf1c7
  281. label-urgent-foreground = #cc241d
  282. label-separator =
  283. label-separator-padding = 5
  284.  
  285. [module/time]
  286. type = internal/date
  287.  
  288. interval = 1.0
  289.  
  290. date =  %H:%M
  291.  
  292. [module/date]
  293. type = internal/date
  294. date =  %Y-%m-%d%
  295. label = %date%
  296.  
  297. [module/battery]
  298. type = internal/battery
  299.  
  300. battery = BAT1
  301.  
  302. poll-interval = 1
  303.  
  304. full-at = 95
  305.  
  306. label-discharging = %percentage%%
  307. label-charging = %percentage%%
  308. label-full = %percentage%%
  309.  
  310. format-discharging = <ramp-capacity> <label-discharging>
  311. format-full = <ramp-capacity> <label-full>
  312. format-charging =  <label-charging>
  313.  
  314. ramp-capacity-0 = 
  315. ramp-capacity-1 = 
  316. ramp-capacity-2 = 
  317. ramp-capacity-3 = 
  318. ramp-capacity-4 = 
  319.  
  320. [module/volume]
  321. type = internal/pulseaudio
  322. format-volume =<ramp-volume>
  323. format-muted ="     "
  324. interval = 1
  325. format-muted-foreground = #8fffff00
  326.  
  327. ramp-volume-0 = " ○ ○ ○ ○ ○"
  328. ramp-volume-1 = " ○ ○ ○ ○ "
  329. ramp-volume-2 = " ○ ○ ○ ○ "
  330. ramp-volume-3 = " ○ ○ ○  "
  331. ramp-volume-4 = " ○ ○ ○  "
  332. ramp-volume-5 = " ○ ○   "
  333. ramp-volume-6 = " ○ ○   "
  334. ramp-volume-7 = " ○    "
  335. ramp-volume-8 = " ○    "
  336. ramp-volume-9 = "     "
  337. ramp-volume-10 = "     "
  338. ramp-volume-foreground = #8f1db954
  339.  
  340.  
  341. [module/mpd]
  342. type = internal/mpd
  343.  
  344. label-offline = mpd is offline
  345. format-online = %{A3:exec kitty -e ncmpcpp & disown:}<icon-prev> <toggle> <icon-next> <bar-progress> <label-song>%{A}
  346. format-offline = %{A3:exec kitty -e ncmpcpp & disown:}<label-offline>%{A}
  347. host = 127.0.0.1
  348. port = 6600
  349. icon-prev = 
  350. icon-stop = 
  351. icon-play = 
  352. icon-pause = 
  353. icon-next = 
  354.  
  355. label-song-maxlen = 128
  356. label-song-ellipsis = true
  357.  
  358. bar-progress-width = 10
  359. bar-progress-indicator = |
  360. bar-progress-fill = ─
  361. bar-progress-empty = ─
  362.  
  363. [module/backlight]
  364. type = internal/xbacklight
  365.  
  366. ; Use the following command to list available cards:
  367. ; $ ls -1 /sys/class/backlight/
  368. card = intel_backlight
  369.  
  370. format =<ramp>
  371. label = %percentage%%
  372.  
  373. ramp-0 = " ○ ○ ○ ○ "
  374. ramp-1 = " ○ ○ ○ ○ "
  375. ramp-2 = " ○ ○ ○ ○ "
  376. ramp-3 = " ○ ○ ○  "
  377. ramp-4 = " ○ ○ ○  "
  378. ramp-5 = " ○ ○   "
  379. ramp-6 = " ○ ○   "
  380. ramp-7 = " ○    "
  381. ramp-8 = " ○    "
  382. ramp-9 = "     "
  383. ramp-10 = "     "
  384.  
  385. [module/wlan]
  386. type = internal/network
  387.  
  388. interface = wlp3s0
  389.  
  390. interval = 5
  391.  
  392. label-connected = %{A:exec sudo ~/tek01project/SHELL_ME/rofiwifi.sh:} %essid%%{A} (%local_ip%)
  393. label-connected-underline = #215d9c
  394. label-disconnected = %{A:exec sudo ~/tek01project/SHELL_ME/rofiwifi.sh:} Not Connected%{A}
  395.  
  396. [module/cpu]
  397. type = internal/cpu
  398. label = %{A3:kitty -e htop -s PERCENT_CPU & disown:} %percentage%%%{A}
  399.  
  400. [module/memory]
  401. type = internal/memory
  402. label = %{A3:kitty -e htop -s PERCENT_MEM & disown:} %percentage_used%% | %percentage_swap_used%%%{A}
  403.  
  404. [module/network]
  405. type = internal/network
  406. interface = wlp3s0
  407. label-connected =  %downspeed% |  %upspeed%
  408.  
  409. [module/temperature]
  410. type = internal/temperature
  411. warn-temperature = 60
  412. label = %{A3:kitty -e watch sensors & disown:} %temperature-c%%{A}
  413. label-warn = %{A3:kitty -e watch sensors & disown:} %temperature-c%%{A}
  414. label-warn-foreground = #dc322f
  415.  
  416. [module/filesystem]
  417. type = internal/fs
  418. mount-0 = /
  419. ;mount-1 = /root
  420. interval = 10
  421. spacing = 1
  422. format-mounted =  <label-mounted>
  423. label-mounted = %mountpoint% %percentage_used%%
  424.  
  425. [module/wintitle]
  426. type = internal/xwindow
  427. ; Available tags:
  428. ; <label> (default)
  429. format = <label>
  430. ;format-background = #00000000
  431. format-foreground = #bdae93
  432. format-padding = 4
  433.  
  434. ; Available tokens:
  435. ; %title%
  436. ; Default: %title%
  437. label = %title%
  438. label-maxlen = 40
  439.  
  440. ; Used instead of label when there is no window title
  441. ; Available tokens:
  442. ; None
  443. label-empty = Empty
  444. ;label-empty-foreground = #707880
  445.  
  446. [module/spotify]
  447. type = custom/script
  448. interval = 5
  449. format-prefix =" "
  450. format = <label>
  451. exec = /home/ab/.config/polybar/scripts/spotify.py 2> /dev/null
  452. click-left = /home/ab/tek01project/SHELL_ME/spotcontroller.sh
  453. format-underline = #1db954
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement