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
|
||||
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+V", hl.dsp.window.float({ action = "toggle" }))
|
||||
hl.bind("SUPER+SHIFT+D", hl.dsp.window.pseudo)
|
||||
|
||||
+2
-2
@@ -42,11 +42,11 @@ hl.config({
|
||||
hl.config({
|
||||
scrolling = {
|
||||
fullscreen_on_one_column = false,
|
||||
column_width = 0.8,
|
||||
column_width = 0.9,
|
||||
focus_fit_method = 0,
|
||||
follow_focus = true,
|
||||
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_swapcol = true,
|
||||
direction = "right",
|
||||
|
||||
+71
-41
@@ -4,61 +4,91 @@
|
||||
if HOSTNAME == "archlinux-hypr" then
|
||||
--# Window rules on Monitor 3
|
||||
hl.window_rule({
|
||||
name = "Librewolf",
|
||||
match = {
|
||||
class = ".*librewolf.*"
|
||||
},
|
||||
workspace = "300 silent"
|
||||
name = "Librewolf",
|
||||
match = {
|
||||
class = ".*librewolf.*"
|
||||
},
|
||||
workspace = "300 silent"
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "Mozilla Thunderbird",
|
||||
match = {
|
||||
class = ".*Thunderbird.*"
|
||||
},
|
||||
workspace = "301 silent"
|
||||
name = "Mozilla Thunderbird",
|
||||
match = {
|
||||
class = ".*Thunderbird.*"
|
||||
},
|
||||
workspace = "301 silent"
|
||||
})
|
||||
--# Window rules on Monitor 4
|
||||
hl.window_rule({
|
||||
name = "Discord",
|
||||
match = {
|
||||
class = ".*discord.*"
|
||||
},
|
||||
workspace = "4 silent"
|
||||
name = "Discord",
|
||||
match = {
|
||||
class = ".*discord.*"
|
||||
},
|
||||
workspace = "4 silent"
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "Signal",
|
||||
match = {
|
||||
class = ".*signal.*"
|
||||
},
|
||||
workspace = "4"
|
||||
name = "Signal",
|
||||
match = {
|
||||
class = ".*signal.*"
|
||||
},
|
||||
workspace = "4"
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "Nextcloud",
|
||||
match = {
|
||||
class = ".*nextcloud.*"
|
||||
},
|
||||
workspace = "400"
|
||||
name = "Nextcloud",
|
||||
match = {
|
||||
class = ".*nextcloud.*"
|
||||
},
|
||||
workspace = "400"
|
||||
})
|
||||
elseif HOSTNAME == "hp-laptop" then
|
||||
hl.window_rule({
|
||||
name = "Discord",
|
||||
match = {
|
||||
class = ".*discord.*"
|
||||
},
|
||||
workspace = "4 silent"
|
||||
name = "Discord",
|
||||
match = {
|
||||
class = ".*discord.*"
|
||||
},
|
||||
workspace = "4 silent"
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "Signal",
|
||||
match = {
|
||||
class = ".*signal.*"
|
||||
},
|
||||
workspace = "4"
|
||||
name = "Signal",
|
||||
match = {
|
||||
class = ".*signal.*"
|
||||
},
|
||||
workspace = "4"
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "Nextcloud",
|
||||
match = {
|
||||
class = ".*nextcloud.*"
|
||||
},
|
||||
workspace = "400"
|
||||
name = "Nextcloud",
|
||||
match = {
|
||||
class = ".*nextcloud.*"
|
||||
},
|
||||
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