Compare commits

..
15 Commits
7 changed files with 44 additions and 31 deletions
+1
View File
@@ -0,0 +1 @@
noctalia.lua
+18 -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" }))
@@ -61,6 +61,22 @@ hl.bind("SUPER + F2", hl.dsp.global("zshell:toggle-settings"))
hl.bind("XF86MonBrightnessUp", hl.dsp.global("zshell:brightnessUp"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessDown", hl.dsp.global("zshell:brightnessDown"), { locked = true, repeating = true })
-- 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"))
hl.bind(
"XF86MonBrightnessUp",
hl.dsp.exec_cmd("noctalia msg brightness-up eDP-1 0.0133"),
{ locked = true, repeating = true }
)
hl.bind(
"XF86MonBrightnessDown",
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")
if m == nil then
+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")
+8 -13
View File
@@ -1,19 +1,14 @@
hl.on("hyprland.start", function()
hl.exec_cmd("zshell-cli shell start")
hl.exec_cmd("nm-applet")
hl.exec_cmd("blueman-applet")
hl.exec_cmd("noctalia")
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("ksecretd")
hl.exec_cmd("nextcloud --background")
local time = tonumber(os.date("%H"))
if time < 22 and time > 8 then
hl.exec_cmd("brightnessctl s 100%")
else
hl.exec_cmd("brightnessctl s 5%")
end
end)
local time = tonumber(os.date("%H"))
if time < 22 and time > 8 then
hl.exec_cmd("brightnessctl s 100%")
else
hl.exec_cmd("brightnessctl s 5%")
end
+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",
})
+10 -9
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,15 +70,16 @@ hl.config({
xray = false,
noise = 0.05,
popups = true,
popups_ignorealpha = 0.6,
input_methods = true,
},
},
ecosystem = { no_donation_nag = true, no_update_news = true },
misc = {
disable_hyprland_logo = true,
mouse_move_enables_dpms = true,
key_press_enables_dpms = true,
},
misc = {
disable_hyprland_logo = true,
mouse_move_enables_dpms = true,
key_press_enables_dpms = true,
},
debug = { full_cm_proto = true },
dwindle = { preserve_split = 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)$" },
})