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