forked from Shinonome/dots-hyprland
sidebar: quick toggles: add missing tooltips
This commit is contained in:
+4
@@ -15,4 +15,8 @@ AndroidQuickToggleButton {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
Audio.sink.audio.muted = !Audio.sink.audio.muted
|
Audio.sink.audio.muted = !Audio.sink.audio.muted
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StyledToolTip {
|
||||||
|
text: Translation.tr("Audio")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+6
-1
@@ -1,5 +1,6 @@
|
|||||||
import qs
|
import qs
|
||||||
import qs.modules.common
|
import qs.modules.common
|
||||||
|
import qs.modules.common.widgets
|
||||||
import qs.services
|
import qs.services
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import Quickshell
|
import Quickshell
|
||||||
@@ -7,7 +8,7 @@ import Quickshell
|
|||||||
AndroidQuickToggleButton {
|
AndroidQuickToggleButton {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
name: Translation.tr("Color Picker")
|
name: Translation.tr("Color picker")
|
||||||
statusText: ""
|
statusText: ""
|
||||||
toggled: false
|
toggled: false
|
||||||
buttonIcon: "colorize"
|
buttonIcon: "colorize"
|
||||||
@@ -24,4 +25,8 @@ AndroidQuickToggleButton {
|
|||||||
Quickshell.execDetached(["hyprpicker", "-a"])
|
Quickshell.execDetached(["hyprpicker", "-a"])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StyledToolTip {
|
||||||
|
text: Translation.tr("Color picker")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+4
@@ -20,4 +20,8 @@ AndroidQuickToggleButton {
|
|||||||
Quickshell.execDetached([Directories.wallpaperSwitchScriptPath, "--mode", "dark", "--noswitch"]);
|
Quickshell.execDetached([Directories.wallpaperSwitchScriptPath, "--mode", "dark", "--noswitch"]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StyledToolTip {
|
||||||
|
text: Translation.tr("Dark Mode")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+4
@@ -15,4 +15,8 @@ AndroidQuickToggleButton {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
Audio.source.audio.muted = !Audio.source.audio.muted
|
Audio.source.audio.muted = !Audio.source.audio.muted
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StyledToolTip {
|
||||||
|
text: Translation.tr("Microphone")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+5
@@ -1,5 +1,6 @@
|
|||||||
import qs
|
import qs
|
||||||
import qs.modules.common
|
import qs.modules.common
|
||||||
|
import qs.modules.common.widgets
|
||||||
import qs.services
|
import qs.services
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import Quickshell
|
import Quickshell
|
||||||
@@ -15,4 +16,8 @@ AndroidQuickToggleButton {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
Notifications.silent = !Notifications.silent;
|
Notifications.silent = !Notifications.silent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StyledToolTip {
|
||||||
|
text: Translation.tr("Show notifications")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+4
@@ -14,4 +14,8 @@ AndroidQuickToggleButton {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
GlobalStates.oskOpen = !GlobalStates.oskOpen
|
GlobalStates.oskOpen = !GlobalStates.oskOpen
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StyledToolTip {
|
||||||
|
text: Translation.tr("On-screen keyboard")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+4
@@ -25,4 +25,8 @@ AndroidQuickToggleButton {
|
|||||||
Quickshell.execDetached(["qs", "-p", Quickshell.shellPath("screenshot.qml")])
|
Quickshell.execDetached(["qs", "-p", Quickshell.shellPath("screenshot.qml")])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StyledToolTip {
|
||||||
|
text: Translation.tr("Screen snip")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user