mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-07 07:49:28 -05:00
5d1a9b1e9c
Co-Authored-By: Vague Syntax <173799252+vaguesyntax@users.noreply.github.com>
33 lines
654 B
QML
33 lines
654 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()
|
|
}
|
|
|
|
onClicked: {
|
|
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")
|
|
}
|
|
}
|
|
|