From 211aefeaa169d8e8575e434dcdc9193960e26ab1 Mon Sep 17 00:00:00 2001 From: Rosa Date: Tue, 13 Jan 2026 23:33:38 -0500 Subject: screenshot --- modules/user/desktop/swayfx.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules/user/desktop') diff --git a/modules/user/desktop/swayfx.nix b/modules/user/desktop/swayfx.nix index 8313d99..0160be9 100644 --- a/modules/user/desktop/swayfx.nix +++ b/modules/user/desktop/swayfx.nix @@ -2,12 +2,18 @@ config, lib, options, + pkgs, ... }: { options.desktop.windowManager = lib.mkOption { type = with lib.types; nullOr (enum [ "swayfx" ]); }; config = { + home.packages = with pkgs; [ + grim + slurp + ]; + programs.waybar = { enable = lib.mkDefault (config.desktop.windowManager == "swayfx"); settings = { @@ -96,13 +102,6 @@ persistent-workspaces = { "1" = ["DP-1"]; "2" = ["DP-2"]; - "3" = []; - "4" = []; - "5" = []; - "6" = []; - "7" = []; - "8" = []; - "9" = []; }; }; @@ -251,6 +250,7 @@ "${mod}+F" = "floating toggle"; "${mod}+G" = "layout toggle split tabbed"; "${mod}+R" = "exec fuzzel"; + "${mod}+Shift+S" = "exec grim -g \"$(slurp)\" ~/Pictures/screenshot.png"; "XF86AudioRaiseVolume" = "exec wpctl set-volume @DEFAULT_SINK@ 5%+ -l 1"; "XF86AudioLowerVolume" = "exec wpctl set-volume @DEFAULT_SINK@ 5%- -l 1"; "XF86AudioMute" = "exec wpctl set-mute @DEFAULT_SINK@ toggle"; -- cgit v1.3.1