fix: minor fixs and removed n3 to use spf

This commit is contained in:
oxypomme
2025-02-12 10:05:19 +01:00
parent 30a8c16816
commit 8b162be7d1
6 changed files with 66 additions and 55 deletions

View File

@@ -94,7 +94,7 @@ inherit = common
modules-left = date dunst
modules-center =
modules-right = pulseaudio battery cpu temperature memory eth wlan vpn
modules-right = pulseaudio battery cpu temperature memory eth eth-usb wlan vpn vpn-home
; ============ MODULES ============
@@ -290,7 +290,7 @@ inherit = powerline-templates/right-to-left-item
background = ${colors.module-bg}
background-next = ${colors.module-bg-alt}
format-connected = " "
format-connected = " "
format-connected-foreground = ${colors.foreground-alt}
format-connected-background = ${colors.module-bg}
format-connected-font = 4
@@ -301,13 +301,27 @@ format-disconnected =
type = internal/network
interface = enxc84bd64ef53d
interval = 3
inherit = powerline-templates/right-to-left-item
background = ${colors.module-bg}
background-next = ${colors.module-bg-alt}
format-connected = " 󰈀 "
format-connected-foreground = ${colors.foreground-alt}
format-connected-background = ${colors.module-bg}
format-connected-font = 2
format-disconnected = "D"
[module/eth-usb]
type = internal/network
interface = usb0
unknown-as-up = true
inherit = powerline-templates/right-to-left-item
background = ${colors.module-bg}
background-next = ${colors.module-bg-alt}
format-connected = " "
format-connected = " 󰕓 "
format-connected-foreground = ${colors.foreground-alt}
format-connected-background = ${colors.module-bg}
format-connected-font = 2
@@ -317,9 +331,8 @@ format-disconnected =
[module/vpn]
type = internal/network
interface = tun0
interval = 3
format-connected = " "
format-connected = "  "
format-connected-foreground = ${colors.success}
format-connected-background = ${colors.module-bg}
format-connected-font = 1
@@ -328,6 +341,18 @@ format-connected-font = 1
format-disconnected =
[module/vpn-home]
type = internal/network
interface = home
unknown-as-up = true
format-connected = "  "
format-connected-foreground = ${colors.success}
format-connected-background = ${colors.module-bg}
format-connected-font = 1
format-disconnected =
[module/date]
type = internal/date
interval = 5
@@ -439,7 +464,7 @@ format-discharging-background = ${colors.module-bg}
format-low-prefix-foreground = ${colors.module-bg}
format-low-prefix-background = ${colors.module-bg-alt}
format-low-prefix = ""
format-low = "<animation-low> <animation-low> "
format-low = "<animation-low> <label-discharging> "
format-low-background = ${colors.module-bg}
format-full = "%{T2} %{T-} <label-full> "

View File

@@ -6,8 +6,8 @@ status=$(dunstctl history | jq '.data[0] | length' || echo '?')
if [ "$status" = '?' ]; then
echo "$status"
elif [ "$status" -gt 0 ]; then
echo "%{F#4B8783}%{F-} $status"
echo "%{F#4B8783}%{F-} $status"
else
echo "%{F#4B8783}%{F-}"
echo "%{F#4B8783}%{F-}"
fi