|
| 1 | +[colors] |
| 2 | +background = #E61a1e25 |
| 3 | +foreground = #cbcbcb |
| 4 | +blue= #4545E6 |
| 5 | +red = #8B0000 |
| 6 | +green = #adff2f |
| 7 | +purple = #9C27B0 |
| 8 | +orange = #FF9800 |
| 9 | + |
| 10 | +[bar/bar] |
| 11 | +dpi-x = 98 |
| 12 | +dpi-y = 98 |
| 13 | +width = 100% |
| 14 | +height = 20 |
| 15 | +padding-left = 1 |
| 16 | +padding-right = 1 |
| 17 | +;offset-x = 0.5% |
| 18 | +;offset-y = 0.5% |
| 19 | +;radius = 16 |
| 20 | + |
| 21 | +# Bar Colour |
| 22 | +background = #001a1e25 |
| 23 | +foreground = ${colors.foreground} |
| 24 | +bottom = true |
| 25 | +border-top-size = 3 |
| 26 | +border-bottom-size = 3 |
| 27 | +border-radius = 10 |
| 28 | +border-top-color = #001a1e25 |
| 29 | +border-bottom-color = #001a1e25 |
| 30 | + |
| 31 | +line-size = 0 |
| 32 | +;wm-restack = bspwm |
| 33 | + |
| 34 | +modules-left = round-left workspaces round-right |
| 35 | +; modules-center = round-left2 tray round-right2 |
| 36 | +;modules-right = round-left cpu memory round-right empty-space round-left pulseaudio battery round-right |
| 37 | +modules-right = round-left wlan round-right empty-space round-left bluetooth round-right empty-space round-left pulseaudio round-right empty-space round-left backlight round-right empty-space round-left battery round-right empty-space round-left time round-right empty-space round-left power round-right |
| 38 | + |
| 39 | +font-0 = JetBrainsMono Nerd Font:style=Bold:pixelsize=9;3 |
| 40 | +font-1 = JetBrainsMono Nerd Font:size= 20;5 |
| 41 | +font-2 = Material Design Icons:style=Bold:size=9;3 |
| 42 | + |
| 43 | +label-background = ${colors.background} |
| 44 | +label-foreground = ${colors.foreground} |
| 45 | +label-padding = 1 |
| 46 | + |
| 47 | +[module/tray] |
| 48 | +type = internal/tray |
| 49 | +tray-background = ${colors.background} |
| 50 | +tray-size = 100% |
| 51 | + |
| 52 | +[module/empty-space] |
| 53 | +type = custom/text |
| 54 | +label = " " |
| 55 | + |
| 56 | +[module/space] |
| 57 | +type = custom/text |
| 58 | +label = " " |
| 59 | + |
| 60 | +[module/spacee] |
| 61 | +type = custom/text |
| 62 | +label = " " |
| 63 | +label-background = ${colors.background} |
| 64 | + |
| 65 | +[module/round-left] |
| 66 | +type = custom/text |
| 67 | +label = %{T3}%{T-} |
| 68 | +label-foreground = ${colors.background} |
| 69 | + |
| 70 | +[module/round-right] |
| 71 | +type = custom/text |
| 72 | +label = %{T3}%{T-} |
| 73 | +label-foreground = ${colors.background} |
| 74 | + |
| 75 | +[module/round-left2] |
| 76 | +type = custom/text |
| 77 | +label = %{T3}%{T-} |
| 78 | +label-foreground = ${colors.background} |
| 79 | + |
| 80 | +[module/round-right2] |
| 81 | +type = custom/text |
| 82 | +label = %{T3}%{T-} |
| 83 | +label-foreground = ${colors.background} |
| 84 | + |
| 85 | + |
| 86 | +[module/time] |
| 87 | +type = internal/date |
| 88 | +interval = 60 |
| 89 | + |
| 90 | +format = <label> |
| 91 | +format-background = ${colors.background} |
| 92 | +format-foreground = ${colors.purple} |
| 93 | + |
| 94 | +;date = %H:%M%{F-} |
| 95 | +date = "%A, %d %B at %H:%M " |
| 96 | +label = %date%%time% |
| 97 | + |
| 98 | +[module/wlan] |
| 99 | +type = internal/network |
| 100 | +interface = wlan0 |
| 101 | +interval = 1.0 |
| 102 | +click-left = nm-applet |
| 103 | +format-connected = <label-connected> |
| 104 | +format-disconnected = <label-disconnected> |
| 105 | + |
| 106 | +label-connected = " %essid%" |
| 107 | +label-connected-foreground = ${colors.green} |
| 108 | +label-connected-background = ${colors.background} |
| 109 | + |
| 110 | +label-disconnected = "睊 Disconnected" |
| 111 | +label-disconnected-foreground = ${colors.red} |
| 112 | +label-disconnected-background = ${colors.background} |
| 113 | + |
| 114 | +[module/wifi] |
| 115 | +type = custom/script |
| 116 | +exec = ~/.config/local/bin/wifi-menu.sh |
| 117 | +click-left = ~/.config/local/bin/wifi-menu.sh --select |
| 118 | +interval = 10 |
| 119 | +format-padding = 2 |
| 120 | + |
| 121 | +[module/power] |
| 122 | +type = custom/text |
| 123 | +label = "⏻" |
| 124 | +label-background = ${colors.background} |
| 125 | +label-foreground = ${colors.blue} |
| 126 | +label-padding = 1 |
| 127 | +click-left = rofi-powermenu |
| 128 | + |
| 129 | +[module/battery] |
| 130 | +type = internal/battery |
| 131 | +full-at = 98 |
| 132 | +battery = BAT0 |
| 133 | +adapter = ACAD |
| 134 | +poll-interval = 2 |
| 135 | +time-format = %H:%M |
| 136 | + |
| 137 | +format-charging = <animation-charging> <label-charging> |
| 138 | +format-charging-background = ${colors.background} |
| 139 | +format-charging-foreground = ${colors.green} |
| 140 | +format-charging-padding = 0 |
| 141 | +label-charging = "%percentage%%" |
| 142 | + |
| 143 | +format-discharging = <ramp-capacity> <label-discharging> |
| 144 | +format-discharging-background = ${colors.background} |
| 145 | +format-discharging-foreground = ${colors.red} |
| 146 | +format-discharging-padding = 0 |
| 147 | +label-discharging = "%percentage%%" |
| 148 | + |
| 149 | +format-full =<label-full> |
| 150 | +format-full-prefix = " " |
| 151 | +format-full-background = ${colors.background} |
| 152 | +format-full-foreground = ${colors.foreground} |
| 153 | +format-full-padding = 0 |
| 154 | +label-full = "Full " |
| 155 | + |
| 156 | +ramp-capacity-0 = |
| 157 | +ramp-capacity-1 = |
| 158 | +ramp-capacity-2 = |
| 159 | +ramp-capacity-3 = |
| 160 | +ramp-capacity-4 = |
| 161 | + |
| 162 | +animation-charging-0 = |
| 163 | +animation-charging-1 = |
| 164 | +animation-charging-2 = |
| 165 | +animation-charging-3 = |
| 166 | +animation-charging-4 = |
| 167 | + |
| 168 | +animation-charging-framerate = 600 |
| 169 | + |
| 170 | +[module/backlight] |
| 171 | +type = internal/backlight |
| 172 | +format = <label> |
| 173 | +format-prefix = " " |
| 174 | +label = %percentage% |
| 175 | +format-prefix-foreground = ${colors.orange} |
| 176 | +label-foreground = ${colors.orange} |
| 177 | +format-background = ${colors.background} |
| 178 | +format-padding = 1 |
| 179 | + |
| 180 | +[module/bluetooth] |
| 181 | +type = custom/script |
| 182 | +exec = rofi-bluetooth --status |
| 183 | +interval = 1 |
| 184 | +click-left = rofi-bluetooth & |
| 185 | +format-background = ${colors.background} |
| 186 | + |
| 187 | +[module/pulseaudio] |
| 188 | +type = internal/pulseaudio |
| 189 | +interval = 5 |
| 190 | + |
| 191 | +format-volume = <ramp-volume> <label-volume> |
| 192 | +format-volume-background = ${colors.background} |
| 193 | +format-volume-padding = 0 |
| 194 | +format-volume-foreground = ${colors.green} |
| 195 | +format-muted = <label-muted> |
| 196 | +format-muted-prefix = "%{F#8B0000}婢 " |
| 197 | +format-muted-background = ${colors.background} |
| 198 | +format-muted-padding = 0 |
| 199 | +format-muted-prefix-foreground = ${colors.red} |
| 200 | + |
| 201 | + |
| 202 | +label-muted = "Muted" |
| 203 | +label-muted-foreground = ${colors.red} |
| 204 | +ramp-volume-0 = |
| 205 | +ramp-volume-1 = 奔 |
| 206 | +ramp-volume-2 = 墳 |
| 207 | + |
| 208 | +click-right = pavucontrol & |
| 209 | + |
| 210 | + |
| 211 | +[module/workspaces] |
| 212 | +type = internal/xworkspaces |
| 213 | + |
| 214 | +pin-workspaces = false |
| 215 | +enable-click = true |
| 216 | +enable-scroll = false |
| 217 | + |
| 218 | +format = <label-state> |
| 219 | +label-monitor = %name% |
| 220 | + |
| 221 | +label-active = %name% |
| 222 | +label-active-foreground = ${colors.blue} |
| 223 | +label-active-background = ${colors.background} |
| 224 | + |
| 225 | +label-occupied = %name% |
| 226 | +label-occupied-foreground = ${colors.foreground} |
| 227 | +label-occupied-background = ${colors.background} |
| 228 | + |
| 229 | +label-urgent = %name% |
| 230 | +label-urgent-foreground = ${colors.red} |
| 231 | +label-urgent-background = ${colors.background} |
| 232 | + |
| 233 | +label-empty = %name% |
| 234 | +label-empty-foreground = ${colors.foreground} |
| 235 | +label-empty-background = ${colors.background} |
| 236 | + |
| 237 | +label-active-padding = 2 |
| 238 | +label-urgent-padding = 1 |
| 239 | +label-occupied-padding = 2 |
| 240 | +label-empty-padding = 2 |
0 commit comments