tweaked mouse settings, secend monitor opacity, and added shutdown/reboot keybinds
This commit is contained in:
@@ -166,7 +166,8 @@ hl.config({
|
|||||||
kb_rules = "",
|
kb_rules = "",
|
||||||
follow_mouse = 1,
|
follow_mouse = 1,
|
||||||
sensitivity = 0,
|
sensitivity = 0,
|
||||||
accel_profile = "flat",
|
-- accel_profile = "flat",
|
||||||
|
scroll_factor = 1.2,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -184,6 +185,8 @@ hl.bind(mainMod .. " + V", hl.dsp.window.float({ action = "toggle" }))
|
|||||||
hl.bind(mainMod .. " + RETURN", hl.dsp.exec_cmd(menu))
|
hl.bind(mainMod .. " + RETURN", hl.dsp.exec_cmd(menu))
|
||||||
hl.bind(mainMod .. " + TAB", hl.dsp.focus({ workspace = "previous" }))
|
hl.bind(mainMod .. " + TAB", hl.dsp.focus({ workspace = "previous" }))
|
||||||
hl.bind(mainMod .. " + S", hl.dsp.layout("togglesplit"))
|
hl.bind(mainMod .. " + S", hl.dsp.layout("togglesplit"))
|
||||||
|
hl.bind(mainMod .. " + CTRL + E", hl.dsp.exec_cmd("hyprshutdown -p 'shutdown now'"))
|
||||||
|
hl.bind(mainMod .. " + CTRL + R", hl.dsp.exec_cmd("hyprshutdown -p 'reboot'"))
|
||||||
|
|
||||||
-- Move focus with mainMod + arrow keys
|
-- Move focus with mainMod + arrow keys
|
||||||
hl.bind(mainMod .. " + left", hl.dsp.focus({ direction = "left" }))
|
hl.bind(mainMod .. " + left", hl.dsp.focus({ direction = "left" }))
|
||||||
@@ -238,7 +241,8 @@ hl.window_rule({
|
|||||||
match = { workspace = 10 },
|
match = { workspace = 10 },
|
||||||
float = true,
|
float = true,
|
||||||
size = {"monitor_w - 8", 850},
|
size = {"monitor_w - 8", 850},
|
||||||
move = {4, 500}
|
move = {4, 500},
|
||||||
|
opacity = "1.0 override 0.9 override",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user