fix: some startup fixes
This commit is contained in:
@@ -18,6 +18,7 @@ return function(is_laptop)
|
|||||||
hl.exec_cmd("nextcloud --background")
|
hl.exec_cmd("nextcloud --background")
|
||||||
hl.exec_cmd("dms run")
|
hl.exec_cmd("dms run")
|
||||||
hl.exec_cmd("wl-paste --watch cliphist store")
|
hl.exec_cmd("wl-paste --watch cliphist store")
|
||||||
|
|
||||||
if is_laptop then
|
if is_laptop then
|
||||||
hl.exec_cmd("hyprctl setcursor oreo_spark_blue_cursors 36")
|
hl.exec_cmd("hyprctl setcursor oreo_spark_blue_cursors 36")
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -11,6 +11,12 @@ return function(is_laptop, is_docked)
|
|||||||
output = "eDP-1",
|
output = "eDP-1",
|
||||||
disabled = true,
|
disabled = true,
|
||||||
})
|
})
|
||||||
|
hl.monitor({
|
||||||
|
output = "DP-1",
|
||||||
|
mode = "1920x1080@144",
|
||||||
|
position = "0x0",
|
||||||
|
scale = 1,
|
||||||
|
})
|
||||||
else
|
else
|
||||||
hl.monitor({
|
hl.monitor({
|
||||||
output = "eDP-1",
|
output = "eDP-1",
|
||||||
@@ -19,20 +25,13 @@ return function(is_laptop, is_docked)
|
|||||||
scale = 1.5,
|
scale = 1.5,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
elseif is_laptop and is_docked then
|
|
||||||
hl.monitor({
|
|
||||||
output = "DP-1",
|
|
||||||
mode = "1920x1080@144",
|
|
||||||
position = "0x0",
|
|
||||||
scale = 1,
|
|
||||||
})
|
|
||||||
else
|
else
|
||||||
hl.monitor({
|
hl.monitor({
|
||||||
output = "DP-1",
|
output = "DP-1",
|
||||||
mode = "1920x1080@144",
|
mode = "1920x1080@144",
|
||||||
position = "0x0",
|
position = "0x0",
|
||||||
scale = 1,
|
scale = 1,
|
||||||
vrr = 2
|
vrr = 2,
|
||||||
})
|
})
|
||||||
hl.monitor({
|
hl.monitor({
|
||||||
output = "DP-2",
|
output = "DP-2",
|
||||||
|
|||||||
Reference in New Issue
Block a user