use hyprspace for layouts
This commit is contained in:
@@ -13,11 +13,11 @@ local startup_commands = {
|
|||||||
|
|
||||||
-- Graphical/session applications launched inside UWSM scopes.
|
-- Graphical/session applications launched inside UWSM scopes.
|
||||||
commands.uwsm(settings.programs.terminal),
|
commands.uwsm(settings.programs.terminal),
|
||||||
commands.uwsm("hyprpaper"),
|
|
||||||
commands.uwsm("firefox"),
|
commands.uwsm("firefox"),
|
||||||
commands.uwsm("wl-paste --type text --watch cliphist store"),
|
commands.uwsm("wl-paste --type text --watch cliphist store"),
|
||||||
commands.uwsm("wl-paste --type image --watch cliphist store"),
|
commands.uwsm("wl-paste --type image --watch cliphist store"),
|
||||||
commands.uwsm("noctalia"),
|
commands.uwsm("noctalia"),
|
||||||
|
commands.uwsm("linux-wallpaper-engine")
|
||||||
}
|
}
|
||||||
|
|
||||||
-- This event only fires when Hyprland starts; reloading the config will not
|
-- This event only fires when Hyprland starts; reloading the config will not
|
||||||
|
|||||||
+1
-1
@@ -290,7 +290,7 @@ hl.bind(
|
|||||||
hl.bind(
|
hl.bind(
|
||||||
chord(hyper, "SPACE"),
|
chord(hyper, "SPACE"),
|
||||||
function()
|
function()
|
||||||
hl.plugin.hyprtasking.toggle("all")
|
hl.plugin.overview.toggle("all")
|
||||||
end,
|
end,
|
||||||
{ description = "Toggle all-workspace window overview" }
|
{ description = "Toggle all-workspace window overview" }
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -30,5 +30,14 @@ hl.config({
|
|||||||
hyprstage = {
|
hyprstage = {
|
||||||
sidebar_side = "right",
|
sidebar_side = "right",
|
||||||
},
|
},
|
||||||
|
overview = {
|
||||||
|
panelColor = "#1d4580",
|
||||||
|
panelBorderColor = "#05494d",
|
||||||
|
workspaceActiveBackground = "rgba(49, 50, 68, 0.8)",
|
||||||
|
workspaceActiveBorder = "rgb(203, 166, 247)",
|
||||||
|
onBottom = false,
|
||||||
|
autoDrag = true,
|
||||||
|
showSpecialWorkspace = true,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ return {
|
|||||||
name = "bilibili",
|
name = "bilibili",
|
||||||
selector = "name:bilibili",
|
selector = "name:bilibili",
|
||||||
key = "F1",
|
key = "F1",
|
||||||
|
layout = "stage"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name = "im",
|
name = "im",
|
||||||
|
|||||||
@@ -43,6 +43,13 @@ local rules = {
|
|||||||
move = "20 monitor_h-120",
|
move = "20 monitor_h-120",
|
||||||
float = true,
|
float = true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name = "confine-dota2-cursor",
|
||||||
|
match = {
|
||||||
|
class = "dota2",
|
||||||
|
},
|
||||||
|
confine_pointer = true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Register every declarative rule with Hyprland.
|
-- Register every declarative rule with Hyprland.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ local settings = require("config.settings")
|
|||||||
for _, workspace in ipairs(settings.named_workspaces) do
|
for _, workspace in ipairs(settings.named_workspaces) do
|
||||||
hl.workspace_rule({
|
hl.workspace_rule({
|
||||||
workspace = workspace.selector,
|
workspace = workspace.selector,
|
||||||
layout = "master",
|
layout = workspace.layout or "master",
|
||||||
layout_opts = {
|
layout_opts = {
|
||||||
orientation = "left",
|
orientation = "left",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user