20241108-1

This commit is contained in:
fz0x1 2024-11-08 14:37:34 +00:00
parent 275ea9cc13
commit 1028c62c0b
3 changed files with 73 additions and 105 deletions

View file

@ -16,19 +16,43 @@
;
;==========================================================
; [colors]
; background = #dd282A2E
; background-alt = #373B41
; foreground = #C5C8C6
; primary = #F0C674
; secondary = #8ABEB7
; alert = #A54242
; disabled = #707880
[colors]
background = #dd282A2E
background-alt = #373B41
foreground = #C5C8C6
primary = #F0C674
secondary = #8ABEB7
alert = #A54242
disabled = #707880
background = #dd282828
background-alt = #3c3836
bg-darker = #1d2021
foreground = #fbf1c7
blue = #83a598
cyan = #8ec07c
green = #b8bb26
orange = #fe8019
purple = #d3869b
red = #fb4934
yellow = #fabd2f
bg-blue = #458588
bg-cyan = #689d6a
bg-green = #98971a
bg-orange = #d65d0e
bg-purple = #b16268
bg-red = #cc241d
bg-yellow = #d79921
black = #000
white = #FFF
[bar/fz0x1]
monitor = ${env:MONITOR:HDMI-1-0}
width = 100%
height = 24pt
height = 22pt
radius = 6
dpi = 120
@ -47,10 +71,10 @@ padding-right = 1
module-margin = 1
separator =
separator-foreground = ${colors.disabled}
separator-foreground = ${colors.yellow}
font-0 = JetBrainsMono Nerd Font Mono:size=9:style=Regular;2
font-1 = JetBrainsMono Nerd Font Mono:size=18:style=Regular;3
font-1 = JetBrainsMono Nerd Font Mono:size=16:style=Regular;5
; font-0 = BigBlueTermPlus Nerd Font:size=10:style=Regular;2
font-2 = "Font Awesome 6 Free"
; font-3 = "Font Awesome 6 Free:style=Solid:pixelsize=10;2"
@ -90,27 +114,28 @@ label-urgent-font = 3
label-focused = %icon%
label-focused-foreground = #ffffff
label-focused-background = #3f3f3f
label-focused-underline = #fba922
label-focused-background = ${colors.background}
label-focused-underline = ${colors.red}
label-focused-padding = 2
label-unfocused = %icon%
label-unfocused-padding = 2
label-visible = %icon%
label-visible-underline = #555555
label-visible-padding = 2
; label-visible = %icon%
; label-visible-underline = #555555
; label-visible-padding = 2
label-urgent = %icon%
label-urgent-foreground = #000000
label-urgent-background = #bd2c40
label-urgent-padding = 2
; label-urgent = %icon%
; label-urgent-foreground = #000000
; label-urgent-background = #bd2c40
; label-urgent-padding = 2
label-mode-padding = 2
; label-mode-padding = 2
; label-separator = |
; label-separator-padding = 2
; label-separator-foreground = #ffb52a
ws-icon-0 = 1;
ws-icon-1 = 2;󰈹
ws-icon-2 = 3;
@ -122,26 +147,26 @@ ws-icon-default = 󰇀
type = internal/tray
tray-padding = 3px
#tray-background = #dd576574
; tray-background = #dd576574
tray-size = 50%
[module/xworkspaces]
type = internal/xworkspaces
label-active = %name%
label-active-background = ${colors.background-alt}
label-active-underline= ${colors.primary}
label-active-background = ${colors.background}
label-active-underline= ${colors.red}
label-active-padding = 1
label-occupied = %name%
label-occupied-padding = 1
label-urgent = %name%
label-urgent-background = ${colors.alert}
label-urgent-background = ${colors.bg-yellow}
label-urgent-padding = 1
label-empty = %name%
label-empty-foreground = ${colors.disabled}
label-empty-foreground = ${colors.red}
label-empty-padding = 1
[module/xwindow]
@ -151,32 +176,32 @@ label = %title:0:60:...%
[module/pulseaudio]
type = internal/pulseaudio
format-volume-prefix = "VOL "
format-volume-prefix-foreground = ${colors.primary}
format-volume-prefix = "vol "
format-volume-prefix-foreground = ${colors.yellow}
format-volume = <label-volume>
label-volume = %percentage%%
label-muted = muted
label-muted-foreground = ${colors.disabled}
label-muted-foreground = ${colors.red}
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
label-layout = %layout%
label-layout-foreground = ${colors.primary}
label-layout-foreground = ${colors.green}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-foreground = ${colors.background}
label-indicator-background = ${colors.secondary}
label-indicator-foreground = ${colors.foreground}
label-indicator-background = ${colors.background}
[module/memory]
type = internal/memory
interval = 2
format-prefix = "RAM "
format-prefix-foreground = ${colors.primary}
format-prefix-foreground = ${colors.white}
label = %percentage_used:2%%
[network-base]
@ -189,7 +214,7 @@ label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
[module/wlan]
inherit = network-base
interface-type = wireless
label-connected = %{A1:nm-connection-editor:}%{F#F0C674}%ifname%%{F-} %essid% %{A}
label-connected = %{A1:nm-connection-editor:}%{F#fabd2f}%ifname%%{F-} %essid% %{A}
[module/date]
type = internal/date
@ -199,7 +224,7 @@ date = %H:%M
date-alt = %Y-%m-%d %H:%M:%S
label = %date%
label-foreground = ${colors.primary}
label-foreground = ${colors.white}
[module/backlight]
type = internal/backlight
@ -262,16 +287,16 @@ bar-indicator = |
bar-fill =
bar-empty =
[module/system-bluetooth-bluetoothctl]
type = custom/script
exec = ~/.config/polybar/scripts/system-bluetooth-bluetoothctl.sh
tail = true
click-left = ~/.config/polybar/scripts/system-bluetooth-bluetoothctl.sh --toggle &
; [module/system-bluetooth-bluetoothctl]
; type = custom/script
; exec = ~/.config/polybar/scripts/system-bluetooth-bluetoothctl.sh
; tail = true
; click-left = ~/.config/polybar/scripts/system-bluetooth-bluetoothctl.sh --toggle &
[module/bluetooth]
type = custom/text
click-left = blueman-manager
content = "bt"
; [module/bluetooth]
; type = custom/text
; click-left = blueman-manager
; content = "bt"
[settings]
screenchange-reload = true

View file

@ -1,9 +1,5 @@
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
sleep 1
MONITOR="HDMI-1-0" polybar --reload fz0x1 -c ~/.config/polybar/config.ini &