Comments (6)
I got the same error on arch Linux, so this shouldn't just be nix related
from hyprgrass.
someone give me confirmation on whether or not the latest commit works
from hyprgrass.
This is compiling now (which did not work yesterday, with the above error):
# flake.nix
...
inputs = {
hyprland.url = "github:hyprwm/Hyprland";
hyprgrass = {
url = "github:horriblename/hyprgrass";
inputs.hyprland.follows = "hyprland"; # IMPORTANT
};
}
------
# hyprland.nix
{ config, inputs, pkgs, ... }:
{
wayland.windowManager.hyprland = {
...
plugins = [
inputs.hyprgrass.packages.${pkgs.system}.default
];
#package = inputs.hyprland.packages.${pkgs.system}.hyprland;
};
}
Just dont know how to actually get it working as a plugin on nixos since I just switched operating system, but that is a user problem I guess.
Edit (just for giving some information):
The following work on my device: bind = , swipe:4:d, killactive; bind = , edge:r:l, workspace, +1
But the three finger workspace swipe crashes hyprland:
Process 73193 (.Hyprland-wrapp) of user 1000 dumped core.
Stack trace of thread 73193:
#0 0x00007fb788064291 _ZN14GestureManager20handleWorkspaceSwipeEj (libhyprgrass.so + 0x2b291)
#1 0x00007fb78806765b _ZN14GestureManager17handleDragGestureERK11DragGesture (libhyprgrass.so + 0x2e65b)
This could, however, just be some missing drivers on my device, or a version mismatch. xdg-desktop-portal-hyprland is running.
Plugin hyprgrass by horriblename:
Handle: 2d61e60
Version: 0.6
Description: Touchscreen gestures
Hyprland (flake.lock):
"locked": {
"lastModified": 1712288444,
"narHash": "sha256-UzfzS/4vGyeowWW9gYvAq3mj4MOzC2I7a9XRqsCKED4=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "baad44b4ca28d62fb9d86ed1f83650b6695b501d",
"type": "github"
from hyprgrass.
This could, however, just be some missing drivers on my device, or a version mismatch. xdg-desktop-portal-hyprland is running.
nah its 99% my fault, the PR above only affects the workspace swipe after all
from hyprgrass.
As far as i have been able to read, the issue was caused is because now the function
g_pCompositor->m_pLastMonitor->activeWorkspace
used to return the workspace ID, but now returns the PHLWORKSPACE
.
If in the original code the GetWorkspaceByID
surrounding function is removed, it works just fine.
const bool VERTANIMS = g_pCompositor->m_pLastMonitor->activeWorkspace
->m_vRenderOffset.getConfig()
->pValues->internalStyle == "slidevert" ||
g_pCompositor->m_pLastMonitor->activeWorkspace
->m_vRenderOffset.getConfig()
->pValues->internalStyle.starts_with("slidevert");
Does the trick.
from hyprgrass.
thanks to @technotechnoduck this is fixed
from hyprgrass.
Related Issues (20)
- Touch Gestures are not be Working HOT 2
- workspace_swipe_edge = d is completely broken HOT 2
- possible to make it play nice with hyprexpo? HOT 2
- Build fails HOT 3
- hyprpm failed to build HOT 1
- Plugin doesn't work HOT 5
- Workspace swipe rework
- config: Move to hyprlang keywords
- Is this plugin only for the git version of Hyprland? HOT 1
- compile failed for nixos HOT 5
- Plugin isn't correctly loading HOT 11
- hyprgrass failing to build (GestureManager.cpp) HOT 6
- Misaligned mouse gestures HOT 13
- Swiping up from bottom edge not working HOT 1
- incorrect position mapping with multiple touch screens HOT 13
- Hyprgrass fails to build HOT 2
- Compilation error building from flake. HOT 3
- Unable to get any functionality out of hyprgrass 0.7, hyprland 0.41.1 HOT 2
- Increase touch margins
- testing gestures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyprgrass.