Make waybar functional for both sway and Hyprland
This commit is contained in:
parent
51c1659b98
commit
5ca34c7c5c
1 changed files with 13 additions and 1 deletions
|
@ -29,7 +29,7 @@ in
|
||||||
height = 32;
|
height = 32;
|
||||||
|
|
||||||
modules-left = [
|
modules-left = [
|
||||||
# "sway/workspaces"
|
"sway/workspaces"
|
||||||
"wlr/workspaces"
|
"wlr/workspaces"
|
||||||
"sway/mode"
|
"sway/mode"
|
||||||
"custom/now_playing"
|
"custom/now_playing"
|
||||||
|
@ -121,6 +121,18 @@ in
|
||||||
max-length = 120;
|
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" = {
|
"wlr/workspaces" = {
|
||||||
all-outputs = false;
|
all-outputs = false;
|
||||||
# disable-scroll = true;
|
# disable-scroll = true;
|
||||||
|
|
Loading…
Reference in a new issue