some niri and waybar tweaks

This commit is contained in:
Matt Nish-Lapidus 2025-02-11 12:46:32 -05:00
parent b4c0daf345
commit 3e1a2d075f
7 changed files with 149 additions and 94 deletions

View file

@ -16,6 +16,7 @@
music
langs
emacs
swaync
];
home = {

View file

@ -1,6 +1,7 @@
(defwidget bar []
(centerbox :orientation "h"
(workspaces)
(time)
(workspaces)
(music)
(sidestuff)))
@ -15,7 +16,7 @@
(metric :label "💾"
:value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}
:onchange "")
time))
))
(defwidget workspaces []
(box :class "workspaces"
@ -55,9 +56,6 @@
(deflisten music :initial ""
"playerctl --follow metadata --format '{{ artist }} - {{ title }}' || true")
(defpoll volume :interval "1s"
"scripts/getvol")
(defpoll time :interval "10s"
"date '+%H:%M %b %d, %Y'")
@ -66,8 +64,7 @@
:windowtype "dock"
:geometry (geometry :x "0%"
:y "0%"
:width "90%"
:width "99%"
:height "10px"
:anchor "top center")
:reserve (struts :side "top" :distance "4%")
(bar))

View file

@ -61,9 +61,9 @@
},
"network": {
"format-wifi": "",
"format-ethernet": "",
"format-disconnected": "!",
"tooltip-format": "{essid} {ifname}"
"format-ethernet": "",
"format-disconnected": "󰱟",
"tooltip-format": "{essid} {ifname}",
"max-length": 50,
"on-click": "$HOME/.local/bin/wezlauncher nmtui",
},
@ -92,16 +92,15 @@
"format-paused": "{status_icon} <i>{dynamic}</i>",
"dynamic-len": 75,
"player-icons": {
"default": "",
"default": "",
},
"status-icons": {
"paused": ""
"paused": ""
},
},
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 20,
"icon-theme": "Numix-Circle",
"tooltip-format": "{title}",
"on-click": "activate",
"app_ids-mapping": {