mirror of
https://git.aramjonghu.dev/AramJonghu/hypr.git
synced 2026-10-30 11:56:27 +01:00
Compare commits
12
Commits
e6e8e29525
..
laptop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d5ee479cb
|
||
|
|
4904da197e
|
||
|
|
df66be9a7e
|
||
|
|
a080c0b021
|
||
|
|
ba64e35279
|
||
|
|
c2a59a587d
|
||
|
|
4276d8f01f
|
||
|
|
a58952db16
|
||
|
|
04de82608e
|
||
|
|
e68350d7ff
|
||
|
|
430e1e6b47
|
||
|
|
06fc972a09
|
@@ -0,0 +1 @@
|
||||
noctalia.lua
|
||||
@@ -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
@@ -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
@@ -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")
|
||||
|
||||
@@ -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%")
|
||||
|
||||
@@ -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",
|
||||
})
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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)$" },
|
||||
})
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user