This commit is contained in:
2026-08-17 19:41:51 +01:00
parent 8ce68821bc
commit 524d024e7a
3 changed files with 42 additions and 27 deletions
+9 -8
View File
@@ -1,12 +1,12 @@
-- https://wiki.hyprland.org/Configuring/Variables/#input
hl.config({
hl.config {
input = {
-- Use multiple keyboard layouts and switch between them with Left Alt + Right Alt
kb_layout = "gb,ro",
kb_layout = 'gb,ro',
-- Use a specific keyboard variant if needed (e.g. intl for international keyboards)
-- kb_variant = "intl",
-- kb_model =
kb_options = "compose:caps",
kb_options = 'caps:ctrl_modifier,caps:escape',
-- kb_rules =
-- Change speed of keyboard repeat
@@ -61,16 +61,16 @@ hl.config({
key_press_enables_dpms = true, -- key press will trigger wake
mouse_move_enables_dpms = true, -- mouse move will trigger wake
},
})
}
-- Scroll nicely in the terminal
hl.window_rule({
name = "Scroll nicely in the terminal",
hl.window_rule {
name = 'Scroll nicely in the terminal',
match = {
class = "com.mitchellh.ghostty",
class = 'com.mitchellh.ghostty',
},
scroll_mouse = 1.5,
})
}
-- Enable touchpad gestures for changing workspaces
-- See https://wiki.hyprland.org/Configuring/Gestures/
@@ -94,3 +94,4 @@ hl.window_rule({
-- active_area_position = { 0.0, (tablet_size.height - new_tablet_height) / 2 },
-- })
-- end