mirror of
https://git.aramjonghu.dev/AramJonghu/hypr.git
synced 2026-10-31 20:16:28 +01:00
Compare commits
12
Commits
06fc972a09
..
laptop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be650af1a8
|
||
|
|
3d5ee479cb
|
||
|
|
4904da197e
|
||
|
|
df66be9a7e
|
||
|
|
a080c0b021
|
||
|
|
ba64e35279
|
||
|
|
c2a59a587d
|
||
|
|
4276d8f01f
|
||
|
|
a58952db16
|
||
|
|
04de82608e
|
||
|
|
e68350d7ff
|
||
|
|
430e1e6b47
|
@@ -0,0 +1 @@
|
|||||||
|
noctalia.lua
|
||||||
@@ -4,6 +4,3 @@ 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()
|
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ hl.bind("SUPER + Q", hl.dsp.window.close())
|
|||||||
hl.bind("SUPER + M", hl.dsp.exit())
|
hl.bind("SUPER + M", hl.dsp.exit())
|
||||||
hl.bind("SUPER + RETURN", hl.dsp.exec_cmd("ghostty"))
|
hl.bind("SUPER + RETURN", hl.dsp.exec_cmd("ghostty"))
|
||||||
hl.bind("SUPER + E", hl.dsp.exec_cmd("dolphin"))
|
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 + H", hl.dsp.focus({ direction = "l" }))
|
||||||
hl.bind("SUPER + L", hl.dsp.focus({ direction = "r" }))
|
hl.bind("SUPER + L", hl.dsp.focus({ direction = "r" }))
|
||||||
|
|||||||
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
hl.env("ZSH", "/usr/share/oh-my-zsh/")
|
hl.env("ZSH", "/usr/share/oh-my-zsh/")
|
||||||
hl.env("BROWSER", "chromium")
|
hl.env("BROWSER", "helium")
|
||||||
hl.env("TERM", "tmux-256color")
|
hl.env("TERM", "tmux-256color")
|
||||||
hl.env("VISUAL", "nvim")
|
hl.env("VISUAL", "vis")
|
||||||
hl.env("EDITOR", "nvim")
|
hl.env("EDITOR", "gram")
|
||||||
|
|
||||||
hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-dark-cursors")
|
hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-dark-cursors")
|
||||||
hl.env("HYPRCURSOR_SIZE", "32")
|
hl.env("HYPRCURSOR_SIZE", "32")
|
||||||
|
|||||||
@@ -1,17 +1,10 @@
|
|||||||
hl.on("hyprland.start", function()
|
hl.on("hyprland.start", function()
|
||||||
-- hl.exec_cmd("zshell-cli shell start")
|
|
||||||
hl.exec_cmd("noctalia")
|
hl.exec_cmd("noctalia")
|
||||||
hl.exec_cmd("nm-applet")
|
|
||||||
hl.exec_cmd("blueman-applet")
|
|
||||||
hl.exec_cmd("fcitx5")
|
hl.exec_cmd("fcitx5")
|
||||||
hl.exec_cmd("wl-paste --type text --watch cliphist store")
|
hl.exec_cmd("wl-paste --type text --watch cliphist store")
|
||||||
hl.exec_cmd("wl-paste --type image --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")
|
hl.exec_cmd("nextcloud --background")
|
||||||
end)
|
|
||||||
|
|
||||||
hl.on("hyprland.start", function()
|
|
||||||
local time = tonumber(os.date("%H"))
|
local time = tonumber(os.date("%H"))
|
||||||
if time < 22 and time > 8 then
|
if time < 22 and time > 8 then
|
||||||
hl.exec_cmd("brightnessctl s 100%")
|
hl.exec_cmd("brightnessctl s 100%")
|
||||||
|
|||||||
@@ -2,17 +2,17 @@ hl.monitor({
|
|||||||
output = "eDP-1",
|
output = "eDP-1",
|
||||||
mode = "preferred@120",
|
mode = "preferred@120",
|
||||||
position = "auto",
|
position = "auto",
|
||||||
scale = 1.125,
|
scale = 1.25,
|
||||||
bitdepth = 10,
|
bitdepth = 10,
|
||||||
cm = "srgb",
|
cm = "srgb",
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.monitor({
|
hl.monitor({
|
||||||
output = "",
|
output = "",
|
||||||
-- mirror = "eDP-1",
|
mirror = "eDP-1",
|
||||||
mode = "preferred",
|
mode = "preferred",
|
||||||
position = "auto",
|
position = "auto",
|
||||||
scale = 1,
|
scale = 1.5,
|
||||||
bitdepth = 10,
|
bitdepth = 10,
|
||||||
cm = "srgb",
|
cm = "srgb",
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ hl.config({
|
|||||||
col = {
|
col = {
|
||||||
active_border = {
|
active_border = {
|
||||||
colors = {
|
colors = {
|
||||||
C.colors.mauveAlpha,
|
C.colors.rosewaterAlpha,
|
||||||
C.colors.greenAlpha,
|
C.colors.greenAlpha,
|
||||||
C.colors.sapphireAlpha,
|
C.colors.sapphireAlpha,
|
||||||
C.colors.lavenderAlpha,
|
C.colors.lavenderAlpha,
|
||||||
@@ -53,14 +53,14 @@ hl.config({
|
|||||||
shadow = {
|
shadow = {
|
||||||
enabled = false,
|
enabled = false,
|
||||||
range = 6,
|
range = 6,
|
||||||
render_power = 6,
|
render_power = 4,
|
||||||
color = C.colors.baseAlpha,
|
color = C.colors.baseAlpha,
|
||||||
color_inactive = C.colors.mantleAlpha,
|
color_inactive = C.colors.mantleAlpha,
|
||||||
},
|
},
|
||||||
blur = {
|
blur = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
size = 2,
|
size = 5,
|
||||||
passes = 2,
|
passes = 3,
|
||||||
new_optimizations = true,
|
new_optimizations = true,
|
||||||
ignore_opacity = true,
|
ignore_opacity = true,
|
||||||
contrast = 1.0,
|
contrast = 1.0,
|
||||||
@@ -70,6 +70,7 @@ hl.config({
|
|||||||
xray = false,
|
xray = false,
|
||||||
noise = 0.05,
|
noise = 0.05,
|
||||||
popups = true,
|
popups = true,
|
||||||
|
popups_ignorealpha = 0.6,
|
||||||
input_methods = true,
|
input_methods = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ hl.window_rule({
|
|||||||
no_anim = true,
|
no_anim = true,
|
||||||
no_initial_focus = true,
|
no_initial_focus = true,
|
||||||
max_size = { 1, 1 },
|
max_size = { 1, 1 },
|
||||||
no_blur = true,
|
no_blur = false,
|
||||||
no_focus = true,
|
no_focus = true,
|
||||||
match = { class = "^(xwaylandvideobridge)$" },
|
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