diff --git a/services/GameMode.qml b/services/GameMode.qml index d7124cc4..3881d743 100644 --- a/services/GameMode.qml +++ b/services/GameMode.qml @@ -1,5 +1,6 @@ pragma Singleton +import Caelestia import Quickshell import Quickshell.Io import QtQuick @@ -14,10 +15,13 @@ Singleton { } onEnabledChanged: { - if (enabled) + if (enabled) { setDynamicConfs(); - else + Toaster.toast(qsTr("Game mode enabled"), qsTr("Disabled Hyprland animations, blur, gaps and shadows"), "gamepad"); + } else { Quickshell.execDetached(["hyprctl", "reload"]); + Toaster.toast(qsTr("Game mode disabled"), qsTr("Hyprland settings restored"), "gamepad"); + } } PersistentProperties { diff --git a/services/Notifs.qml b/services/Notifs.qml index 4dbabf43..2deba75a 100644 --- a/services/Notifs.qml +++ b/services/Notifs.qml @@ -20,6 +20,13 @@ Singleton { property bool loaded + onDndChanged: { + if (dnd) + Toaster.toast(qsTr("Do not disturb enabled"), qsTr("Popup notifications are now disabled"), "do_not_disturb_on"); + else + Toaster.toast(qsTr("Do not disturb disabled"), qsTr("Popup notifications are now enabled"), "do_not_disturb_off"); + } + onListChanged: { if (loaded) saveTimer.restart();