added notification accompanyment to a couple i3 shortcuts.
This commit is contained in:
parent
87d03359bd
commit
6cf5225471
|
@ -192,16 +192,16 @@ font pango:DejaVu Sans Mono 8
|
||||||
bindsym $mod+control+minus exec --no-startup-id "xbacklight -dec 10; notify-send --expire-time=500 Brightness\ $(xbacklight -get | cut --delimiter=. -f 1)"
|
bindsym $mod+control+minus exec --no-startup-id "xbacklight -dec 10; notify-send --expire-time=500 Brightness\ $(xbacklight -get | cut --delimiter=. -f 1)"
|
||||||
|
|
||||||
#screenshot everything with mod+s, current window with mod+shift+s
|
#screenshot everything with mod+s, current window with mod+shift+s
|
||||||
bindsym $mod+s exec --no-startup-id "maim ~/Pictures/$(date +%s).png"
|
bindsym $mod+s exec --no-startup-id "maim ~/Pictures/$(date +%s).png; notify-send --expire-time=1000 'Whole-desktop screenshot taken'"
|
||||||
bindsym $mod+shift+s exec --no-startup-id "maim -i $(xdotool getactivewindow) ~/Pictures/$(date +%s).png"
|
bindsym $mod+shift+s exec --no-startup-id "maim -i $(xdotool getactivewindow) ~/Pictures/$(date +%s).png; notify-send --expire-time=1000 'Window screenshot taken'"
|
||||||
|
|
||||||
#colour picker with xcolor
|
#colour picker with xcolor
|
||||||
bindsym --release $mod+c exec --no-startup-id "xcolor -s"
|
bindsym --release $mod+c exec --no-startup-id "xcolor -s"
|
||||||
|
|
||||||
#mpd controls
|
#mpd controls
|
||||||
bindsym $mod+mod1+p exec --no-startup-id "mpc toggle"
|
bindsym $mod+mod1+p exec --no-startup-id "mpc toggle"
|
||||||
bindsym $mod+mod1+plus exec --no-startup-id "mpc volume +1"
|
bindsym $mod+mod1+plus exec --no-startup-id "mpc volume +1; notify-send --expire-time=1000 $(mpc volume)"
|
||||||
bindsym $mod+mod1+minus exec --no-startup-id "mpc volume -1"
|
bindsym $mod+mod1+minus exec --no-startup-id "mpc volume -1; notify-send --expire-time=1000 $(mpc volume)"
|
||||||
|
|
||||||
#open volume control
|
#open volume control
|
||||||
bindsym $mod+shift+p exec pavucontrol
|
bindsym $mod+shift+p exec pavucontrol
|
||||||
|
|
Loading…
Reference in a new issue