2021-05-30 19:10:28 +00:00
|
|
|
# launch categorized menu
|
|
|
|
bindsym $mod+z exec --no-startup-id morc_menu
|
|
|
|
|
|
|
|
# switch keyboard input language
|
|
|
|
bindsym $mod+tab exec toggle-kbd-layout
|
|
|
|
|
|
|
|
################################################################################################
|
|
|
|
## sound-section - ##
|
|
|
|
################################################################################################
|
|
|
|
|
|
|
|
bindsym $mod+Ctrl+m exec pavucontrol
|
|
|
|
|
|
|
|
################################################################################################
|
|
|
|
|
|
|
|
# Quickstart application shortcuts
|
|
|
|
bindsym $mod+F1 exec qMasterPassword
|
|
|
|
bindsym $mod+F2 exec firefox
|
|
|
|
bindsym $mod+F3 exec $term -e vifm
|
|
|
|
bindsym $mod+Shift+F3 exec gksu $term -e vifm
|
|
|
|
bindsym $mod+F4 exec nautilus -w
|
2022-01-31 16:09:49 +00:00
|
|
|
bindsym $mod+Shift+F4 exec signal-desktop
|
2021-05-30 19:10:28 +00:00
|
|
|
bindsym $mod+F5 exec $term -e 'mocp -C $XDG_CONFIG_DIR/mocp/config'
|
|
|
|
bindsym $mod+Shift+m exec mu
|
|
|
|
bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
|
|
|
|
|
|
|
|
# Screenshofts
|
|
|
|
bindsym $mod+Ctrl+p exec grim -g "$(slurp -d -b \#ffffff11)" ~/Pictures/Screenshots/$(date +%Y%m%d_%Hh%Mm%Ss)_grim.png
|
|
|
|
bindsym $mod+Shift+p exec grim ~/Pictures/Screenshots/$(date +%Y%m%d_%Hh%Mm%Ss)_grim.png
|
|
|
|
bindsym $mod+Ctrl+f exec "( pkill flameshot || true && flameshot & ) && ( sleep 0.5s && flameshot gui )"
|
|
|
|
|
|
|
|
# Launcher
|
|
|
|
set $menu exec alacritty --class launcher -e env TERMINAL_COMMAND="alacritty -e" sway-launcher
|
|
|
|
bindsym $mod+Space exec $menu
|
|
|
|
|
|
|
|
# Set shut down, restart and locking features
|
2022-01-12 16:39:16 +00:00
|
|
|
set $mode_system (e)xit, (h)ibernate, (r)eboot, (Shift+s)hutdown
|
2021-05-30 19:10:28 +00:00
|
|
|
bindsym $mod+0 mode "$mode_system"
|
|
|
|
mode "$mode_system" {
|
2021-11-29 13:10:21 +00:00
|
|
|
bindsym e exec swaymsg exit, mode "default"
|
2021-05-30 19:10:28 +00:00
|
|
|
bindsym h exec systemctl hibernate, mode "default"
|
|
|
|
bindsym r exec systemctl reboot, mode "default"
|
|
|
|
bindsym Shift+s exec systemctl poweroff, mode "default"
|
|
|
|
|
|
|
|
# exit system mode: "Enter" or "Escape"
|
|
|
|
bindsym Return mode "default"
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
}
|