aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2019-04-23 20:37:28 +0200
committerDavid Runge <dave@sleepmap.de>2019-04-23 20:37:28 +0200
commitb69aa334b8a8f76b769e7a6f79b067e621a1e4ee (patch)
treea9ccc4ebfe0b933fd37c715984a919589efa9c16
parent92e3f934e2ba2130f41eb9e73bc511cc6dd9d857 (diff)
parent34ecf77169d7fc3eeff6e71c82c4e9c5943f13b0 (diff)
downloaddotfiles-b69aa334b8a8f76b769e7a6f79b067e621a1e4ee.tar.gz
dotfiles-b69aa334b8a8f76b769e7a6f79b067e621a1e4ee.tar.bz2
dotfiles-b69aa334b8a8f76b769e7a6f79b067e621a1e4ee.tar.xz
dotfiles-b69aa334b8a8f76b769e7a6f79b067e621a1e4ee.zip
Merge branch 'master' of sleepmap.de:config/dotfiles
* 'master' of sleepmap.de:config/dotfiles: .config/sway/config: Adding screenshot utility via grim.
-rw-r--r--.config/sway/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/sway/config b/.config/sway/config
index cc76e60..a8f6128 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -17,6 +17,7 @@ set $right l
set $term termite
# Your preferred application launcher
set $menu rofi -show drun
+set $screenshot grim ~/Downloads/screenshot-"$(date +'%Y-%m-%d_%H-%M-%S')".png
# lock
set $lock swaylock -f -c 000000
@@ -76,6 +77,9 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
# lock sway
bindsym $mod+Ctrl+s exec $lock
+ # screenshot
+ bindsym $mod+Ctrl+u exec $screenshot
+
# exit sway (logs you out of your wayland session)
bindsym $mod+Ctrl+e exit
# brightness