fix(home): Don't hardcode hyprctl
This commit is contained in:
parent
06910a3211
commit
051b44df9f
1 changed files with 6 additions and 3 deletions
|
@ -38,15 +38,18 @@ in {
|
||||||
"clock"
|
"clock"
|
||||||
];
|
];
|
||||||
|
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = let
|
||||||
|
hyprctl =
|
||||||
|
lib.getExe' config.wayland.windowManager.hyprland.package "hyprctl";
|
||||||
|
in {
|
||||||
format = "{name}";
|
format = "{name}";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
default = " ";
|
default = " ";
|
||||||
active = " ";
|
active = " ";
|
||||||
urgent = " ";
|
urgent = " ";
|
||||||
};
|
};
|
||||||
on-scroll-up = "hyprctl dispatch workspace e+1";
|
on-scroll-up = "${hyprctl} dispatch workspace e+1";
|
||||||
on-scroll-down = "hyprctl dispatch workspace e-1";
|
on-scroll-down = "${hyprctl} dispatch workspace e-1";
|
||||||
};
|
};
|
||||||
|
|
||||||
"clock" = {
|
"clock" = {
|
||||||
|
|
Loading…
Reference in a new issue