aboutsummaryrefslogtreecommitdiffstats
path: root/.config/sway
diff options
context:
space:
mode:
authorDavid Runge <david.runge@native-instruments.de>2019-04-23 12:51:08 +0200
committerDavid Runge <david.runge@native-instruments.de>2019-04-23 12:51:08 +0200
commit34ecf77169d7fc3eeff6e71c82c4e9c5943f13b0 (patch)
tree3d9ea9b8416a45c0d63e14641883a35f88bdb4f5 /.config/sway
parenta77e9357ad9d42b2ae8c3a09b388174aa2b77af7 (diff)
downloaddotfiles-34ecf77169d7fc3eeff6e71c82c4e9c5943f13b0.tar.gz
dotfiles-34ecf77169d7fc3eeff6e71c82c4e9c5943f13b0.tar.bz2
dotfiles-34ecf77169d7fc3eeff6e71c82c4e9c5943f13b0.tar.xz
dotfiles-34ecf77169d7fc3eeff6e71c82c4e9c5943f13b0.zip
.config/sway/config: Adding screenshot utility via grim.
Diffstat (limited to '.config/sway')
-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