aboutsummaryrefslogtreecommitdiffstats
path: root/.config/sway/config
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2023-12-04 15:53:28 +0100
committerDavid Runge <dave@sleepmap.de>2024-01-05 18:02:08 +0100
commite4ce0dfb929106c8d5ab325e429a69078456aa13 (patch)
treea8de2d6e86fd3acd1322b6e4522d120579479d1f /.config/sway/config
parent6c3529025302df84ca4bf0d8d71bcbdc7c4dd034 (diff)
downloaddotfiles-e4ce0dfb929106c8d5ab325e429a69078456aa13.tar.gz
dotfiles-e4ce0dfb929106c8d5ab325e429a69078456aa13.tar.bz2
dotfiles-e4ce0dfb929106c8d5ab325e429a69078456aa13.tar.xz
dotfiles-e4ce0dfb929106c8d5ab325e429a69078456aa13.zip
sway: Fix screenshot key bindings to work properly
Signed-off-by: David Runge <dave@sleepmap.de>
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/sway/config b/.config/sway/config
index b530250..7fafa9f 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