about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-22 13:22:03 +0900
committersefidel <contact@sefidel.net>2022-01-22 13:22:03 +0900
commit63ad5dfc877ae7a9a4b6b47887b6f5fe469ae9cf (patch)
tree4ae708783e7aded7f59d35461fe19c7343e22256
parent13d2cac5b8c86ba9ed1b7c1d00c6c8598c80e2c4 (diff)
downloadnixrc-63ad5dfc877ae7a9a4b6b47887b6f5fe469ae9cf.tar.gz
nixrc-63ad5dfc877ae7a9a4b6b47887b6f5fe469ae9cf.zip
home/base: sway - setup screenshot binding
-rw-r--r--home/profiles/base/config/sway.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/profiles/base/config/sway.nix b/home/profiles/base/config/sway.nix
index d689603..ddaa063 100644
--- a/home/profiles/base/config/sway.nix
+++ b/home/profiles/base/config/sway.nix
@@ -23,6 +23,9 @@ with neotheme.colors;
     set $menu "${pkgs.bemenu}/bin/bemenu-run -H 18 -l 5 --fn 'CtrlD 13' -p 'run::' --tb '$primary' --tf '$color0' --hb '$primary' --hf '$color0'"
   bindsym $mod+d exec $menu
 
+  # set screenshot util
+  bindsym $mod+Ctrl+Return exec grimshot copy area
+
   # change focus
   # vim-style
   bindsym $mod+$left  focus left