2020-03-26 18:31:43 +00:00
|
|
|
# Configure keybinds to start applications
|
|
|
|
|
|
|
|
# Frequently used programs
|
|
|
|
bindsym $mod+Return exec --no-startup-id terminator
|
2020-03-26 22:00:53 +00:00
|
|
|
bindsym $mod+Shift+Return exec --no-startup-id urxvt
|
2020-03-26 18:31:43 +00:00
|
|
|
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
|
2020-03-27 18:28:14 +00:00
|
|
|
bindsym $mod+F6 exec --no-startup-id ~/bin/music_player
|
2020-03-26 18:31:43 +00:00
|
|
|
|
|
|
|
# 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
|
2020-03-27 18:25:56 +00:00
|
|
|
bindsym $mod+Ctrl+b exec --no-startup-id urxvt -e bmenu
|
2020-03-26 18:31:43 +00:00
|
|
|
|
|
|
|
# File Explorer
|
2020-03-27 18:25:56 +00:00
|
|
|
bindsym $mod+n --release exec --no-startup-id urxvt -e nnn
|
2020-03-26 18:31:43 +00:00
|
|
|
|
|
|
|
# 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
|
2020-03-26 18:45:54 +00:00
|
|
|
# Selection
|
|
|
|
bindsym Insert exec --no-startup-id maim -s ~/Pictures/$(date +%Y-%m-%d-%s).png
|
|
|
|
# Active Window
|
|
|
|
bindsym $mod+Insert exec --no-startup-id ~/bin/screenshotter.sh
|
|
|
|
# Fullscreen
|
|
|
|
bindsym $mod+Shift+Insert --release exec --no-startup-id maim ~/Pictures/$(date +%Y-%m-%d).png
|
|
|
|
# Selection and Edit
|
|
|
|
bindsym $mod+Ctrl+Insert exec --no-startup-id maim -s ~/Pictures/$(date +%Y-%m-%d).png&& pinta ~/Pictures/$(date +%Y-%m-%d-%s).png
|
2020-03-26 18:31:43 +00:00
|
|
|
|
|
|
|
# Screen recording
|
2020-03-26 18:45:54 +00:00
|
|
|
bindsym Shift+Print exec --no-startup-id ~/bin/screencast2gif.sh
|
2020-03-26 18:31:43 +00:00
|
|
|
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
|