scroll layout
This commit is contained in:
1 parent
75c20f068b
commit
1589302d6d
1 file changed
+16
-8
+16
-8
@@ -22,10 +22,10 @@ hl.bind("SHIFT + print", hl.dsp.exec_cmd("grim - | swappy -f -"))
|
|||||||
hl.bind(mod .. " + space", hl.dsp.window.float())
|
hl.bind(mod .. " + space", hl.dsp.window.float())
|
||||||
|
|
||||||
local mov_keys = {
|
local mov_keys = {
|
||||||
{ "n", "left" },
|
{ "n", "l" },
|
||||||
{ "e", "down" },
|
{ "e", "d" },
|
||||||
{ "i", "up" },
|
{ "i", "u" },
|
||||||
{ "o", "right" }
|
{ "o", "r" }
|
||||||
}
|
}
|
||||||
|
|
||||||
local wss = {
|
local wss = {
|
||||||
@@ -37,7 +37,7 @@ local wss = {
|
|||||||
{ 6, "w" },
|
{ 6, "w" },
|
||||||
{ 7, "f" },
|
{ 7, "f" },
|
||||||
{ 8, "p" },
|
{ 8, "p" },
|
||||||
{ 9, "z" },
|
{ 9, "z" },
|
||||||
{ 10, "x" },
|
{ 10, "x" },
|
||||||
{ 11, "c" },
|
{ 11, "c" },
|
||||||
}
|
}
|
||||||
@@ -54,8 +54,10 @@ end
|
|||||||
for _, p in ipairs(mov_keys) do
|
for _, p in ipairs(mov_keys) do
|
||||||
local key = p[1]
|
local key = p[1]
|
||||||
local dir = p[2]
|
local dir = p[2]
|
||||||
hl.bind(mod .. " + " .. key, hl.dsp.focus({ direction = dir }))
|
hl.bind(mod .. " + " .. key, hl.dsp.layout("focus " .. dir))
|
||||||
hl.bind(mod .. " + SHIFT + " .. key, hl.dsp.window.move({ direction = dir }))
|
hl.bind(mod .. " + SHIFT + " .. key, hl.dsp.layout("swapcol " .. dir))
|
||||||
|
-- hl.bind(mod .. " + " .. key, hl.dsp.focus({ direction = dir }))
|
||||||
|
-- hl.bind(mod .. " + SHIFT + " .. key, hl.dsp.window.move({ direction = dir }))
|
||||||
end
|
end
|
||||||
|
|
||||||
for _, p in ipairs(wss) do
|
for _, p in ipairs(wss) do
|
||||||
@@ -103,7 +105,13 @@ hl.config({
|
|||||||
col = {
|
col = {
|
||||||
active_border = active_col,
|
active_border = active_col,
|
||||||
inactive_border = inactive_col
|
inactive_border = inactive_col
|
||||||
}
|
},
|
||||||
|
layout = "scrolling",
|
||||||
|
},
|
||||||
|
scrolling = {
|
||||||
|
fullscreen_on_one_column = true,
|
||||||
|
column_width = 1.0,
|
||||||
|
direction = "right",
|
||||||
},
|
},
|
||||||
decoration = {
|
decoration = {
|
||||||
rounding = 10,
|
rounding = 10,
|
||||||
|
|||||||
Reference in new issue
Block a user