53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
# Configure keybinds to start applications
|
|
|
|
# Frequently used programs
|
|
bindsym $mod+Return exec --no-startup-id terminator
|
|
bindsym $mod+Shift+Return exec --no-startup-id urxvt
|
|
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
|
|
bindsym $mod+F6 exec --no-startup-id ~/bin/music_player
|
|
|
|
# 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 urxvt -e bmenu
|
|
|
|
# File Explorer
|
|
bindsym $mod+n --release exec --no-startup-id urxvt -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
|
|
# 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
|
|
|
|
# Screen recording
|
|
bindsym Shift+Print exec --no-startup-id ~/bin/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
|