patched some window rules
Debugged some keubinds and working on native lua updates
This commit is contained in:
@@ -125,7 +125,7 @@ hl.bind(mainMod .. " + SPACE " ,hl.dsp.exec_cmd("playerctl play-pause"))
|
||||
|
||||
|
||||
---- 10. Application launching
|
||||
-- hl.bind(mainMod .. " + SUPER_L", hl.dsp.exec_cmd(launcher .. " toggle"), { release = true })
|
||||
hl.bind(mainMod .. " + SUPER_L", hl.dsp.exec_cmd(launcher .. " toggle"), { release = true })
|
||||
hl.bind(mainMod .. " + F " ,hl.dsp.exec_cmd(browser))
|
||||
hl.bind("ALT + C" ,hl.dsp.exec_cmd(ipc .. "plugin:clipper openPanel"))
|
||||
hl.bind("code:148" ,hl.dsp.exec_cmd("kitty --class calc-term -o 'confirm_os_window_close 0' /home/venus/.cargo/bin/mathypad "))
|
||||
@@ -133,9 +133,9 @@ hl.bind("code:148" ,hl.dsp.exec_cmd("kitty --class calc-term -o 'confirm_os_wi
|
||||
-- TODO rework with LUA
|
||||
-- hl.bind(mainMod .. " + escape" ,hl.dsp.exec_cmd("kitty --class btop -o "confirm_os_window_close 0" /usr/bin/btop"))
|
||||
-- hl.bind(mainMod .. " + SHIFT + escape" ,hl.dsp.exec_cmd("kitty --class btop -o "confirm_os_window_close 0" /usr/bin/nvtop"))
|
||||
hl.bind(mainMod .. " + escape" ,hl.dsp.exec_cmd("kitty btop" ,{float = true, border_size = 5}))
|
||||
hl.bind("CTRL + SHIFT + ESCAPE" ,hl.dsp.exec_cmd("kitty btop" ,{float = true, border_size = 5}))
|
||||
hl.bind(mainMod .. " + SHIFT + escape" ,hl.dsp.exec_cmd("kitty nvtop",{float = true, border_size = 5}))
|
||||
hl.bind(mainMod .. " + escape" ,hl.dsp.exec_cmd("kitty btop" ,{float = true, border_size = 2, size = {"(monitor_w * 0.9)", "(monitor_h * 0.9)"}}))
|
||||
hl.bind("CTRL + SHIFT + ESCAPE" ,hl.dsp.exec_cmd("kitty btop" ,{float = true, border_size = 2, size = {"(monitor_w * 0.9)", "(monitor_h * 0.9)"}}))
|
||||
hl.bind(mainMod .. " + SHIFT + escape" ,hl.dsp.exec_cmd("kitty nvtop",{float = true, border_size = 2, size = {"(monitor_w * 0.9)", "(monitor_h * 0.9)"}}))
|
||||
hl.bind(mainMod .. " + I" ,hl.dsp.exec_cmd("/home/venus/.config/scripts/connectPhone.sh "))
|
||||
hl.bind(mainMod .. " + I" ,hl.dsp.exec_cmd("scrcpy --no-audio --no-video --keyboard=uhid --mouse=uhid"))
|
||||
hl.bind(mainMod .. " + SHIFT + I" ,hl.dsp.exec_cmd("/home/venus/.config/scripts/connectPhone.sh "))
|
||||
|
||||
@@ -39,6 +39,9 @@ hl.config = {
|
||||
inactive_timeout = 0.1,
|
||||
},
|
||||
},
|
||||
xwayland = {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ hl.window_rule({
|
||||
hl.window_rule({
|
||||
name = "compiler-window",
|
||||
match = { tag = "compiler"},
|
||||
["col.active_border"] = "0xccaaffee",
|
||||
border_color = "0xccaaffee",
|
||||
border_size = 2,
|
||||
float = false,
|
||||
})
|
||||
@@ -25,7 +25,7 @@ hl.window_rule({
|
||||
name = "gaming",
|
||||
match = {
|
||||
class = "steam",
|
||||
initialClass = "steam"
|
||||
initial_class = "steam"
|
||||
},
|
||||
workspace = "special:gaming"
|
||||
})
|
||||
@@ -52,15 +52,12 @@ hl.window_rule( {
|
||||
no_focus = true,
|
||||
})
|
||||
|
||||
-- xwayland {
|
||||
-- force_zero_scaling = true
|
||||
-- })
|
||||
|
||||
-- Hyprland-run hl.window_rule(
|
||||
hl.window_rule( {
|
||||
name = "move-hyprland-run",
|
||||
match = {class = "hyprland-run"},
|
||||
move = {20, "(monitor_h-120)"},
|
||||
move = {20,"monitor_h-120"},
|
||||
float = true
|
||||
})
|
||||
|
||||
@@ -71,23 +68,8 @@ hl.window_rule( {
|
||||
float = true,
|
||||
center = true,
|
||||
opacity = 1,
|
||||
-- move = cursor_x-10 cursor_y-10
|
||||
size ={"(monitor_w*.4)", "(monitor_h*.4)"}
|
||||
-- move = {"cursor_x-10", "cursor_y-10"},
|
||||
size = {"monitor_w*.4", "monitor_h*.4"},
|
||||
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
name = "btop",
|
||||
match = {class = "btop"},
|
||||
float = true,
|
||||
dim_around = true,
|
||||
size = {"(monitor_w*.9)" ,"(monitor_h*.8)"},
|
||||
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "popup-term",
|
||||
match = {class = "popup-term"},
|
||||
float = true
|
||||
size = {"(monitor_w*.9)" ,"(monitor_h*.8)"},
|
||||
dim_around = true
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user