mirror of
https://git.aramjonghu.dev/AramJonghu/hypr.git
synced 2026-11-01 04:26:29 +01:00
Compare commits
16
Commits
c96afde764
..
laptop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be650af1a8
|
||
|
|
3d5ee479cb
|
||
|
|
4904da197e
|
||
|
|
df66be9a7e
|
||
|
|
a080c0b021
|
||
|
|
ba64e35279
|
||
|
|
c2a59a587d
|
||
|
|
4276d8f01f
|
||
|
|
a58952db16
|
||
|
|
04de82608e
|
||
|
|
e68350d7ff
|
||
|
|
430e1e6b47
|
||
|
|
06fc972a09
|
||
|
|
e6e8e29525
|
||
|
|
89e906fdd6
|
||
|
|
b651711100
|
@@ -0,0 +1 @@
|
|||||||
|
noctalia.lua
|
||||||
+17
-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" }))
|
||||||
@@ -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("XF86MonBrightnessUp", hl.dsp.global("zshell:brightnessUp"), { locked = true, repeating = true })
|
||||||
hl.bind("XF86MonBrightnessDown", hl.dsp.global("zshell:brightnessDown"), { 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()
|
hl.bind("SUPER + T", function()
|
||||||
local m = hl.get_monitor("eDP-1")
|
local m = hl.get_monitor("eDP-1")
|
||||||
if m == nil then
|
if m == nil then
|
||||||
|
|||||||
+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")
|
||||||
|
|||||||
+8
-13
@@ -1,19 +1,14 @@
|
|||||||
hl.on("hyprland.start", function()
|
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("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")
|
||||||
|
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)
|
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
|
|
||||||
|
|||||||
@@ -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",
|
||||||
})
|
})
|
||||||
|
|||||||
+10
-9
@@ -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,15 +70,16 @@ 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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ecosystem = { no_donation_nag = true, no_update_news = true },
|
ecosystem = { no_donation_nag = true, no_update_news = true },
|
||||||
misc = {
|
misc = {
|
||||||
disable_hyprland_logo = true,
|
disable_hyprland_logo = true,
|
||||||
mouse_move_enables_dpms = true,
|
mouse_move_enables_dpms = true,
|
||||||
key_press_enables_dpms = true,
|
key_press_enables_dpms = true,
|
||||||
},
|
},
|
||||||
debug = { full_cm_proto = true },
|
debug = { full_cm_proto = true },
|
||||||
dwindle = { preserve_split = true },
|
dwindle = { preserve_split = 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)$" },
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user