Initial add of hyprland module
This commit is contained in:
parent
f8b7fcd71a
commit
e19b036d3f
5 changed files with 277 additions and 2 deletions
|
@ -31,7 +31,7 @@ in
|
|||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
# systemd.enable = true;
|
||||
|
||||
style = builtins.readFile ./waybar_style.css;
|
||||
|
||||
|
@ -40,7 +40,10 @@ in
|
|||
layer = "top";
|
||||
position = "bottom";
|
||||
height = 20;
|
||||
modules-left = [ "sway/workspaces" ];
|
||||
modules-left = [
|
||||
"sway/workspaces"
|
||||
"hyprland/workspaces"
|
||||
];
|
||||
modules-center = [ "clock" ];
|
||||
modules-right = [
|
||||
"idle_inhibitor"
|
||||
|
@ -55,6 +58,22 @@ in
|
|||
"tray"
|
||||
];
|
||||
|
||||
"hyprland/workspaces" = {
|
||||
disable-scroll = false;
|
||||
all-outputs = true;
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
"1" = "q";
|
||||
"2" = "w";
|
||||
"3" = "e";
|
||||
"4" = "r";
|
||||
"5" = "t";
|
||||
"6" = "y";
|
||||
"7" = "u";
|
||||
"8" = "i";
|
||||
"9" = "o";
|
||||
};
|
||||
};
|
||||
"sway/workspaces" = {
|
||||
disable-scroll = false;
|
||||
all-outputs = true;
|
||||
|
|
|
@ -50,6 +50,7 @@ window#waybar.hidden {
|
|||
background-color: rgba(0, 0, 0, 1)
|
||||
}
|
||||
|
||||
#workspaces button.active,
|
||||
#workspaces button.focused {
|
||||
color: @yellow;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue