mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 17:53:17 +01:00
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:
parent
a772d0e164
commit
986df40078
@ -43,10 +43,6 @@ in
|
|||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
plugins = with pkgs.hyprlandPlugins; [
|
|
||||||
hyprgrass
|
|
||||||
];
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
env = [
|
env = [
|
||||||
"BROWSER,librewolf"
|
"BROWSER,librewolf"
|
||||||
@ -81,7 +77,6 @@ in
|
|||||||
"hyprctl dispatch workspace 5000000"
|
"hyprctl dispatch workspace 5000000"
|
||||||
"${polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
|
"${polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
|
||||||
"hyprdim --no-dim-when-only --persist --ignore-leaving-special --dialog-dim"
|
"hyprdim --no-dim-when-only --persist --ignore-leaving-special --dialog-dim"
|
||||||
"wvkbd-mobintl"
|
|
||||||
"sleep 1 && eww open desktop-icons"
|
"sleep 1 && eww open desktop-icons"
|
||||||
"~/.config/${randomBackgroundScript}"
|
"~/.config/${randomBackgroundScript}"
|
||||||
];
|
];
|
||||||
@ -149,11 +144,6 @@ in
|
|||||||
|
|
||||||
gestures = {
|
gestures = {
|
||||||
workspace_swipe = true;
|
workspace_swipe = true;
|
||||||
workspace_swipe_cancel_ratio = 0.15;
|
|
||||||
};
|
|
||||||
|
|
||||||
cursor = {
|
|
||||||
hide_on_touch = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
device = [
|
device = [
|
||||||
@ -175,13 +165,6 @@ in
|
|||||||
allow_workspace_cycles = true;
|
allow_workspace_cycles = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
plugin = {
|
|
||||||
touch_gestures = {
|
|
||||||
sensitivity = 4.0;
|
|
||||||
workspace_swipe_edge = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
layerrule = [
|
layerrule = [
|
||||||
"blur,ironbar"
|
"blur,ironbar"
|
||||||
"blur,rofi"
|
"blur,rofi"
|
||||||
@ -265,25 +248,11 @@ in
|
|||||||
|
|
||||||
"${super}, mouse_down, workspace, e+1"
|
"${super}, mouse_down, workspace, e+1"
|
||||||
"${super}, mouse_up, 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 = [
|
bindm = [
|
||||||
"${super}, mouse:272, movewindow"
|
"${super}, mouse:272, movewindow"
|
||||||
"${super}, mouse:273, resizewindow"
|
"${super}, mouse:273, resizewindow"
|
||||||
", longpress:3, movewindow"
|
|
||||||
", longpress:4, resizewindow"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
bindl = [
|
bindl = [
|
||||||
|
Loading…
Reference in New Issue
Block a user