Add waybar niri integration
This commit is contained in:
parent
39b457bc0a
commit
633d63ff94
2 changed files with 19 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue