poetician

i3.conf [Polybar Module]

Aug 27th, 2024
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.53 KB | None | 0 0
  1. #################################################################
  2. ############# Poetician Edition #############
  3. ############ MODULE I3 ############
  4. #################################################################
  5.  
  6. [module/i3]
  7. ;https://github.com/jaagr/polybar/wiki/Module:-i3
  8. type = internal/i3
  9.  
  10. ; Only show workspaces defined on the same output as the bar
  11. ;
  12. ; Useful if you want to show monitor specific workspaces
  13. ; on different bars
  14. ;
  15. ; Default: false
  16. pin-workspaces = true
  17.  
  18. ; This will split the workspace name on ':'
  19. ; Default: false
  20. strip-wsnumbers = true
  21.  
  22. ; Sort the workspaces by index instead of the default
  23. ; sorting that groups the workspaces by output
  24. ; Default: false
  25. index-sort = false
  26.  
  27. ; Create click handler used to focus workspace
  28. ; Default: true
  29. enable-click = true
  30.  
  31. ; Create scroll handlers used to cycle workspaces
  32. ; Default: true
  33. enable-scroll = true
  34.  
  35. ; Wrap around when reaching the first/last workspace
  36. ; Default: true
  37. wrapping-scroll = true
  38.  
  39. ; Set the scroll cycle direction
  40. ; Default: true
  41. reverse-scroll = true
  42.  
  43. ; Use fuzzy (partial) matching on labels when assigning
  44. ; icons to workspaces
  45. ; Example: code;♚ will apply the icon to all workspaces
  46. ; containing 'code' in the label
  47. ; Default: false
  48. fuzzy-match = false
  49.  
  50. ;extra icons to choose from
  51. ;https://fontawesome.com/v4/cheatsheet/
  52. ;        
  53. ;        
  54.  
  55. ws-icon-0 = 1;
  56. ws-icon-1 = 2;
  57. ws-icon-2 = 3;
  58. ws-icon-3 = 4;
  59. ws-icon-4 = 5;
  60. ws-icon-5 = 6;
  61. ws-icon-6 = 7;
  62. ws-icon-7 = 8;
  63. ws-icon-8 = 9;
  64. ws-icon-9 = 10;
  65. ws-icon-10 = 11;
  66. ws-icon-11 = 12;
  67. ws-icon-12 = 13;
  68. ws-icon-13 = 14;
  69. ws-icon-14 = 15;
  70. ws-icon-15 = 16;
  71. ws-icon-16 = 17;
  72. ws-icon-17 = 18;
  73. ws-icon-18 = 19;
  74. ws-icon-19 = 20;
  75. ws-icon-default = ""
  76.  
  77. ; Available tags:
  78. ; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
  79. ; <label-mode> (default)
  80. format = <label-state> <label-mode>
  81.  
  82. label-mode = %mode%
  83. label-mode-padding = 1
  84. label-mode-foreground = ${colors.foreground-dl}
  85. label-mode-background = ${colors.background}
  86.  
  87. ; Available tokens:
  88. ; %name%
  89. ; %icon%
  90. ; %index%
  91. ; %output%
  92. ; Default: %icon% %name%
  93. ; focused = Active workspace on focused monitor
  94. label-focused = %icon% %name%
  95. label-focused-background = ${colors.background}
  96. label-focused-foreground = ${colors.foreground-dla}
  97. label-focused-underline = ${colors.background}
  98. label-focused-padding = 1
  99.  
  100. ; Available tokens:
  101. ; %name%
  102. ; %icon%
  103. ; %index%
  104. ; Default: %icon% %name%
  105. ; unfocused = Inactive workspace on any monitor
  106. label-unfocused = %icon% %name%
  107. label-unfocused-padding = 1
  108. label-unfocused-background = ${colors.background}
  109. label-unfocused-foreground = ${colors.foreground-dm}
  110. ;label-unfocused-underline = ${colors.foreground-fd}
  111.  
  112. ; visible = Active workspace on unfocused monitor
  113. label-visible = %icon% %name%
  114. label-visible-foreground = ${colors.foreground-dl}
  115. label-visible-background = ${self.label-focused-background}
  116. label-visible-underline = ${self.label-focused-underline}
  117. label-visible-padding = 1
  118.  
  119. ; Available tokens:
  120. ; %name%
  121. ; %icon%
  122. ; %index%
  123. ; Default: %icon% %name%
  124. ; urgent = Workspace with urgency hint set
  125. label-urgent = %icon% %name%
  126. label-urgent-background = ${self.label-focused-background}
  127. label-urgent-foreground = #db104e
  128. label-urgent-padding = 1
  129.  
  130. format-foreground = ${colors.foreground-dd}
  131. format-background = ${colors.background}
  132.  
Advertisement
Add Comment
Please, Sign In to add comment