personal dotfiles: my Hyprland config
Diffstat (limited to '.config/hypr/hyprland.conf')
-rw-r--r--.config/hypr/hyprland.conf13
1 files changed, 6 insertions, 7 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index d731e40..1b0e964 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -108,6 +108,8 @@ gestures {
workspace_swipe = on
workspace_swipe_cancel_ratio = 0.5
workspace_swipe_min_speed_to_force = 5
+ # https://github.com/hyprwm/Hyprland/pull/4489
+ # (not merged yet)
workspace_swipe_touch = 1
workspace_swipe_invert = off
workspace_swipe_forever = on
@@ -120,12 +122,6 @@ misc {
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
}
-# Example per-device config
-# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
-device:epic-mouse-v1 {
- sensitivity = -0.5
-}
-
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
@@ -190,6 +186,7 @@ bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bindi = , XF86AudioRaiseVolume, exec, $menu
+# need a lock screen to avoid triggering this when screen is off.
#bindi = , XF86AudioRaiseVolume, exec, hyprctl dispatch submap menu; $menu; hyprctl dispatch submap reset
bindi = , XF86AudioLowerVolume, exec, pkill -SIGRTMIN -f wvkbd-mobintl & pkill -SIGRTMIN suggpicker
# if someone killed the keyboard, restart it
@@ -199,11 +196,13 @@ bindi =, XF86AudioLowerVolume, execr, pgrep $keyboard || $keyboard $keyboard_arg
bindli = , XF86PowerOff, exec, hyprctl dispatch dpms $(hyprctl -j monitors | jq -r 'first|.dpmsStatus|if . then "off" else "on" end')
# disable input on screen off
bindli = , XF86PowerOff, exec, hyprctl keyword input:touchdevice:enabled $(hyprctl -j getoption input:touchdevice:enabled | jq '.int==0')
-#bind = , XF86PowerOff, exec, $lock
# TODO: lock screen on screen off?
+# need a mobile-friendly lockscreen
+#bind = , XF86PowerOff, exec, $lock
# menu submap
+# need bug fully fixed upstream for this to be useful
submap=menu
bindie=,XF86AudioRaiseVolume,exec,wtype -k up
bindie=, XF86AudioLowerVolume,exec,wtype -k down