2024-03-08 15:21:36 +00:00
|
|
|
# ╻┏ ┏━╸╻ ╻┏┓ ╻┏┓╻╺┳┓╻┏┓╻┏━╸┏━┓
|
|
|
|
# ┣┻┓┣╸ ┗┳┛┣┻┓┃┃┗┫ ┃┃┃┃┗┫┃╺┓┗━┓
|
|
|
|
# ╹ ╹┗━╸ ╹ ┗━┛╹╹ ╹╺┻┛╹╹ ╹┗━┛┗━┛
|
|
|
|
|
|
|
|
$supMod = SUPER # super key
|
|
|
|
$altMod = ALT # alt key
|
|
|
|
$conMod = CONTROL # control key
|
|
|
|
|
|
|
|
# main binds
|
2024-03-27 06:07:02 +00:00
|
|
|
bind = $supMod, RETURN, exec, kitty # launch a terminal
|
2024-03-08 15:21:36 +00:00
|
|
|
bind = $supMod, q, killactive # kill active window
|
|
|
|
bind = $supMod_$conMod_SHIFT, q, exit # exit the compositor
|
|
|
|
bind = $supMod, b, exec, pkill waybar || waybar # hide/show bar
|
|
|
|
bind = $supMod, f, togglefloating # toggle floating mode
|
2024-03-09 15:36:29 +00:00
|
|
|
bind = $supMod_SHIFT, f, fullscreen, 0 # toggle fullscreen mode
|
2024-03-08 15:21:36 +00:00
|
|
|
|
|
|
|
# focus binds
|
|
|
|
bind = $supMod, k, layoutmsg, cyclenext # focus next window
|
|
|
|
bind = $supMod, j, layoutmsg, cycleprev # focus previous window
|
|
|
|
bind = $supMod_SHIFT, RETURN, layoutmsg, focusmaster # focus master window
|
|
|
|
|
|
|
|
# layout binds
|
|
|
|
bind = $supMod_SHIFT, j, layoutmsg, swapnext # swap window with next
|
|
|
|
bind = $supMod_SHIFT, k, layoutmsg, swapprev # swap window with previous
|
|
|
|
bind = $supMod_$conMod, RETURN, layoutmsg, swapwithmaster # swap window with master
|
|
|
|
bind = $supMod, i, layoutmsg, addmaster # add window to master area
|
|
|
|
bind = $supMod, d, layoutmsg, removemaster # remove window to master area
|
|
|
|
bind = $supMod_SHIFT, l, layoutmsg, orientationnext # shift to next stack orientation
|
|
|
|
bind = $supMod_SHIFT, h, layoutmsg, orientationprev # shift to previous stack orientation
|
|
|
|
bind = $supMod, l, resizeactive, 30 0 # resize master area by a factor of 0.30
|
|
|
|
bind = $supMod, h, resizeactive, -30 0 # resize master area by a factor of -0.30
|
|
|
|
bind = $supMod_$conMod, j, resizeactive, 0 30 # resize active window in the stack by a factor of 0.30
|
|
|
|
bind = $supMod_$conMod, k, resizeactive, 0 -30 # resize active window in the stack by a factor of -0.30
|
|
|
|
bindm = $supMod, mouse:272, movewindow # window movement with mouse
|
|
|
|
bindm = $supMod, mouse:273, resizewindow # window resizing with mouse
|
|
|
|
|
|
|
|
# workspaces binds
|
|
|
|
bind = $supMod, 1, workspace, 1 # switch to workspace 1
|
|
|
|
bind = $supMod, 2, workspace, 2 # switch to workspace 2
|
|
|
|
bind = $supMod, 3, workspace, 3 # switch to workspace 3
|
|
|
|
bind = $supMod, 4, workspace, 4 # switch to workspace 4
|
|
|
|
bind = $supMod, 5, workspace, 5 # switch to workspace 5
|
|
|
|
bind = $supMod, 6, workspace, 6 # switch to workspace 6
|
|
|
|
bind = $supMod, 7, workspace, 7 # switch to workspace 7
|
|
|
|
bind = $supMod, 8, workspace, 8 # switch to workspace 8
|
|
|
|
bind = $supMod, 9, workspace, 9 # switch to workspace 9
|
|
|
|
bind = $supMod, 0, workspace, 10 # switch to workspace 10
|
|
|
|
|
|
|
|
bind = $supMod_SHIFT, 1, movetoworkspace, 1 # move active window to workspace 1
|
|
|
|
bind = $supMod_SHIFT, 2, movetoworkspace, 2 # move active window to workspace 2
|
|
|
|
bind = $supMod_SHIFT, 3, movetoworkspace, 3 # move active window to workspace 3
|
|
|
|
bind = $supMod_SHIFT, 4, movetoworkspace, 4 # move active window to workspace 4
|
|
|
|
bind = $supMod_SHIFT, 5, movetoworkspace, 5 # move active window to workspace 5
|
|
|
|
bind = $supMod_SHIFT, 6, movetoworkspace, 6 # move active window to workspace 6
|
|
|
|
bind = $supMod_SHIFT, 7, movetoworkspace, 7 # move active window to workspace 7
|
|
|
|
bind = $supMod_SHIFT, 8, movetoworkspace, 8 # move active window to workspace 8
|
|
|
|
bind = $supMod_SHIFT, 9, movetoworkspace, 9 # move active window to workspace 9
|
|
|
|
bind = $supMod_SHIFT, 0, movetoworkspace, 10 # move active window to workspace 10
|
|
|
|
|
|
|
|
bind = $supMod, mouse_down, workspace, e+1 # move to next workspace with mouse wheel
|
|
|
|
bind = $supMod, mouse_up, workspace, e-1 # move to previous workspace with mouse wheel
|
|
|
|
|
2024-06-05 21:02:32 +00:00
|
|
|
bind = $supMod, Right, workspace, e+1 # move to next workspace with right cursor key
|
|
|
|
bind = $supMod, Left, workspace, e-1 # move to previous workspace with left cursor key
|
2024-03-08 15:21:36 +00:00
|
|
|
|
2024-06-05 21:02:32 +00:00
|
|
|
bind = $supMod_SHIFT, Right, movetoworkspace, e+1 # move active window to next workspace with right cursor key
|
|
|
|
bind = $supMod_SHIFT, Left, movetoworkspace, e-1 # move active window to previous workspace with left cursor key
|
2024-03-08 15:21:36 +00:00
|
|
|
|
|
|
|
# common binds
|
|
|
|
bindl=, XF86AudioRaiseVolume, exec, pamixer -i 5 # increase volume by 5%
|
|
|
|
bindl=, XF86AudioLowerVolume, exec, pamixer -d 5 # decrease volumy by 5%
|
|
|
|
bindl=, XF86AudioMute, exec, pamixer -t # toggle mute
|
|
|
|
bindl=, XF86AudioMicMute, exec, pamixer --default-source -t # toggle mic mute
|
|
|
|
bindl=, XF86AudioPause, exec, playerctl play-pause # play-pause toggle
|
|
|
|
bindl=, XF86AudioPlay, exec, playerctl play-pause # play-pause toggle
|
|
|
|
bindl=, XF86AudioNext, exec, playerctl next # switch to next media
|
|
|
|
bindl=, XF86AudioPrev, exec, playerctl previous # switch to previous media
|
|
|
|
bindl=, XF86AudioStop, exec, playerctl stop # stop media playback
|
2024-03-27 06:07:02 +00:00
|
|
|
bindl=, XF86News, exec, kitty --class newsboat newsboat # launch news feed reader
|
2024-03-08 15:21:36 +00:00
|
|
|
bindl=, XF86MonBrightnessUp, exec, brightnessctl s 5%+ # increase brightness by 5%
|
|
|
|
bindl=, XF86MonBrightnessDown, exec, brightnessctl s 5%- # decrease brightness by 5%
|
|
|
|
bindl=, XF86Display, exec, wdisplays # launch display configuration utility
|
|
|
|
binde = $supMod_$conMod_SHIFT, p, exec, hyprpicker -n -a # launch color picker
|
|
|
|
|
|
|
|
# run launcher binds
|
2024-03-11 05:55:31 +00:00
|
|
|
binde = $supMod_SHIFT, d, exec, pkill fuzzel || $RUNNER_EX --show drun # launch desktop run launcher
|
|
|
|
binde = $supMod_SHIFT, r, exec, pkill fuzzel || $RUNNER_EX --show run # launch command run launcher
|
|
|
|
binde = $supMod_SHIFT, i, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_wifi # launch wifi configuration utility
|
|
|
|
binde = $supMod_SHIFT, e, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_emoji # launch emoji picker
|
|
|
|
binde = $supMod_SHIFT, c, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_clip # launch clipboard manager
|
|
|
|
binde = $supMod_SHIFT, s, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_scrot # launch screenshot utility
|
|
|
|
binde = $supMod_SHIFT, q, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_power # launch logout/power menu
|
|
|
|
binde = $supMod_SHIFT, b, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_blue # launch bluetooth configuration utility
|
|
|
|
binde = $supMod_SHIFT, m, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_mount # launch drive mounter
|
2024-03-08 15:21:36 +00:00
|
|
|
|
|
|
|
# apps binds
|
2024-06-19 01:20:35 +00:00
|
|
|
binde = $supMod_$altMod, y, exec, kitty --class ytfzf ytfzf -flstT kitty # launch youtube player
|
|
|
|
binde = $supMod_$altMod, m, exec, kitty --class ytfzf_music ytfzf -mlstT kitty # launch youtube music player
|
|
|
|
binde = $supMod_$altMod, f, exec, kitty --class flix_cli flix-cli # launch torrent movie player
|
|
|
|
binde = $supMod_$altMod, a, exec, kitty --class ani_cli ani-cli # launch anime player
|
|
|
|
binde = $supMod_$altMod, b, exec, kitty --class btop btop # launch resource monitor
|
|
|
|
binde = $supMod_$altMod, p, exec, kitty --class pulsemixer pulsemixer # launch audio mixer
|
|
|
|
binde = $supMod_$conMod, f, exec, kitty --class file_manager yazi # launch file manager
|
|
|
|
binde = $supMod_$conMod, e, exec, kitty --class editor lvim # launch text editor
|
|
|
|
binde = $supMod_$conMod, m, exec, kitty --class musikcube musikcube # launch music player
|
|
|
|
binde = $supMod_$conMod, r, exec, kitty --class newsboat newsboat # launch rss feed reader
|
|
|
|
binde = $supMod_$conMod, w, exec, flatpak run org.mozilla.firefox # launch web browser
|
|
|
|
binde = $supMod_$conMod, c, exec, flatpak run org.signal.Signal # launch chat app
|
|
|
|
binde = $supMod_$conMod, p, exec, flatpak run com.bitwarden.desktop # launch password manager
|