all repos — dotfiles @ 5cae5ce7fa8585282f99f5b0c57b3e31ba471a58

my *nix dotfiles

config/polybar/bar (view raw)

  1;                 __      __              
  2;    ____  ____  / /_  __/ /_  ____ ______
  3;   / __ \/ __ \/ / / / / __ \/ __ `/ ___/
  4;  / /_/ / /_/ / / /_/ / /_/ / /_/ / /    
  5; / .___/\____/_/\__, /_.___/\__,_/_/     
  6;/_/            /____/                    
  7;
  8;
  9
 10[global/wm]
 11;margin-top = 
 12;margin-bottom = 2
 13
 14[colors]
 15fg = ${xrdb:color0}
 16;fg = ${xrdb:color21}
 17bg = #001b2b34
 18;bg = ${xrdb:color0}
 19
 20[bar/top]
 21width = 100%
 22height = 30 
 23offset-x = 0%
 24offset-y= 0%
 25fixed-center = true
 26override-redirect = false 
 27
 28
 29background = ${colors.bg}
 30foreground = ${colors.fg}
 31
 32font-0 = SF Mono:size=13:weight=semibold;3
 33
 34modules-left =  date time volume battery music
 35modules-center =  
 36modules-right = ewmh
 37
 38tray-position = false
 39tray-padding = 0
 40tray-background = ${colors.bg}
 41tray-detached = false
 42
 43underline-size = 3
 44
 45spacing = 1 
 46padding-left = 1
 47padding-right = 1
 48module-margin-left = 2
 49module-margin-right = 2
 50
 51[module/volume]
 52type = custom/script
 53interval = 0.01
 54exec = ~/bin/vol.sh -q
 55scroll-up = ~/bin/vol.sh -i
 56scroll-down = ~/bin/vol.sh -d
 57
 58[module/xwindow]
 59type = internal/xwindow
 60label = %title:0:30:...%
 61format-prefix = " "
 62format-prefix-foreground = ${xrdb:color6}
 63module-margin-left = 2
 64format-padding = 2
 65format-background = ${colors.bg}
 66
 67[module/ewmh]
 68type = internal/xworkspaces
 69pin-workspaces = true
 70enable-scroll = true
 71
 72format = <label-state>
 73
 74label-active = ×
 75label-active-foreground = ${colors.fg}
 76label-active-background = ${colors.bg}
 77label-active-padding = 1
 78
 79label-empty = •
 80label-empty-foreground = ${colors.fg}
 81label-empty-background = ${colors.bg}
 82label-empty-padding = 1
 83
 84label-urgent = !
 85label-urgent-foreground = #EC5f67
 86label-urgent-background = ${colors.bg}
 87label-urgent-padding = 1
 88
 89[module/date]
 90type = custom/script
 91interval = 1.0
 92exec = ~/bin/time.sh -d
 93
 94[module/time]
 95type = custom/script
 96interval = 1.0
 97exec = ~/bin/time.sh -t
 98
 99[module/battery]
100type = custom/script
101interval = 1.0
102exec = ~/bin/bat.sh
103
104[module/music]
105type = custom/script
106interval = 1.0
107exec = ~/bin/np.sh
108
109[module/spotipy]
110type = custom/script
111exec =  ~/scripts/spoti.py
112exec-if = pgrep spotify > /dev/null
113interval = 0.01
114click-left = playerctl -p spotify play-pause 
115
116; vim:ft=dosini