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