Add hyprland/workspaces module for waybar
This commit is contained in:
parent
e577ee1361
commit
c09b1c7f03
|
@ -27,7 +27,7 @@ in {
|
||||||
display-ssh = " SSH ";
|
display-ssh = " SSH ";
|
||||||
display-filebrowser = " Files ";
|
display-filebrowser = " Files ";
|
||||||
display-calc = " Calculator ";
|
display-calc = " Calculator ";
|
||||||
display-combi = " Combi ";
|
display-combi = " Combi ";
|
||||||
};
|
};
|
||||||
theme = ./theme.rasi;
|
theme = ./theme.rasi;
|
||||||
};
|
};
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
settings.main = {
|
settings.main = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
"modules-left" = [ "wlr/workspaces" "hyprland/submap" ];
|
"modules-left" = [ "hyprland/workspaces" ];
|
||||||
"modules-center" = [ "mpris" ];
|
"modules-center" = [ "mpris" ];
|
||||||
"modules-right" = [
|
"modules-right" = [
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
|
@ -21,8 +21,7 @@
|
||||||
"tray"
|
"tray"
|
||||||
"clock"
|
"clock"
|
||||||
];
|
];
|
||||||
"wlr/workspaces" = import ./modules/wlr_workspaces.nix;
|
"hyprland/workspaces" = import ./modules/hyprland_workspaces.nix;
|
||||||
"hyprland/submap" = import ./modules/hyprland_submap.nix;
|
|
||||||
mpris = import ./modules/mpris.nix;
|
mpris = import ./modules/mpris.nix;
|
||||||
cpu = import ./modules/cpu.nix;
|
cpu = import ./modules/cpu.nix;
|
||||||
memory = import ./modules/memory.nix;
|
memory = import ./modules/memory.nix;
|
||||||
|
|
18
home/hyprland/waybar/modules/hyprland_workspaces.nix
Normal file
18
home/hyprland/waybar/modules/hyprland_workspaces.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
format = "{icon}";
|
||||||
|
format-icons = {
|
||||||
|
"1" = ""; # [a]ny
|
||||||
|
"2" = ""; # [b]rowser
|
||||||
|
"3" = ""; # [d]ev
|
||||||
|
"4" = ""; # [f]iles
|
||||||
|
"5" = ""; # [s]potify (or mu[s]ic)
|
||||||
|
"6" = ""; # [c]hat
|
||||||
|
"7" = ""; # [v]ideo
|
||||||
|
"8" = ""; # [r]emote
|
||||||
|
"9" = ""; # [g]aming
|
||||||
|
default = "";
|
||||||
|
special = "";
|
||||||
|
urgent = "";
|
||||||
|
};
|
||||||
|
show-special = true;
|
||||||
|
}
|
Loading…
Reference in a new issue