mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 23:39:27 -05:00
21 lines
538 B
QML
21 lines
538 B
QML
import QtQuick
|
|
import Quickshell
|
|
import qs
|
|
import qs.services
|
|
import qs.modules.common
|
|
import qs.modules.common.functions
|
|
import qs.modules.common.widgets
|
|
|
|
QuickToggleModel {
|
|
name: Translation.tr("Notifications")
|
|
statusText: toggled ? Translation.tr("Show") : Translation.tr("Silent")
|
|
toggled: !Notifications.silent
|
|
icon: toggled ? "notifications_active" : "notifications_paused"
|
|
|
|
mainAction: () => {
|
|
Notifications.silent = !Notifications.silent;
|
|
}
|
|
|
|
tooltipText: Translation.tr("Show notifications")
|
|
}
|