mirror of
https://git.aramjonghu.dev/AramJonghu/hypr.git
synced 2026-09-13 20:43:31 +02:00
Compare commits
12
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
002fbc7f45
|
||
|
|
01d3d40ee1 | ||
|
|
9c90723d41 | ||
|
|
09d61f4258 | ||
|
|
18e3dbf57e | ||
|
|
e64cc22cb8 | ||
|
|
3d61c5a9d0 | ||
|
|
b820d8b10f | ||
|
|
f8786cc8a5 | ||
|
|
0053de6c2b | ||
|
|
0b1d0da473 | ||
|
|
d7badae993 |
+2
-3
@@ -51,7 +51,6 @@ hl.bind(
|
|||||||
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("XF86WebCam", hl.dsp.exec_cmd(""), { locked = true, repeating = true })
|
|
||||||
|
|
||||||
hl.bind("PRINT", hl.dsp.global("zshell:screenshotFreeze"))
|
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"))
|
||||||
@@ -59,5 +58,5 @@ 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("XF86MonBrightnessDown", hl.dsp.global("zshell:brightnessDown"))
|
hl.bind("XF86MonBrightnessUp", hl.dsp.global("zshell:brightnessUp"), { locked = true, repeating = true })
|
||||||
hl.bind("XF86MonBrightnessUp", hl.dsp.global("zshell:brightnessUp"))
|
hl.bind("XF86MonBrightnessDown", hl.dsp.global("zshell:brightnessDown"), { locked = true, repeating = true })
|
||||||
|
|||||||
+10
-1
@@ -1,10 +1,19 @@
|
|||||||
hl.on("hyprland.start", function()
|
hl.on("hyprland.start", function()
|
||||||
hl.exec_cmd("zshell-cli shell start")
|
hl.exec_cmd("zshell-cli shell start")
|
||||||
hl.exec_cmd("nm-applet")
|
hl.exec_cmd("nm-applet")
|
||||||
hl.exec_cmd("blueman-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("hyprsunset -i")
|
||||||
|
hl.exec_cmd("ksecretd")
|
||||||
hl.exec_cmd("nextcloud --background")
|
hl.exec_cmd("nextcloud --background")
|
||||||
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
|
||||||
|
|||||||
@@ -4,15 +4,14 @@ hl.monitor({
|
|||||||
position = "0x0",
|
position = "0x0",
|
||||||
scale = 1.125,
|
scale = 1.125,
|
||||||
bitdepth = 10,
|
bitdepth = 10,
|
||||||
cm = "hdr",
|
cm = "srgb",
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.monitor({
|
hl.monitor({
|
||||||
output = "",
|
output = "",
|
||||||
mode = "3840x2160@60",
|
mode = "highres@highrr",
|
||||||
position = "auto",
|
position = "auto",
|
||||||
scale = 1.5,
|
scale = 1,
|
||||||
bitdepth = 10,
|
bitdepth = 10,
|
||||||
cm = "srgb",
|
cm = "srgb",
|
||||||
mirror = "eDP-1",
|
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -14,19 +14,14 @@ hl.layer_rule({
|
|||||||
ignore_alpha = 0.5,
|
ignore_alpha = 0.5,
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.gesture = {
|
hl.gesture = { fingers = 3, direction = "horizontal", action = "workspace" }
|
||||||
fingers = 3,
|
|
||||||
direction = "horizontal",
|
|
||||||
action = "workspace",
|
|
||||||
workspace_swipe_touch = true,
|
|
||||||
}
|
|
||||||
|
|
||||||
hl.config({
|
hl.config({
|
||||||
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 = {
|
touchpad = {
|
||||||
|
|||||||
Reference in New Issue
Block a user