diff --git a/home/jonas/home.nix b/home/jonas/home.nix index 519c716..83bc705 100644 --- a/home/jonas/home.nix +++ b/home/jonas/home.nix @@ -13,6 +13,7 @@ ./themes/gtk ./themes/qt ./waybar + ./wlogout ./wofi ./yubikey.nix ./zsh.nix diff --git a/home/jonas/hyprland/config.nix b/home/jonas/hyprland/config.nix index 97982f4..cdc1dbe 100644 --- a/home/jonas/hyprland/config.nix +++ b/home/jonas/hyprland/config.nix @@ -37,6 +37,7 @@ ", XF86AudioMute, exec, ${pkgs.pulsemixer}/bin/pulsemixer --toggle-mute" ", XF86MonBrightnessUp, exec, ${pkgs.brightnessctl}/bin/brightnessctl set +5%" ", XF86MonBrightnessDown, exec, ${pkgs.brightnessctl}/bin/brightnessctl set 5%-" + "$mod, 0, ${pkgs.wlogout}/bin/wlogout" ] ++ ( # workspaces diff --git a/home/jonas/wlogout/default.nix b/home/jonas/wlogout/default.nix new file mode 100644 index 0000000..d0235fd --- /dev/null +++ b/home/jonas/wlogout/default.nix @@ -0,0 +1,5 @@ +{...}: { + imports = [ + ./wlogout.nix + ]; +} diff --git a/home/jonas/wlogout/wlogout.nix b/home/jonas/wlogout/wlogout.nix new file mode 100644 index 0000000..5aaac8a --- /dev/null +++ b/home/jonas/wlogout/wlogout.nix @@ -0,0 +1,3 @@ +{...}: { + programs.wlogout.enable = true; +}