dotfiles/home/.config/i3/conf.d/keybinds.conf

47 lines
1.8 KiB
Plaintext
Raw Normal View History

2020-03-26 18:31:43 +00:00
# Configure keybinds to start applications
# Frequently used programs
bindsym $mod+Return exec --no-startup-id terminator
bindsym $mod+F2 exec --no-startup-id google-chrome-stable
bindsym $mod+F3 exec --no-startup-id pcmanfm
bindsym $mod+F4 exec --no-startup-id code
# Help
bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
# Program Launchers
bindsym $mod+z exec --no-startup-id morc_menu
bindsym $mod+d exec --no-startup-id rofi -show run
bindsym $mod+Tab exec --no-startup-id rofi -show window
# Configuration Editor
bindsym $mod+Ctrl+b exec --no-startup-id terminator -e bmenu
# File Explorer
bindsym $mod+n --release exec --no-startup-id terminator -e nnn
# Force Kill program
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
# Kill focused window
bindsym $mod+Shift+q kill
# Lock screen
bindsym $mod+p exec --no-startup-id i3lock-fancy -p
# Toggle visibility of status bar
bindsym $mod+m bar mode toggle
# Screenshots
bindsym Insert exec --no-startup-id maim -s ~/Pictures/$(date +%Y-%m-%d-%s).png #i3-scrot --select '%Y-%m-%d_$wx$h.png' # Selection -- CHange cursor?
bindsym $mod+Insert exec --no-startup-id ~/.i3/screenshotter.sh #i3-scrot -w '%Y-%m-%d_$wx$h.png' # Window
bindsym $mod+Shift+Insert --release exec --no-startup-id maim ~/Pictures/$(date +%Y-%m-%d).png #i3-scrot -d '%Y-%m-%d_$wx$h.png' # Fullscreen
bindsym $mod+Ctrl+Insert exec --no-startup-id maim -s ~/Pictures/$(date +%Y-%m-%d).png&& pinta ~/Pictures/$(date +%Y-%m-%d-%s).png # screenshot and edit
# Screen recording
bindsym Shift+Print exec --no-startup-id ~/.i3/screencast2gif.sh
bindsym Print exec --no-startup-id "ffcast -q $(while slop -q -n -f '-g %g ';do :;done) rec ~/Videos/rec-%si-$(date +%Y-%m-%d-%s).mp4"
bindsym $mod+Print exec --no-startup-id pkill -fxn '(/\S+)*ffmpeg\s.*\sx11grab\s.*'
# End keybind configuration