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.

275 lines
6.4 KiB

4 years ago
  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/polybar/polybar
  14. ;
  15. ; The README contains a lot of information
  16. ;
  17. ;==========================================================
  18. [colors]
  19. foreground = #fff
  20. background = #ab0000000
  21. vpn = #82E0AA
  22. white = #fff
  23. ; _
  24. ; | |__ __ _ _ __ ___
  25. ; | '_ \ / _` | '__/ __|
  26. ; | |_) | (_| | | \__ \
  27. ; |_.__/ \__,_|_| |___/
  28. [bar/bar]
  29. enable-ipc=true
  30. height = 40
  31. width = 100%
  32. ;bottom = true
  33. padding = 7
  34. background = ${colors.background}
  35. foreground = ${colors.foreground}
  36. line-size = 2
  37. font-0=SF Pro Display:style=Regular:size=20;4
  38. font-1=SF Pro Display:style=Semibold:size=20;4
  39. font-2=Material Icons:size=20;4
  40. font-3=font\-logos:size=20;5
  41. font-4=FontAwesome:style=Regular:size=20;4
  42. font-5=IPAGothic:size=20;4
  43. font-6=Wuncon Siji:style=Regular=2;4
  44. modules-center = time
  45. modules-right = wlan vpn-nordvpn-status pulseaudio backlight-acpi battery powermenu
  46. ; i3
  47. modules-left = launcher i3 xwindow
  48. scroll-up = i3wm-wsnext
  49. scroll-down = i3wm-wsprev
  50. ;wm-restack = i3
  51. override-redirect = false
  52. ; _ _
  53. ; _ __ ___ ___ __| |_ _| | ___ ___
  54. ; | '_ ` _ \ / _ \ / _` | | | | |/ _ \/ __|
  55. ; | | | | | | (_) | (_| | |_| | | __/\__ \
  56. ; |_| |_| |_|\___/ \__,_|\__,_|_|\___||___/
  57. [module/launcher]
  58. type=custom/text
  59. content = 
  60. content-margin = 2
  61. click-left=launcher
  62. ;The script above is to be found here : https://github.com/ngynLk/scripts
  63. [module/i3]
  64. type = internal/i3
  65. format = <label-state> <label-mode>
  66. format-margin = 4
  67. index-sort = true
  68. enable-click = true
  69. reverse-scroll = false
  70. label-focused = %index%
  71. label-focused-underline = ${colors.foreground}
  72. label-focused-padding = 4
  73. label-focused-font = 2
  74. label-unfocused = %index%
  75. label-unfocused-padding = 4
  76. label-urgent = !
  77. label-urgent-padding = 5
  78. label-urgent-underline = ${colors.background}
  79. label-urgent-font = 2
  80. ;ws-icon-0 = 1;
  81. ;ws-icon-1 = 2;
  82. ;ws-icon-2 = 3;
  83. ;ws-icon-9 = 10;
  84. ;ws-icon-default = 
  85. [module/xwindow]
  86. type = internal/xwindow
  87. label = %title:0:75:...%
  88. label-empty = Empty
  89. label-empty-font = 2
  90. label-font = 2
  91. format-margin = 4
  92. [module/wlan]
  93. type = internal/network
  94. interface = wlp0s20f3
  95. interval = 3.0
  96. format-connected =  <label-connected>
  97. label-connected = %essid%
  98. label-connected-color1 = ${colors.color1}
  99. format-disconnected = <label-disconnected>
  100. label-disconnected = %ifname% disconnected
  101. label-disconnected-color1 = ${colors.color1}
  102. ramp-signal-0 = 
  103. ramp-signal-1 = 
  104. ramp-signal-2 = 
  105. ramp-signal-3 = 
  106. ramp-signal-4 = 
  107. ramp-signal-color1 = ${colors.color1}
  108. format-margin = 4
  109. [module/vpn-nordvpn-status]
  110. type = custom/script
  111. exec = ~/polybar-scripts/vpn-nordvpn-status.sh
  112. format =  <label>
  113. interval = 5
  114. format-foreground = ${colors.vpn}
  115. format-margin = 4
  116. [module/battery]
  117. type = internal/battery
  118. ; This is useful in case the battery never reports 100% charge
  119. full-at = 99
  120. ; Use the following command to list batteries and adapters:
  121. ; $ ls -1 /sys/class/power_supply/
  122. battery = BAT0
  123. adapter = ADP1
  124. ; If an inotify event haven't been reported in this many
  125. ; seconds, manually poll for new values.
  126. ;
  127. ; Needed as a fallback for systems that don't report events
  128. ; on sysfs/procfs.
  129. ;
  130. ; Disable polling by setting the interval to 0.
  131. ;
  132. ; Default: 5
  133. poll-interval = 5
  134. format-charging = <animation-charging> <label-charging>
  135. format-discharging = <ramp-capacity> <label-discharging>
  136. label-charging = %percentage%%
  137. label-discharging = %percentage%%
  138. label-full = Fully charged
  139. ramp-capacity-0 = 
  140. ramp-capacity-1 = 
  141. ramp-capacity-2 = 
  142. ramp-capacity-3 = 
  143. ramp-capacity-4 = 
  144. animation-charging-0 = 
  145. animation-charging-1 = 
  146. animation-charging-2 = 
  147. animation-charging-3 = 
  148. animation-charging-4 = 
  149. animation-charging-framerate = 750
  150. format-margin = 4
  151. [module/time]
  152. type = internal/date
  153. interval = 10
  154. format-margin = 4
  155. time = "%I:%M"
  156. date = "%d %b"
  157. label = %time% | %date%
  158. label-background = ${colors.background}
  159. label-padding = 2
  160. [module/backlight-acpi]
  161. type = internal/backlight
  162. card = intel_backlight
  163. format-backlight = <ramp-backlight> <label-backlight>
  164. label-backlight = %percentage:4:4%%
  165. format-foreground = ${colors.foreground}
  166. format-background = ${colors.background}
  167. format-margin = 4
  168. ramp-backlight-0 = 🌕
  169. ramp-backlight-1 = 🌔
  170. ramp-backlight-2 = 🌓
  171. ramp-backlight-3 = 🌒
  172. ramp-backlight-4 = 
  173. [module/pulseaudio]
  174. type = internal/pulseaudio
  175. ;format-volume-margin = 4
  176. format-volume = <ramp-volume><label-volume>
  177. label-volume = %percentage:4:4%%
  178. format-volume-background = ${colors.background}
  179. format-volume-padding = 0
  180. use-ui-max = false
  181. interval = 5
  182. ramp-volume-0 = ""
  183. ramp-volume-1 = ""
  184. ramp-volume-2 = ""
  185. ;format-muted-margin = 6
  186. label-muted = " muted"
  187. label-muted-background = ${colors.background}
  188. label-muted-padding = 0
  189. [module/powermenu]
  190. type = custom/menu
  191. expand-right = false
  192. format-margin = 6
  193. format-spacing = 2
  194. label-open = 
  195. label-close = 
  196. label-separator = |
  197. ; reboot
  198. menu-0-1 = 
  199. menu-0-1-exec = menu-open-2
  200. ; poweroff
  201. menu-0-2 = 
  202. menu-0-2-exec = menu-open-3
  203. ; logout
  204. menu-0-0 = 
  205. menu-0-0-exec = menu-open-1
  206. menu-2-0 = 
  207. menu-2-0-exec = reboot
  208. menu-3-0 = 
  209. menu-3-0-exec = poweroff
  210. menu-1-0 = 
  211. menu-1-0-exec = i3-msg exit || openbox --exit
  212. [settings]
  213. screenchange-reload = true
  214. ;compositing-background = xor
  215. ;compositing-background = screen
  216. ;compositing-foreground = source
  217. ;compositing-border = over
  218. pseudo-transparency = false
  219. [global/wm]
  220. margin-top = 0
  221. margin-bottom = 0
  222. ; vim:ft=dosini
  223. dpi = 192