feat: Add new configs

This commit is contained in:
2025-04-05 16:32:28 +11:00
parent 4d8c86df3f
commit 23077aa3a5
23 changed files with 239 additions and 51 deletions

View File

@@ -44,6 +44,7 @@ input {
kb_rules =
follow_mouse = 1
numlock_by_default = 1
touchpad {
natural_scroll = yes;
@@ -131,6 +132,19 @@ plugin {
verbose_logging = 0
}
}
plugin {
hyprexpo {
columns = 3
gap_size = 5
bg_col = rgb(111111)
workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1
enable_gesture = true # laptop touchpad
gesture_fingers = 3 # 3 or 4
gesture_distance = 300 # how far is the "max"
gesture_positive = true # positive = swipe down. Negative = swipe up.
}
}
# Example per-device config
@@ -140,15 +154,6 @@ plugin {
# sensitivity = -0.5
# }
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# windowrulev2 = suppressevent maximize, class:.*
# You'll probably like this.
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
@@ -215,7 +220,7 @@ bind = $mainMod SHIFT, 0, movetodesk, 10
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod CTRL, S, movetoworkspace, special:magic
# bindr = $mainMod, SUPER_L, exec, hyprpanel toggleWindow dashboardmenu
bind = $mainMod SHIFT, S, exec, hyprshot -m region
@@ -224,13 +229,15 @@ bind = $mainMod SHIFT, S, exec, hyprshot -m region
# bind = $mainMod, mouse_up, workspace, e-1
# Scroll through existing workspaces with mainMod + TAB and SHIFT + TAB
# bind = $mainMod, TAB, workspace, e+1
# bind = $mainMod SHIFT, TAB, workspace, e-1
bind = $mainMod, TAB, overview:toggle
# bindr = SUPER, SUPER_L, exec, $menu
# Used to use overview:toggle, but that resises the windows
# bind = $mainMod, TAB, overview:toggle
# bind = CTRL ALT, TAB, overview:toggle
bind = $mainMod, TAB, hyprexpo:expo, toggle
bind = CTRL ALT, TAB, hyprexpo:expo, toggle
bind = ALT, TAB, exec, ~/.config/hypr/scripts/search-windows.sh
bind = ALT, TAB, lastdesk
bind = ALT, SPACE, exec, ~/.config/hypr/scripts/search-windows.sh
# bind = ALT SHIFT, TAB, workspace, e-1
# bind = ALT, TAB, exec, hyprswitch gui --mod-key alt --key tab --close mod-key-release --reverse-key=key=shift && hyprswitch dispatch
# bind = ALT SHIFT, TAB, exec, hyprswitch gui --mod-key alt --key tab --close mod-key-release --reverse-key=key=shift && hyprswitch dispatch -r
@@ -255,4 +262,7 @@ bindm = $mainMod, mouse:273, resizewindow
# Mouse wheel tilt
bind = , mouse_left, exec, ydotool key 56:1 105:1 105:0 56:0
bind = , mouse_right, exec, ydotool key 56:1 106:1 106:0 56:0
bind = , mouse_right, exec, ydotool key 56:1 106:1 106:0 56:0
# Gromit for drawing
bind = SUPER CTRL, P, exec, ~/.config/hypr/scripts/gromit.py