mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
33 lines
661 B
QML
33 lines
661 B
QML
import qs
|
|
import qs.modules.common.widgets
|
|
import qs.services
|
|
import QtQuick
|
|
import Quickshell
|
|
|
|
AndroidQuickToggleButton {
|
|
id: root
|
|
|
|
name: Translation.tr("EasyEffects")
|
|
|
|
toggled: EasyEffects.active
|
|
buttonIcon: "graphic_eq"
|
|
|
|
Component.onCompleted: {
|
|
EasyEffects.fetchActiveState()
|
|
}
|
|
|
|
mainAction: () => {
|
|
EasyEffects.toggle()
|
|
}
|
|
|
|
altAction: () => {
|
|
Quickshell.execDetached(["bash", "-c", "flatpak run com.github.wwmm.easyeffects || easyeffects"])
|
|
GlobalStates.sidebarRightOpen = false
|
|
}
|
|
|
|
StyledToolTip {
|
|
text: Translation.tr("EasyEffects | Right-click to configure")
|
|
}
|
|
}
|
|
|