diff --git a/modules/home/programs/default.nix b/modules/home/programs/default.nix index 3443951..1ecee1c 100644 --- a/modules/home/programs/default.nix +++ b/modules/home/programs/default.nix @@ -1,5 +1,8 @@ { imports = [ ./nh.nix + ./waybar.nix + # TODO: uncomment when swaylock is figured out + # ./wlogout ]; } diff --git a/modules/home/programs/waybar.nix b/modules/home/programs/waybar.nix index b909453..94a2b95 100644 --- a/modules/home/programs/waybar.nix +++ b/modules/home/programs/waybar.nix @@ -17,6 +17,7 @@ in { config = lib.mkIf (cfg.enable && pkgs.stdenv.isLinux) { marleyos = { # services.swaync.enable = true; + # TODO: enable once swaylock is figured out # programs.wlogout.enable = true; }; diff --git a/snowflake/modules/home/programs/wayland/wlogout/default.nix b/modules/home/programs/wlogout/default.nix similarity index 97% rename from snowflake/modules/home/programs/wayland/wlogout/default.nix rename to modules/home/programs/wlogout/default.nix index b0a7f83..a301dc8 100644 --- a/snowflake/modules/home/programs/wayland/wlogout/default.nix +++ b/modules/home/programs/wlogout/default.nix @@ -16,8 +16,10 @@ in { layout = let systemctl = lib.getExe' pkgs.systemd "systemctl"; + # TODO: use niri msg action quit hyprctrl = lib.getExe' config.wayland.windowManager.hyprland.package "hyprctrl"; + # TODO: switch to swaylock hyprlock = lib.getExe config.programs.hyprlock.package; in [ { diff --git a/snowflake/modules/home/programs/wayland/wlogout/hibernate.png b/modules/home/programs/wlogout/hibernate.png similarity index 100% rename from snowflake/modules/home/programs/wayland/wlogout/hibernate.png rename to modules/home/programs/wlogout/hibernate.png diff --git a/snowflake/modules/home/programs/wayland/wlogout/lock.png b/modules/home/programs/wlogout/lock.png similarity index 100% rename from snowflake/modules/home/programs/wayland/wlogout/lock.png rename to modules/home/programs/wlogout/lock.png diff --git a/snowflake/modules/home/programs/wayland/wlogout/logout.png b/modules/home/programs/wlogout/logout.png similarity index 100% rename from snowflake/modules/home/programs/wayland/wlogout/logout.png rename to modules/home/programs/wlogout/logout.png diff --git a/snowflake/modules/home/programs/wayland/wlogout/reboot.png b/modules/home/programs/wlogout/reboot.png similarity index 100% rename from snowflake/modules/home/programs/wayland/wlogout/reboot.png rename to modules/home/programs/wlogout/reboot.png diff --git a/snowflake/modules/home/programs/wayland/wlogout/shutdown.png b/modules/home/programs/wlogout/shutdown.png similarity index 100% rename from snowflake/modules/home/programs/wayland/wlogout/shutdown.png rename to modules/home/programs/wlogout/shutdown.png diff --git a/snowflake/modules/home/programs/wayland/wlogout/suspend.png b/modules/home/programs/wlogout/suspend.png similarity index 100% rename from snowflake/modules/home/programs/wayland/wlogout/suspend.png rename to modules/home/programs/wlogout/suspend.png diff --git a/modules/home/shell/niri.nix b/modules/home/shell/niri.nix index f733a51..3de8a96 100644 --- a/modules/home/shell/niri.nix +++ b/modules/home/shell/niri.nix @@ -26,6 +26,7 @@ in { shell.wayland = enabled; programs = { waybar = enabled; + # TODO: enable once swaylock is figured out # wlogout = enabled; # fuzzel = enabled; # xwayland-satellite = enabled;