- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
; by husseinhareb :)
;
;==========================================================
include-file = $HOME/.config/polybar/colors.ini
;[colors]
;background = #1E1E2E
;background-alt = #1E1E2E
;foreground = #C5C8C6
;primary = #F0C674
;secondary = #8ABEB7
;alert = #A54242
;disabled = #707880
;white = #EAEAEA
;grey = #61616C
;green = #25D865
;blue = #168ECA
;mauve = #490761
[settings]
screenchange-reload = true
pseudo-transparency = true
[bar/main]
width = 100%
height = 30pt
radius = 0
;cursor-click = pointer
background = ${colors.background}
foreground = ${colors.foreground}
font-0 = "Hasklug Nerd Font:weight=Regular:size=12"
font-1 = "Symbols Nerd Font Mono:size=14"
line-size = 4pt
;border-size = 1pt
;border-color = #0000000
padding-left = 1
padding-right = 1
module-margin = 0
;border-bottom-size = 1
;border-bottom-color = ${colors.background2}
;padding-left = 1
;padding-right = 1
;module-margin = 1
modules-left = void space space date space space xwindow
modules-center = xworkspaces
modules-right = cpu space space memory space separator space mic space space pulseaudio space separator space wlan space separator space battery space
;modules-right = pulseaudio cpu memory wlan battery date
[module/xworkspaces]
type = internal/xworkspaces
label-active =
label-active-padding = 1
label-active-foreground = ${colors.disabled}
label-active-font = 1
label-occupied =
label-occupied-padding = 1
label-occupied-font = 1
label-empty =
label-empty-background = ${colors.background}
label-empty-padding = 1
label-empty-font = 1
[module/xwindow]
type = internal/xwindow
label = %title:0:60:...%
label-foreground = ${colors.white}
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "CPU "
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
[module/wlan]
inherit = network-base
interface-type = wireless
label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
[module/memory]
type = internal/memory
interval = 2
;format-prefix = " "
format-prefix-foreground = ${colors.magenta}
label = %gb_used% %percentage_used%%
label-foreground = ${colors.foreground}
;[module/wlan]
;inherit = network-base
;interface-type = wireless
;interval = 1
;format-connected-prefix-foreground = ${colors.white}
;format-connected-foreground = ${colors.white}
;format-connected = <label-connected>
;label-connected =
;label-connected-padding = 0
;format-disconnected = <label-disconnected>
;format-disconnected-padding = 0
;label-disconnected =
;label-disconnected-foreground = ${colors.white}
;label-disconnected-padding = 0
[module/mic]
type = custom/script
exec = ~/.config/polybar/scripts/mic.sh
interval = 1 # Update interval in seconds
format-foreground = ${colors.foreground}
format = <label>
label = %output%
click-left = ~/Scripts/mic.sh 1
[module/pulseaudio]
type = internal/pulseaudio
format-volume-prefix = " "
format-volume-foreground = ${colors.foreground}
format-volume-prefix-foreground = ${colors.foreground}
format-volume = <label-volume>
label-volume = %percentage%%
label-muted = %percentage%%
label-muted-foreground = ${colors.disabled}
[module/battery]
type = internal/battery
full-at = 99
low-at = 20
battery = BAT0
adapter = ADP1
poll-interval = 5
format-charging-foreground = ${colors.foreground}
format-discharging-foreground = ${colors.foreground}
format-charging = <animation-charging><label-charging>
format-discharging = <ramp-capacity><label-discharging>
label-charging = %percentage%%
label-discharging =%percentage%%
label-full = Full
label-low = LOW
ramp-capacity-0 = " "
ramp-capacity-1 = " "
ramp-capacity-2 = " "
ramp-capacity-3 = " "
ramp-capacity-4 = " "
bar-capacity-width = 10
animation-charging-0 = " "
animation-charging-1 = " "
animation-charging-2 = " "
animation-charging-3 = " "
animation-charging-4 = " "
animation-charging-framerate = 750
animation-discharging-0 = " "
animation-discharging-1 = " "
animation-discharging-2 = " "
animation-discharging-3 = " "
animation-discharging-4 = " "
animation-discharging-framerate = 500
animation-low-0 = !
animation-low-1 =
animation-low-framerate = 200
[module/date]
type = internal/date
interval = 1
date = %I:%M %p|%d-%m
label = %date%
label-foreground = ${colors.primary}
[module/void]
type = custom/text
content =
content-foreground = ${colors.green}
content-margin = 0
[module/space]
type = custom/text
content = " "
[module/separator]
type = custom/text
content = "|"
content-foreground = ${colors.disabled}