updated stuff
This commit is contained in:
+2
-1
@@ -15,7 +15,8 @@ hl.bind("SUPER+L", hl.dsp.exec_cmd(lockscreen), { locked = true })
|
|||||||
|
|
||||||
-- Manipulating Windows/Software
|
-- Manipulating Windows/Software
|
||||||
hl.bind("SUPER+W", hl.dsp.window.close())
|
hl.bind("SUPER+W", hl.dsp.window.close())
|
||||||
hl.bind("SUPER+Q", hl.dsp.window.kill())
|
hl.bind("SUPER+Q", hl.dsp.window.close())
|
||||||
|
hl.bind("SUPER+SHIFT+Q", hl.dsp.window.kill())
|
||||||
hl.bind("SUPER+F", hl.dsp.window.fullscreen("maximized", "toggle"))
|
hl.bind("SUPER+F", hl.dsp.window.fullscreen("maximized", "toggle"))
|
||||||
hl.bind("SUPER+V", hl.dsp.window.float({ action = "toggle" }))
|
hl.bind("SUPER+V", hl.dsp.window.float({ action = "toggle" }))
|
||||||
hl.bind("SUPER+SHIFT+D", hl.dsp.window.pseudo)
|
hl.bind("SUPER+SHIFT+D", hl.dsp.window.pseudo)
|
||||||
|
|||||||
+2
-2
@@ -42,11 +42,11 @@ hl.config({
|
|||||||
hl.config({
|
hl.config({
|
||||||
scrolling = {
|
scrolling = {
|
||||||
fullscreen_on_one_column = false,
|
fullscreen_on_one_column = false,
|
||||||
column_width = 0.8,
|
column_width = 0.9,
|
||||||
focus_fit_method = 0,
|
focus_fit_method = 0,
|
||||||
follow_focus = true,
|
follow_focus = true,
|
||||||
follow_min_visible = 1,
|
follow_min_visible = 1,
|
||||||
explicit_column_widths = "0.333, 0.5, 0.667, 1.0",
|
explicit_column_widths = "0.05, 0.90, 0.05",
|
||||||
wrap_focus = true,
|
wrap_focus = true,
|
||||||
wrap_swapcol = true,
|
wrap_swapcol = true,
|
||||||
direction = "right",
|
direction = "right",
|
||||||
|
|||||||
+70
-40
@@ -4,61 +4,91 @@
|
|||||||
if HOSTNAME == "archlinux-hypr" then
|
if HOSTNAME == "archlinux-hypr" then
|
||||||
--# Window rules on Monitor 3
|
--# Window rules on Monitor 3
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "Librewolf",
|
name = "Librewolf",
|
||||||
match = {
|
match = {
|
||||||
class = ".*librewolf.*"
|
class = ".*librewolf.*"
|
||||||
},
|
},
|
||||||
workspace = "300 silent"
|
workspace = "300 silent"
|
||||||
})
|
})
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "Mozilla Thunderbird",
|
name = "Mozilla Thunderbird",
|
||||||
match = {
|
match = {
|
||||||
class = ".*Thunderbird.*"
|
class = ".*Thunderbird.*"
|
||||||
},
|
},
|
||||||
workspace = "301 silent"
|
workspace = "301 silent"
|
||||||
})
|
})
|
||||||
--# Window rules on Monitor 4
|
--# Window rules on Monitor 4
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "Discord",
|
name = "Discord",
|
||||||
match = {
|
match = {
|
||||||
class = ".*discord.*"
|
class = ".*discord.*"
|
||||||
},
|
},
|
||||||
workspace = "4 silent"
|
workspace = "4 silent"
|
||||||
})
|
})
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "Signal",
|
name = "Signal",
|
||||||
match = {
|
match = {
|
||||||
class = ".*signal.*"
|
class = ".*signal.*"
|
||||||
},
|
},
|
||||||
workspace = "4"
|
workspace = "4"
|
||||||
})
|
})
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "Nextcloud",
|
name = "Nextcloud",
|
||||||
match = {
|
match = {
|
||||||
class = ".*nextcloud.*"
|
class = ".*nextcloud.*"
|
||||||
},
|
},
|
||||||
workspace = "400"
|
workspace = "400"
|
||||||
})
|
})
|
||||||
elseif HOSTNAME == "hp-laptop" then
|
elseif HOSTNAME == "hp-laptop" then
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "Discord",
|
name = "Discord",
|
||||||
match = {
|
match = {
|
||||||
class = ".*discord.*"
|
class = ".*discord.*"
|
||||||
},
|
},
|
||||||
workspace = "4 silent"
|
workspace = "4 silent"
|
||||||
})
|
})
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "Signal",
|
name = "Signal",
|
||||||
match = {
|
match = {
|
||||||
class = ".*signal.*"
|
class = ".*signal.*"
|
||||||
},
|
},
|
||||||
workspace = "4"
|
workspace = "4"
|
||||||
})
|
})
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "Nextcloud",
|
name = "Nextcloud",
|
||||||
match = {
|
match = {
|
||||||
class = ".*nextcloud.*"
|
class = ".*nextcloud.*"
|
||||||
},
|
},
|
||||||
workspace = "400"
|
workspace = "400"
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
-- Videos
|
||||||
|
hl.window_rule({
|
||||||
|
name = "Youtube",
|
||||||
|
match = {
|
||||||
|
title = ".*YouTube — .*"
|
||||||
|
},
|
||||||
|
no_dim = true,
|
||||||
|
content = "video"
|
||||||
|
})
|
||||||
|
|
||||||
|
hl.window_rule({
|
||||||
|
name = "Fladder",
|
||||||
|
match = {
|
||||||
|
class = ".*fladder.*"
|
||||||
|
},
|
||||||
|
no_dim = true,
|
||||||
|
content = "video"
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Games
|
||||||
|
hl.window_rule({
|
||||||
|
name = "Steam Games",
|
||||||
|
match = {
|
||||||
|
class = "steam_app.*",
|
||||||
|
},
|
||||||
|
no_dim = true,
|
||||||
|
content = "game"
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user