update config
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
plugins = [
|
||||
"horriblename/hyprland-touch-gestures",
|
||||
# Installs the plugin from https://github.com/Duckonaut/split-monitor-workspaces
|
||||
"Duckonaut/split-monitor-workspaces",
|
||||
# A more explicit definition of the git install
|
||||
{ git = "https://github.com/Duckonaut/split-monitor-workspaces", branch = "main", name = "split-monitor-workspaces" },
|
||||
# Installs the same plugin from a local folder
|
||||
{ local = "/home/duckonaut/repos/split-monitor-workspaces" },
|
||||
"zakk4223/hyprNStack",
|
||||
"zakk4223/hyprRiver",
|
||||
"VortexCoyote/hyprfocus",
|
||||
"ItsDrike/hyprland-dwindle-autogroup",
|
||||
"outfoxxed/hy3",
|
||||
"horriblename/hyprland-touch-gestures",
|
||||
"Duckonaut/split-monitor-workspaces",
|
||||
]
|
||||
|
||||
@@ -7,8 +7,10 @@ swww init
|
||||
THEMEIS=$(readlink -f ~/.config/waybar/style.css | cut -d '-' -f2)
|
||||
|
||||
#show the correct wallpapper based on the theme
|
||||
if [ $THEMEIS == "dark.css" ]; then
|
||||
swww img -o DP-2 ~/.config/hypr/wallpaper-dark.jpg
|
||||
else
|
||||
swww img -o DP-2 ~/.config/hypr/wallpaper.jpg
|
||||
fi
|
||||
#if [ $THEMEIS == "dark.css" ]; then
|
||||
# swww img -o DP-2 ~/.config/hypr/wallpaper-dark.jpg
|
||||
#else
|
||||
# swww img -o DP-2 ~/.config/hypr/wallpaper.jpg
|
||||
#fi
|
||||
|
||||
swww img -o DP-2 ~/.config/hypr/wallpaper-dark.jpg
|
||||
|
||||
14
dotfiles/config/hypr/scripts/gamemode.sh
Executable file
14
dotfiles/config/hypr/scripts/gamemode.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env sh
|
||||
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==2{print $2}')
|
||||
if [ "$HYPRGAMEMODE" = 1 ] ; then
|
||||
hyprctl --batch "\
|
||||
keyword animations:enabled 0;\
|
||||
keyword decoration:drop_shadow 0;\
|
||||
keyword decoration:blur 0;\
|
||||
keyword general:gaps_in 0;\
|
||||
keyword general:gaps_out 0;\
|
||||
keyword general:border_size 1;\
|
||||
keyword decoration:rounding 0"
|
||||
exit
|
||||
fi
|
||||
hyprctl reload
|
||||
Reference in New Issue
Block a user