keyd icon indicating copy to clipboard operation
keyd copied to clipboard

Found key combo that doens't work... help

Open gitdexgit opened this issue 3 months ago • 0 comments

as you can see everything works fine... the leftshift overloads work fine... they switch to the layer and one shot and stuff works fine with the global. same for leftmeta for the first time

but when it switches layer then I hit it again leftmeta = overload(win_shift_shortcut, oneshot(win_shift_shortcut) it doesn't work. as you can see it's the same idea as leftshift = overload(shift,oneshot(shift)) with the [global] but sadly it only works in [main] then when it's in [meta] it doesn't work.

I think because it counts as a oneshot()

so a oneshot() can't turn into an override if the layer it's in for example the [main] is overload().

I can toggle but I don't like it... I don't know if this makes sense.

the win_shortcuts are for like some macros I have to activate some important windows on 2nd monitor and differnet desktops.

[global]


overload_tap_timeout = 185


oneshot_timeout = 650


[main]

# main ones
capslock = overloadt(extend, escape, 185)
space = overloadt(like_extend, space, 185)


escape = overload(escape_extend, escape)


# They are alright for now.
leftshift = overload(shift,oneshot(shift))
rightshift = overload(shift,oneshot(shift))
leftmeta = overload(meta,oneshot(meta))
leftalt = overload(alt,oneshot(alt))
leftcontrol = overload(control,oneshot(control))

[meta]

leftmeta = overload(win_shift_shortcut, oneshot(win_shift_shortcut)


[win_shift_shortcut]

# I think this should never have a q=swap({{back_to_original}}
# exit it the normal way or just make 1 universal way to do it
# anyways why do you even need this to begin with? 


space = overload(win_shift_shortcut_space, space)

b = M-S-b
m = M-S-m
t = M-S-t
d = M-S-d
r = M-S-r
q = M-S-q
v = M-S-v
.
.
.

for now I'm using a plasterfix.... I wish I can make the oneshots() in [main] for [meta] ones int's in [meta] and there is an overload(layer, oneshot()) for it to work.

[main]
.
.
leftmeta = overload(meta,oneshot(meta))
compose = overload(meta,oneshot(meta))
.

[meta]

leftmeta = oneshot(win_shift_shortcut)
compose = toggle(win_shift_shortcut)


[win_shift_shortcut]

compose = toggle(win_shift_shortcut)

gitdexgit avatar Sep 10 '25 02:09 gitdexgit