Add waybar niri integration

This commit is contained in:
Zeph Levy 2026-02-04 21:44:04 +01:00
parent 39b457bc0a
commit 633d63ff94
2 changed files with 19 additions and 1 deletions

View file

@ -8,7 +8,11 @@
position = "top"; position = "top";
height = 20; height = 20;
modules-left = [ "hyprland/workspaces" "niri/workspaces" ]; modules-left = [
"hyprland/workspaces"
"niri/workspaces"
"niri/window"
];
modules-center = [ "clock" ]; modules-center = [ "clock" ];
modules-right = [ modules-right = [
"cpu" "cpu"
@ -32,6 +36,14 @@
persistent-workspaces."*" = 4; persistent-workspaces."*" = 4;
}; };
"niri/workspaces" = {
format = "{icon}";
format-icons = {
active = "";
default = "";
};
};
"clock" = { "clock" = {
format = " {:%H:%M:%S}"; format = " {:%H:%M:%S}";
tooltip-format = " {:%a, %d %b}"; tooltip-format = " {:%a, %d %b}";
@ -92,8 +104,13 @@
background: transparent; background: transparent;
border: none; border: none;
} }
window#waybar.empty #window {
background-color: transparent;
border: none;
}
#workspaces, #workspaces,
#window,
#clock, #clock,
#cpu, #cpu,
#memory, #memory,

View file

@ -309,6 +309,7 @@ binds {
// Mod+Ctrl+Page_Down { move-window-to-workspace-down; } // Mod+Ctrl+Page_Down { move-window-to-workspace-down; }
// ... // ...
// TODO!!!
Mod+Shift+Page_Down { move-workspace-down; } Mod+Shift+Page_Down { move-workspace-down; }
Mod+Shift+Page_Up { move-workspace-up; } Mod+Shift+Page_Up { move-workspace-up; }
Mod+Shift+U { move-workspace-down; } Mod+Shift+U { move-workspace-down; }