diff options
| -rw-r--r-- | .config/polybar/config.ini | 1111 |
1 files changed, 479 insertions, 632 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 96bce92..1df6428 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -15,19 +15,36 @@ ; The README contains a lot of information ; ;========================================================== - [colors] +disabled = #707880 +Rosewater = #f5e0dc +Flamingo = #f2cdcd +Pink = #f5c2e7 +Mauve = #cba6f7 +Red = #f38ba8 +Maroon = #eba0ac +Peach = #fab387 +Yellow = #f9e2af +Green = #a6e3a1 +Teal = #94e2d5 +Sky = #89dceb +Sapphire = #74c7ec +Blue = #89b4fa +Lavender = #b4befe +Base = #1e1e2e +Mantle = #181825 +foreground = #fafafa +;foreground-alt = #aaCECCC9 +;primary = #aaCECCC9 +;secondary = #aaCECCC9 background = #aa000000 +non = #aaCECCC9 ;background = #aa101212 ;background = #00000000 background-alt = #aaCECCC9 ;foreground = #aaCECCC9 -foreground = #fafafa -foreground-alt = #aaCECCC9 -primary = #aaCECCC9 -secondary = #aaCECCC9 -alert = #aaCECCC9 -non = #aaCECCC9 +;alert = #aaCECCC9 +altblend = #282e49 ;background = #aa000000 blue = #61afef dark_blue = #42A5F5 @@ -47,52 +64,28 @@ indigo = #6C77BB green = #61C766 lime = #B9C244 cyber = #53E2AE +alert = #ff8989 +;disabled = #989898 -[bar/top] -;width = 100% -width = 99.15% -height = 24 +[bar/left] + +width = 25% offset-x = 0.5% -offset-y = 0.5% +offset-y = 1% +height = 22pt radius = 10.0 -;radius = 0 fixed-center = true -bottom = false -enable-ipc = true -tray-position = right -tray-padding = 4 -tray-background = ${colors.background} -;tray-offest-x = -15 -;tray-offset-x = 400 -;tray-offset-x = -95 -;tray-offset-x = -208 -;tray-offset-x = -178 -;tray-offset-x = -183 -;tray-offset-x = -188 -tray-offset-x = -70 -;tray-offset-x = -210 -tray-offset-y = -0.9 -tray-detached = true - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 0 -line-color = ${colors.background-alt} - -;border-top-size = 1 -;border-bottom-size = 1 -;border-right-size = 1 -;border-left-size = 1 -;border-color = ${colors.foreground} -;border-size = 2 -;border-color = ${colors.background} - -padding-left = 0 -padding-right = 0 - -module-margin-left = 0 -module-margin-right = 0 + +background = ${colors.Mantle} +foreground = ${colors.Lavender} + +line-size = 1pt + +;font-0 = "RobotoMono Nerd Font:weight=bold:size=9;2" +;font-1 = "RobotoMono Nerd Font:size=10;3" +;font-2 = "RobotoMono Nerd Font:size=11;3" +;font-3 = "NotoEmoji:scale=11;3" +;font-4 = "Noto Sans CJK JP:size=10;3" ; Font for date font-0 = "SF Pro Mono:style=Display Bold:size=10;2" ; Font for crypto, dunst @@ -105,68 +98,128 @@ font-3 = "SF Pro:style=Medium:size=10.5;2" font-4 = "SF Pro:style=Medium:size=9.5;2" ; Font for bspwm/workspaces font-5 = "UbuntuMono Nerd font:size=11;2" +font-6="Feather:style=Regular:size=15;4" +font-7="Font Awesome 6 Pro Solid:style=Solid:size=14;4" -modules-left = sep menu sep bspwm xwindow -modules-center = calendar date -modules-right = sep dunst search control sep -;modules-right = spotify spotify-prev spotify-play-pause spotify-next long-sep dunst search control date sep +modules-left = space space power bspwm space cpu space sep space memory space sep space temperature space space -;modules-left = sep menu -;modules-center = date -;modules-right = bspwm whitespace crypto dunst search control space +enable-ipc = true -;modules-right = crypto dunst search date sep powermenu sep -;modules-right = crypto toggle_spotify volume backlight battery network notification powermenu +wm-restack = generic -wm-restack = bspwm -;wm-restack = bspwm +[bar/middle] -override-redirect = false +width = 20% +offset-x = 40% +offset-y = 1% +height = 22pt +radius = 10.0 +fixed-center = true -;; scroll-up = bspwm-desknext -;; scroll-down = bspwm-deskprev +background = ${colors.Mantle} +foreground = ${colors.Lavender} -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev +line-size = 1pt -cursor-click = pointer -cursor-scroll = ns-resize +font-0 = "RobotoMono Nerd Font:weight=bold:size=9;2" +font-1 = "RobotoMono Nerd Font:size=10;3" +font-2 = "RobotoMono Nerd Font:size=11;3" -;[module/date] -;type = internal/date -;interval = 30 -;label = %time% -;label-padding = 2 -;label-background = -;time = %H:%M -;time-alt = %Y-%m-%d +modules-center = day space sep space calendar date space sep space time -[module/date] -type = internal/date -interval = 1 -label = %date%, %time% -label-padding = 2.5 -label-background = -date = %a %d %b -time = %H:%M +enable-ipc = true -[module/calendar] -type = custom/text -content = -;content-font = 1 -content-padding = 1 -content-foreground = ${colors.primary} -enable-click = true -click-left = ~/.config/eww/scripts/popup calendar & +wm-restack = generic -[module/menu] -type = custom/text -content = -content-font = 3 -content-padding = 1 -content-foreground = ${colors.foreground} -click-left = ~/.config/polybar/scripts/menu.sh -click-right = ~/.config/polybar/scripts/menu_full.sh +[bar/right] + +width = 25% +offset-x = 74.6% +offset-y = 1% +height = 22pt +radius = 10.0 +fixed-center = true + +background = ${colors.Mantle} +foreground = ${colors.Lavender} + +line-size = 1pt + +;font-0 = "RobotoMono Nerd Font:weight=bold:size=9;2" +;font-1 = "RobotoMono Nerd Font:size=10;3" +;font-2 = "RobotoMono Nerd Font:size=11;3" +font-0 = "SF Pro Mono:style=Display Bold:size=10;2" +; Font for crypto, dunst +font-1 = "Material Design Icons:style=Bold:size=11.5;2" +; Font for menu +font-2 = "Material Design Icons:style=Bold:size=13.5;2" +; Font for controlCenter +font-3 = "SF Pro:style=Medium:size=10.5;2" +; Font for search +font-4 = "SF Pro:style=Medium:size=9.5;2" +; Font for bspwm/workspaces +font-5 = "UbuntuMono Nerd font:size=11;2" +font-6="Feather:style=Regular:size=15;4" +font-7="Font Awesome 6 Pro Solid:style=Solid:size=14;4" + + +modules-right = space space networkspeeddown space networkspeedup space sep space wlan space eth space sep space volume space sep space backlight space sep space battery dunst space systray space control space space +enable-ipc = true + +wm-restack = generic + +[bar/tray] + +width = 7% +offset-x = 80% +offset-y = 1% +height = 22pt +fixed-center = true + +background = ${colors.Mantle} +foreground = ${colors.Lavender} + +line-size = 1pt + +font-0 = "RobotoMono Nerd Font:size=10;3" + +; modules-center = tray + +modules-center = space + +tray-position = center + +tray-detached = false + +tray-maxsize = 16 + +tray-padding = 4 + +enable-ipc = true + +wm-restack = generic + +[bar/xwindow] + +width = 19% +offset-x = 18% +offset-y = 1% +height = 22pt +fixed-center = true + +background = ${colors.Mantle} +foreground = ${colors.Lavender} + +line-size = 1pt + +font-0 = "RobotoMono Nerd Font:weight=bold:size=10;3" +font-1 = "NotoSans;size=10;3" +font-2 = "NotoEmoji;scale=11;3" + +modules-center = space xwindow space +enable-ipc = true + +wm-restack = generic [module/bspwm] type = internal/bspwm @@ -189,54 +242,154 @@ label-occupied-padding = 2 label-empty = label-empty-padding = 2 +[module/xworkspaces] +type = internal/xworkspaces -[module/sepp] -type = custom/text -content = " " +label-active = +label-active-padding = 2 +label-active-foreground = ${colors.Lavender} +label-active-font = 2 + +label-occupied = +label-occupied-padding = 2 +label-occupied-font = 2 +label-empty = +label-empty-foreground = ${colors.disabled} +label-empty-padding = 2 +label-empty-font = 2 -[module/close] -type = custom/text -content-foreground = ${colors.red} -content-padding = 1 -content = -click-left = "xdotool getwindowfocus windowkill" +[module/xwindow] + +type = internal/xwindow +format = <label> +format-background = ${colors.Mantle} +format-foreground = ${colors.Lavender} +format-padding = 2 + +label = %title% +label-maxlen = 40 + +label-empty = ~/ +label-empty-foreground = ${colors.disabled} + +[module/pulseaudio] +type = internal/pulseaudio +format-volume-prefix-foreground = ${colors.Rosewater} +format-volume = <ramp-volume> <label-volume> +format-volume-prefix-font = 2 + +label-volume = %percentage%% + +ramp-volume-0 = "" +ramp-volume-1 = "" +ramp-volume-2 = "" +ramp-volume-3 = "" +ramp-volume-4 = "" +ramp-volume-5 = "" +ramp-volume-6 = "" +label-muted = muted +label-muted-foreground = ${colors.disabled} -[module/minimize] +[module/volume] +type = internal/pulseaudio +format-volume = <ramp-volume> <label-volume> +format-volume-font = 10 +format-volume-padding = 0 +;ramp-volume-foreground = ${colors.foreground} +label-volume = %percentage%% +label-volume-padding = 2 +;label-muted-foreground = ${colors.foreground} +;format-volume-foreground = ${colors.purple} +format-muted-foreground = ${colors.red} +format-muted-underline = ${colors.red} +ramp-volume-foreground = ${colors.foreground} +label-muted = "muted" +label-muted-foreground = ${colors.disabled} +ramp-volume-0 = "" +ramp-volume-1 = "" +ramp-volume-2 = "" +ramp-volume-3 = "" +ramp-volume-4 = "" +ramp-volume-5 = "" +ramp-volume-6 = "" + +[module/dunst] type = custom/text -content-foreground = ${colors.yellow} +content-foreground = ${colors.foreground} content-padding = 1 -content = -click-left = bspc node -g hidden -click-right = ${HOME}/.config/bspwm/bspcmd unhide +content = +click-left = "dunstctl history-pop" + +;[network-base] +;type = internal/network +;interval = 5 +;format-connected = <label-connected> +;format-disconnected = <label-disconnected> +;label-disconnected = disconnected +;format-connected-foreground = ${colors.Lavender} +; +;[module/wlan] +;inherit = network-base +;interface-type = wireless +;label-connected-font = 3 +;label-connected = +;label-connected-foreground = ${colors.Rosewater} + +[module/wlan] +type = internal/network +interface = wlan0 +interval = 3 +format-connected-prefix = %{A1:nm-connection-editor:}%{A} +format-connected-prefix-foreground = ${colors.Rosewater} +format-connected = <label-connected> +label-connected = %essid% +label-connected-maxlen = 9 +label-connected-font = 0 +label-connected-padding-left = 4 +format-disconnected = + +[module/eth] +type = internal/network +interface = net0 +interval = 3 +format-connected-prefix = +label-connected = %local_ip% +[module/day] +type = internal/date +interval = 1 -;label = -[module/maximize] +date = %A + +label = %date% +label-foreground = ${colors.Lavender} + +[module/date] +type = internal/date +interval = 1 + +date = %d-%m-%Y + +label = %date% +label-foreground = ${colors.Lavender} + +[module/calendar] type = custom/text -content-foreground = ${colors.green} +content = +;content-font = 1 content-padding = 1 -content = -;click-left = bspc node -t {fullscreen} -click-left = bspc node -t ~floating -click-right = bspc desktop -l next -#bspc node -t \~{fullscreen}; +content-foreground = ${colors.primary} +enable-click = true +click-left = ~/.config/eww/scripts/popup calendar & -[module/hiddenWindows] -type = custom/script -exec = bspc query -N -n .hidden.window | wc -l -format-prefix = 🔽 -format-prefix-foreground = ${colors.foreground} -interval = 2 -click-left = $HOME/.scripts/showHidden.sh - -[module/blur-toggle] -type = custom/ipc -hook-0 = echo -hook-1 = echo -click-left = ~/.scripts/blurtoggle.sh -initial = 1 -format-foreground = ${colors.foreground} +[module/time] +type = internal/date +interval = 1 + +date = %H:%M:%S +label = %date% +label-foreground = ${colors.Lavender} [module/battery] type = internal/battery @@ -282,7 +435,122 @@ animation-charging-6 = animation-charging-foreground = ${colors.green} animation-charging-framerate = 750 +;[module/battery] +;type = internal/battery +;;/sys/class/power_supply +;battery = BAT0 +;adapter = ADP1 +;poll-interval = 5 +;full-at = 99 +;format-charging = <animation-charging> <label-charging> +;label-charging = %percentage%% +;animation-charging-foreground = ${colors.Rosewater} +;label-discharging = %percentage%% +;format-discharging = <ramp-capacity> <label-discharging> +;ramp-capacity-foreground = ${colors.Rosewater} +;;label-charging = +;format-full = <label-full> +;label-full = +;label-full-foreground = ${colors.Rosewater} +;ramp-capacity-0 = +;ramp-capacity-1 = +;ramp-capacity-2 = +;ramp-capacity-3 = +;ramp-capacity-4 = +;animation-charging-0 = +;animation-charging-1 = +;animation-charging-2 = +;animation-charging-3 = +;animation-charging-4 = +;animation-charging-framerate = 750 +[module/memory] +type=internal/memory + +interval=5 + +format=<label> +format-font=8 +format-prefix="%{A1:alacritty -e btop &:}%{A}" +format-foreground=${colors.Rosewater} +format-prefix-foreground=${colors.Rosewater} + +label-font=2 +label-foreground=${colors.Rosewater} +label="%{A1:alacritty -e btop &:} %gb_used% %{A}" + +[module/cpu] +type=internal/cpu +interval=5 +format-prefix-font=4 +format-prefix=" " +format-padding=0 +format-prefix-foreground=${colors.green} +format-foreground=${colors.Rosewater} +;format-background=${colors.altblend} +label="%percentage%% " +label-foreground=${colors.Rosewater} +label-font=2 +;[module/cpu] +;type = internal/cpu +;interval = 5 +;format-prefix = "" +;format-prefix-foreground = ${colors.Rosewater} +;label = "%percentage:2%%" + +[module/temperature] +type=internal/temperature + +; Seconds to sleep between updates +; Default: 1 +interval=10 + +; Thermal zone to use +; To list all the zone types, run +; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done +; Default: 0 +thermal-zone=0 + +; Full path of temperature sysfs path +; Use `sensors` to find preferred temperature source, then run +; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done +; to find path to desired file +; Default reverts to thermal zone setting +hwmon-path=/sys/devices/platform/dell_smm_hwmon/hwmon/hwmon1/temp1_input + + +; Base temperature for where to start the ramp (in degrees celsius) +; Default: 0 +base-temperature=20 +warn-temperature=60 + +; Threshold temperature to display warning label (in degrees celsius) +; Default: 80 + +;format-prefix="" +format-warn-prefix=" " +format-warn-foreground=${colors.red} +format-foreground=${colors.foreground} +format-font=4 +format-warn-font=4 +label-warn-font=2 +label-foreground=${colors.Rosewater} +format = "<label> " + +label-font=2 + +;[module/backlight] +;type = internal/backlight +; +;; Use the following command to list available cards: +;; $ ls -1 /sys/class/backlight/ +; +;card = intel_backlight +;use-actual-brightness = true +;format-prefix = "盛 " +;format-prefix-foreground = ${colors.Rosewater} +;format-prefix-font = 3 +;enable-scroll = true [module/xbacklight] type = internal/xbacklight enable-scroll = true @@ -292,40 +560,20 @@ inherit = module/xbacklight type = internal/backlight card = intel_backlight format-backlight = <ramp-backlight> <label> -format-padding = 1 -format-prefix = " " -format-prefix-foreground = ${colors.indigo} +format-padding = 0 +format-prefix = " " +format-prefix-foreground = ${colors.foreground} label = %percentage%% -label-foreground = ${colors.foreground} - -[module/bluetooth] -type = custom/script -exec = ~/.config/polybar/scripts/bluetooth.sh -tail = true -click-left = exec blueberry & -click-right = exec $HOME/.config/polybar/scripts/toggle_bluetooth.sh - -[module/network] -type = custom/script -exec = ~/.config/polybar/scripts/check-network.sh -format-background = -format-foreground = ${colors.light_blue} -click-left = networkmanager_dmenu & -click-right = nm-applet -tail = true -format-padding = 1 - +;label-foreground = ${colors.foreground} -[module/powermenu] +[module/bluetooth] type = custom/text -content = -;content = 襤 -content-foreground = ${colors.foreground} -content-padding = 1 -label-margin = 3 -click-left = ~/.config/polybar/scripts/sysmenu.sh -click-right = ~/.config/polybar/scripts/sysmenu.sh +content = "" +format = <label> +content-foreground = ${colors.Rosewater} +; click-middle = bspc rule -a '*' -o state=floating rectangle=400x120+775+48 && kitty -e sudo polybarblue.sh + click-left = blueman-manager [module/control] type = custom/script @@ -334,506 +582,105 @@ format = <label> format-padding = 1 label-padding = content-background = -format-foreground = ${colors.foreground} -click-left = $HOME/.scripts/toggle-bar & -;tail = true -;tail-max-lines = 1 -;tail-command = $HOME/.scripts/polybar-tail-handler.sh - - -;[module/title] -;type = internal/xwindow -;; Available tags: -;; <label> (default) -;format = <label> -;format-background = ${colors.background} -;format-foreground = ${colors.foreground} -;format-padding = 1 -;label-maxlen = 10 -;label-empty = " " - - -;[module/bspwm] -;type = internal/bspwm -;format = <label-state> -;;format = <label-state> <label-mode> -;format-padding = 1 -;format-foreground = ${colors.foreground} -;index-sort = true -;enable-click = true -;reverse-scroll = true -;#reverse-scroll = false -; -;label-focused = -;label-focused-padding = 2 -; -;label-occupied = -;label-occupied-padding = 2 -; -;label-empty = -;label-empty-padding = 2 -; -;label-monocle = " " -;label-tiled = " " -;label-fullscreen = " " -;label-floating = " " -;label-pseudotiled = " " -;label-locked = " " -;;label-sticky = " " -;label-private = " " - -; Separator in between workspaces -;label-separator = | -;label-separator-padding = 10 -;label-separator-foreground = #ffb52a -[module/search] -type = custom/text -content = "" -; hack nerd -content-padding = 1 -content-font = 5 -;content-padding-right = 5 -content-foreground = ${colors.foreground} -click-left = rofi -show drun -;click-left = ~/.config/polybar/scripts/menu.sh +format-foreground = ${colors.Rosewater} +click-left = $HOME/.scripts/toggle-control & +[module/networkspeedup] +;https://github.com/jaagr/polybar/wiki/Module:-network -[module/crypto] -type = custom/script -exec = echo -format = <label> -format-padding = 1 -label-padding = -content-background = -format-foreground = ${colors.foreground} -interval = 60 -click-left = cryptonotify -click-right = $TERMINAL -e cointop & +type = internal/network -[module/now-playing] -type = custom/script -tail = true -;format-prefix = "" -format = <label> -exec = ~/.config/polybar/scripts/now-playing.sh -click-right = "kill -USR1 $(pgrep --oldest --parent %pid%)" +interface = wlan0 +label-connected = "%upspeed:7%" -[module/sep] -type = custom/text -content = " " +format-connected = <label-connected> -[module/long-sep] -type = custom/text -content = " " +format-connected-prefix = "" -[module/space] -type = custom/text -content = " " +format-connected-prefix-foreground = ${colors.Rosewater} -[module/whitespace] -type = custom/text -content = " " +format-connected-foreground = ${colors.Rosewater} -[module/xwindow] -type = internal/xwindow -label = %title:0:60:...% -format-foreground = ${colors.foreground} -format-padding = 6 +;format-connected-background = ${colors.background} -[module/arch] -typ = custom/text -content = " " -format-foreground = ${colors.foreground} -format-padding = 4 +;format-connected-underline = ${colors.foreground} +################################################################################ +[module/networkspeeddown] -[module/workspaces] -type = internal/xworkspaces -pin-workspaces = true -enable-click = true -enable-scroll = true -format-padding = 1 +;https://github.com/jaagr/polybar/wiki/Module:-network -icon-default = +type = internal/network -format = <label-state> -format-background = ${colors.bg1} -label-active = " " -label-occupied = " " -label-urgent = " " -label-empty = " " - -label-empty-padding = 1 -label-active-padding = 1 -label-urgent-padding = 1 -label-occupied-padding = 1 - -label-empty-foreground = ${colors.foreground} -label-active-foreground = ${colors.acolor} -label-urgent-foreground = ${colors.curgent} -label-occupied-foreground = ${colors.foreground} - -[module/spotify] -type = custom/script -tail = true -interval = 1 -; prefix symbol is shown before the text -format-prefix = "" -format = <label> -exec = ~/.config/polybar/scripts/scroll_spotify_status.sh +interface = wlan0 -[module/spotify-prev] -type = custom/script -tail = true -interval = 1 -exec = echo " " -format = <label> -click-left = playerctl previous -p spotify +label-connected = "%downspeed:7%" -[module/spotify-play-pause] -type = custom/ipc -tail = true -interval = 1 -hook-0 = echo "" -hook-1 = echo "" -initial = 1 -click-left = playerctl play-pause -p spotify +format-connected = <label-connected> -[module/spotify-next] -type = custom/script -#type = custom/ipc -tail = true -interval = 1 -exec = echo " " -format = <label> -click-left = playerctl next -p spotify +format-connected-prefix = "" -[module/toggle_spotify] -type = custom/text -content = " " -content-padding = 1 -content-foreground = ${colors.pink} -click-left = spotify -click-right = spotify +format-connected-prefix-foreground = ${colors.Rosewater} -[module/cmus] -type = custom/script +format-connected-foreground = ${colors.Rosewater} -exec = ~/.config/polybar/scripts/cmus.sh -exec-if = pgrep -x cmus -interval = 1 +;format-connected-background = ${colors.background} -click-left = cmus-remote --next -click-right = cmus-remote --prev -click-middle = cmus-remote --pause -scroll-up = cmus-remote --volume +5% -scroll-down = cmus-remote --volume -5% +;format-connected-underline = ${colors.foreground} -label-font = 1 -format = <label> -format-underline = ${colors.foreground-alt} -label = %output% -label-maxlen = 50 -[module/notification] -type = custom/text -content = -content-padding = 0 -content-foreground = ${colors.foreground-alt} -click-left = sh rofi_notif_center.sh -click-right = sh rofi_notif_center.sh -[module/dunst] -type = custom/text -content-foreground = ${colors.foreground} -content-padding = 1 -content = -click-left = "dunstctl history-pop" +[module/tray] +type = internal/tray +format-margin = 8px +tray-spacing = 8px -[module/popup-calendar] -type = custom/script -exec = ~/.config/polybar/scripts/popup-calendar.sh -interval = 5 -click-left = ~/.config/polybar/scripts/popup-calendar.sh --popup & - -;[module/dunst] -;type = custom/ipc -;initial = 1 -;format-foreground = ${colors.foreground} -;hook-0 = echo "%{A1:notify-send dunstctl && polybar-msg hook dunst 2:}%{A}" & -;hook-1 = echo "%{A1:notify-send dunstctl && polybar-msg hook dunst 1:}%{A}" & - -[module/eww] +;[module/power] +;type = custom/text +;content = +;content-font = 3 +;content-foreground = ${colors.Red} +;content-margin = 1 +;click-left = "sh ~/.config/rofi/powermenu/type-6/powermenu.sh" +[module/power] type = custom/text -content = -content-padding = 0 -content-foreground = #d8dee9 -click-left = sh toggle_eww.sh -click-right = sh toggle_eww.sh - -[module/pulseaudio] -type = internal/pulseaudio -ramp-volume-foreground = #8959a8 -format-volume-padding = 0 -format-volume-margin = 0 -format-volume = <ramp-volume> -use-ui-max = true -interval = 5 - -ramp-volume-0 = " " -ramp-volume-1 = " " -ramp-volume-2 = " " - - -label-muted = -label-muted-background = #3e999f -format-muted-foreground = #3e999f -format-muted-overline = #3e999f -format-muted-margin = 2 -format-muted-padding = 2 - -[module/volume] -type = internal/pulseaudio -format-volume = <ramp-volume> <label-volume> -format-volume-font = 10 -format-volume-padding = 0 -;ramp-volume-foreground = ${colors.foreground} -label-volume = %percentage%% -label-volume-padding = 0 -;label-muted-foreground = ${colors.foreground} -;format-volume-foreground = ${colors.purple} -format-muted-foreground = ${colors.red} -format-muted-underline = ${colors.red} -ramp-volume-foreground = ${colors.purple} -label-muted = "婢 " -ramp-volume-0 = "" -ramp-volume-1 = "" -ramp-volume-2 = "" -ramp-volume-3 = "" -ramp-volume-4 = "" -ramp-volume-5 = "" -ramp-volume-6 = "" - - -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock - -format-prefix = -format-foreground = ${colors.foreground-alt} -label-layout = " %layout%" - -label-indicator-foreground = ${colors.alert} -label-indicator-padding = 2 - -[module/filesystem] -type = internal/fs -interval = 25 - -mount-0 = / - -format-mounted = <label-mounted> -format-mounted-foreground = #b48ead -format-mounted-prefix = " " -label-mounted = " %free%" - -format-unmounted = <label-unmounted> -format-unmounted-prefix = -label-unmounted = %mountpoint%: not mounted - -[module/updates] +content = +;content = 襤 +content-foreground = ${colors.Red} +content-padding = 1 +label-margin = 3 +click-left = ~/.scripts/sysmenu.sh + +[module/systray] +type=custom/ipc +hook-0=echo " " +hook-1=echo " " +click-left=systray +initial=2 +format-font=2 + +format-foreground=${colors.blue} +[module/weather] type = custom/script -exec = xbps-updates -format = <label> -interval = 4600 -label = %output% -label-padding = 2 -label-foreground = #81A1C1 - - -[module/cpu] -type = internal/cpu -interval = 2 -format-prefix = " " -format-prefix-foreground = #b48ead -label = %percentage:2%% +exec = "sh ~/.config/polybar/weather.sh" +interval = 700 +; decor -[module/memory] -type = internal/memory -interval = 2 -format-prefix = " " -format-prefix-foreground = #5e81ac -label = %percentage_used%% +[module/sep] +type = custom/text +content = "|" +content-foreground = ${colors.disabled} -[module/globalmenu] -type = custom/script -exec = ~/.config/polybar/globalmenu.sh -format = <label> -label = %output% -;type = custom/ipc -;hook-0 = xfce4-panel | sed -e 's/^"//' -e 's/"$//' -;;exec = awk /usr/bin/xfce4-panel -;initial = 1 -;format-underline = ${colors.cyber} -;format-padding = 1 - -[module/global] -type = custom/script -exec = ~/.config/polybar/globaldmenu -label = %output% +[module/space] +type = custom/text +content = " " [settings] screenchange-reload = true -;compositing-background = xor -;compositing-background = screen -;compositing-foreground = source -;compositing-border = over -;pseudo-transparency = false - -[global/wm] -margin-top = 0 -margin-bottom = 0 - -[module/options_open] -type = custom/text -content-foreground = ${colors.foreground} -content = "" -click-left = ~/.config/polybar/scripts/polybar_wrapper options - -[module/options_close] -type = custom/text -content-foreground = ${colors.primary} -content = "" -click-left = ~/.config/polybar/scripts/polybar_wrapper options - -;[bar/bottom] -;width = 8% -;height = 15 -;offset-x = 46% -;;offset-x = 35% -;;offset-x = 0.5% -;offset-y = 2.5% -;radius = 7.0 -;fixed-center = true -;bottom = false -;enable-ipc = true -;;tray-offset-x = 515 -;;tray-detached = true -; -;background = ${colors.background} -;foreground = ${colors.foreground} -; -;line-size = 0 -;line-color = ${colors.background-alt} -; -;;border-top-size = 1 -;;border-bottom-size = 1 -;;border-right-size = 1 -;;border-left-size = 1 -;;border-color = ${colors.foreground} -;;border-size = 2 -;;border-color = ${colors.background} -; -;padding-left = 0 -;padding-right = 0 -; -;module-margin-left = 0 -;module-margin-right = 0 -;; Font for date -;font-0 = "SF Pro Mono:style=Display Bold:size=10;2" -;; Font for bspwm/workspaces -;font-1 = "UbuntuMono Nerd font:size=10.5;2" -;; Font for crypto, dunst -;font-2 = "Material Design Icons:style=Bold:size=11;3" -;; Font for menu -;font-3 = "Material Design Icons:style=Bold:size=14;5" -;; Font for search and controlCenter -;font-4 = "SF Pro:style=Medium:size=10.5;3" -; -;modules-center = bspwm sepp -; -;;wm-restack = bspwm -; -;override-redirect = true -; -;;; scroll-up = bspwm-desknext -;;; scroll-down = bspwm-deskprev -; -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -; -;cursor-click = pointer -;cursor-scroll = ns-resize -; -; -;[bar/left] -;width = 5% -;height = 15 -;offset-x = 2.5% -;;offset-x = 35% -;;offset-x = 0.5% -;offset-y = 2.5% -;radius = 7.0 -;fixed-center = true -;bottom = false -;enable-ipc = true -;;tray-offset-x = 515 -;;tray-detached = true -; -;background = ${colors.background} -;foreground = ${colors.foreground} -; -;line-size = 0 -;line-color = ${colors.background-alt} -; -;;border-top-size = 1 -;;border-bottom-size = 1 -;;border-right-size = 1 -;;border-left-size = 1 -;;border-color = ${colors.foreground} -;;border-size = 2 -;;border-color = ${colors.background} -; -;padding-left = 0 -;padding-right = 0 -; -;module-margin-left = 0 -;module-margin-right = 0 -;; Font for date -;font-0 = "SF Pro Mono:style=Display Bold:size=10;2" -;; Font for bspwm/workspaces -;font-1 = "UbuntuMono Nerd font:size=11.5;2" -;; Font for crypto, dunst -;font-2 = "Material Design Icons:style=Bold:size=11;3" -;; Font for menu -;font-3 = "Material Design Icons:style=Bold:size=14;5" -;; Font for search and controlCenter -;font-4 = "SF Pro:style=Medium:size=10.5;3" -; -;modules-left = close blank minimize blank maximize blank -; -;;wm-restack = bspwm -; -;override-redirect = true -; -;;; scroll-up = bspwm-desknext -;;; scroll-down = bspwm-deskprev -; -;;scroll-up = i3wm-wsnext -;;scroll-down = i3wm-wsprev -; -;cursor-click = pointer -;cursor-scroll = ns-resize -; -;;[module/decorations] -;;type = custom/text -; -;[module/blank] -;type = custom/text -;content = " " +pseudo-transparency = true ; vim:ft=dosini |
