From 7437a37e9ae174033e336e5d29f435ec78df27e0 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 5 Jun 2024 22:22:45 +0530 Subject: home/wayland/pkgs/wayland-scripts/freezshot: init --- home/cez/modules/wayland.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 home/cez/modules/wayland.nix (limited to 'home/cez/modules') 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}"; +} -- cgit v1.2.3