hyprland: Remove touch-specific stuff

Will stop trying to make Hyprland work on mobile devices due to all the
issues with it for now.

For future reference, some issues include:

- Touch events not registering as touches, thus breaking applications
  that have touch support like LibreWolf with FriendlyFox.
- OSK support in general being not there yet with the best keyboard
  Squeekboard not working and wvkbd not being comfy enough to use.
- Screen size in general being small already so having multiple apps
  side-by-side is mostly useless, especially when the OSK interferes
  with this as well.
This commit is contained in:
Donovan Glover 2024-07-15 12:04:39 -04:00
parent a772d0e164
commit 986df40078
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -43,10 +43,6 @@ in
wayland.windowManager.hyprland = {
enable = true;
plugins = with pkgs.hyprlandPlugins; [
hyprgrass
];
settings = {
env = [
"BROWSER,librewolf"
@ -81,7 +77,6 @@ in
"hyprctl dispatch workspace 5000000"
"${polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
"hyprdim --no-dim-when-only --persist --ignore-leaving-special --dialog-dim"
"wvkbd-mobintl"
"sleep 1 && eww open desktop-icons"
"~/.config/${randomBackgroundScript}"
];
@ -149,11 +144,6 @@ in
gestures = {
workspace_swipe = true;
workspace_swipe_cancel_ratio = 0.15;
};
cursor = {
hide_on_touch = true;
};
device = [
@ -175,13 +165,6 @@ in
allow_workspace_cycles = true;
};
plugin = {
touch_gestures = {
sensitivity = 4.0;
workspace_swipe_edge = false;
};
};
layerrule = [
"blur,ironbar"
"blur,rofi"
@ -265,25 +248,11 @@ in
"${super}, mouse_down, workspace, e+1"
"${super}, mouse_up, workspace, e-1"
'', edge:d:u, exec, kill -34 "$(pgrep -x "wvkbd-mobintl")" || wvkbd-mobintl''
", edge:u:d, exec, kgx"
", edge:r:l, exec, hyprnome"
", edge:l:r, exec, hyprnome -p"
", swipe:3:lu, exec, chatty"
", swipe:3:ru, exec, gnome-calls"
", swipe:3:ld, exec, gnome-contacts"
", swipe:3:rd, exec, gnome-control-center"
", swipe:4:d, killactive"
", swipe:4:u, exec, librewolf"
'', tap:3, exec, kill -34 "$(pgrep -x "wvkbd-mobintl")" || wvkbd-mobintl''
];
bindm = [
"${super}, mouse:272, movewindow"
"${super}, mouse:273, resizewindow"
", longpress:3, movewindow"
", longpress:4, resizewindow"
];
bindl = [