################### ### 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 bind = $mainMod, Q, exec, $terminal bind = $mainMod, C, killactive, bind = $mainMod, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, 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 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 # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 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] bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic #Workspaces bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 bind = SUPER, mouse_down, workspace, e-1 # 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 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 bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+ bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%- # Requires playerctl bindl = , XF86AudioNext, exec, playerctl next 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 bind = $mainMod, D, exec, vesktop # bind = $mainMod, N, exec, nvim ~/.config/hypr/hyprland.conf bind = $mainMod, F, exec, firefox bind = $mainMod SHIFT, F, exec, qutebrowser bind = $mainMod SHIFT, Q, exec, qutebrowser 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 #hande lid switch # bindl = , switch:Lid Switch, exec, s$ipc lockScreen lock #Plugin shortcuts # This will toggle HyprExpo when SUPER+g is pressed # bind = SUPER, g, hyprexpo:expo, toggle # gesture = 3, vertical, hyprexpo:expo, on ### 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 = reset