mirror of
https://git.aramjonghu.dev/AramJonghu/hypr.git
synced 2026-09-06 17:53:30 +02:00
Compare commits
23
Commits
laptop
..
243dba08d7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
243dba08d7 | ||
|
|
551d507c31 | ||
|
|
7cf2a3d08d | ||
|
|
f387a0790e | ||
|
|
b7e706fde1 | ||
|
|
b6349ceaec | ||
|
|
d3611e011d | ||
|
|
1fea63a56f | ||
|
|
ddd43eb621 | ||
|
|
51d21f38b1 | ||
|
|
6ef6203053 | ||
|
|
5ba84f935a | ||
|
|
8360060147 | ||
|
|
a729a37e4c | ||
|
|
0cb7b324ea | ||
|
|
52e80dd8c7 | ||
|
|
de39793c8e | ||
|
|
4cff9aaf8c | ||
|
|
1b19d5f696 | ||
|
|
c985449d4e | ||
|
|
d647e2b765 | ||
|
|
cec875da63 | ||
|
|
6c6a60af2f |
+4
-20
@@ -51,6 +51,10 @@ hl.bind(
|
||||
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("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
||||
hl.bind("XF86WebCam", hl.dsp.exec_cmd(""), { locked = true, repeating = true })
|
||||
-- Broken on Artix -> Seems to not expose XF86 keys when not on DE (KDE Plasma worked)
|
||||
-- hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl set +5%"), { locked = true, repeating = true })
|
||||
-- hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl set -5%"), { locked = true, repeating = true })
|
||||
|
||||
hl.bind("PRINT", hl.dsp.global("zshell:screenshotFreeze"))
|
||||
hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher"))
|
||||
@@ -58,23 +62,3 @@ hl.bind("SUPER + A", hl.dsp.global("zshell:toggle-nc"))
|
||||
hl.bind("SUPER + V", hl.dsp.global("zshell:toggle-drawing"))
|
||||
hl.bind("SUPER + F1", hl.dsp.global("zshell:lock"))
|
||||
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 })
|
||||
|
||||
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)
|
||||
|
||||
+2
-4
@@ -4,8 +4,8 @@ hl.env("TERM", "tmux-256color")
|
||||
hl.env("VISUAL", "nvim")
|
||||
hl.env("EDITOR", "nvim")
|
||||
|
||||
hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-dark-cursors")
|
||||
hl.env("HYPRCURSOR_SIZE", "32")
|
||||
hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-light-cursors")
|
||||
hl.env("HYPRCURSOR_SIZE", "28")
|
||||
|
||||
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
|
||||
hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
|
||||
@@ -24,5 +24,3 @@ hl.env("XDG_CACHE_HOME", "/home/aram/.cache")
|
||||
hl.env("XDG_DATA_HOME", "/home/aram/.local/share")
|
||||
hl.env("XDG_PICTRES_HOME", "/home/aram/Pictures")
|
||||
hl.env("HYPRSHOT_DIR", "/home/aram/Pictures/Screenshots")
|
||||
|
||||
hl.env("DBUS_SESSION_BUS_ADDRESS", "unix:path=/run/user/1000/bus")
|
||||
|
||||
+1
-10
@@ -1,19 +1,10 @@
|
||||
hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("zshell-cli shell start")
|
||||
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")
|
||||
hl.exec_cmd("zigbright listen")
|
||||
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
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
hl.monitor({
|
||||
output = "eDP-1",
|
||||
mode = "preferred@120",
|
||||
position = "auto",
|
||||
scale = 1.125,
|
||||
mode = "2880x1800@120",
|
||||
position = "0x0",
|
||||
scale = 1,
|
||||
bitdepth = 10,
|
||||
cm = "srgb",
|
||||
cm = "hdr",
|
||||
})
|
||||
|
||||
hl.monitor({
|
||||
output = "",
|
||||
-- mirror = "eDP-1",
|
||||
mode = "preferred",
|
||||
mode = "3840x2160@60",
|
||||
position = "auto",
|
||||
scale = 1,
|
||||
scale = 1.5,
|
||||
bitdepth = 10,
|
||||
cm = "srgb",
|
||||
mirror = "eDP-1"
|
||||
})
|
||||
|
||||
@@ -14,14 +14,19 @@ hl.layer_rule({
|
||||
ignore_alpha = 0.5,
|
||||
})
|
||||
|
||||
hl.gesture = { fingers = 3, direction = "horizontal", action = "workspace" }
|
||||
hl.gesture = {
|
||||
fingers = 3,
|
||||
direction = "horizontal",
|
||||
action = "workspace",
|
||||
workspace_swipe_touch = true,
|
||||
}
|
||||
|
||||
hl.config({
|
||||
input = {
|
||||
kb_layout = "us",
|
||||
kb_variant = "intl",
|
||||
kb_options = "fkeys:basic_13-24",
|
||||
sensitivity = 0.4,
|
||||
sensitivity = 0,
|
||||
accel_profile = "flat",
|
||||
follow_mouse = 1,
|
||||
touchpad = {
|
||||
|
||||
Reference in New Issue
Block a user