aboutsummaryrefslogtreecommitdiffstats
path: root/.config/sway/config
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2023-12-25 16:41:43 +0100
committerDavid Runge <dave@sleepmap.de>2023-12-25 16:41:43 +0100
commit870ea12c16d5b4e14dba22565d1085e98cb077dc (patch)
tree5a59bcb6cc3ee28f315407eef4cf52a642b6c587 /.config/sway/config
parentd170337c7ba5be5104428b0cba057876c1eb9d5e (diff)
downloaddotfiles-870ea12c16d5b4e14dba22565d1085e98cb077dc.tar.gz
dotfiles-870ea12c16d5b4e14dba22565d1085e98cb077dc.tar.bz2
dotfiles-870ea12c16d5b4e14dba22565d1085e98cb077dc.tar.xz
dotfiles-870ea12c16d5b4e14dba22565d1085e98cb077dc.zip
sway: Ensure that screenshot commands work
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 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