mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
DankDash: fix per-monitor wallpapers
This commit is contained in:
@@ -374,7 +374,7 @@ DankPopout {
|
|||||||
active: root.currentTabIndex === 2
|
active: root.currentTabIndex === 2
|
||||||
tabBarItem: tabBar
|
tabBarItem: tabBar
|
||||||
keyForwardTarget: mainContainer
|
keyForwardTarget: mainContainer
|
||||||
targetScreen: root.triggerScreen
|
targetScreen: root.screen
|
||||||
parentPopout: root
|
parentPopout: root
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import QtCore
|
|||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
import QtQuick.Effects
|
import QtQuick.Effects
|
||||||
|
import Quickshell
|
||||||
import qs.Common
|
import qs.Common
|
||||||
import qs.Modals.FileBrowser
|
import qs.Modals.FileBrowser
|
||||||
import qs.Widgets
|
import qs.Widgets
|
||||||
@@ -244,6 +245,12 @@ Item {
|
|||||||
setInitialSelection();
|
setInitialSelection();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function onPerMonitorWallpaperChanged() {
|
||||||
|
loadWallpaperDirectory();
|
||||||
|
if (visible && active) {
|
||||||
|
setInitialSelection();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onTargetScreenNameChanged: {
|
onTargetScreenNameChanged: {
|
||||||
|
|||||||
Reference in New Issue
Block a user