Updates Polybar

This commit is contained in:
Stephan Raabe
2023-04-06 14:30:10 +02:00
parent 80c0f7c22e
commit 172809495b
8 changed files with 51 additions and 23 deletions

View File

@@ -29,11 +29,11 @@ padding-right = 1
module-margin = 2
separator = ""
separator-foreground = ${colors.disabled}
font-0 = "Fira Sans SemiBold:size=11;1"
font-0 = "Fira Sans SemiBold:size=11;2"
font-1 = "Font Awesome 6 Free Solid:pixelsize=11;2"
modules-left = mymenu xworkspaces
modules-left = xworkspaces mymenu
modules-center = xwindow
modules-right = filesystem pulseaudio xkeyboard memory cpu date myexit
modules-right = xkeyboard mysystem filesystem pulseaudio memory cpu date myexit
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
@@ -42,13 +42,13 @@ enable-ipc = true
[module/mymenu]
type = custom/text
content-foreground = ${colors.primary}
content = ""
click-left = "rofi -show drun -icon-theme 'Papirus' -show-icons"
content = ""
click-left = "~/dotfiles/scripts/applauncher.sh"
[module/myexit]
type = custom/text
content-foreground = ${colors.primary}
content = " "
content = " "
click-left = "~/dotfiles/scripts/powermenu.sh"
[module/xworkspaces]
@@ -78,6 +78,12 @@ format-prefix = " "
format-prefix-foreground = ${colors.primary}
format-foreground = #FFFFFF
[module/mysystem]
type = custom/text
content-foreground = ${colors.primary}
content = " "
click-left = "alacritty -e htop"
[module/filesystem]
type = internal/fs
interval = 25
@@ -90,7 +96,7 @@ label-unmounted-foreground = #FFFFFF
[module/pulseaudio]
type = internal/pulseaudio
format-volume-prefix = "VOL "
format-volume-prefix = " "
format-volume-prefix-foreground = ${colors.primary}
format-volume = <label-volume>
format-volume-foreground = #FFFFFF
@@ -111,7 +117,7 @@ label-indicator-background = ${colors.secondary}
[module/memory]
type = internal/memory
interval = 2
format-prefix = "RAM "
format-prefix = " "
format-prefix-foreground = ${colors.primary}
format-foreground = #FFFFFF
label = %percentage_used:2%%
@@ -119,10 +125,11 @@ label = %percentage_used:2%%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "CPU "
format-prefix = " "
format-prefix-foreground = ${colors.primary}
format-foreground = #FFFFFF
label = %percentage:2%%
click = "htop"
[network-base]
type = internal/network