Compare commits

..
12 Commits
9 changed files with 16 additions and 77 deletions
+1
View File
@@ -0,0 +1 @@
noctalia.lua
-3
View File
@@ -4,6 +4,3 @@ require("modules.executes")
require("modules.monitors")
require("modules.settings")
require("modules.windowrules")
-- For Noctalia Color templates
require("noctalia").apply_theme()
+3 -2
View File
@@ -4,9 +4,9 @@ hl.bind("SUPER + mouse:273", hl.dsp.window.resize(), { mouse = true })
hl.bind("SUPER + S", hl.dsp.window.float())
hl.bind("SUPER + Q", hl.dsp.window.close())
hl.bind("SUPER + M", hl.dsp.exit())
hl.bind("SUPER + RETURN", hl.dsp.exec_cmd("ghostty"))
hl.bind("SUPER + RETURN", hl.dsp.exec_cmd("alacritty"))
hl.bind("SUPER + E", hl.dsp.exec_cmd("dolphin"))
hl.bind("SUPER + B", hl.dsp.exec_cmd("chromium"))
hl.bind("SUPER + B", hl.dsp.exec_cmd("helium"))
hl.bind("SUPER + H", hl.dsp.focus({ direction = "l" }))
hl.bind("SUPER + L", hl.dsp.focus({ direction = "r" }))
@@ -75,6 +75,7 @@ hl.bind(
hl.dsp.exec_cmd("noctalia msg brightness-down eDP-1 0.0133"),
{ locked = true, repeating = true }
)
hl.bind("SUPER + A", hl.dsp.exec_cmd("noctalia msg bar-toggle"))
hl.bind("SUPER + T", function()
local m = hl.get_monitor("eDP-1")
+3 -3
View File
@@ -1,8 +1,8 @@
hl.env("ZSH", "/usr/share/oh-my-zsh/")
hl.env("BROWSER", "chromium")
hl.env("BROWSER", "helium")
hl.env("TERM", "tmux-256color")
hl.env("VISUAL", "nvim")
hl.env("EDITOR", "nvim")
hl.env("VISUAL", "vis")
hl.env("EDITOR", "gram")
hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-dark-cursors")
hl.env("HYPRCURSOR_SIZE", "32")
-7
View File
@@ -1,17 +1,10 @@
hl.on("hyprland.start", function()
-- hl.exec_cmd("zshell-cli shell start")
hl.exec_cmd("noctalia")
hl.exec_cmd("nm-applet")
hl.exec_cmd("blueman-applet")
hl.exec_cmd("fcitx5")
hl.exec_cmd("wl-paste --type text --watch cliphist store")
hl.exec_cmd("wl-paste --type image --watch cliphist store")
hl.exec_cmd("hyprsunset -i")
hl.exec_cmd("ksecretd")
hl.exec_cmd("nextcloud --background")
end)
hl.on("hyprland.start", function()
local time = tonumber(os.date("%H"))
if time < 22 and time > 8 then
hl.exec_cmd("brightnessctl s 100%")
+3 -3
View File
@@ -2,17 +2,17 @@ hl.monitor({
output = "eDP-1",
mode = "preferred@120",
position = "auto",
scale = 1.125,
scale = 1.25,
bitdepth = 10,
cm = "srgb",
})
hl.monitor({
output = "",
-- mirror = "eDP-1",
mirror = "eDP-1",
mode = "preferred",
position = "auto",
scale = 1,
scale = 1.5,
bitdepth = 10,
cm = "srgb",
})
+5 -4
View File
@@ -38,7 +38,7 @@ hl.config({
col = {
active_border = {
colors = {
C.colors.mauveAlpha,
C.colors.rosewaterAlpha,
C.colors.greenAlpha,
C.colors.sapphireAlpha,
C.colors.lavenderAlpha,
@@ -53,14 +53,14 @@ hl.config({
shadow = {
enabled = false,
range = 6,
render_power = 6,
render_power = 4,
color = C.colors.baseAlpha,
color_inactive = C.colors.mantleAlpha,
},
blur = {
enabled = true,
size = 2,
passes = 2,
size = 5,
passes = 3,
new_optimizations = true,
ignore_opacity = true,
contrast = 1.0,
@@ -70,6 +70,7 @@ hl.config({
xray = false,
noise = 0.05,
popups = true,
popups_ignorealpha = 0.6,
input_methods = true,
},
},
+1 -1
View File
@@ -4,7 +4,7 @@ hl.window_rule({
no_anim = true,
no_initial_focus = true,
max_size = { 1, 1 },
no_blur = true,
no_blur = false,
no_focus = true,
match = { class = "^(xwaylandvideobridge)$" },
})
-54
View File
@@ -1,54 +0,0 @@
-- 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
}