mirror of
https://git.aramjonghu.dev/AramJonghu/hypr.git
synced 2026-10-30 19:56:27 +01:00
Compare commits
54
Commits
master
..
df66be9a7e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df66be9a7e
|
||
|
|
a080c0b021
|
||
|
|
ba64e35279
|
||
|
|
c2a59a587d
|
||
|
|
4276d8f01f
|
||
|
|
a58952db16
|
||
|
|
04de82608e
|
||
|
|
e68350d7ff
|
||
|
|
430e1e6b47
|
||
|
|
06fc972a09
|
||
|
|
e6e8e29525
|
||
|
|
89e906fdd6
|
||
|
|
b651711100
|
||
|
|
c96afde764
|
||
|
|
111920c5ba
|
||
|
|
33d904ebb8
|
||
|
|
6f2d9f8fd4
|
||
|
|
2a618cd647
|
||
|
|
4c2129b1c1
|
||
|
|
7e60b85287
|
||
|
|
002fbc7f45
|
||
|
|
01d3d40ee1 | ||
|
|
9c90723d41 | ||
|
|
09d61f4258 | ||
|
|
18e3dbf57e | ||
|
|
e64cc22cb8 | ||
|
|
3d61c5a9d0 | ||
|
|
b820d8b10f | ||
|
|
f8786cc8a5 | ||
|
|
0053de6c2b | ||
|
|
0b1d0da473 | ||
|
|
d7badae993 | ||
|
|
09f35815c8 | ||
|
|
1041a244ac | ||
|
|
45deaad2fe | ||
|
|
7f2285f130 | ||
|
|
5e75cc6246 | ||
|
|
c09cb6c791 | ||
|
|
4974633751 | ||
|
|
ed63bdebe1 | ||
|
|
6e9a453c76 | ||
|
|
e6089354e4 | ||
|
|
411fc0f0bb | ||
|
|
6fc558ed2f | ||
|
|
d608462b94 | ||
|
|
cbba6c9afe | ||
|
|
b40e1f5d5a | ||
|
|
e0182aff29 | ||
|
|
cb8eedb914 | ||
|
|
2a19c051c3 | ||
|
|
2d4c1f09fc | ||
|
|
de44ac857d | ||
|
|
cfd4f28171 | ||
|
|
6be730fdaa |
@@ -0,0 +1 @@
|
|||||||
|
noctalia.lua
|
||||||
+33
-5
@@ -41,28 +41,56 @@ hl.bind(
|
|||||||
hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"),
|
hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"),
|
||||||
{ repeating = true, locked = true }
|
{ repeating = true, locked = true }
|
||||||
)
|
)
|
||||||
|
|
||||||
hl.bind(
|
hl.bind(
|
||||||
"code:192",
|
"XF86AudioMicMute",
|
||||||
hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"),
|
hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"),
|
||||||
{ repeating = true, locked = true }
|
{ repeating = true, locked = true }
|
||||||
)
|
)
|
||||||
hl.bind("code:193", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), { repeating = true, locked = true })
|
|
||||||
hl.bind("code:194", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-"), { repeating = true, locked = true })
|
|
||||||
hl.bind("code:195", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%+"), { repeating = true, locked = true })
|
|
||||||
|
|
||||||
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
|
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
|
||||||
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
|
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
|
||||||
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
||||||
|
|
||||||
hl.bind("PRINT", hl.dsp.global("zshell:screenshot"))
|
hl.bind("PRINT", hl.dsp.global("zshell:screenshotFreeze"))
|
||||||
hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher"))
|
hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher"))
|
||||||
hl.bind("SUPER + A", hl.dsp.global("zshell:toggle-nc"))
|
hl.bind("SUPER + A", hl.dsp.global("zshell:toggle-nc"))
|
||||||
hl.bind("SUPER + V", hl.dsp.global("zshell:toggle-drawing"))
|
hl.bind("SUPER + V", hl.dsp.global("zshell:toggle-drawing"))
|
||||||
hl.bind("SUPER + F1", hl.dsp.global("zshell:lock"))
|
hl.bind("SUPER + F1", hl.dsp.global("zshell:lock"))
|
||||||
hl.bind("SUPER + F2", hl.dsp.global("zshell:toggle-settings"))
|
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
|
-- Noctalia binds
|
||||||
hl.bind("SUPER + R", hl.dsp.exec_cmd("noctalia msg panel-toggle launcher"))
|
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("PRINT", hl.dsp.exec_cmd("noctalia msg screenshot-region"))
|
||||||
hl.bind("SUPER + F1", hl.dsp.exec_cmd("noctalia msg session lock"))
|
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 + 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
|
||||||
|
return
|
||||||
|
end
|
||||||
|
local t = m.transform == 0 and 1 or 0
|
||||||
|
hl.monitor({
|
||||||
|
output = "eDP-1",
|
||||||
|
mode = "2880x1800@120",
|
||||||
|
position = "0x0",
|
||||||
|
scale = 1.125,
|
||||||
|
bitdepth = 10,
|
||||||
|
cm = "srgb",
|
||||||
|
transform = t,
|
||||||
|
})
|
||||||
|
hl.config({ input = { touchdevice = { transform = t }, tablet = { transform = t } } })
|
||||||
|
end)
|
||||||
|
|||||||
+6
-12
@@ -5,7 +5,7 @@ hl.env("VISUAL", "vis")
|
|||||||
hl.env("EDITOR", "gram")
|
hl.env("EDITOR", "gram")
|
||||||
|
|
||||||
hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-dark-cursors")
|
hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-dark-cursors")
|
||||||
hl.env("HYPRCURSOR_SIZE", "28")
|
hl.env("HYPRCURSOR_SIZE", "32")
|
||||||
|
|
||||||
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
|
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
|
||||||
hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
|
hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
|
||||||
@@ -19,16 +19,10 @@ hl.env("CLUTTER_BACKEND", "wayland")
|
|||||||
hl.env("GDK_BACKEND", "wayland")
|
hl.env("GDK_BACKEND", "wayland")
|
||||||
hl.env("SDL_VIDEODRIVER", "wayland")
|
hl.env("SDL_VIDEODRIVER", "wayland")
|
||||||
|
|
||||||
hl.env("XDG_CONFIG_HOME", "/home/koyomi/.config")
|
hl.env("XDG_CONFIG_HOME", "/home/aram/.config")
|
||||||
hl.env("XDG_CACHE_HOME", "/home/koyomi/.cache")
|
hl.env("XDG_CACHE_HOME", "/home/aram/.cache")
|
||||||
hl.env("XDG_DATA_HOME", "/home/koyomi/.local/share")
|
hl.env("XDG_DATA_HOME", "/home/aram/.local/share")
|
||||||
hl.env("XDG_PICTRES_HOME", "/home/koyomi/Pictures")
|
hl.env("XDG_PICTRES_HOME", "/home/aram/Pictures")
|
||||||
hl.env("HYPRSHOT_DIR", "/home/koyomi/Pictures/Screenshots")
|
hl.env("HYPRSHOT_DIR", "/home/aram/Pictures/Screenshots")
|
||||||
|
|
||||||
hl.env("RUSTICL_ENABLE", "radeonsi")
|
|
||||||
hl.env("AMD_VULKAN_ICD", "RADV")
|
|
||||||
|
|
||||||
hl.env("HSA_OVERRIDE_GFX_VERSION", "12.0.1")
|
|
||||||
hl.env("HCC_AMDGPU_TARGET", "gfx1201")
|
|
||||||
|
|
||||||
hl.env("DBUS_SESSION_BUS_ADDRESS", "unix:path=/run/user/1000/bus")
|
hl.env("DBUS_SESSION_BUS_ADDRESS", "unix:path=/run/user/1000/bus")
|
||||||
|
|||||||
@@ -1,11 +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("noctalia")
|
||||||
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("nextcloud --background")
|
|
||||||
hl.exec_cmd("ksecretd")
|
hl.exec_cmd("ksecretd")
|
||||||
hl.exec_cmd("easyeffects --service-mode")
|
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)
|
||||||
|
|||||||
+12
-14
@@ -1,19 +1,17 @@
|
|||||||
hl.monitor({
|
hl.monitor({
|
||||||
output = "DP-1",
|
output = "eDP-1",
|
||||||
mode = "2560x1440@240",
|
mode = "preferred@120",
|
||||||
position = "auto-left",
|
position = "auto",
|
||||||
scale = 1,
|
|
||||||
bitdepth = 10,
|
|
||||||
cm = "srgb",
|
|
||||||
vrr = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.monitor({
|
|
||||||
output = "DP-2",
|
|
||||||
mode = "preffered",
|
|
||||||
position = "auto-right",
|
|
||||||
scale = 1.25,
|
scale = 1.25,
|
||||||
bitdepth = 10,
|
bitdepth = 10,
|
||||||
cm = "srgb",
|
cm = "srgb",
|
||||||
transform = 3,
|
})
|
||||||
|
|
||||||
|
hl.monitor({
|
||||||
|
output = "",
|
||||||
|
mode = "preferred",
|
||||||
|
position = "auto",
|
||||||
|
scale = 1.5,
|
||||||
|
bitdepth = 10,
|
||||||
|
cm = "srgb",
|
||||||
})
|
})
|
||||||
|
|||||||
+15
-19
@@ -14,18 +14,23 @@ hl.layer_rule({
|
|||||||
ignore_alpha = 0.5,
|
ignore_alpha = 0.5,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
hl.gesture = { fingers = 3, direction = "horizontal", action = "workspace" }
|
||||||
|
|
||||||
hl.config({
|
hl.config({
|
||||||
render = {
|
|
||||||
cm_auto_hdr = 0,
|
|
||||||
},
|
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "us",
|
kb_layout = "us",
|
||||||
kb_variant = "intl",
|
kb_variant = "intl",
|
||||||
kb_options = "fkeys:basic_13-24",
|
kb_options = "fkeys:basic_13-24",
|
||||||
sensitivity = 0,
|
sensitivity = 0.4,
|
||||||
accel_profile = "flat",
|
accel_profile = "flat",
|
||||||
follow_mouse = 1,
|
follow_mouse = 1,
|
||||||
|
touchpad = {
|
||||||
|
natural_scroll = true,
|
||||||
|
scroll_factor = 0.4,
|
||||||
|
middle_button_emulation = true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
gestures = { workspace_swipe_touch = true },
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 0,
|
gaps_in = 0,
|
||||||
gaps_out = 0,
|
gaps_out = 0,
|
||||||
@@ -40,10 +45,7 @@ hl.config({
|
|||||||
},
|
},
|
||||||
angle = 90,
|
angle = 90,
|
||||||
},
|
},
|
||||||
inactive_border = {
|
inactive_border = { colors = { C.colors.surface1Alpha }, angle = 90 },
|
||||||
colors = { C.colors.surface1Alpha },
|
|
||||||
angle = 90,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
decoration = {
|
decoration = {
|
||||||
@@ -51,7 +53,7 @@ hl.config({
|
|||||||
shadow = {
|
shadow = {
|
||||||
enabled = false,
|
enabled = false,
|
||||||
range = 6,
|
range = 6,
|
||||||
render_power = 4,
|
render_power = 6,
|
||||||
color = C.colors.baseAlpha,
|
color = C.colors.baseAlpha,
|
||||||
color_inactive = C.colors.mantleAlpha,
|
color_inactive = C.colors.mantleAlpha,
|
||||||
},
|
},
|
||||||
@@ -68,24 +70,18 @@ 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 = {
|
ecosystem = { no_donation_nag = true, no_update_news = true },
|
||||||
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 = {
|
debug = { full_cm_proto = true },
|
||||||
full_cm_proto = true,
|
dwindle = { preserve_split = true },
|
||||||
},
|
|
||||||
dwindle = {
|
|
||||||
preserve_split = true,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
local animations = {
|
local animations = {
|
||||||
|
|||||||
@@ -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