mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
feat: remove testing waybar widget
This commit is contained in:
parent
23af9dd40e
commit
d64bc068aa
1 changed files with 1 additions and 10 deletions
11
home.nix
11
home.nix
|
@ -344,21 +344,12 @@
|
||||||
"HDMI-A-1"
|
"HDMI-A-1"
|
||||||
];
|
];
|
||||||
modules-left = [ "hyprland/workspaces" "sway/submap" "wlr/taskbar" ];
|
modules-left = [ "hyprland/workspaces" "sway/submap" "wlr/taskbar" ];
|
||||||
modules-center = [ "hyprland/window" "custom/hello-from-waybar" ];
|
modules-right = [ "mpd" "temperature" ];
|
||||||
modules-right = [ "mpd" "custom/mymodule#with-css-id" "temperature" ];
|
|
||||||
|
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
disable-scroll = true;
|
disable-scroll = true;
|
||||||
all-outputs = true;
|
all-outputs = true;
|
||||||
};
|
};
|
||||||
"custom/hello-from-waybar" = {
|
|
||||||
format = "hello {}";
|
|
||||||
max-length = 40;
|
|
||||||
interval = "once";
|
|
||||||
exec = pkgs.writeShellScript "hello-from-waybar" ''
|
|
||||||
echo "from within waybar"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue