summaryrefslogtreecommitdiff
path: root/home/cez
diff options
context:
space:
mode:
Diffstat (limited to 'home/cez')
-rw-r--r--home/cez/home.nix5
-rw-r--r--home/cez/modules/wayland.nix8
2 files changed, 12 insertions, 1 deletions
diff --git a/home/cez/home.nix b/home/cez/home.nix
index bba7bd9..018c19c 100644
--- a/home/cez/home.nix
+++ b/home/cez/home.nix
@@ -1,3 +1,6 @@
{ ... }: {
- imports = [ ../pc/home.nix ];
+ imports = [
+ ../pc/home.nix
+ ./modules/wayland.nix
+ ];
}
diff --git a/home/cez/modules/wayland.nix b/home/cez/modules/wayland.nix
new file mode 100644
index 0000000..4c9e0ac
--- /dev/null
+++ b/home/cez/modules/wayland.nix
@@ -0,0 +1,8 @@
+{ pkgs, ... }: let
+ wayland-scripts = pkgs.callPackage ../../wayland/pkgs/wayland-scripts {};
+ freezshot = "${wayland-scripts}/bin/freezshot";
+in {
+ # vendor hardcoded screenshot key
+ wayland.windowManager.sway.settings.bindsym."mod4+shift+s" =
+ "exec ${freezshot}";
+}