commit 7c04f3f595336e79a09d35accbaf137a06580e7f
parent 3c86ed65f4e8466e53f45f0ad31609e2301fa2ca
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 5 May 2020 09:39:58 -0700
i3, sway: use flameshot to capture a screenshot
Not sure if this actually works in Sway. Flameshot claims to have
experimental Gnome/Plasma Wayland support, but Sway uses wlroots.
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/.config/i3/config b/.config/i3/config
@@ -83,6 +83,9 @@ bindsym $mod+d exec $menu
# Despite the name, also works for non-floating windows.
floating_modifier $mod
+# Capture a screenshot.
+bindsym $mod+Shift+s exec --no-startup-id flameshot gui
+
# Reload the configuration file.
bindsym $mod+Shift+c reload
diff --git a/.config/sway/config b/.config/sway/config
@@ -114,6 +114,9 @@ bindsym $mod+d exec $menu
# mouse button for dragging.
floating_modifier $mod normal
+# Capture a screenshot.
+bindsym $mod+Shift+s exec flameshot gui
+
# Reload the configuration file.
bindsym $mod+Shift+c reload