uncomment and fix up configs

This commit is contained in:
lucy 2026-06-23 19:35:01 +02:00
commit 7643f6e628
6 changed files with 31 additions and 30 deletions

View file

@ -9,7 +9,7 @@
-- Create your files separately and then require them like this:
-- require("myColors")
-- Plugin stuff
------------------
---- MONITORS ----
------------------
@ -27,6 +27,8 @@ hl.monitor({
mode = "preferred",
position = "auto",
scale = "1",
bitdepth = 10,
cm = "wide",
})
hl.monitor({
output = "DP-2",
@ -100,15 +102,15 @@ require("colors")
hl.config({
general = {
gaps_in = 2,
gaps_out = 20,
border_size = 2,
gaps_out = 8,
border_size = 4,
resize_on_border = false,
allow_tearing = false,
layout = "master",
},
decoration = {
rounding = 0,
rounding = 16,
rounding_power = 2,
-- Change transparency of focused and unfocused windows
@ -131,7 +133,7 @@ hl.config({
},
animations = {
enabled = false,
enabled = true,
},
})
@ -190,11 +192,6 @@ hl.config({
},
})
hl.device({
name = "elan06fa:00-04f3:327e-touchpad",
sensitivity = 0.4
})
hl.gesture({
fingers = 3,
direction = "horizontal",
@ -264,8 +261,8 @@ hl.bind(
hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"),
{ locked = true, repeating = true }
)
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl set 10%+"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl set 10%-"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl set 5%+"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl set 5%-"), { locked = true, repeating = true })
-- Requires playerctl
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })