updated i3 and polybar configs

This commit is contained in:
2024-06-25 12:53:53 +10:00
parent 5f90cfd4c7
commit dfa2bf2531
2 changed files with 15 additions and 26 deletions

View File

@@ -185,3 +185,6 @@ client.unfocused $overlay0 $base $text $rosewater $overlay
client.urgent $peach $base $peach $overlay0 $peach client.urgent $peach $base $peach $overlay0 $peach
client.placeholder $overlay0 $base0 $text $overlay0 $overlay0 client.placeholder $overlay0 $base0 $text $overlay0 $overlay0
client.background $base client.background $base
bindsym $mod+Shift+period exec systemctl suspend
bindsym $mod+Shift+slash exec systemctl hibernate

View File

@@ -78,12 +78,12 @@ padding-right = 1
module-margin = 1 module-margin = 1
separator = | separator = |
separator-foreground = ${colors.flamingo} separator-foreground = ${colors.red}
font-0 = MesloLGS Nerd Font Mono:size=12;6 font-0 = JetBrains Mono Nerd Font:size=12;4
modules-left = xworkspaces xwindow modules-left = xworkspaces xwindow
modules-right = pulseaudio battery memory cpu wlan date modules-right = pulseaudio battery memory cpu wlan eth date
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
@@ -106,9 +106,8 @@ tray-spacing = 16pt
type = internal/xworkspaces type = internal/xworkspaces
label-active = %name% label-active = %name%
label-active-background = ${colors.mauve} label-active-background = ${colors.green}
label-active-foreground = ${colors.crust} label-active-foreground = ${colors.crust}
label-active-underline= ${colors.lauve}
label-active-padding = 1 label-active-padding = 1
label-occupied = %name% label-occupied = %name%
@@ -140,11 +139,12 @@ label-unmounted-foreground = ${colors.disabled}
[module/pulseaudio] [module/pulseaudio]
type = internal/pulseaudio type = internal/pulseaudio
format-volume-prefix = "VOL " format-volume-prefix = " "
format-volume-prefix-foreground = ${colors.primary} format-volume-prefix-foreground = ${colors.yellow}
format-volume = <label-volume> format-volume = <label-volume>
label-volume = %percentage%% label-volume = %percentage%%
label-volume-foreground = ${colors.green}
label-muted = muted label-muted = muted
label-muted-foreground = ${colors.disabled} label-muted-foreground = ${colors.disabled}
@@ -161,20 +161,6 @@ label-indicator-margin = 1
label-indicator-foreground = ${colors.background} label-indicator-foreground = ${colors.background}
label-indicator-background = ${colors.secondary} label-indicator-background = ${colors.secondary}
[module/memory]
type = internal/memory
interval = 2
format-prefix = "RAM "
format-prefix-foreground = ${colors.primary}
label = %percentage_used:2%%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "CPU "
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
[module/battery] [module/battery]
type = internal/battery type = internal/battery
format-prefix = "BAT " format-prefix = "BAT "
@@ -214,18 +200,18 @@ label-connected = %{F#F0C674}%ifname%%{F-} %essid%
[module/eth] [module/eth]
inherit = network-base inherit = network-base
ip = %local_ip%
interface-type = wired interface-type = wired
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% label-connected = %{F#F9e2af}󰈁%{F-} %{F#a6e3a1}connected%{F-}
[module/date] [module/date]
type = internal/date type = internal/date
interval = 1 interval = 1
date = %H:%M time = %H:%M:%S
date-alt = %Y-%m-%d %H:%M:%S date = %a %d %b
label = %date% label = %{F#F9e2af} %{F-} %{F#a6e3a1}%time% %date%%{F-}
label-foreground = ${colors.primary}
[settings] [settings]
screenchange-reload = true screenchange-reload = true