Compare commits

..
25 Commits
Author SHA1 Message Date
AramJonghu 1eb2d5ba0a no more need for zigbright 2026-06-16 00:00:14 +02:00
AramJonghu 266cc43bda zshell globalshortcuts for brightness works 2026-06-15 23:59:54 +02:00
AramJonghu 243dba08d7 firefox -> ungoogled chromium 2026-06-14 21:29:00 +02:00
AramJonghu 551d507c31 brightnessctl hack with zigbright, mirror monitor 2026-06-06 04:28:44 +02:00
AramJonghu 7cf2a3d08d commented brightnessctl keys 2026-06-05 02:01:15 +02:00
AramJonghu f387a0790e brightnessctl typo fixed 2026-06-05 01:05:41 +02:00
AramJonghu b7e706fde1 stylua 2026-06-05 00:56:05 +02:00
AramJonghu b6349ceaec touchscreen workspace support, hdr testing 2026-05-29 19:39:07 +02:00
Aram MarkarovandForgejo Server d3611e011d Merge pull request 'new-laptop' (#4) from new-laptop into laptop
Reviewed-on: https://git.aramjonghu.nl/AramJonghu/hypr/pulls/4
2026-05-28 11:46:25 +02:00
AramJonghu 1fea63a56f added gestures, touch, max brightness default 2026-05-27 20:47:32 +02:00
AramJonghu ddd43eb621 prep new laptop 2026-05-27 15:55:02 +02:00
AramJonghu 51d21f38b1 test signed commit 2026-05-24 03:49:52 +02:00
AramJonghu 6ef6203053 stylua and super + s now floats window 2026-05-24 03:49:15 +02:00
AramJonghu 5ba84f935a micmute 2026-05-18 09:39:52 +02:00
AramJonghu 8360060147 scaling fixed 2026-05-15 22:31:38 +02:00
AramJonghu a729a37e4c disable scaling cuz hyprbroken 2026-05-15 00:42:49 +02:00
AramJonghu 0cb7b324ea max brightness cuz brightness media keys seem broken 2026-05-13 08:26:43 +02:00
AramJonghu 52e80dd8c7 extend monitor 2026-05-12 09:28:53 +02:00
AramJonghu de39793c8e good? 2026-05-12 01:23:45 +02:00
AramJonghu 4cff9aaf8c good? 2026-05-12 01:23:12 +02:00
AramJonghu 1b19d5f696 good? 2026-05-12 00:37:58 +02:00
AramJonghu c985449d4e /home/koyomi is a bit of a mess 2026-05-12 00:16:47 +02:00
AramJonghu d647e2b765 removal regular conf 2026-05-11 23:28:21 +02:00
AramJonghu cec875da63 Merge branch 'no-uwsm-laptop' into laptop 2026-05-11 23:27:13 +02:00
AramJonghu 6c6a60af2f lua update laptop 2026-05-11 23:23:13 +02:00
5 changed files with 102 additions and 64 deletions
+3 -20
View File
@@ -51,6 +51,7 @@ 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"))
@@ -58,23 +59,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("XF86MonBrightnessUp", hl.dsp.global("zshell:brightnessUp"), { locked = true, repeating = true }) hl.bind("XF86MonBrightnessDown", hl.dsp.global("zshell:brightnessDown"))
hl.bind("XF86MonBrightnessDown", hl.dsp.global("zshell:brightnessDown"), { locked = true, repeating = true }) hl.bind("XF86MonBrightnessUp", hl.dsp.global("zshell:brightnessUp"))
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
View File
@@ -4,8 +4,8 @@ hl.env("TERM", "tmux-256color")
hl.env("VISUAL", "nvim") hl.env("VISUAL", "nvim")
hl.env("EDITOR", "nvim") hl.env("EDITOR", "nvim")
hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-dark-cursors") hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-light-cursors")
hl.env("HYPRCURSOR_SIZE", "32") hl.env("HYPRCURSOR_SIZE", "28")
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")
@@ -24,5 +24,3 @@ hl.env("XDG_CACHE_HOME", "/home/aram/.cache")
hl.env("XDG_DATA_HOME", "/home/aram/.local/share") hl.env("XDG_DATA_HOME", "/home/aram/.local/share")
hl.env("XDG_PICTRES_HOME", "/home/aram/Pictures") hl.env("XDG_PICTRES_HOME", "/home/aram/Pictures")
hl.env("HYPRSHOT_DIR", "/home/aram/Pictures/Screenshots") hl.env("HYPRSHOT_DIR", "/home/aram/Pictures/Screenshots")
hl.env("DBUS_SESSION_BUS_ADDRESS", "unix:path=/run/user/1000/bus")
-10
View File
@@ -1,19 +1,9 @@
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("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
+7 -7
View File
@@ -1,18 +1,18 @@
hl.monitor({ hl.monitor({
output = "eDP-1", output = "eDP-1",
mode = "preferred@120", mode = "2880x1800@120",
position = "auto", position = "0x0",
scale = 1.125, scale = 1,
bitdepth = 10, bitdepth = 10,
cm = "srgb", cm = "hdr",
}) })
hl.monitor({ hl.monitor({
output = "", output = "",
-- mirror = "eDP-1", mode = "3840x2160@60",
mode = "preferred",
position = "auto", position = "auto",
scale = 1, scale = 1.5,
bitdepth = 10, bitdepth = 10,
cm = "srgb", cm = "srgb",
mirror = "eDP-1"
}) })
+90 -23
View File
@@ -14,14 +14,19 @@ hl.layer_rule({
ignore_alpha = 0.5, 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({ 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.4, sensitivity = 0,
accel_profile = "flat", accel_profile = "flat",
follow_mouse = 1, follow_mouse = 1,
touchpad = { touchpad = {
@@ -32,9 +37,9 @@ hl.config({
}, },
gestures = { workspace_swipe_touch = true }, gestures = { workspace_swipe_touch = true },
general = { general = {
gaps_in = 0, gaps_in = 2,
gaps_out = 0, gaps_out = 2,
border_size = 1, border_size = 2,
col = { col = {
active_border = { active_border = {
colors = { colors = {
@@ -79,33 +84,95 @@ hl.config({
dwindle = { preserve_split = true }, dwindle = { preserve_split = true },
}) })
local animations = { local animations = {
{ leaf = "border", enabled = true, speed = 2, bezier = "linear" }, { leaf = "border", enabled = true, speed = 4, bezier = "linear" },
{ leaf = "fadeOut", enabled = true, speed = 2, bezier = "default" }, {
{ leaf = "fadeIn", enabled = true, speed = 3, bezier = "default" }, leaf = "borderangle",
enabled = false,
speed = 3,
bezier = "linear",
style = "loop",
},
{ leaf = "fadeOut", enabled = true, speed = 3, bezier = "default" },
{ leaf = "fadeIn", enabled = true, speed = 4, bezier = "default" },
{ leaf = "fadeLayers", enabled = true, speed = 1, bezier = "default" }, { leaf = "fadeLayers", enabled = true, speed = 1, bezier = "default" },
{ leaf = "fadePopups", enabled = true, speed = 1, bezier = "default" }, { leaf = "fadePopups", enabled = true, speed = 1, bezier = "default" },
{ leaf = "global", enabled = true, speed = 3, bezier = "default" }, { leaf = "global", enabled = true, speed = 6, bezier = "default" },
{ leaf = "layers", enabled = true, speed = 3, bezier = "cubic-bezier", style = "fade" }, {
{ leaf = "windows", enabled = true, speed = 2, bezier = "wind", style = "popin" }, leaf = "layers",
{ leaf = "windowsIn", enabled = true, speed = 2, bezier = "winIn", style = "popin 90%" }, enabled = true,
{ leaf = "windowsOut", enabled = true, speed = 2, bezier = "winOut", style = "popin 90%" }, speed = 5,
{ leaf = "windowsMove", enabled = true, speed = 1, bezier = "wind", style = "slide" }, bezier = "cubic-bezier",
{ leaf = "workspaces", enabled = true, speed = 3, bezier = "default" }, style = "fade",
},
{
leaf = "windows",
enabled = true,
speed = 3,
bezier = "wind",
style = "popin",
},
{
leaf = "windowsIn",
enabled = true,
speed = 3,
bezier = "winIn",
style = "popin 90%",
},
{
leaf = "windowsOut",
enabled = true,
speed = 3,
bezier = "winOut",
style = "popin 90%",
},
{
leaf = "windowsMove",
enabled = true,
speed = 1,
bezier = "wind",
style = "slide",
},
{ leaf = "workspaces", enabled = true, speed = 4, bezier = "default" },
} }
local curves = { local curves = {
{ name = "wind", config = { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1 } } } }, {
{ name = "winIn", config = { type = "bezier", points = { { 0.1, 1.0 }, { 0.1, 1 } } } }, name = "wind",
config = { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1 } } },
},
{
name = "winIn",
config = { type = "bezier", points = { { 0.1, 1.0 }, { 0.1, 1 } } },
},
{ name = "winOut", config = { type = "bezier", points = { { 1, 0.35 }, { 1, 1 } } } }, { name = "winOut", config = { type = "bezier", points = { { 1, 0.35 }, { 1, 1 } } } },
{ name = "linear", config = { type = "bezier", points = { { 1, 1 }, { 1, 1 } } } }, { name = "linear", config = { type = "bezier", points = { { 1, 1 }, { 1, 1 } } } },
{ name = "cubic-bezier", config = { type = "bezier", points = { { 0.215, 0.61 }, { 0.355, 1 } } } }, {
{ name = "easeOutQuint", config = { type = "bezier", points = { { 0.23, 1 }, { 0.32, 1 } } } }, name = "cubic-bezier",
{ name = "easeInOutCubic", config = { type = "bezier", points = { { 0.65, 0.05 }, { 0.36, 1 } } } }, config = { type = "bezier", points = { { 0.215, 0.61 }, { 0.355, 1 } } },
{ name = "almostLinear", config = { type = "bezier", points = { { 0.5, 0.5 }, { 0.75, 1 } } } }, },
{
name = "easeOutQuint",
config = { type = "bezier", points = { { 0.23, 1 }, { 0.32, 1 } } },
},
{
name = "easeInOutCubic",
config = { type = "bezier", points = { { 0.65, 0.05 }, { 0.36, 1 } } },
},
{
name = "almostLinear",
config = { type = "bezier", points = { { 0.5, 0.5 }, { 0.75, 1 } } },
},
{ name = "quick", config = { type = "bezier", points = { { 0.15, 0 }, { 0.1, 1 } } } }, { name = "quick", config = { type = "bezier", points = { { 0.15, 0 }, { 0.1, 1 } } } },
{ name = "easy", config = { type = "spring", mass = 1, stiffness = 71.2633, dampening = 15.8273644 } }, {
name = "easy",
config = {
type = "spring",
mass = 1,
stiffness = 71.2633,
dampening = 15.8273644,
},
},
} }
for _, curve in ipairs(curves) do for _, curve in ipairs(curves) do