logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

Raw Paste Créer un nouveau Paste

Sans titre - #9A6CE7BA32

  1. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  2. ;;
  3. ;; ____ __ __
  4. ;; / __ \____ / /_ __/ /_ ____ ______
  5. ;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
  6. ;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
  7. ;; /_/ \____/_/\__, /_.___/\__,_/_/
  8. ;; /____/
  9. ;;
  10. ;; Created By Aditya Shakya @adi1090x
  11. ;;
  12. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  13.  
  14. [color]
  15.  
  16. bg = #2e3440
  17. fg = #eceff4
  18. fg-alt = #A9ABB0
  19. primary = #b48ead
  20.  
  21. acolor = #00897b
  22. curgent = #e53935
  23. coccupied = #1e88e5
  24.  
  25. ## Frost
  26. frost_green = #8fbcbb
  27. frost_blue = #88c0d0
  28. frost_gray = #81a1c1
  29. frost_darkblue = #5e81ac
  30.  
  31. # aurora
  32. red = #bf616a
  33. orange = #d08770
  34. yellow = #ebcb8b
  35. green = #a3be8c
  36. pink = #b48ead
  37.  
  38. ;==========================================================
  39.  
  40. [bar/main]
  41. monitor =
  42. width = 100%
  43. height = 24
  44. offset-x = 5%
  45. offset-y = 2%
  46. bottom = false
  47. fixed-center = false
  48. line-size = 2
  49.  
  50. background = ${color.bg}
  51. foreground = ${color.fg}
  52.  
  53. border-size = 3
  54. border-color = ${color.bg}
  55.  
  56. module-margin-left = 5
  57. module-margin-right = 1
  58.  
  59. tray-position = right
  60. tray-padding = 2
  61. tray-background = ${color.bg}
  62.  
  63. ;==========================================================
  64.  
  65. font-0 = "JetBrains Mono Bold:pixelsize=9;2"
  66. font-1 = "FontAwesome:size=12;2"
  67.  
  68. ;==========================================================
  69.  
  70. cursor-click = pointer
  71.  
  72. ;tray-position = right
  73. ;tray-padding = 0
  74. ;tray-maxsize = 16 enable-ipc = true
  75.  
  76. scroll-up = i3wm-wsnext
  77. scroll-down = i3wm-wsprev
  78.  
  79. ;== Module Location ========================================================
  80.  
  81. modules-left = i3
  82. ;modules-center = title
  83. modules-right = xbacklight volume battery network date time powermenu
  84.  
  85. ;== Modules ========================================================
  86. [module/i3]
  87. type = internal/i3
  88. index-sort = true
  89. format = <label-state> <label-mode>
  90. format-background = ${color.bg}
  91. format-foreground = ${color.fg}
  92. format-padding = 4
  93.  
  94. ; Available tokens:
  95. ; %title%
  96. ; Default: %title%
  97. label = %icon%
  98. label-maxlen = 50
  99.  
  100. ; Used instead of label when there is no window title
  101. ; Available tokens:
  102. ; None
  103. label-empty = Empty
  104. label-empty-foreground = #707880
  105. label-mode = %mode%
  106. label-mode-padding = 3
  107. label-mode-background = ${color.green}
  108. label-mode-foreground = ${color.bg}
  109.  
  110. label-focused = %icon%
  111. label-focused-foreground = ${color.pink}
  112. label-focused-background = ${color.bg}
  113. label-focused-underline = ${color.bg}
  114. label-focused-padding = 2
  115.  
  116. label-unfocused = %icon%
  117. label-unfocused-padding = 2
  118.  
  119. label-urgent = %index%
  120. label-urgent-foreground = ${color.fg}
  121. label-urgent-background = ${color.red}
  122. label-urgent-padding = 2
  123.  
  124. ws-icon-0 = "1;"
  125. ws-icon-1 = "2;"
  126. ws-icon-2 = "3;"
  127. ws-icon-3 = "4;"
  128. ws-icon-4 = "5;"
  129. ws-icon-5 = "6;"
  130. ws-icon-default = 
  131.  
  132. [module/xbacklight]
  133. type = internal/xbacklight
  134.  
  135. format = <label> <bar>
  136. label = BL
  137.  
  138. bar-width = 10
  139. bar-indicator = |
  140. bar-indicator-foreground = #fff
  141. bar-indicator-font = 2
  142. bar-fill = ─
  143. bar-fill-font = 2
  144. bar-fill-foreground = #ffffff
  145. bar-empty = ─
  146. bar-empty-font = 2
  147. bar-empty-foreground = ${colors.foreground-alt}
  148.  
  149. [module/title]
  150. type = internal/xwindow
  151. format = <label>
  152. format-background = ${color.bg}
  153. format-foreground = ${color.fg}
  154. format-padding = 4
  155. label = %title%
  156. label-maxlen = 50
  157. label-empty = Empty
  158. label-empty-foreground = #707880
  159.  
  160. [module/backlight-acpi]
  161. inherit = module/xbacklight
  162. type = internal/backlight
  163. card = intel_backlight
  164.  
  165. [module/term]
  166. type = custom/text
  167. content = 
  168. content-foreground = ${color.fg-alt}
  169. click-left = kitty &
  170.  
  171. [module/files]
  172. type = custom/text
  173. content = 
  174. content-padding = 1
  175. content-foreground = ${color.fg-alt}
  176. click-left = kitty ranger &
  177.  
  178. ;==========================================================
  179.  
  180. [module/mpd]
  181. type = internal/mpd
  182. ;format-online = <toggle> <label-song>
  183. format-online =  <label-song>
  184.  
  185. icon-play = 
  186. icon-pause = 
  187.  
  188. label-song-maxlen = 25
  189. label-song-ellipsis = true
  190.  
  191. ;==========================================================
  192.  
  193. [module/battery]
  194. type = internal/battery
  195. full-at = 99
  196. time-format = %H:%M
  197. battery = BAT0
  198. adapter = AC
  199. format-charging = <animation-charging> <label-charging>
  200. ;label-charging = %percentage%% (%time%)
  201. label-charging = %percentage%%
  202. format-discharging = <ramp-capacity> <label-discharging>
  203. label-discharging = %percentage%% (%time%)
  204. ; label-discharging = %percentage%%
  205. format-full = <label-full>
  206. format-full-prefix = " "
  207. ramp-capacity-0 = 
  208. ramp-capacity-1 = 
  209. ramp-capacity-2 = 
  210. ramp-capacity-3 = 
  211. ramp-capacity-4 = 
  212.  
  213. format-full-foreground = ${color.frost_blue}
  214. format-discharging-foreground = ${color.yellow}
  215. format-charging-foreground = ${color.green}
  216.  
  217. # ramp-capacity-foreground = ${color.green}
  218. bar-capacity-width = 10
  219.  
  220. animation-charging-0 = ""
  221. animation-charging-1 = ""
  222. animation-charging-2 = ""
  223. animation-charging-3 = ""
  224. animation-charging-4 = ""
  225.  
  226. animation-charging-framerate = 750
  227.  
  228. [module/volume]
  229. type = internal/alsa
  230. ;speaker-mixer = Speaker
  231. ;headphone-mixer = Headphone
  232. ;headphone-id = 16
  233. ;mapped = true
  234. format-volume = <ramp-volume> <label-volume>
  235. format-volume-foreground = ${color.orange}
  236. label-volume = %percentage%%
  237. format-muted-prefix = " "
  238. label-muted = MUTED
  239.  
  240. ramp-volume-0 = 
  241. ramp-volume-1 = 
  242.  
  243. [module/network]
  244. type = internal/network
  245. interface = wlp2s0
  246. interval = 5.0
  247. ; Available tags:
  248. ; <label-connected> (default)
  249. ; <ramp-signal>
  250. format-connected = <label-connected>
  251.  
  252. ; Available tags:
  253. ; <label-disconnected> (default)
  254. format-disconnected = <label-disconnected>
  255.  
  256. ; Available tags:
  257. ; <label-connected> (default)
  258. ; <label-packetloss>
  259. ; <animation-packetloss>
  260. format-packetloss = <animation-packetloss> <label-connected>
  261.  
  262. ; All labels support the following tokens:
  263. ; %ifname% [wireless+wired]
  264. ; %local_ip% [wireless+wired]
  265. ; %local_ip6% [wireless+wired]
  266. ; %essid% [wireless]
  267. ; %signal% [wireless]
  268. ; %upspeed% [wireless+wired]
  269. ; %downspeed% [wireless+wired]
  270. ; %linkspeed% [wired]
  271.  
  272. ; Default: %ifname% %local_ip%
  273. label-connected =  %signal%%
  274. label-connected-foreground = ${color.frost_blue}
  275.  
  276. ; Default: (none)
  277. label-disconnected = not connected
  278. label-disconnected-foreground = #66ffffff
  279.  
  280. ; Default: (none)
  281. ;label-packetloss = %essid%
  282. ;label-packetloss-foreground = #eefafafa
  283.  
  284. ; Only applies if <ramp-signal> is used
  285. ramp-signal-0 = 😱
  286. ramp-signal-1 = 😠
  287. ramp-signal-2 = 😒
  288. ramp-signal-3 = 😊
  289. ramp-signal-4 = 😃
  290. ramp-signal-5 = 😈
  291.  
  292. ; Only applies if <animation-packetloss> is used
  293. animation-packetloss-0 = ⚠
  294. animation-packetloss-0-foreground = #ffa64c
  295. animation-packetloss-1 = 📶
  296. animation-packetloss-1-foreground = #000000
  297. ; Framerate in milliseconds
  298. animation-packetloss-framerate = 500
  299.  
  300. [module/date]
  301. type = internal/date
  302. interval = 30
  303. label = %time%
  304. label-foreground = ${color.green}
  305. time =  %A %e %B
  306.  
  307. [module/time]
  308. type = internal/date
  309. interval = 30
  310. label = %time%
  311. label-foreground = ${color.pink}
  312. time =  %H:%M
  313.  
  314. [module/powermenu]
  315. type = custom/text
  316. content = 
  317. content-padding = 2
  318. content-background = ${color.bg}
  319. content-foreground = ${color.fg}
  320. click-left = $HOME/.config/polybar/scripts/sysmenu
  321.  
  322. ;== EOF ========================================================

Pied de page des forums

Propulsé par FluxBB