aboutsummaryrefslogtreecommitdiff
path: root/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config7
1 files changed, 5 insertions, 2 deletions
diff --git a/.config/sway/config b/.config/sway/config
index e0f1ac7..d9597d0 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -63,10 +63,13 @@ set $term $(which footclient || which alacritty)
# on the original workspace that the command was run on.
set $menu wofi --show drun -Iai -w 3
set $screenshot_fullscreen grim /dev/stdout | wl-copy
+#set $screenshot slurp \
+# | grim -l 0 -g - /dev/stdout \
+# | wl-copy
+#set $screenshot flameshot gui
set $screenshot slurp \
| grim -l 0 -g - /dev/stdout \
- | wl-copy
-#set $screenshot flameshot gui
+ | swappy -f - -o `date "+$HOME/screenshots/%Y-%m-%d_%R:%S.png"`
set $toggle_layout input "type:keyboard" xkb_switch_layout next
set $lock swaylock