summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadbeast <sadbeast@sadbeast.com>2020-11-12 12:24:59 -0600
committerSadbeast <sadbeast@sadbeast.com>2020-11-12 12:24:59 -0600
commit28ade48338fcbabb0f445fd2013f9b222942463b (patch)
tree85efbb0d50bd4674eb126d7aef511950d3be59c0
parentc1d18948dcf0074be8294cb86f2f20d954b72df9 (diff)
downloadcfg-28ade48338fcbabb0f445fd2013f9b222942463b.tar.gz
cfg-28ade48338fcbabb0f445fd2013f9b222942463b.tar.bz2
add keybindings for screenshots
-rw-r--r--.config/sway/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/sway/config b/.config/sway/config
index ffe1f3c..0e02320 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -244,6 +244,9 @@ bindsym XF86AudioPrev exec playerctl previous
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
+bindsym $mod+shift+p exec $screenclip
+bindsym $mod+p exec $screenshot
+
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
exec_always ~/.config/waybar/waybar.sh