Added screenshot mode
This commit is contained in:
parent
ba4b779a39
commit
c6e020d1b4
1
i3-scrot.conf
Normal file
1
i3-scrot.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
scrot_dir=/home/julian/Pictures
|
11
i3/config
11
i3/config
@ -225,6 +225,17 @@ mode "$mode_system" {
|
|||||||
}
|
}
|
||||||
bindsym $mod+Shift+e mode "$mode_system"
|
bindsym $mod+Shift+e mode "$mode_system"
|
||||||
|
|
||||||
|
set $mode_screenshot Screenshot (w) Active window, (s) Selection
|
||||||
|
mode "$mode_screenshot" {
|
||||||
|
bindsym w exec --no-startup-id "i3-scrot -w", mode "default"
|
||||||
|
bindsym s exec --no-startup-id "flameshot gui", mode "default"
|
||||||
|
bindsym Return exec --no-startup-id "flameshot gui", mode "default"
|
||||||
|
|
||||||
|
# back to normal: Escape
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+Print mode "$mode_screenshot"
|
||||||
|
|
||||||
bindsym $mod+Ctrl+Right move workspace to output right
|
bindsym $mod+Ctrl+Right move workspace to output right
|
||||||
bindsym $mod+Ctrl+Left move workspace to output right
|
bindsym $mod+Ctrl+Left move workspace to output right
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user