|
|
|
|
@@ -2,11 +2,10 @@
|
|
|
|
|
### KEYBINDINGS ###
|
|
|
|
|
###################
|
|
|
|
|
|
|
|
|
|
# See https://wiki.hypr.land/Configuring/Keywords/
|
|
|
|
|
$mainMod = SUPER # Sets "Windows" key as main modifier
|
|
|
|
|
$ipc = qs -c noctalia-shell ipc call
|
|
|
|
|
|
|
|
|
|
# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
|
|
|
|
|
# 1. Basic Binds
|
|
|
|
|
bind = $mainMod, Q, exec, $terminal
|
|
|
|
|
bind = $mainMod, C, killactive,
|
|
|
|
|
bind = $mainMod, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
|
|
|
|
|
@@ -16,29 +15,24 @@ bind = $mainMod, R, exec, $menu
|
|
|
|
|
bind = $mainMod, P, pseudo, # dwindle
|
|
|
|
|
bind = $mainMod, O, togglesplit, # dwindle
|
|
|
|
|
|
|
|
|
|
# Move focus with mainMod + arrow keys
|
|
|
|
|
# bind = $mainMod, left, movefocus, l
|
|
|
|
|
# bind = $mainMod, right, movefocus, r
|
|
|
|
|
# bind = $mainMod, up, movefocus, u
|
|
|
|
|
# bind = $mainMod, down, movefocus, d
|
|
|
|
|
|
|
|
|
|
# 2. moving focus with vim
|
|
|
|
|
bind = $mainMod, H, movefocus, l
|
|
|
|
|
bind = $mainMod, L, movefocus, r
|
|
|
|
|
bind = $mainMod, K, movefocus, u
|
|
|
|
|
bind = $mainMod, J, movefocus, d
|
|
|
|
|
|
|
|
|
|
binde = $mainMod , right, resizeActive, 20 0
|
|
|
|
|
binde = $mainMod , left, resizeActive, -20 0
|
|
|
|
|
binde = $mainMod , up, resizeActive, 0 -20
|
|
|
|
|
binde = $mainMod , down, resizeActive, 0 20
|
|
|
|
|
|
|
|
|
|
bind = $mainMod SHIFT, H, moveWindow, l
|
|
|
|
|
bind = $mainMod SHIFT, L, moveWindow, r
|
|
|
|
|
bind = $mainMod SHIFT, K, moveWindow, u
|
|
|
|
|
bind = $mainMod SHIFT, J, moveWindow, d
|
|
|
|
|
|
|
|
|
|
# 3. resize with arrows
|
|
|
|
|
binde = $mainMod , right, resizeActive, 20 0
|
|
|
|
|
binde = $mainMod , left, resizeActive, -20 0
|
|
|
|
|
binde = $mainMod , up, resizeActive, 0 -20
|
|
|
|
|
binde = $mainMod , down, resizeActive, 0 20
|
|
|
|
|
|
|
|
|
|
# Switch workspaces with mainMod + [0-9]
|
|
|
|
|
# 4. Switch workspaces with mainMod + [0-9]
|
|
|
|
|
bind = $mainMod, 1, workspace, 1
|
|
|
|
|
bind = $mainMod, 2, workspace, 2
|
|
|
|
|
bind = $mainMod, 3, workspace, 3
|
|
|
|
|
@@ -50,7 +44,7 @@ bind = $mainMod, 8, workspace, 8
|
|
|
|
|
bind = $mainMod, 9, workspace, 9
|
|
|
|
|
bind = $mainMod, 0, workspace, 10
|
|
|
|
|
|
|
|
|
|
# Move actihe window to a workspace with mainMod + SHIFT + [0-9]
|
|
|
|
|
# 5. Move actihe window to a workspace with mainMod + SHIFT + [0-9]
|
|
|
|
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
|
|
|
|
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
|
|
|
|
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
|
|
|
|
@@ -62,21 +56,21 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
|
|
|
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
|
|
|
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
|
|
|
|
|
|
|
|
|
# Example special workspace (scratchpad)
|
|
|
|
|
# 6. special workspace (scratchpad)
|
|
|
|
|
bind = $mainMod, S, togglespecialworkspace, magic
|
|
|
|
|
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
|
|
|
|
|
|
|
|
|
#Workspaces
|
|
|
|
|
# 7. Other Workspace tools
|
|
|
|
|
bind = $mainMod, mouse_down, workspace, e+1
|
|
|
|
|
bind = $mainMod, mouse_up, workspace, e-1
|
|
|
|
|
bind = SUPER, mouse_down, workspace, e-1
|
|
|
|
|
bind = ALT, TAB, workspace, e+1 # alt-tab switch workspace
|
|
|
|
|
|
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
|
|
|
# 8. Move/resize windows with mainMod + LMB/RMB and dragging
|
|
|
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
|
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
|
|
|
# bind = $mainMod, [, resizewindow+1
|
|
|
|
|
|
|
|
|
|
# Laptop multimedia keys for volume and LCD brightness
|
|
|
|
|
# 9. Laptop multimedia keys for volume and LCD brightness
|
|
|
|
|
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
|
|
|
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
|
|
|
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
|
|
|
@@ -90,14 +84,9 @@ bindl = , XF86AudioPause, exec, playerctl play-pause
|
|
|
|
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|
|
|
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
|
|
|
|
|
|
|
|
|
#Shell
|
|
|
|
|
bind = $mainMod, B, exec, killall -SIGUSR1 waybar # toggles the bar
|
|
|
|
|
bind = $mainMod, W, exec, killall -SIGUSR2 waybar # reloads the bar
|
|
|
|
|
bind = ALT, TAB, workspace, e+1 # alt-tab switch workspace
|
|
|
|
|
bind = ALT, SPACE, exec, $menu
|
|
|
|
|
bind = ALT_R, L, exec, $ipc lockScreen lock
|
|
|
|
|
|
|
|
|
|
# Applications and shortcuts
|
|
|
|
|
# 10. Applications and shortcuts
|
|
|
|
|
bindr = SUPER, SUPER_L, exec, $menu
|
|
|
|
|
bind = $mainMod, D, exec, vesktop
|
|
|
|
|
# bind = $mainMod, N, exec, nvim ~/.config/hypr/hyprland.conf
|
|
|
|
|
bind = $mainMod, F, exec, firefox
|
|
|
|
|
@@ -107,8 +96,10 @@ bind = $mainMod, SPACE, exec, playerctl play-pause
|
|
|
|
|
# bind = FUNCTION, L, exec, command, qs noctalia-shell ipc call lockScreen lock
|
|
|
|
|
bind = ALT_L, C, exec, $ipc plugin:clipper openPanel
|
|
|
|
|
bind = ,code:148, exec, kitty --class calc-term -o "confirm_os_window_close 0" /home/venus/.cargo/bin/mathypad
|
|
|
|
|
bind = $mainMod, T, exec, notify-send "$(/home/venus/.config/hypr/scripts/getIp.sh)"
|
|
|
|
|
bind = $mainMod, T, exec, kdeconnect-app
|
|
|
|
|
|
|
|
|
|
#hande lid switch
|
|
|
|
|
# 11. hande lid switch
|
|
|
|
|
# bindl = , switch:Lid Switch, exec, s$ipc lockScreen lock
|
|
|
|
|
#Plugin shortcuts
|
|
|
|
|
# This will toggle HyprExpo when SUPER+g is pressed
|
|
|
|
|
@@ -116,42 +107,37 @@ bind = ,code:148, exec, kitty --class calc-term -o "confirm_os_window_close 0" /
|
|
|
|
|
# gesture = 3, vertical, hyprexpo:expo, on
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### quick access to controls submap
|
|
|
|
|
# 12. quick access to controls submap
|
|
|
|
|
bind = $mainMod, comma, exec, $ipc controlCenter toggle
|
|
|
|
|
bind = $mainMod, period, exec, $ipc settings toggle
|
|
|
|
|
bind = , PRINT, exec, hyprshot -m window --output-folder ~/screenshots
|
|
|
|
|
|
|
|
|
|
bind = ALT, M, submap, quick-settings
|
|
|
|
|
|
|
|
|
|
submap = quick-settings
|
|
|
|
|
|
|
|
|
|
bind = , S, exec, $ipc settings toggle
|
|
|
|
|
bind = , C, exec, $ipc plugin:clipper togglePanel
|
|
|
|
|
bind = , P, exec, $ipc sessionMenu toggle
|
|
|
|
|
bind = ALT, L, exec, $ipc sessionMenu toggle
|
|
|
|
|
bind = , T, exec, $ipc systemMonitor toggle
|
|
|
|
|
bind = , M, exec, $ipc controlCenter toggle
|
|
|
|
|
bind = , D, exec, $ipc notifications toggleDND
|
|
|
|
|
bind = , N, exec, $ipc notifications toggleHistory
|
|
|
|
|
# To Do bind clear and dnd toggles inside this shell
|
|
|
|
|
bind = SHIFT, B, exec, $ipc bar toggle
|
|
|
|
|
bind = , P, exec, $ipc wallpaper toggle
|
|
|
|
|
bind = SHIFT, T, exec, $ipc plugin:Catwalk togglePanel
|
|
|
|
|
bind = , B, exec, $ipc bluetooth togglePanel
|
|
|
|
|
# To Do add submenu for bt
|
|
|
|
|
bind = , W, exec, $ipc network togglePanel # toggle network panel
|
|
|
|
|
bind = SHIFT, W, exec, $ipc wifi toggle # toggle wifi
|
|
|
|
|
bind = ALT, B, exec, $ipc battery togglePanel # toggle battery panel
|
|
|
|
|
bind = ALT, C, exec, $ipc calendar toggle
|
|
|
|
|
|
|
|
|
|
# bind = , O, exec, $ipc launcher windows
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bind = ALT, M, submap, reset
|
|
|
|
|
bind = , escape, submap, reset
|
|
|
|
|
|
|
|
|
|
submap = quick-settings, reset
|
|
|
|
|
bind = , S, exec, $ipc settings toggle
|
|
|
|
|
bind = , C, exec, $ipc plugin:clipper togglePanel
|
|
|
|
|
bind = , P, exec, $ipc sessionMenu toggle
|
|
|
|
|
bind = ALT, L, exec, $ipc sessionMenu toggle
|
|
|
|
|
bind = , T, exec, $ipc systemMonitor toggle
|
|
|
|
|
bind = , M, exec, $ipc controlCenter toggle
|
|
|
|
|
bind = , D, exec, $ipc notifications toggleDND
|
|
|
|
|
bind = , N, exec, $ipc notifications toggleHistory
|
|
|
|
|
# To Do bind clear and dnd toggles inside this shell
|
|
|
|
|
bind = SHIFT, B, exec, $ipc bar toggle
|
|
|
|
|
bind = , P, exec, $ipc wallpaper toggle
|
|
|
|
|
bind = , B, exec, $ipc bluetooth togglePanel
|
|
|
|
|
# To Do add submenu for bt
|
|
|
|
|
bind = , W, exec, $ipc network togglePanel # toggle network panel
|
|
|
|
|
bind = SHIFT, W, exec, $ipc wifi toggle # toggle wifi
|
|
|
|
|
bind = ALT, B, exec, $ipc battery togglePanel # toggle battery panel
|
|
|
|
|
bind = ALT, C, exec, $ipc calendar toggle
|
|
|
|
|
submap = reset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 13. Misc tools.
|
|
|
|
|
bind = ALT, SPACE, exec, $menu
|
|
|
|
|
bind = ALT_R, L, exec, $ipc lockScreen lock
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|