Compare commits
7
Commits
7aee8278b5
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ca2c9e5d4 | ||
|
|
d9338984e5 | ||
|
|
7c2b46e019 | ||
|
|
7249ce038b | ||
|
|
abefac7bd1 | ||
|
|
e63f664258 | ||
|
|
724b94d3f4 |
+15
-4
@@ -67,8 +67,8 @@ hl.bind(mainMod .. " + CTRL + right" ,hl.dsp.focus ({ workspace = "m+1"}))
|
|||||||
hl.bind(mainMod .. " + CTRL + left" ,hl.dsp.focus ({ workspace = "m-1"}))
|
hl.bind(mainMod .. " + CTRL + left" ,hl.dsp.focus ({ workspace = "m-1"}))
|
||||||
hl.bind(mainMod .. " + CTRL + l" ,hl.dsp.focus ({ workspace = "m+1"}))
|
hl.bind(mainMod .. " + CTRL + l" ,hl.dsp.focus ({ workspace = "m+1"}))
|
||||||
hl.bind(mainMod .. " + CTRL + h" ,hl.dsp.focus ({ workspace = "m-1"}))
|
hl.bind(mainMod .. " + CTRL + h" ,hl.dsp.focus ({ workspace = "m-1"}))
|
||||||
hl.bind(mainMod .. " + TAB " ,hl.dsp.focus ({ monitor = "-1"}))
|
-- hl.bind(mainMod .. " + TAB " ,hl.dsp.focus ({ monitor = "-1"}))
|
||||||
hl.bind(mainMod .. " + SHIFT + TAB " ,hl.dsp.focus ({ monitor = "+1"}))
|
-- hl.bind(mainMod .. " + SHIFT + TAB " ,hl.dsp.focus ({ monitor = "+1"}))
|
||||||
-- 2.3 Switch workspaces with mainMod + [0-9]
|
-- 2.3 Switch workspaces with mainMod + [0-9]
|
||||||
hl.bind(mainMod .. " + 1 " ,hl.dsp.focus({workspace = 1 }))
|
hl.bind(mainMod .. " + 1 " ,hl.dsp.focus({workspace = 1 }))
|
||||||
hl.bind(mainMod .. " + 2 " ,hl.dsp.focus({workspace = 2 }))
|
hl.bind(mainMod .. " + 2 " ,hl.dsp.focus({workspace = 2 }))
|
||||||
@@ -84,7 +84,6 @@ hl.bind(mainMod .. " + 0 " ,hl.dsp.focus({workspace = 10}))
|
|||||||
---- 3 SPECIAL WORKSPACES ----
|
---- 3 SPECIAL WORKSPACES ----
|
||||||
-- 3.2 Switch to special workspaces with mainMod + [S, B, G, N, U, R]
|
-- 3.2 Switch to special workspaces with mainMod + [S, B, G, N, U, R]
|
||||||
hl.bind(mainMod .. " + S " ,hl.dsp.workspace.toggle_special("magic"))
|
hl.bind(mainMod .. " + S " ,hl.dsp.workspace.toggle_special("magic"))
|
||||||
hl.bind(mainMod .. " + B " ,hl.dsp.workspace.toggle_special("book"))
|
|
||||||
hl.bind(mainMod .. " + X " ,hl.dsp.workspace.toggle_special("phantom"))
|
hl.bind(mainMod .. " + X " ,hl.dsp.workspace.toggle_special("phantom"))
|
||||||
hl.bind(mainMod .. " + SHIFT + A" ,hl.dsp.workspace.toggle_special("gaming"))
|
hl.bind(mainMod .. " + SHIFT + A" ,hl.dsp.workspace.toggle_special("gaming"))
|
||||||
hl.bind(mainMod .. " + A " ,hl.dsp.workspace.toggle_special("notes"))
|
hl.bind(mainMod .. " + A " ,hl.dsp.workspace.toggle_special("notes"))
|
||||||
@@ -98,7 +97,8 @@ hl.bind(mainMod .. " + SHIFT + N " ,hl.dsp.window.move({ workspace = "special:
|
|||||||
hl.bind(mainMod .. " + SHIFT + U " ,hl.dsp.window.move({ workspace = "special:music" }))
|
hl.bind(mainMod .. " + SHIFT + U " ,hl.dsp.window.move({ workspace = "special:music" }))
|
||||||
hl.bind(mainMod .. " + SHIFT + R " ,hl.dsp.window.move({ workspace = "special:music" }))
|
hl.bind(mainMod .. " + SHIFT + R " ,hl.dsp.window.move({ workspace = "special:music" }))
|
||||||
-- 3.4 Launch applications in special workspaces with mainMod + [D, E, G, N]
|
-- 3.4 Launch applications in special workspaces with mainMod + [D, E, G, N]
|
||||||
hl.bind(mainMod .. " + D " ,function () hl.dispatch(hl.dsp.workspace.toggle_special("vesktop")) hl.exec_cmd("vesktop -m", {workspace ="special:vesktop silent"}) end)
|
-- hl.bind(mainMod .. " + D " ,function () hl.dispatch(hl.dsp.workspace.toggle_special("vesktop")) hl.exec_cmd("vesktop -m", {workspace ="special:vesktop silent"}) end)
|
||||||
|
hl.bind(mainMod .. " + D " ,function () hl.dispatch(hl.dsp.workspace.toggle_special("vesktop")) end)
|
||||||
hl.bind(mainMod .. " + E " ,function () hl.dispatch(hl.dsp.workspace.toggle_special("email")) hl.exec_cmd(email, {workspace ="special:email silent"}) end)
|
hl.bind(mainMod .. " + E " ,function () hl.dispatch(hl.dsp.workspace.toggle_special("email")) hl.exec_cmd(email, {workspace ="special:email silent"}) end)
|
||||||
hl.bind(mainMod .. " + G " ,function () hl.dispatch(hl.dsp.workspace.toggle_special("gaming")) hl.exec_cmd("steam -forcedesktopscaling 0.5",{workspace ="special:gaming silent"}) end)
|
hl.bind(mainMod .. " + G " ,function () hl.dispatch(hl.dsp.workspace.toggle_special("gaming")) hl.exec_cmd("steam -forcedesktopscaling 0.5",{workspace ="special:gaming silent"}) end)
|
||||||
hl.bind(mainMod .. " + N " ,function () hl.dispatch(hl.dsp.workspace.toggle_special("notes")) end)-- TODO dont run if obsidian alr running
|
hl.bind(mainMod .. " + N " ,function () hl.dispatch(hl.dsp.workspace.toggle_special("notes")) end)-- TODO dont run if obsidian alr running
|
||||||
@@ -118,6 +118,10 @@ hl.bind("XF86AudioPlay" ,hl.dsp.exec_cmd("playerctl play-pause"))
|
|||||||
hl.bind("XF86AudioPrev" ,hl.dsp.exec_cmd("playerctl previous"))
|
hl.bind("XF86AudioPrev" ,hl.dsp.exec_cmd("playerctl previous"))
|
||||||
hl.bind("ALT + mouse:274" ,hl.dsp.exec_cmd("playerctl play-pause"))
|
hl.bind("ALT + mouse:274" ,hl.dsp.exec_cmd("playerctl play-pause"))
|
||||||
hl.bind(mainMod .. " + SPACE " ,hl.dsp.exec_cmd("playerctl play-pause"))
|
hl.bind(mainMod .. " + SPACE " ,hl.dsp.exec_cmd("playerctl play-pause"))
|
||||||
|
hl.bind("function + SPACE " ,hl.dsp.exec_cmd("playerctl play-pause"))
|
||||||
|
hl.bind(mainMod .. " + XF86AudioMute" ,hl.dsp.exec_cmd("pbpctrl set anc off"))
|
||||||
|
hl.bind(mainMod .. " + XF86AudioLowerVolume" ,hl.dsp.exec_cmd("pbpctrl set anc active"))
|
||||||
|
hl.bind(mainMod .. " + XF86AudioRaiseVolume" ,hl.dsp.exec_cmd("pbpctrl set anc aware"))
|
||||||
|
|
||||||
---- 5. CUSTOM APPLICATION LAUNCHERS ----
|
---- 5. CUSTOM APPLICATION LAUNCHERS ----
|
||||||
-- 5.1 Special Terminal Windows
|
-- 5.1 Special Terminal Windows
|
||||||
@@ -162,6 +166,10 @@ hl.bind("SHIFT + PRINT" ,hl.dsp.exec_cmd(stk .. "annotate"))
|
|||||||
hl.bind("ALT + PRINT" ,hl.dsp.exec_cmd(stk .. "annotateWindow"))
|
hl.bind("ALT + PRINT" ,hl.dsp.exec_cmd(stk .. "annotateWindow"))
|
||||||
hl.bind("CTRL + PRINT" ,hl.dsp.exec_cmd(stk .. "annotateFullscreen"))
|
hl.bind("CTRL + PRINT" ,hl.dsp.exec_cmd(stk .. "annotateFullscreen"))
|
||||||
|
|
||||||
|
-- Screen Grouping modifiers
|
||||||
|
hl.bind(mainMod .. " + TAB" ,hl.dsp.group.next())
|
||||||
|
hl.bind(mainMod .. " + SHIFT + TAB" ,hl.dsp.group.prev())
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
---- 14. SUBMAP DISPATCHERS ----
|
---- 14. SUBMAP DISPATCHERS ----
|
||||||
@@ -169,3 +177,6 @@ hl.bind(mainMod .. "+ PRINT" ,function() hl.dispatch(hl.dsp.exec_cmd(stk .. "t
|
|||||||
hl.bind(mainMod .. " + O " ,hl.dsp.submap("open-apps"))
|
hl.bind(mainMod .. " + O " ,hl.dsp.submap("open-apps"))
|
||||||
hl.bind(mainMod .. " + M " ,function() hl.dispatch(hl.dsp.exec_cmd(ipc .. "panel-toggle control-center")) hl.dispatch(hl.dsp.submap("quick-settings")) end)
|
hl.bind(mainMod .. " + M " ,function() hl.dispatch(hl.dsp.exec_cmd(ipc .. "panel-toggle control-center")) hl.dispatch(hl.dsp.submap("quick-settings")) end)
|
||||||
hl.bind(mainMod .. " + T" ,function() hl.dispatch(hl.dsp.submap("timer")) hl.exec_cmd(ipc .. "panel-toggle noctalia/timer:panel") end)
|
hl.bind(mainMod .. " + T" ,function() hl.dispatch(hl.dsp.submap("timer")) hl.exec_cmd(ipc .. "panel-toggle noctalia/timer:panel") end)
|
||||||
|
hl.bind(mainMod .. " + Z" ,function() hl.dispatch(hl.dsp.submap("group")) end)
|
||||||
|
hl.bind(mainMod .. " + B" ,function() hl.dispatch(hl.dsp.submap("group")) end)
|
||||||
|
hl.bind(mainMod .. " + apostrophe" ,function() hl.dispatch(hl.dsp.submap("group")) end)
|
||||||
|
|||||||
@@ -28,6 +28,32 @@ hl.config ({
|
|||||||
layout = "master",
|
layout = "master",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
group = {
|
||||||
|
col = {
|
||||||
|
["border_active"] = colors.primary,
|
||||||
|
["border_inactive"] = colors.background,
|
||||||
|
["border_locked_active"] = colors.error,
|
||||||
|
["border_locked_inactive"] = colors.background,
|
||||||
|
},
|
||||||
|
groupbar = {
|
||||||
|
enabled = true,
|
||||||
|
render_titles = false,
|
||||||
|
height = 4,
|
||||||
|
indicator_height = 4,
|
||||||
|
gaps_in = 3,
|
||||||
|
gaps_out = 4,
|
||||||
|
rounding = 4,
|
||||||
|
round_only_edges = true,
|
||||||
|
gradients = false,
|
||||||
|
col = {
|
||||||
|
["active"] = colors.primary,
|
||||||
|
["inactive"] = colors.background,
|
||||||
|
["locked_active"] = colors.error,
|
||||||
|
["locked_inactive"] = colors.background,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
-- https://wiki.hypr.land/Configuring/Variables/--decoration
|
-- https://wiki.hypr.land/Configuring/Variables/--decoration
|
||||||
decoration = {
|
decoration = {
|
||||||
-- Window rounding and shadow
|
-- Window rounding and shadow
|
||||||
|
|||||||
@@ -145,4 +145,27 @@ hl.define_submap("open-apps", "reset", function() -- Submap for quickly opening
|
|||||||
hl.bind("catchall" ,hl.dsp.submap("reset"))
|
hl.bind("catchall" ,hl.dsp.submap("reset"))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
hl.define_submap("group", "reset", function() -- Submap for managing groups
|
||||||
|
hl.bind("H" ,hl.dsp.window.move({ into_or_create_group = "left" }))
|
||||||
|
hl.bind("L" ,hl.dsp.window.move({ into_or_create_group = "right" }))
|
||||||
|
hl.bind("K" ,hl.dsp.window.move({ into_or_create_group = "up" }))
|
||||||
|
hl.bind("J" ,hl.dsp.window.move({ into_or_create_group = "down" }))
|
||||||
|
hl.bind(mainMod .. " + H" ,hl.dsp.window.move({ into_or_create_group = "left" }))
|
||||||
|
hl.bind(mainMod .. " + L" ,hl.dsp.window.move({ into_or_create_group = "right" }))
|
||||||
|
hl.bind(mainMod .. " + K" ,hl.dsp.window.move({ into_or_create_group = "up" }))
|
||||||
|
hl.bind(mainMod .. " + J" ,hl.dsp.window.move({ into_or_create_group = "down" }))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + H" ,hl.dsp.window.move({ out_of_group = "right" }))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + L" ,hl.dsp.window.move({ out_of_group = "left" }))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + K" ,hl.dsp.window.move({ out_of_group = "up" }))
|
||||||
|
hl.bind(mainMod .. " + SHIFT + J" ,hl.dsp.window.move({ out_of_group = "down" }))
|
||||||
|
hl.bind("O" ,hl.dsp.window.move({ out_of_group = "true" }))
|
||||||
|
hl.bind("G" ,hl.dsp.group.toggle())
|
||||||
|
hl.bind("apostrophe" ,hl.dsp.group.toggle())
|
||||||
|
hl.bind("SUPER + apostrophe" ,hl.dsp.group.toggle())
|
||||||
|
hl.bind("N" ,hl.dsp.group.next())
|
||||||
|
hl.bind("P" ,hl.dsp.group.prev())
|
||||||
|
hl.bind("SHIFT + N" ,hl.dsp.group.move_window({ forward = false}))
|
||||||
|
hl.bind("SHIFT + P" ,hl.dsp.group.move_window({ forward = true}))
|
||||||
|
hl.bind("catchall" ,hl.dsp.submap("reset"))
|
||||||
|
end)
|
||||||
-- TODO Implement a VPN summap that allows quick connection to different VPN servers and toggling the VPN on/off.
|
-- TODO Implement a VPN summap that allows quick connection to different VPN servers and toggling the VPN on/off.
|
||||||
|
|||||||
+1
-1
@@ -100,7 +100,7 @@ hl.window_rule( {
|
|||||||
-- Set Obsidian settings window to float.
|
-- Set Obsidian settings window to float.
|
||||||
hl.window_rule( {
|
hl.window_rule( {
|
||||||
name = "obsidian-settings",
|
name = "obsidian-settings",
|
||||||
match = {initial_class = "md.obsidian.Obsidian"},--, initial_title = "Settings - Notes - Obsidian*"},
|
match = {initial_class = "md.obsidian.Obsidian", title = "^Settings.*"},
|
||||||
float = true,
|
float = true,
|
||||||
center = true,
|
center = true,
|
||||||
size = {"monitor_w*.5", "monitor_h*.8"},
|
size = {"monitor_w*.5", "monitor_h*.8"},
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
-- Automatically generated by Noctalia user-templates
|
-- Automatically generated by Noctalia user-templates
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
background = "#000000",
|
background = "#191724",
|
||||||
primary = "#b58fff",
|
primary = "#ebbcba",
|
||||||
tertiary = "#d8b4ff",
|
tertiary = "#31748f",
|
||||||
secondary = "#c79aff",
|
secondary = "#9ccfd8",
|
||||||
error = "#ff6f9b",
|
error = "#eb6f92",
|
||||||
}
|
}
|
||||||
|
|
||||||
return colors
|
return colors
|
||||||
|
|||||||
Reference in New Issue
Block a user