sidebar: make quick toggle behave more similar to on android

This commit is contained in:
end-4
2025-11-03 21:22:05 +01:00
parent 1703cb24d1
commit 5d773090eb
17 changed files with 72 additions and 36 deletions
@@ -13,7 +13,7 @@ AndroidQuickToggleButton {
toggled: Appearance.m3colors.darkmode
buttonIcon: "contrast"
onClicked: event => {
mainAction: () => {
if (Appearance.m3colors.darkmode) {
Quickshell.execDetached([Directories.wallpaperSwitchScriptPath, "--mode", "light", "--noswitch"]);
} else {