From d898880d735fc3082ec4e417313a4210b79b7639 Mon Sep 17 00:00:00 2001 From: jason Date: Mon, 20 Apr 2020 12:06:40 -0600 Subject: add flameshot shortcut to i3 --- i3/.config/i3/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index e4e7ea6..6857269 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -10,6 +10,7 @@ # Please see http://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod4 +set $alt Mod1 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. @@ -156,6 +157,7 @@ bindsym $mod+r mode "resize" bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2% bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2% bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle #&& pactl list sinks | grep '^[[:space:]]Volume:' | head -n $(( $( pactl list short sinks | sed -e 's,^\([0-9][0-9]*\)[^0-9].*,\1,' | head -n 1 ) + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,' > $SWAYSOCK.wob + bindsym $alt+Shift+4 exec "flameshot gui" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) -- cgit v1.2.1