fix: minor fixs and removed n3 to use spf
This commit is contained in:
@@ -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> "
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user