Compare commits

...

2 Commits

Author SHA1 Message Date
e9907d15e9 more mobile03 setup 2026-08-23 10:13:08 +01:00
a6fc3cb2ac fixed the scaling issue with the music workspace 2026-08-23 10:12:51 +01:00
3 changed files with 19 additions and 6 deletions

View File

@@ -24,6 +24,8 @@ if Hostname == "HACKSTATION" then
hl.workspace_rule({ workspace = "4", monitor = "DP-1" })
hl.workspace_rule({ workspace = "2", monitor = "HDMI-A-1" })
hl.workspace_rule({ workspace = "3", monitor = "DP-2" })
elseif Hostname == "mobile03" then
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = "1.33" })
else
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = "1.2" })
end

View File

@@ -73,13 +73,24 @@ hl.window_rule({
no_anim = true,
})
local musicSides = 400
local musicBottom = 400
if Hostname == "mobile02" then
musicSides = 300
musicBottom = 300
elseif Hostname == "mobile03" then
musicSides = 200
musicBottom = 250
end
-- Define gaps for music workspace
hl.workspace_rule({
workspace = "special:music",
gaps_out = {
left = 400,
right = 400,
bottom = 400,
left = musicSides,
right = musicSides,
bottom = musicSides,
},
animation = "slidefadevert",
})

View File

@@ -24,7 +24,7 @@ hl.config({
},
})
if Hostname == "mobile02" then
if Hostname == "mobile02" or Hostname == "mobile03" then
hl.config({
input = { -- If on laptop make caps the escape key but make it be capslock when shift caps is pressed
kb_options = "caps:escape_shifted_capslock",
@@ -34,10 +34,10 @@ elseif Hostname == "HACKSTATION" then
hl.device({
name = "weylus-stylus",
left_handed = false,
output = "DP-1"
output = "DP-1",
})
hl.device({
name = "weylus-touch",
output = "DP-1"
output = "DP-1",
})
end