Make waybar functional for both sway and Hyprland

This commit is contained in:
Erwin Boskma 2022-10-31 14:56:40 +01:00
parent 51c1659b98
commit 5ca34c7c5c
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU

View file

@ -29,7 +29,7 @@ in
height = 32;
modules-left = [
# "sway/workspaces"
"sway/workspaces"
"wlr/workspaces"
"sway/mode"
"custom/now_playing"
@ -121,6 +121,18 @@ in
max-length = 120;
};
"sway/workspaces" = {
all-outputs = false;
disable-scroll = true;
format = "{icon} {name}";
sort-by-number = true;
format-icons = {
"urgent" = "";
"focused" = "";
"default" = "";
};
};
"wlr/workspaces" = {
all-outputs = false;
# disable-scroll = true;