update config

This commit is contained in:
lostecho
2023-07-14 18:15:31 +08:00
parent e63470c4e7
commit d663ff61d0
16 changed files with 632 additions and 253 deletions

View File

@@ -55,10 +55,15 @@ input {
follow_mouse = 1
touchpad {
disable_while_typing = yes
natural_scroll = yes
tap-to-click = yes
#scroll_factor = 1
#middle_button_emulaton = yes
#tap_buttom_map = lrm
#clickfinger_behavior = false
tap-to-click = yes
drag_lock = yes
scroll_factor = 0.3
scroll_factor = 1
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
@@ -82,6 +87,7 @@ misc {
focus_on_activate = yes
animate_manual_resizes = yes
animate_mouse_windowdragging = no
suppress_portal_warnings = yes
}
@@ -133,7 +139,15 @@ master {
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = yes
workspace_swipe_fingers = 3
workspace_swipe_fingers = 4
#workspace_swipe_distance = 300
#workspace_swipe_invert = true
#workspace_swipe_min_speed_to_force = 30
workspace_swipe_cancel_ratio = 0.15
#workspace_swipe_create_new = true
#workspace_swipe_forever = false
#workspace_swipe_numbered = false
#workspace_swipe_use_r = false
}
# Example per-device config
@@ -146,6 +160,33 @@ device:apple-inc.-magic-trackpad-1 {
#middle_button_emulation=0
}
plugin {
hyprload {
quiet = true
}
touch_gestures {
# default sensitivity is probably too low on tablet screens,
# I recommend turning it up to 4.0
sensitivity = 4.0
workspace_swipe_fingers = 3
}
hyprbars {
# config
buttons {
# button config
}
}
borders-plus-plus {
#add_borders = 1 # 0 - 2
#col.border_1 = rgb(ffffff) # example col for border 1
#col.border_2 = rgb(2222ff) # example col for border 2
}
}
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
@@ -170,13 +211,14 @@ $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, kitty
bind = $mainMod, R, exec, pkill wofi; wofi --show drun
bind = $mainMod, E, exec, dolphin
bind = $mainMod, E, exec, thunar
bind = $mainMod, O, exec, obsidian
bind = $mainMod, P, exec, logseq
bind = $mainMod, L, exec, swaylock # Lock the screen
bind = $mainMod, G, exec, google-chrome-stable
bind = $mainMod, C, killactive,
bind = $mainMod, M, exec, wlogout --protocol layer-shell # show the logout window
bind = $mainMod, M, exec, nwg-bar
#bind = $mainMod, M, exec, wlogout --protocol layer-shell # show the logout window
bind = $mainMod, W, exec, google-chrome-stable --profile-directory=Default --app-id=magamgmomalmppfcmkgppgboggkfiphd
# bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
# bind = $mainMod, U, exec, grim -g "$(slurp)" - | wl-copy
@@ -188,6 +230,7 @@ bind = $mainMod SHIFT, I, pseudo, # dwindle
bind = $mainMod SHIFT, J, togglesplit, # dwindle
bind = $mainMod, Space, fullscreen
bind = $mainMod SHIFT, M, exit,
bind = $mainMod, F1, exec, ~/.config/hypr/scripts/gamemode.sh
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l