feat: wlogout

This commit is contained in:
punkfairie 2025-05-26 16:34:16 -07:00
parent da9ca5a563
commit b18d5e4d9d
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
10 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,8 @@
{
imports = [
./nh.nix
./waybar.nix
# TODO: uncomment when swaylock is figured out
# ./wlogout
];
}

View file

@ -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;
};

View file

@ -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 [
{

View file

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View file

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

Before

Width:  |  Height:  |  Size: 4 KiB

After

Width:  |  Height:  |  Size: 4 KiB

View file

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

@ -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;