mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
24 lines
547 B
QML
24 lines
547 B
QML
import qs
|
|
import qs.modules.common
|
|
import qs.modules.common.widgets
|
|
import qs.services
|
|
import QtQuick
|
|
import Quickshell
|
|
|
|
AndroidQuickToggleButton {
|
|
id: root
|
|
|
|
name: Translation.tr("Notifications")
|
|
statusText: toggled ? Translation.tr("Show") : Translation.tr("Silent")
|
|
toggled: !Notifications.silent
|
|
buttonIcon: toggled ? "notifications_active" : "notifications_paused"
|
|
|
|
onClicked: {
|
|
Notifications.silent = !Notifications.silent;
|
|
}
|
|
|
|
StyledToolTip {
|
|
text: Translation.tr("Show notifications")
|
|
}
|
|
}
|