mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
displays: fix hyprland config saving
This commit is contained in:
@@ -284,8 +284,8 @@ Item {
|
|||||||
bottom: 0
|
bottom: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
implicitWidth: root.useSingleWindow ? undefined : root.alignedWidth + (shadowBuffer * 2)
|
implicitWidth: root.useSingleWindow ? 0 : root.alignedWidth + (shadowBuffer * 2)
|
||||||
implicitHeight: root.useSingleWindow ? undefined : root.alignedHeight + (shadowBuffer * 2)
|
implicitHeight: root.useSingleWindow ? 0 : root.alignedHeight + (shadowBuffer * 2)
|
||||||
|
|
||||||
onVisibleChanged: {
|
onVisibleChanged: {
|
||||||
if (visible) {
|
if (visible) {
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ Item {
|
|||||||
switch (CompositorService.compositor) {
|
switch (CompositorService.compositor) {
|
||||||
case "niri":
|
case "niri":
|
||||||
return parseNiriOutputs(content)
|
return parseNiriOutputs(content)
|
||||||
case "Hyprland":
|
case "hyprland":
|
||||||
return parseHyprlandOutputs(content)
|
return parseHyprlandOutputs(content)
|
||||||
case "dwl":
|
case "dwl":
|
||||||
return parseMangoOutputs(content)
|
return parseMangoOutputs(content)
|
||||||
@@ -236,7 +236,7 @@ Item {
|
|||||||
grepPattern: 'include.*"dms/outputs.kdl"',
|
grepPattern: 'include.*"dms/outputs.kdl"',
|
||||||
includeLine: 'include "dms/outputs.kdl"'
|
includeLine: 'include "dms/outputs.kdl"'
|
||||||
}
|
}
|
||||||
case "Hyprland":
|
case "hyprland":
|
||||||
return {
|
return {
|
||||||
configFile: configDir + "/hypr/hyprland.conf",
|
configFile: configDir + "/hypr/hyprland.conf",
|
||||||
outputsFile: configDir + "/hypr/dms/outputs.conf",
|
outputsFile: configDir + "/hypr/dms/outputs.conf",
|
||||||
@@ -371,7 +371,7 @@ Item {
|
|||||||
case "niri":
|
case "niri":
|
||||||
NiriService.generateOutputsConfig(outputsData)
|
NiriService.generateOutputsConfig(outputsData)
|
||||||
break
|
break
|
||||||
case "Hyprland":
|
case "hyprland":
|
||||||
HyprlandService.generateOutputsConfig(outputsData)
|
HyprlandService.generateOutputsConfig(outputsData)
|
||||||
break
|
break
|
||||||
case "dwl":
|
case "dwl":
|
||||||
|
|||||||
Reference in New Issue
Block a user