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
|
2021-01-17 23:42:48 +00:00
|
|
|
bindsym $mod+F2 exec --no-startup-id firefox
|
2020-03-26 18:31:43 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2021-01-11 21:23:34 +00:00
|
|
|
# music player control
|
|
|
|
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
|
|
|
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
|
|
|
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
|
|
|
|
2020-03-26 18:31:43 +00:00
|
|
|
# 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
|
2021-01-11 22:56:28 +00:00
|
|
|
bindsym $mod+Ctrl+Insert exec --no-startup-id maim -s ~/Pictures/$(date +%Y-%m-%d-%M).png&& pinta ~/Pictures/$(date +%Y-%m-%d-%M).png
|
2020-03-26 18:31:43 +00:00
|
|
|
|
|
|
|
# End keybind configuration
|