add kernel config
This commit is contained in:
+7
-1
@@ -60,7 +60,7 @@ hl.config({
|
||||
resize_on_border = true,
|
||||
no_focus_fallback = true,
|
||||
allow_tearing = true,
|
||||
layout = "hy3",
|
||||
layout = "scrolling",
|
||||
},
|
||||
|
||||
decoration = {
|
||||
@@ -175,6 +175,12 @@ hl.bind(mainMod .. " + SHIFT + RIGHT", hl.dsp.window.swap({ direction = "right"}
|
||||
hl.bind(mainMod .. " + SHIFT + UP", hl.dsp.window.swap({ direction = "up"}))
|
||||
hl.bind(mainMod .. " + SHIFT + DOWN", hl.dsp.window.swap({ direction = "down"}))
|
||||
|
||||
-- screenshots
|
||||
hl.bind("Print", hl.dsp.exec_cmd("grim -g \"$(slurp)\" ~/$(date + '%Y%m%d-%H%M%S').png")) -- dump to home
|
||||
hl.bind("SUPER + Print", hl.dsp.exec_cmd(
|
||||
"grim -g \"$(slurp)\" - | wl-copy"
|
||||
)) -- copy to clipboard
|
||||
|
||||
-- hy3 settings
|
||||
local hy3 = hl.plugin.hy3
|
||||
hl.bind(mainMod .. " + V", hy3.make_group("v"))
|
||||
|
||||
Reference in New Issue
Block a user