mirror of
https://git.aramjonghu.dev/AramJonghu/hypr.git
synced 2026-09-06 17:53:30 +02:00
Compare commits
5
Commits
002fbc7f45
...
laptop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33d904ebb8
|
||
|
|
6f2d9f8fd4
|
||
|
|
2a618cd647
|
||
|
|
4c2129b1c1
|
||
|
|
7e60b85287
|
@@ -60,3 +60,21 @@ 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
-2
@@ -4,8 +4,8 @@ hl.env("TERM", "tmux-256color")
|
||||
hl.env("VISUAL", "nvim")
|
||||
hl.env("EDITOR", "nvim")
|
||||
|
||||
hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-light-cursors")
|
||||
hl.env("HYPRCURSOR_SIZE", "28")
|
||||
hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-dark-cursors")
|
||||
hl.env("HYPRCURSOR_SIZE", "32")
|
||||
|
||||
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
|
||||
hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
hl.monitor({
|
||||
output = "eDP-1",
|
||||
mode = "2880x1800@120",
|
||||
position = "0x0",
|
||||
mode = "preferred@120",
|
||||
position = "auto",
|
||||
scale = 1.125,
|
||||
bitdepth = 10,
|
||||
cm = "srgb",
|
||||
@@ -9,7 +9,8 @@ hl.monitor({
|
||||
|
||||
hl.monitor({
|
||||
output = "",
|
||||
mode = "highres@highrr",
|
||||
-- mirror = "eDP-1",
|
||||
mode = "preferred",
|
||||
position = "auto",
|
||||
scale = 1,
|
||||
bitdepth = 10,
|
||||
|
||||
Reference in New Issue
Block a user