added check for hyprgrass

This commit is contained in:
2026-08-24 15:30:43 +01:00
parent 66c8951402
commit e83ab7a6f8

View File

@@ -25,7 +25,8 @@ hl.config({
}) })
-- Config for hyprgrass -- Config for hyprgrass
hl.config({ if hl.plugin.hyprgrass ~= nil then
hl.config({
plugin = { plugin = {
hyprgrass = { hyprgrass = {
-- The default sensitivity is probably too low on tablet screens, -- The default sensitivity is probably too low on tablet screens,
@@ -48,7 +49,8 @@ hl.config({
workspace_swipe_touch = true, workspace_swipe_touch = true,
workspace_swipe_cancel_ratio = 0.15, workspace_swipe_cancel_ratio = 0.15,
}, },
}) })
end
if Hostname == "mobile02" or Hostname == "mobile03" then if Hostname == "mobile02" or Hostname == "mobile03" then
hl.config({ hl.config({