SHARE
TWEET

config

a guest Dec 8th, 2019 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ; vim:ft=cfg
  3. ;     _____
  4. ;    (, /   )    /)      /)
  5. ;     _/__ / ___//      (/_ _   __
  6. ;     /     (_)(/_ (_/_/_) (_(_/ (_
  7. ;  ) /            .-/
  8. ; (_/            (_/
  9.  
  10. [colors]
  11. bg = ${xrdb:color0}
  12. fg = ${xrdb:color7}
  13.  
  14.  
  15. blk = ${xrdb:color0}
  16. red = ${xrdb:color1}
  17. grn = ${xrdb:color2}
  18. ylw = ${xrdb:color3}
  19. blu = ${xrdb:color4}
  20. mag = ${xrdb:color5}
  21. cyn = ${xrdb:color6}
  22. wht = ${xrdb:color7}
  23.  
  24. bblk = ${xrdb:color8}
  25. bred = ${xrdb:color9}
  26. bgrn = ${xrdb:color10}
  27. bylw = ${xrdb:color11}
  28. bblu = ${xrdb:color12}
  29. bmag = ${xrdb:color13}
  30. bcyn = ${xrdb:color14}
  31. bwht = ${xrdb:color15}
  32.  
  33. [global/wm]
  34. margin-top        = 0
  35. margin-bottom     = 0
  36. override-redirect = true
  37.  
  38. [bar/base]
  39. monitor = ${env:MONITOR:eDP1}
  40. width    = 100%
  41. height   = 20
  42. offset-x = 0
  43. offset-y = 0
  44.  
  45. background = ${colors.bg}
  46. foreground = ${colors.fg}
  47. border-color = ${colors.bg}
  48.  
  49. font-0 = Dina:pixelsize=8;1
  50. font-1 = Dina:size=8:antialias=true;1
  51. font-2 = Siji:size=9;2
  52. font-3 = "icomoon\-feather:size=9;2"
  53. font-4 = Material Icons:size=9;2
  54.  
  55. modules-left   = launcher workspace title
  56. modules-center =
  57. modules-right  = network temperature fan volume battery date
  58.  
  59. border-size = 6
  60. padding-left        = 0
  61. padding-right       = 0
  62. module-margin-left  = 1
  63. module-margin-right = 0
  64.  
  65. bottom = true
  66.  
  67. [module/launcher]
  68. type = custom/text
  69. content = " ArchLinux"
  70.  
  71. ; "content" has the same properties as "format-NAME"
  72. content-background = ${colors.grn}
  73. content-foreground = ${colors.bg}
  74. content-padding = 2
  75.  
  76. [module/network]
  77. type          = internal/network
  78. interface     = wlp3s0
  79. ping-interval = 3
  80.  
  81. format-connected = <label-connected>
  82. label-connected =  "   %downspeed:6%  "
  83. format-connected-background = ${colors.ylw}
  84. format-connected-foreground = ${colors.bg}
  85.  
  86. format-disconnected =
  87.  
  88. [module/date]
  89. type                     = internal/date
  90. interval                 = 1
  91. date                     = " %I:%M"
  92. format-prefix            = 
  93. format-padding           = 2
  94.  
  95. format-background        = ${colors.fg}
  96. format-foreground        = ${colors.bg}
  97.  
  98. [module/title]
  99. type = internal/xwindow
  100. format-prefix = " "
  101. label-maxlen = 150
  102. format-padding = 2
  103. format-prefix-foreground = ${colors.grn}
  104.  
  105. [module/fan]
  106. type = custom/script
  107. format = " <label>  "
  108.  
  109. format-foreground = ${colors.bg}
  110. format-background = ${colors.blu}
  111. exec-if = sensors
  112. exec = "sensors | grep fan1 | awk '{print $2,$3}'"
  113.  
  114. format-prefix = "  "
  115. format-prefix-foreground = ${colors.bg}
  116. format-padding = 0
  117.  
  118. [module/temperature]
  119. type             = internal/temperature
  120. thermal-zone     = 0
  121. warn-temperature = 65
  122.  
  123. format      = <ramp><label>
  124. format-warn = "<ramp><label-warn>"
  125.  
  126. label                 = "%temperature-c%"
  127. label-warn            = "%temperature-c%"
  128. label-warn-foreground = ${colors.red}
  129.  
  130. ramp-0 = " "
  131. ramp-1 = " "
  132. ramp-2 = " "
  133.  
  134. format-foreground = ${colors.bg}
  135. format-background = ${colors.grn}
  136. format-warn-foreground = ${colors.fg}
  137. format-warn-background = ${colors.wht}
  138.  
  139. format-padding = 2
  140.  
  141. [module/workspace]
  142. type              = custom/script
  143. interval          = 0.01
  144. exec              = echo $(( $(xprop -root _NET_CURRENT_DESKTOP | sed -e 's/_NET_CURRENT_DESKTOP(CARDINAL) = //') + 1))
  145. format-padding    = 2
  146. format-background = ${colors.red}
  147. format-foreground = ${colors.fg}
  148.  
  149. [module/backlight]
  150. type = internal/backlight
  151. card = intel_backlight
  152. enable-scroll = false
  153.  
  154. format = <label>
  155. format-prefix = 
  156. format-padding    = 1
  157.  
  158. label=%percentage%%
  159. label-padding = 1
  160.  
  161. format-background = ${colors.ylw}
  162. format-foreground = ${colors.bg}
  163.  
  164. [module/volume]
  165. type = internal/pulseaudio
  166.  
  167. format-volume = <label-volume>
  168. format-muted = <label-muted>
  169.  
  170. label-muted             = muted
  171. label-muted-padding     = 1
  172.  
  173. format-volume-prefix = " "
  174. format-muted-prefix  = " "
  175.  
  176. format-volume-padding = 2
  177. format-muted-padding    = 2
  178.  
  179. format-volume-background = ${colors.mag}
  180. format-muted-background  = ${colors.mag}
  181.  
  182. format-volume-foreground = ${colors.bg}
  183. format-muted-foreground  = ${colors.bg}
  184.  
  185. [module/cpu]
  186. type                     = internal/cpu
  187. label                    = "%percentage%%"
  188. label-padding            = 1
  189. format-padding           = 2
  190. format-prefix            = 
  191.  
  192. format-background = ${colors.grn}
  193. format-foreground = ${colors.bg}
  194.  
  195. [module/ram]
  196. type     = internal/memory
  197. interval = 3
  198.  
  199. format           = <label>
  200. format-padding   = 2
  201. label            = "%percentage_used%%"
  202.  
  203. format-prefix = 
  204. format-background = ${colors.blu}
  205. format-foreground = ${colors.bg}
  206.  
  207. [module/workspace2bwm]
  208. type              = custom/script
  209. exec              = 2bws.sh
  210. interval          = 0.01
  211. format-padding    = 1
  212. scroll-up         = exec wscycle.sh -f
  213. scroll-down       = exec wscycle.sh -r
  214.  
  215. [module/essid]
  216. inherit = module/network
  217.  
  218. format-connected = <label-connected>
  219.  
  220. format-connected-prefix            = ""
  221. format-connected-prefix-padding    = 0
  222. format-connected-prefix-foreground = ${colors.magenta}
  223.  
  224. label-connected            = "%essid%"
  225. label-connected-padding    = 1
  226.  
  227. format-disconnected = <label-disconnected>
  228.  
  229. format-disconnected-prefix            = ""
  230. format-disconnected-prefix-padding    = 0
  231. format-disconnected-prefix-foreground = ${colors.magenta}
  232.  
  233. label-disconnected            = "disconnected"
  234. label-disconnected-padding    = 1
  235.  
  236. [module/battery]
  237. type          = internal/battery
  238. full-at       = 98
  239. battery       = BAT1
  240. adapter       = AC1
  241. poll-interval = 5
  242.  
  243. format-charging-prefix      = ""
  244. format-discharging-prefix   = ""
  245. format-full-prefix          = ""
  246.  
  247. label-charging      = " %percentage%% "
  248. label-discharging   = " %percentage%% "
  249. label-full          = " %percentage%% "
  250.  
  251. format-charging-padding = 1
  252. format-discharging-padding = 1
  253. format-full-padding    = 1
  254.  
  255. format-charging-background = ${colors.grn}
  256. format-discharging-background = ${colors.cyn}
  257. format-full-background    = ${colors.ylw}
  258.  
  259. format-charging-foreground = ${colors.bg}
  260. format-discharging-foreground = ${colors.bg}
  261. format-full-foreground    = ${colors.bg}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top