many changes

This commit is contained in:
venus
2026-03-10 18:57:53 -05:00
parent 41d8a006e3
commit fe53daba15
8 changed files with 258 additions and 52 deletions

View File

@@ -1,5 +1,4 @@
###################
### KEYBINDINGS ###
#, # KEYBINDINGS ###
###################
$mainMod = SUPER # Sets "Windows" key as main modifier
@@ -7,13 +6,17 @@ $ipc = qs -c noctalia-shell ipc call
# 1. Basic Binds
bind = $mainMod, Q, exec, $terminal
bind = ALT, Q, exec, $terminal --class popup-term
bind = $mainMod, W, exec, $terminal --class popup-term
bind = $mainMod, C, killactive,
bind = $mainMod SHIFT CTRL, 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
bind = $mainMod, BACKSLASH, togglesplit # dwindle
bind = $mainMod SHIFT,BACKSLASH, pseudo #
bind = $mainMod, KEY_LEFTBRACE, exec, hyprctl general:layout master
# 2. moving focus with vim
bind = $mainMod, H, movefocus, l
@@ -26,11 +29,28 @@ bind = $mainMod SHIFT, L, moveWindow, r
bind = $mainMod SHIFT, K, moveWindow, u
bind = $mainMod SHIFT, J, moveWindow, d
bind = $mainMod, mouse_up, workspace, m-1
bind = $mainMod, mouse_down, workspace, m-1
bind = $mainMod SHIFT , mouse_up, workspace, e-1
bind = $mainMod SHIFT , mouse_down, workspace, e-1
bind = $mainMod CTRL, right, workspace, m+1 # alt-tab switch workspace
bind = $mainMod CTRL, left, workspace, m-1 # alt-tab switch workspace
bind = CTRL, SPACE, focuscurrentorlast
# bind = $mainMod, TAB, focusmonitor, +1
# bind = $mainMod SHIFT, TAB, focusmonitor, -1
# bind = ALT, TAB, hyprexpo:expo, toggle
# bind = ALT, TAB, overview:toggle, all
# 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
binde = $mainMod, right, resizeActive, 20 0
binde = $mainMod, left, resizeActive, -20 0
binde = $mainMod, up, resizeActive, 0 -20
binde = $mainMod, down, resizeActive, 0 20
# 4. Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
@@ -60,12 +80,12 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# 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
bind = $mainMod, B, togglespecialworkspace, magic2
bind = $mainMod SHIFT, B, movetoworkspace, special:book
bind = $mainMod, D, togglespecialworkspace, discord
# 7. Other Workspace tools
# 8. Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
@@ -83,10 +103,11 @@ bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
bind = ALT, mouse:274, exec, playerctl play-pause
# 10. Applications and shortcuts
bindr = SUPER, SUPER_L, exec, $menu
# bindr = SUPER, SUPER_L, exec, $menu
bind = $mainMod, D, exec, vesktop
bind = $mainMod, N, exec, protonvpn-app
bind = $mainMod, F, exec, firefox
@@ -96,36 +117,50 @@ 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 = SUPER, escape, exec, kitty --class btop -o "confirm_os_window_close 0" /usr/bin/btop
bind = CTRL,SHIFT ESCAPE, exec, btop++
bind = $mainMod, T, exec, notify-send "$(/home/venus/.config/hypr/scripts/getIp.sh)"
bind = $mainMod, T, exec, kdeconnect-app
# Change background opacity of terminal window
# bind = $mainMod ALT, k, exec,kitty +kitten @ set-background-opacity -a 1
# 11. 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
### GESTURES
# gesture = 3, up, dispatcher, hyprexpo:expo
# gesture = 3, pinch, special, magic
gesture = 3, down, special, magic
# gesture = 3, up, dispatcher, overview:toggle
# 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 = , PRINT, exec, hyprshot -m active -m window --output-folder ~/screenshot
bind = SHIFT, PRINT, exec, hyprshot -m region --output-folder ~/screenshots
bind = ALT, PRINT, exec, hyprshot -m active -m output --output-folder ~/screenshots
bind = ALT, M, exec, $ipc controlCenter Toggle
bind = ALT, M, submap, quick-settings
bind = $mainMod, M, exec, $ipc controlCenter toggle #& hyprctl dispatch submap quick-settings
bind = $mainMod, M, submap, quick-settings
bind = $mainMod, O, submap, open-apps
submap = quick-settings, reset
bind = , V, submap, vpn
bind = , V, exec, protonvpn-app & hyprctl dispatch submap vpn
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 = $mainMod, 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 & hyprctl dispatch submap notifications-sub
# bind = , L, exec, notify-send "layout switching" & hyprctl dispatch submap layouts
bind = , L, submap, layouts
# To Do bind clear and dnd toggles inside this shell
bind = SHIFT, B, exec, $ipc bar toggle
bind = , P, exec, $ipc wallpaper toggle
@@ -133,8 +168,8 @@ submap = quick-settings, reset
# To Do add submenu for bt
bind = , W, exec, $ipc network togglePanel & hyprctl dispatch submap wifi-sub
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 = $mainMod, B, exec, $ipc battery togglePanel # toggle battery panel
bind = $mainMod, C, exec, $ipc calendar toggle
bind = , E, exec, nvim /home/venus/.config/hypr/basic/keybinds
submap = reset
@@ -151,6 +186,7 @@ submap = wifi-sub
bind = , S, $call togglePanel
bind = , D, $call disable
bind = , E, $call enable
bind = , R, exec, sudo systemctl restart iwd
bind = , escape, submap, reset
submap = reset
@@ -163,9 +199,6 @@ submap = bt-sub
bind = , escape, submap, reset
submap = reset
submap = vpn
$call = exec, protonvpn
bind = , O, $call-app
@@ -187,6 +220,11 @@ submap = open-apps, reset
bind = , catchall, submap, reset
submap = reset
submap = layouts, reset
bind = , D, exec, hyprctl general:layout dwindle
bind = , M, exec, hyprctl general:layout master
submap = reset
# 13. Misc tools.
bind = ALT, SPACE, exec, $menu