diff options
| author | Rosa <rosaontheweb@proton.me> | 2026-01-13 23:33:38 -0500 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2026-01-13 23:33:38 -0500 |
| commit | 211aefeaa169d8e8575e434dcdc9193960e26ab1 (patch) | |
| tree | 129d08728025b8ca774d5f5d454f2411e9f99e1f /modules/user | |
| parent | 909f611b0220920cde9e6e51e71603cca7e96feb (diff) | |
screenshot
Diffstat (limited to 'modules/user')
| -rw-r--r-- | modules/user/desktop/swayfx.nix | 14 |
1 files changed, 7 insertions, 7 deletions
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"; |
