diff --git a/Modules/Bar/Widgets/WallpaperSelector.qml b/Modules/Bar/Widgets/WallpaperSelector.qml index 1dbbdff4..61c9e66c 100644 --- a/Modules/Bar/Widgets/WallpaperSelector.qml +++ b/Modules/Bar/Widgets/WallpaperSelector.qml @@ -20,5 +20,12 @@ NIconButton { colorFg: Color.mOnSurface colorBorder: Color.transparent colorBorderHover: Color.transparent - onClicked: PanelService.getPanel("wallpaperPanel", screen)?.toggle(this) + onClicked: { + var wallpaperPanel = PanelService.getPanel("wallpaperPanel", screen) + if (Settings.data.wallpaper.panelPosition === "follow_bar") { + wallpaperPanel?.toggle(this) + } else { + wallpaperPanel?.toggle() + } + } }