aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/sway/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/sway/config b/.config/sway/config
index e0142d8..b530250 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -61,10 +61,10 @@ bindsym $mod+Ctrl+r reload
bindsym $mod+Ctrl+s exec "setsid -f waylock"
# screenshot
-bindsym $mod+Ctrl+u exec "grim ~/cloud/photos/screenshots/screenshot-"$(date +'%Y-%m-%d_%H-%M-%S')".png"
+bindsym $mod+Ctrl+u exec "grim ~/cloud/photos/screenshots/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png"
# selection screenshot
-bindsym $mod+Ctrl+i exec "grim -g "$(slurp)" ~/cloud/photos/screenshots/screenshot-"$(date +'%Y-%m-%d_%H-%M-%S')".png"
+bindsym $mod+Ctrl+i exec grim -g "$(slurp)" ~/cloud/photos/screenshots/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png
# exit sway
bindsym $mod+Ctrl+e exit