home/hyprland: enable waybar

This commit is contained in:
NullBite 2024-06-28 23:54:37 -04:00
parent 147af92a85
commit 9fc2a0198c
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,9 @@ in
]; ];
programs = { programs = {
waybar = {
enable = true;
};
swaylock = { swaylock = {
enable = true; enable = true;

View File

@ -61,6 +61,7 @@ let
${pkgs.systemd}/bin/systemctl --user restart xdg-desktop-portal.service ${pkgs.systemd}/bin/systemctl --user restart xdg-desktop-portal.service
''; '';
bar-cmd = "${pkgs.waybar}/bin/waybar";
# Hyprland workspace configuration # Hyprland workspace configuration
mainWorkspaces = builtins.genList (x: x+1) (9 ++ [0]); mainWorkspaces = builtins.genList (x: x+1) (9 ++ [0]);
workspaceName = key: let workspaceName = key: let
@ -152,6 +153,7 @@ in
polkit-agent polkit-agent
idle-cmd idle-cmd
xdpg-workaround xdpg-workaround
bar-cmd
]; ];
# Source a file (multi-file configs) # Source a file (multi-file configs)