mirror of
https://git.aramjonghu.dev/AramJonghu/hypr.git
synced 2026-11-09 07:46:27 +01:00
Compare commits
3
Commits
96032ded16
...
d855b428ef
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d855b428ef
|
||
|
|
d7181db1aa
|
||
|
|
7e6911f6b9
|
@@ -4,3 +4,7 @@ require("modules.executes")
|
|||||||
require("modules.monitors")
|
require("modules.monitors")
|
||||||
require("modules.settings")
|
require("modules.settings")
|
||||||
require("modules.windowrules")
|
require("modules.windowrules")
|
||||||
|
|
||||||
|
|
||||||
|
-- For Noctalia Color templates
|
||||||
|
require("noctalia").apply_theme()
|
||||||
|
|||||||
@@ -60,3 +60,8 @@ hl.bind("SUPER + A", hl.dsp.global("zshell:toggle-nc"))
|
|||||||
hl.bind("SUPER + V", hl.dsp.global("zshell:toggle-drawing"))
|
hl.bind("SUPER + V", hl.dsp.global("zshell:toggle-drawing"))
|
||||||
hl.bind("SUPER + F1", hl.dsp.global("zshell:lock"))
|
hl.bind("SUPER + F1", hl.dsp.global("zshell:lock"))
|
||||||
hl.bind("SUPER + F2", hl.dsp.global("zshell:toggle-settings"))
|
hl.bind("SUPER + F2", hl.dsp.global("zshell:toggle-settings"))
|
||||||
|
|
||||||
|
-- Noctalia binds
|
||||||
|
hl.bind("SUPER + R", hl.dsp.exec_cmd("noctalia msg panel-toggle launcher"))
|
||||||
|
hl.bind("PRINT", hl.dsp.exec_cmd("noctalia msg screenshot-region"))
|
||||||
|
hl.bind("SUPER + F1", hl.dsp.exec_cmd("noctalia msg session lock"))
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
hl.on("hyprland.start", function()
|
hl.on("hyprland.start", function()
|
||||||
hl.exec_cmd("zshell-cli shell start")
|
-- hl.exec_cmd("zshell-cli shell start")
|
||||||
|
hl.exec_cmd("noctalia")
|
||||||
hl.exec_cmd("nm-applet")
|
hl.exec_cmd("nm-applet")
|
||||||
hl.exec_cmd("fcitx5")
|
hl.exec_cmd("fcitx5")
|
||||||
hl.exec_cmd("blueman-applet")
|
hl.exec_cmd("blueman-applet")
|
||||||
|
|||||||
@@ -0,0 +1,54 @@
|
|||||||
|
-- Generated by Noctalia
|
||||||
|
|
||||||
|
local primary = "rgb(cba6f7)"
|
||||||
|
local surface = "rgb(1e1e2e)"
|
||||||
|
local on_surface = "rgb(cdd6f4)"
|
||||||
|
local secondary = "rgb(b4befe)"
|
||||||
|
local on_secondary = "rgb(1e1e2e)"
|
||||||
|
local error = "rgb(f38ba8)"
|
||||||
|
local on_error = "rgb(1e1e2e)"
|
||||||
|
|
||||||
|
local function apply_theme()
|
||||||
|
hl.config({
|
||||||
|
general = {
|
||||||
|
col = {
|
||||||
|
active_border = primary,
|
||||||
|
inactive_border = surface,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
group = {
|
||||||
|
col = {
|
||||||
|
border_active = secondary,
|
||||||
|
border_inactive = surface,
|
||||||
|
border_locked_active = error,
|
||||||
|
border_locked_inactive = surface,
|
||||||
|
},
|
||||||
|
|
||||||
|
groupbar = {
|
||||||
|
col = {
|
||||||
|
active = secondary,
|
||||||
|
inactive = surface,
|
||||||
|
locked_active = error,
|
||||||
|
locked_inactive = surface,
|
||||||
|
},
|
||||||
|
text_color = on_secondary,
|
||||||
|
text_color_inactive = on_surface,
|
||||||
|
text_color_locked_active = on_error,
|
||||||
|
text_color_locked_inactive = on_surface,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
return {
|
||||||
|
colors = {
|
||||||
|
primary = primary,
|
||||||
|
surface = surface,
|
||||||
|
on_surface = on_surface,
|
||||||
|
secondary = secondary,
|
||||||
|
on_secondary = on_secondary,
|
||||||
|
error = error,
|
||||||
|
on_error = on_error,
|
||||||
|
},
|
||||||
|
apply_theme = apply_theme
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user