diff options
Diffstat (limited to 'waybar')
-rw-r--r-- | waybar/config | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/waybar/config b/waybar/config index 77f7386..b34ef33 100644 --- a/waybar/config +++ b/waybar/config @@ -9,12 +9,17 @@ // Choose the order of the modules - "modules-left":[ "hyprland/workspaces", "custom/launcher", "hyprland/window"], + "modules-left":[ "niri/workspaces", "custom/launcher", "niri/window"], "modules-center":[], - "modules-right":[ "tray", "mpd", "idle_inhibitor", "wireplumber", "cpu", "memory", "temperature#cpu", "temperature#gpu", "backlight", "network", "clock", "custom/power"], + "modules-right":[ "tray", "mpd", "idle_inhibitor", "wireplumber", "cpu", "memory", "battery", "temperature#cpu", "temperature#gpu", "backlight", "network", "clock", "custom/power"], // Modules configuration + "niri/workspaces": { + "format": "{value}", + "all-outputs": false, + "on-click": "activate" + }, "hyprland/workspaces": { "format": "{icon}", "active-only": false, @@ -46,9 +51,17 @@ "on-scroll-down": "hyprctl dispatch split-workspace e-1", "on-click": "activate" }, + "niri/window": { + "separate-outputs": true, + "icon": true, + "format": "{title}", + "expand": true + }, "hyprland/window": { "separate-outputs": true, - "format": "{}" + "icon": true, + "format": "{title}", + "espand": true, }, "keyboard-state": { "numlock": true, @@ -60,9 +73,9 @@ } }, "mpd": { - "format": "{artist} - {title}", + "format": "{title}", "format-stopped": "", - "format-paused": "{artist} - {title}", + "format-paused": "{title}", "format-disconnected": "", "artist-len": 15, "title-len": 15, @@ -94,7 +107,8 @@ "format": "{}% " }, "battery": { - "bat": "BAT0", + //"bat": "BAT0", + "weighted-average": "true", "interval": 60, "state": { "warning": 30, @@ -126,7 +140,7 @@ }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface - "format-wifi": "{essid} ({signalStrength}%) ", + "format-wifi": "{essid} ", "format-ethernet": "Connected ", "tooltip-format": "{ifname} via {gwaddr} ", "format-linked": "{ifname} (No IP) ", @@ -144,12 +158,12 @@ "scroll-step": 0.1 }, "custom/launcher":{ - "format": "", + "format": ">_", "on-click": "rofi -show drun", //"on-click-right": "killall rofi" }, "custom/power":{ - "format": " ", + "format": "", "on-click": "rofi -show p -modi p:rofi-power-menu", //"on-click-right": "killall rofi" }, |