New default size for floating windows, fixed keyboard layout switching and lua variable names

This commit is contained in:
Gu://em_ 2026-08-04 12:49:45 +02:00
parent e0570a2d5e
commit d4a489a52c
4 changed files with 76 additions and 54 deletions

View file

@ -9,10 +9,10 @@ hl.config({
-- Switch workspaces with mainMod + [0-9]
-- Move active window to a workspace with mainMod + SHIFT + [0-9]
local fr_digits_layout = [ "ampersand", "eacute", "quotedbl", "apostrophe", "parenleft", "minus", "egrave", "underscore", "ccedilla", "agrave", ]
for i = 0, 10 do
key = fr_digits_layout[i%10]
hl.bind(mainMod.. " + " .. key, hl.dsp.focus({ workspace = i }))
hl.bind(mainMod.. " + SHIFT + " .. key, hl.dsp.focus({ workspace = i }))
local fr_digits_layout = { "ampersand", "eacute", "quotedbl", "apostrophe", "parenleft", "minus", "egrave", "underscore", "ccedilla", "agrave", }
for i = 1, 10 do
local key = fr_digits_layout[(i%11)]
hl.bind(MainMod.. " + " .. key, hl.dsp.focus({ workspace = i }))
hl.bind(MainMod.. " + SHIFT + " .. key, hl.dsp.focus({ workspace = i }))
end