1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

dock: add reveal IPCs

This commit is contained in:
bbedward
2025-11-14 10:08:16 -05:00
parent 67c642de4c
commit cb4e0660e0
15 changed files with 386 additions and 117 deletions

View File

@@ -806,6 +806,10 @@ rm -rf '${home}'/.cache/icon-cache '${home}'/.cache/thumbnails 2>/dev/null || tr
saveSettings()
}
function toggleShowDock() {
setShowDock(!showDock)
}
function getPluginSetting(pluginId, key, defaultValue) {
if (!pluginSettings[pluginId]) {
return defaultValue
@@ -928,12 +932,14 @@ rm -rf '${home}'/.cache/icon-cache '${home}'/.cache/thumbnails 2>/dev/null || tr
IpcHandler {
function reveal(): string {
root.setDankBarVisible(true)
root.dankBarVisible = true
root.saveSettings()
return "BAR_SHOW_SUCCESS"
}
function hide(): string {
root.setDankBarVisible(false)
root.dankBarVisible = false
root.saveSettings()
return "BAR_HIDE_SUCCESS"
}
@@ -948,4 +954,27 @@ rm -rf '${home}'/.cache/icon-cache '${home}'/.cache/thumbnails 2>/dev/null || tr
target: "bar"
}
IpcHandler {
function reveal(): string {
root.setShowDock(true)
return "DOCK_SHOW_SUCCESS"
}
function hide(): string {
root.setShowDock(false)
return "DOCK_HIDE_SUCCESS"
}
function toggle(): string {
root.toggleShowDock()
return root.showDock ? "DOCK_SHOW_SUCCESS" : "DOCK_HIDE_SUCCESS"
}
function status(): string {
return root.showDock ? "visible" : "hidden"
}
target: "dock"
}
}

View File

@@ -108,8 +108,8 @@ Variants {
property real animationHeadroom: Math.ceil(SettingsData.dockIconSize * 0.35)
implicitWidth: isVertical ? (px(effectiveBarHeight + SettingsData.dockSpacing + SettingsData.dockBottomGap + SettingsData.dockMargin + SettingsData.dockIconSize * 0.3) + animationHeadroom) : 0
implicitHeight: !isVertical ? (px(effectiveBarHeight + SettingsData.dockSpacing + SettingsData.dockBottomGap + SettingsData.dockMargin + SettingsData.dockIconSize * 0.3) + animationHeadroom) : 0
implicitWidth: isVertical ? (px(effectiveBarHeight + SettingsData.dockSpacing + SettingsData.dockMargin + SettingsData.dockIconSize * 0.3) + animationHeadroom) : 0
implicitHeight: !isVertical ? (px(effectiveBarHeight + SettingsData.dockSpacing + SettingsData.dockMargin + SettingsData.dockIconSize * 0.3) + animationHeadroom) : 0
Item {
id: maskItem

View File

@@ -416,12 +416,31 @@ Item {
}
StyledText {
id: iconSizeText
text: I18n.tr("Icon Size")
font.pixelSize: Theme.fontSizeLarge
font.weight: Font.Medium
color: Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter
}
Item {
width: parent.width - Theme.iconSize - Theme.spacingM - iconSizeText.width - resetIconSizeBtn.width - Theme.spacingM * 2
anchors.verticalCenter: parent.verticalCenter
}
DankActionButton {
id: resetIconSizeBtn
buttonSize: 20
iconName: "refresh"
iconSize: 12
backgroundColor: Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency)
iconColor: Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter
onClicked: {
SettingsData.set("dockIconSize", 48)
}
}
}
DankSlider {
@@ -482,11 +501,47 @@ Item {
width: parent.width
spacing: Theme.spacingS
StyledText {
text: I18n.tr("Padding")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
font.weight: Font.Medium
Row {
width: parent.width
spacing: Theme.spacingS
StyledText {
text: I18n.tr("Padding")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
font.weight: Font.Medium
anchors.verticalCenter: parent.verticalCenter
}
Item {
width: parent.width - paddingText.implicitWidth - resetPaddingBtn.width - Theme.spacingS - Theme.spacingM
height: 1
StyledText {
id: paddingText
visible: false
text: I18n.tr("Padding")
font.pixelSize: Theme.fontSizeSmall
}
}
DankActionButton {
id: resetPaddingBtn
buttonSize: 20
iconName: "refresh"
iconSize: 12
backgroundColor: Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency)
iconColor: Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter
onClicked: {
SettingsData.set("dockSpacing", 8)
}
}
Item {
width: Theme.spacingS
height: 1
}
}
DankSlider {
@@ -500,7 +555,7 @@ Item {
wheelEnabled: false
thumbOutlineColor: Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency)
onSliderValueChanged: newValue => {
SettingsData.set("dockSpacing",
SettingsData.set("dockSpacing",
newValue)
}
}
@@ -510,11 +565,47 @@ Item {
width: parent.width
spacing: Theme.spacingS
StyledText {
text: I18n.tr("Height to Edge Gap (Exclusive Zone)")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
font.weight: Font.Medium
Row {
width: parent.width
spacing: Theme.spacingS
StyledText {
text: I18n.tr("Exclusive Zone Offset")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
font.weight: Font.Medium
anchors.verticalCenter: parent.verticalCenter
}
Item {
width: parent.width - exclusiveZoneText.implicitWidth - resetExclusiveZoneBtn.width - Theme.spacingS - Theme.spacingM
height: 1
StyledText {
id: exclusiveZoneText
visible: false
text: I18n.tr("Exclusive Zone Offset")
font.pixelSize: Theme.fontSizeSmall
}
}
DankActionButton {
id: resetExclusiveZoneBtn
buttonSize: 20
iconName: "refresh"
iconSize: 12
backgroundColor: Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency)
iconColor: Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter
onClicked: {
SettingsData.set("dockBottomGap", 0)
}
}
Item {
width: Theme.spacingS
height: 1
}
}
DankSlider {
@@ -538,11 +629,47 @@ Item {
width: parent.width
spacing: Theme.spacingS
StyledText {
text: I18n.tr("Margin")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
font.weight: Font.Medium
Row {
width: parent.width
spacing: Theme.spacingS
StyledText {
text: I18n.tr("Margin")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
font.weight: Font.Medium
anchors.verticalCenter: parent.verticalCenter
}
Item {
width: parent.width - marginText.implicitWidth - resetMarginBtn.width - Theme.spacingS - Theme.spacingM
height: 1
StyledText {
id: marginText
visible: false
text: I18n.tr("Margin")
font.pixelSize: Theme.fontSizeSmall
}
}
DankActionButton {
id: resetMarginBtn
buttonSize: 20
iconName: "refresh"
iconSize: 12
backgroundColor: Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency)
iconColor: Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter
onClicked: {
SettingsData.set("dockMargin", 0)
}
}
Item {
width: Theme.spacingS
height: 1
}
}
DankSlider {
@@ -592,12 +719,31 @@ Item {
}
StyledText {
id: transparencyText
text: I18n.tr("Dock Transparency")
font.pixelSize: Theme.fontSizeLarge
font.weight: Font.Medium
color: Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter
}
Item {
width: parent.width - Theme.iconSize - Theme.spacingM - transparencyText.width - resetTransparencyBtn.width - Theme.spacingM * 2
anchors.verticalCenter: parent.verticalCenter
}
DankActionButton {
id: resetTransparencyBtn
buttonSize: 20
iconName: "refresh"
iconSize: 12
backgroundColor: Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency)
iconColor: Theme.surfaceText
anchors.verticalCenter: parent.verticalCenter
onClicked: {
SettingsData.set("dockTransparency", 0.85)
}
}
}
DankSlider {
@@ -611,7 +757,7 @@ Item {
wheelEnabled: false
thumbOutlineColor: Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency)
onSliderValueChanged: newValue => {
SettingsData.set("dockTransparency",
SettingsData.set("dockTransparency",
newValue / 100)
}
}

View File

@@ -117,6 +117,20 @@ Singleton {
}
}
Process {
id: writeAlttabProcess
property string alttabContent: ""
property string alttabPath: ""
onExited: exitCode => {
if (exitCode === 0) {
console.info("NiriService: Generated alttab config at", alttabPath)
return
}
console.warn("NiriService: Failed to write alttab config, exit code:", exitCode)
}
}
DankSocket {
id: eventStreamSocket
path: root.socketPath
@@ -936,14 +950,27 @@ window-rule {
draw-border-with-background false
}`
const alttabContent = `recent-windows {
highlight {
corner-radius ${cornerRadius}
}
}`
const configDir = Paths.strip(StandardPaths.writableLocation(StandardPaths.ConfigLocation))
const niriDmsDir = configDir + "/niri/dms"
const configPath = niriDmsDir + "/layout.kdl"
const alttabPath = niriDmsDir + "/alttab.kdl"
writeConfigProcess.configContent = configContent
writeConfigProcess.configPath = configPath
writeConfigProcess.command = ["sh", "-c", `mkdir -p "${niriDmsDir}" && cat > "${configPath}" << 'EOF'\n${configContent}\nEOF`]
writeConfigProcess.running = true
writeAlttabProcess.alttabContent = alttabContent
writeAlttabProcess.alttabPath = alttabPath
writeAlttabProcess.command = ["sh", "-c", `mkdir -p "${niriDmsDir}" && cat > "${alttabPath}" << 'EOF'\n${alttabContent}\nEOF`]
writeAlttabProcess.running = true
configGenerationPending = false
}

View File

@@ -26,4 +26,11 @@ layout {
insert-hint {
color "{{colors.primary.default.hex}}80"
}
}
/-recent-windows {
highlight {
active-color "{{colors.primary_container.dark.hex}}"
urgent-color "{{colors.error.default.hex}}"
}
}

View File

@@ -283,13 +283,18 @@ EOF
gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3-${mode}" >/dev/null 2>&1 || true
fi
COLOR_EXTRACT_MODE="$mode"
if [[ "$TERMINALS_ALWAYS_DARK" == "true" ]]; then
COLOR_EXTRACT_MODE="dark"
fi
if [[ "$MATUGEN_VERSION" == "2" ]]; then
PRIMARY=$(echo "$JSON" | sed -n "s/.*\"$mode\":{[^}]*\"primary\":\"\\(#[0-9a-fA-F]\\{6\\}\\)\".*/\\1/p")
SURFACE=$(echo "$JSON" | sed -n "s/.*\"$mode\":{[^}]*\"surface\":\"\\(#[0-9a-fA-F]\\{6\\}\\)\".*/\\1/p")
PRIMARY=$(echo "$JSON" | sed -n "s/.*\"$COLOR_EXTRACT_MODE\":{[^}]*\"primary\":\"\\(#[0-9a-fA-F]\\{6\\}\\)\".*/\\1/p")
SURFACE=$(echo "$JSON" | sed -n "s/.*\"$COLOR_EXTRACT_MODE\":{[^}]*\"surface\":\"\\(#[0-9a-fA-F]\\{6\\}\\)\".*/\\1/p")
else
JSON_FLAT=$(echo "$JSON" | tr -d '\n')
PRIMARY=$(echo "$JSON_FLAT" | sed -n "s/.*\"primary\" *: *{ *[^}]*\"$mode\" *: *\"\\(#[0-9a-fA-F]\\{6\\}\\)\".*/\\1/p")
SURFACE=$(echo "$JSON_FLAT" | sed -n "s/.*\"surface\" *: *{ *[^}]*\"$mode\" *: *\"\\(#[0-9a-fA-F]\\{6\\}\\)\".*/\\1/p")
PRIMARY=$(echo "$JSON_FLAT" | sed -n "s/.*\"primary\" *: *{ *[^}]*\"$COLOR_EXTRACT_MODE\" *: *\"\\(#[0-9a-fA-F]\\{6\\}\\)\".*/\\1/p")
SURFACE=$(echo "$JSON_FLAT" | sed -n "s/.*\"surface\" *: *{ *[^}]*\"$COLOR_EXTRACT_MODE\" *: *\"\\(#[0-9a-fA-F]\\{6\\}\\)\".*/\\1/p")
fi
if [[ -z "$PRIMARY" ]]; then

View File

@@ -212,31 +212,31 @@
{
"term": "Are you sure you want to hibernate the system?",
"context": "Are you sure you want to hibernate the system?",
"reference": "Modals/PowerMenuModal.qml:132",
"reference": "Modals/PowerMenuModal.qml:160",
"comment": ""
},
{
"term": "Are you sure you want to log out?",
"context": "Are you sure you want to log out?",
"reference": "Modals/PowerMenuModal.qml:124",
"reference": "Modals/PowerMenuModal.qml:152",
"comment": ""
},
{
"term": "Are you sure you want to power off the system?",
"context": "Are you sure you want to power off the system?",
"reference": "Modals/PowerMenuModal.qml:140",
"reference": "Modals/PowerMenuModal.qml:168",
"comment": ""
},
{
"term": "Are you sure you want to reboot the system?",
"context": "Are you sure you want to reboot the system?",
"reference": "Modals/PowerMenuModal.qml:136",
"reference": "Modals/PowerMenuModal.qml:164",
"comment": ""
},
{
"term": "Are you sure you want to suspend the system?",
"context": "Are you sure you want to suspend the system?",
"reference": "Modals/PowerMenuModal.qml:128",
"reference": "Modals/PowerMenuModal.qml:156",
"comment": ""
},
{
@@ -746,37 +746,37 @@
{
"term": "Command or script to run instead of the standard hibernate procedure",
"context": "Command or script to run instead of the standard hibernate procedure",
"reference": "Modals/Settings/PowerSettings.qml:687",
"reference": "Modals/Settings/PowerSettings.qml:695",
"comment": ""
},
{
"term": "Command or script to run instead of the standard lock procedure",
"context": "Command or script to run instead of the standard lock procedure",
"reference": "Modals/Settings/PowerSettings.qml:591",
"reference": "Modals/Settings/PowerSettings.qml:599",
"comment": ""
},
{
"term": "Command or script to run instead of the standard logout procedure",
"context": "Command or script to run instead of the standard logout procedure",
"reference": "Modals/Settings/PowerSettings.qml:623",
"reference": "Modals/Settings/PowerSettings.qml:631",
"comment": ""
},
{
"term": "Command or script to run instead of the standard power off procedure",
"context": "Command or script to run instead of the standard power off procedure",
"reference": "Modals/Settings/PowerSettings.qml:751",
"reference": "Modals/Settings/PowerSettings.qml:759",
"comment": ""
},
{
"term": "Command or script to run instead of the standard reboot procedure",
"context": "Command or script to run instead of the standard reboot procedure",
"reference": "Modals/Settings/PowerSettings.qml:719",
"reference": "Modals/Settings/PowerSettings.qml:727",
"comment": ""
},
{
"term": "Command or script to run instead of the standard suspend procedure",
"context": "Command or script to run instead of the standard suspend procedure",
"reference": "Modals/Settings/PowerSettings.qml:655",
"reference": "Modals/Settings/PowerSettings.qml:663",
"comment": ""
},
{
@@ -992,7 +992,7 @@
{
"term": "Custom Power Actions",
"context": "Custom Power Actions",
"reference": "Modals/Settings/PowerSettings.qml:577",
"reference": "Modals/Settings/PowerSettings.qml:585",
"comment": ""
},
{
@@ -1130,7 +1130,7 @@
{
"term": "Default selected action",
"context": "Default selected action",
"reference": "Modals/Settings/PowerSettings.qml:374",
"reference": "Modals/Settings/PowerSettings.qml:382",
"comment": ""
},
{
@@ -1247,6 +1247,12 @@
"reference": "Modules/Settings/DankBarTab.qml:48",
"comment": ""
},
{
"term": "Display power menu actions in a grid instead of a list",
"context": "Display power menu actions in a grid instead of a list",
"reference": "Modals/Settings/PowerSettings.qml:373",
"comment": ""
},
{
"term": "Display settings for ",
"context": "Display settings for ",
@@ -1298,7 +1304,7 @@
{
"term": "Dock Transparency",
"context": "Dock Transparency",
"reference": "Modules/Settings/DockTab.qml:595",
"reference": "Modules/Settings/DockTab.qml:723",
"comment": ""
},
{
@@ -1484,7 +1490,7 @@
{
"term": "Exclusive Zone Offset",
"context": "Exclusive Zone Offset",
"reference": "Modules/Settings/DankBarTab.qml:1093, Modules/Settings/DankBarTab.qml:1107",
"reference": "Modules/Settings/DockTab.qml:573, Modules/Settings/DockTab.qml:587, Modules/Settings/DankBarTab.qml:1093, Modules/Settings/DankBarTab.qml:1107",
"comment": ""
},
{
@@ -1799,12 +1805,6 @@
"reference": "Modules/ControlCenter/Details/BatteryDetail.qml:136, Modules/DankBar/Popouts/BatteryPopout.qml:317, Modules/DankBar/Popouts/BatteryPopout.qml:473",
"comment": ""
},
{
"term": "Height to Edge Gap (Exclusive Zone)",
"context": "Height to Edge Gap (Exclusive Zone)",
"reference": "Modules/Settings/DockTab.qml:514",
"comment": ""
},
{
"term": "Hex",
"context": "Hex",
@@ -1814,7 +1814,7 @@
{
"term": "Hibernate",
"context": "Hibernate",
"reference": "Modals/PowerMenuModal.qml:91, Modals/PowerMenuModal.qml:131, Modules/Lock/LockPowerMenu.qml:312",
"reference": "Modals/PowerMenuModal.qml:119, Modals/PowerMenuModal.qml:159, Modules/Lock/LockPowerMenu.qml:312",
"comment": ""
},
{
@@ -1862,7 +1862,7 @@
{
"term": "Icon Size",
"context": "Icon Size",
"reference": "Modules/Settings/DockTab.qml:419",
"reference": "Modules/Settings/DockTab.qml:420",
"comment": ""
},
{
@@ -2114,7 +2114,7 @@
{
"term": "Lock",
"context": "Lock",
"reference": "Modals/PowerMenuModal.qml:79",
"reference": "Modals/PowerMenuModal.qml:107",
"comment": ""
},
{
@@ -2138,7 +2138,7 @@
{
"term": "Log Out",
"context": "Log Out",
"reference": "Modals/PowerMenuModal.qml:67, Modals/PowerMenuModal.qml:123, Modules/Lock/LockPowerMenu.qml:209, Modules/ControlCenter/PowerMenu.qml:14",
"reference": "Modals/PowerMenuModal.qml:95, Modals/PowerMenuModal.qml:151, Modules/Lock/LockPowerMenu.qml:209, Modules/ControlCenter/PowerMenu.qml:14",
"comment": ""
},
{
@@ -2186,7 +2186,7 @@
{
"term": "Margin",
"context": "Margin",
"reference": "Modules/Settings/DockTab.qml:542",
"reference": "Modules/Settings/DockTab.qml:637, Modules/Settings/DockTab.qml:651",
"comment": ""
},
{
@@ -2660,7 +2660,7 @@
{
"term": "Only visible if hibernate is supported by your system",
"context": "Only visible if hibernate is supported by your system",
"reference": "Modals/Settings/PowerSettings.qml:490",
"reference": "Modals/Settings/PowerSettings.qml:498",
"comment": ""
},
{
@@ -2726,7 +2726,7 @@
{
"term": "Padding",
"context": "Padding",
"reference": "Modules/Settings/DockTab.qml:486",
"reference": "Modules/Settings/DockTab.qml:509, Modules/Settings/DockTab.qml:523",
"comment": ""
},
{
@@ -2918,7 +2918,7 @@
{
"term": "Power Action Confirmation",
"context": "Power Action Confirmation",
"reference": "Modals/Settings/PowerSettings.qml:533",
"reference": "Modals/Settings/PowerSettings.qml:541",
"comment": ""
},
{
@@ -2930,7 +2930,7 @@
{
"term": "Power Off",
"context": "Power Off",
"reference": "Modals/PowerMenuModal.qml:73, Modals/PowerMenuModal.qml:139, Modules/Lock/LockPowerMenu.qml:432, Modules/ControlCenter/PowerMenu.qml:17",
"reference": "Modals/PowerMenuModal.qml:101, Modals/PowerMenuModal.qml:167, Modules/Lock/LockPowerMenu.qml:432, Modules/ControlCenter/PowerMenu.qml:17",
"comment": ""
},
{
@@ -3062,7 +3062,7 @@
{
"term": "Reboot",
"context": "Reboot",
"reference": "Modals/PowerMenuModal.qml:61, Modals/PowerMenuModal.qml:135, Modules/Lock/LockPowerMenu.qml:372, Modules/ControlCenter/PowerMenu.qml:16",
"reference": "Modals/PowerMenuModal.qml:89, Modals/PowerMenuModal.qml:163, Modules/Lock/LockPowerMenu.qml:372, Modules/ControlCenter/PowerMenu.qml:16",
"comment": ""
},
{
@@ -3104,7 +3104,7 @@
{
"term": "Request confirmation on power off, restart, suspend, hibernate and logout actions",
"context": "Request confirmation on power off, restart, suspend, hibernate and logout actions",
"reference": "Modals/Settings/PowerSettings.qml:544",
"reference": "Modals/Settings/PowerSettings.qml:552",
"comment": ""
},
{
@@ -3128,13 +3128,13 @@
{
"term": "Restart DMS",
"context": "Restart DMS",
"reference": "Modals/PowerMenuModal.qml:97",
"reference": "Modals/PowerMenuModal.qml:125",
"comment": ""
},
{
"term": "Restart the DankMaterialShell",
"context": "Restart the DankMaterialShell",
"reference": "Modals/Settings/PowerSettings.qml:474",
"reference": "Modals/Settings/PowerSettings.qml:482",
"comment": ""
},
{
@@ -3404,7 +3404,7 @@
{
"term": "Show Confirmation on Power Actions",
"context": "Show Confirmation on Power Actions",
"reference": "Modals/Settings/PowerSettings.qml:543",
"reference": "Modals/Settings/PowerSettings.qml:551",
"comment": ""
},
{
@@ -3416,7 +3416,7 @@
{
"term": "Show Hibernate",
"context": "Show Hibernate",
"reference": "Modals/Settings/PowerSettings.qml:489",
"reference": "Modals/Settings/PowerSettings.qml:497",
"comment": ""
},
{
@@ -3428,13 +3428,13 @@
{
"term": "Show Lock",
"context": "Show Lock",
"reference": "Modals/Settings/PowerSettings.qml:443",
"reference": "Modals/Settings/PowerSettings.qml:451",
"comment": ""
},
{
"term": "Show Log Out",
"context": "Show Log Out",
"reference": "Modals/Settings/PowerSettings.qml:413",
"reference": "Modals/Settings/PowerSettings.qml:421",
"comment": ""
},
{
@@ -3446,25 +3446,25 @@
{
"term": "Show Power Off",
"context": "Show Power Off",
"reference": "Modals/Settings/PowerSettings.qml:428",
"reference": "Modals/Settings/PowerSettings.qml:436",
"comment": ""
},
{
"term": "Show Reboot",
"context": "Show Reboot",
"reference": "Modals/Settings/PowerSettings.qml:398",
"reference": "Modals/Settings/PowerSettings.qml:406",
"comment": ""
},
{
"term": "Show Restart DMS",
"context": "Show Restart DMS",
"reference": "Modals/Settings/PowerSettings.qml:473",
"reference": "Modals/Settings/PowerSettings.qml:481",
"comment": ""
},
{
"term": "Show Suspend",
"context": "Show Suspend",
"reference": "Modals/Settings/PowerSettings.qml:458",
"reference": "Modals/Settings/PowerSettings.qml:466",
"comment": ""
},
{
@@ -3614,7 +3614,7 @@
{
"term": "Spacing",
"context": "Spacing",
"reference": "Modules/Settings/DockTab.qml:473, Modules/Settings/DankBarTab.qml:1004",
"reference": "Modules/Settings/DockTab.qml:492, Modules/Settings/DankBarTab.qml:1004",
"comment": ""
},
{
@@ -3686,7 +3686,7 @@
{
"term": "Suspend",
"context": "Suspend",
"reference": "Modals/PowerMenuModal.qml:85, Modals/PowerMenuModal.qml:127, Modules/Lock/LockPowerMenu.qml:260, Modules/ControlCenter/PowerMenu.qml:15",
"reference": "Modals/PowerMenuModal.qml:113, Modals/PowerMenuModal.qml:155, Modules/Lock/LockPowerMenu.qml:260, Modules/ControlCenter/PowerMenu.qml:15",
"comment": ""
},
{
@@ -4043,6 +4043,12 @@
"reference": "Modules/Settings/WidgetTweaksTab.qml:241",
"comment": ""
},
{
"term": "Use Grid Layout",
"context": "Use Grid Layout",
"reference": "Modals/Settings/PowerSettings.qml:372",
"comment": ""
},
{
"term": "Use IP Location",
"context": "Use IP Location",

View File

@@ -623,6 +623,9 @@
"Display currently focused application title": {
"Display currently focused application title": "Mostra il titolo delle applicazioni attualmente in focus"
},
"Display power menu actions in a grid instead of a list": {
"Display power menu actions in a grid instead of a list": ""
},
"Display settings for ": {
"Display settings for ": ""
},
@@ -2030,6 +2033,9 @@
"Use Fahrenheit instead of Celsius for temperature": {
"Use Fahrenheit instead of Celsius for temperature": "Usa Fahrenheit invece di Celsius per la temperatura"
},
"Use Grid Layout": {
"Use Grid Layout": ""
},
"Use IP Location": {
"Use IP Location": "Usa Posizione IP"
},

View File

@@ -207,7 +207,7 @@
"Available": "利用可能"
},
"Available Layouts": {
"Available Layouts": ""
"Available Layouts": "利用可能なレイアウト"
},
"Available Plugins": {
"Available Plugins": "利用可能なプラグイン"
@@ -309,7 +309,7 @@
"Center Section": "センターセクション"
},
"Center Tiling": {
"Center Tiling": ""
"Center Tiling": "中央タイルリング"
},
"Changes:": {
"Changes:": "変更:"
@@ -522,7 +522,7 @@
"DMS_SOCKET not available": "DMS_SOCKETが利用できません"
},
"DWL service not available": {
"DWL service not available": ""
"DWL service not available": "DWLサービスが利用できません"
},
"Daily at:": {
"Daily at:": "毎日:"
@@ -558,7 +558,7 @@
"Day Temperature": "昼間の温度"
},
"Deck": {
"Deck": ""
"Deck": "デッキ"
},
"Default": {
"Default": "デフォルト"
@@ -615,7 +615,7 @@
"Display all priorities over fullscreen apps": "フルスクリーンアプリよりもすべての優先度を表示する"
},
"Display and switch DWL layouts": {
"Display and switch DWL layouts": ""
"Display and switch DWL layouts": "DWL レイアウトの表示と切り替え"
},
"Display application icons in workspace indicators": {
"Display application icons in workspace indicators": "ワークスペース インジケーターにアプリのアイコンを表示"
@@ -623,6 +623,9 @@
"Display currently focused application title": {
"Display currently focused application title": "現在フォーカスされているアプリケーションのタイトルを表示"
},
"Display power menu actions in a grid instead of a list": {
"Display power menu actions in a grid instead of a list": ""
},
"Display settings for ": {
"Display settings for ": "以下の設定を表示 "
},
@@ -834,7 +837,7 @@
"Force Kill Process": "プロセスを強制終了"
},
"Force terminal applications to always use dark color schemes": {
"Force terminal applications to always use dark color schemes": ""
"Force terminal applications to always use dark color schemes": "端末アプリで常に暗い配色を使用するように強制する"
},
"Forget Device": {
"Forget Device": "デバイスを忘れる"
@@ -885,7 +888,7 @@
"Graphics": "グラフィック"
},
"Grid": {
"Grid": ""
"Grid": "グリッド"
},
"Group by App": {
"Group by App": "アプリ別にグループ化"
@@ -1032,7 +1035,7 @@
"Launcher Button Logo": "ランチャーのボタンロゴ"
},
"Layout": {
"Layout": ""
"Layout": "レイアウト"
},
"Left": {
"Left": "左"
@@ -1173,7 +1176,7 @@
"Monitor whose wallpaper drives dynamic theming colors": "ダイナミックテーマの色を駆動する壁紙をモニター"
},
"Monocle": {
"Monocle": ""
"Monocle": "モノクル"
},
"Monospace Font": {
"Monospace Font": "等幅フォント"
@@ -1554,7 +1557,7 @@
"Request confirmation on power off, restart, suspend, hibernate and logout actions": "電源オフ、再起動、一時停止、休止状態、ログアウトアクションの確認を要求"
},
"Requires DWL compositor": {
"Requires DWL compositor": ""
"Requires DWL compositor": "DWLコンポジターが必要"
},
"Reset": {
"Reset": "リセット"
@@ -1587,10 +1590,10 @@
"Right Section": "右セクション"
},
"Right Tiling": {
"Right Tiling": ""
"Right Tiling": "右タイリング"
},
"Right-click bar widget to cycle": {
"Right-click bar widget to cycle": ""
"Right-click bar widget to cycle": "バーウィジェットを右クリックして循環"
},
"Run User Templates": {
"Run User Templates": "ユーザーのテンプレを実行"
@@ -1626,7 +1629,7 @@
"Science": "科学"
},
"Scrolling": {
"Scrolling": ""
"Scrolling": "スクロール"
},
"Search file contents": {
"Search file contents": "ファイルの内容を検索"
@@ -1947,7 +1950,7 @@
"This will permanently delete all clipboard history.": "これはすべてのクリップボード履歴を完全に削除します。"
},
"Tiling": {
"Tiling": ""
"Tiling": "タイリング"
},
"Time & Weather": {
"Time & Weather": "時間および天気"
@@ -2030,6 +2033,9 @@
"Use Fahrenheit instead of Celsius for temperature": {
"Use Fahrenheit instead of Celsius for temperature": "温度は摂氏ではなく華氏を使用"
},
"Use Grid Layout": {
"Use Grid Layout": ""
},
"Use IP Location": {
"Use IP Location": "IP ロケーションの使用"
},
@@ -2088,16 +2094,16 @@
"VRR: ": "VRR: "
},
"Vertical Deck": {
"Vertical Deck": ""
"Vertical Deck": "垂直デッキ"
},
"Vertical Grid": {
"Vertical Grid": ""
"Vertical Grid": "垂直グリッド"
},
"Vertical Scrolling": {
"Vertical Scrolling": ""
"Vertical Scrolling": "垂直スクロール"
},
"Vertical Tiling": {
"Vertical Tiling": ""
"Vertical Tiling": "垂直タイリング"
},
"Vibrant palette with playful saturation.": {
"Vibrant palette with playful saturation.": "遊び心のある彩度の鮮やかなパレット。"

View File

@@ -623,6 +623,9 @@
"Display currently focused application title": {
"Display currently focused application title": "Wyświetlaj tytuł aktywnej aplikacji"
},
"Display power menu actions in a grid instead of a list": {
"Display power menu actions in a grid instead of a list": ""
},
"Display settings for ": {
"Display settings for ": "Ustawienia wyświetlania dla "
},
@@ -2030,6 +2033,9 @@
"Use Fahrenheit instead of Celsius for temperature": {
"Use Fahrenheit instead of Celsius for temperature": "Użyj Fahrenheita zamiast Celsjusza dla temperatury"
},
"Use Grid Layout": {
"Use Grid Layout": ""
},
"Use IP Location": {
"Use IP Location": "Użyj lokalizacji IP"
},

View File

@@ -623,6 +623,9 @@
"Display currently focused application title": {
"Display currently focused application title": "Mostrar título do app em foco"
},
"Display power menu actions in a grid instead of a list": {
"Display power menu actions in a grid instead of a list": ""
},
"Display settings for ": {
"Display settings for ": ""
},
@@ -2030,6 +2033,9 @@
"Use Fahrenheit instead of Celsius for temperature": {
"Use Fahrenheit instead of Celsius for temperature": "Usar Fahrenheit em vez de Celsius para temperatura"
},
"Use Grid Layout": {
"Use Grid Layout": ""
},
"Use IP Location": {
"Use IP Location": "Usar Localização do Endereço IP"
},

View File

@@ -623,6 +623,9 @@
"Display currently focused application title": {
"Display currently focused application title": "Şu anda odaklanmış uygulamanın başlığını göster"
},
"Display power menu actions in a grid instead of a list": {
"Display power menu actions in a grid instead of a list": ""
},
"Display settings for ": {
"Display settings for ": "Ekran ayarları: "
},
@@ -2030,6 +2033,9 @@
"Use Fahrenheit instead of Celsius for temperature": {
"Use Fahrenheit instead of Celsius for temperature": "Sıcaklık için Celsius yerine Fahrenhayt kullan"
},
"Use Grid Layout": {
"Use Grid Layout": ""
},
"Use IP Location": {
"Use IP Location": "IP Konumunu Kullan"
},

View File

@@ -207,7 +207,7 @@
"Available": "可用"
},
"Available Layouts": {
"Available Layouts": ""
"Available Layouts": "可用布局"
},
"Available Plugins": {
"Available Plugins": "可用插件"
@@ -303,13 +303,13 @@
"Capacity": "电池容量"
},
"Caps Lock Indicator": {
"Caps Lock Indicator": ""
"Caps Lock Indicator": "大小写指示灯"
},
"Center Section": {
"Center Section": "中间区域"
},
"Center Tiling": {
"Center Tiling": ""
"Center Tiling": "中心平铺"
},
"Changes:": {
"Changes:": "更改:"
@@ -522,7 +522,7 @@
"DMS_SOCKET not available": "DMS_SOCKET 不可用"
},
"DWL service not available": {
"DWL service not available": ""
"DWL service not available": "DWL服务不可用"
},
"Daily at:": {
"Daily at:": "在每日:"
@@ -558,7 +558,7 @@
"Day Temperature": "日间色温"
},
"Deck": {
"Deck": ""
"Deck": "Deck"
},
"Default": {
"Default": "默认"
@@ -615,7 +615,7 @@
"Display all priorities over fullscreen apps": "应用全屏时仍显示所有优先级的通知"
},
"Display and switch DWL layouts": {
"Display and switch DWL layouts": ""
"Display and switch DWL layouts": "显示与切换DWL布局"
},
"Display application icons in workspace indicators": {
"Display application icons in workspace indicators": "在工作区指示器中显示应用程序图标"
@@ -623,6 +623,9 @@
"Display currently focused application title": {
"Display currently focused application title": "显示当前聚焦应用的标题"
},
"Display power menu actions in a grid instead of a list": {
"Display power menu actions in a grid instead of a list": ""
},
"Display settings for ": {
"Display settings for ": "显示设置 "
},
@@ -834,7 +837,7 @@
"Force Kill Process": "强制结束进程"
},
"Force terminal applications to always use dark color schemes": {
"Force terminal applications to always use dark color schemes": ""
"Force terminal applications to always use dark color schemes": "强制终端应用总使用暗色"
},
"Forget Device": {
"Forget Device": "取消配对"
@@ -885,7 +888,7 @@
"Graphics": "图形"
},
"Grid": {
"Grid": ""
"Grid": "网格"
},
"Group by App": {
"Group by App": "按应用分组"
@@ -1032,7 +1035,7 @@
"Launcher Button Logo": "启动器按钮 Logo"
},
"Layout": {
"Layout": ""
"Layout": "布局"
},
"Left": {
"Left": "左"
@@ -1173,7 +1176,7 @@
"Monitor whose wallpaper drives dynamic theming colors": "监视使用动态主题色的壁纸"
},
"Monocle": {
"Monocle": ""
"Monocle": "单页"
},
"Monospace Font": {
"Monospace Font": "等宽字体"
@@ -1554,7 +1557,7 @@
"Request confirmation on power off, restart, suspend, hibernate and logout actions": "关机、重启、挂起、休眠和注销前请求确认"
},
"Requires DWL compositor": {
"Requires DWL compositor": ""
"Requires DWL compositor": "需要DWL合成器"
},
"Reset": {
"Reset": "重置"
@@ -1587,10 +1590,10 @@
"Right Section": "右侧区域"
},
"Right Tiling": {
"Right Tiling": ""
"Right Tiling": "右侧平铺"
},
"Right-click bar widget to cycle": {
"Right-click bar widget to cycle": ""
"Right-click bar widget to cycle": "点击bar上小部件以轮换"
},
"Run User Templates": {
"Run User Templates": "运行用户模板"
@@ -1626,7 +1629,7 @@
"Science": "科学"
},
"Scrolling": {
"Scrolling": ""
"Scrolling": "滚动"
},
"Search file contents": {
"Search file contents": "检索文件内容"
@@ -1785,7 +1788,7 @@
"Shows current workspace and allows switching": "显示当前工作区并支持快速切换"
},
"Shows when caps lock is active": {
"Shows when caps lock is active": ""
"Shows when caps lock is active": "大写锁定时显示"
},
"Shows when microphone, camera, or screen sharing is active": {
"Shows when microphone, camera, or screen sharing is active": "显示麦克风、摄像头或屏幕共享的使用状态"
@@ -1914,7 +1917,7 @@
"Terminal custom additional parameters": "终端自定义附加参数"
},
"Terminals - Always use Dark Theme": {
"Terminals - Always use Dark Theme": ""
"Terminals - Always use Dark Theme": "终端总使用暗色主题"
},
"Text": {
"Text": "文本"
@@ -1947,7 +1950,7 @@
"This will permanently delete all clipboard history.": "此操作会清空剪贴板历史,且无法恢复。"
},
"Tiling": {
"Tiling": ""
"Tiling": "平铺"
},
"Time & Weather": {
"Time & Weather": "时间与天气"
@@ -2030,14 +2033,17 @@
"Use Fahrenheit instead of Celsius for temperature": {
"Use Fahrenheit instead of Celsius for temperature": "使用华氏度显示温度"
},
"Use Grid Layout": {
"Use Grid Layout": ""
},
"Use IP Location": {
"Use IP Location": "使用 IP 定位"
},
"Use Imperial Units": {
"Use Imperial Units": ""
"Use Imperial Units": "使用英制单位"
},
"Use Imperial units (°F, mph, inHg) instead of Metric (°C, km/h, hPa)": {
"Use Imperial units (°F, mph, inHg) instead of Metric (°C, km/h, hPa)": ""
"Use Imperial units (°F, mph, inHg) instead of Metric (°C, km/h, hPa)": "使用英制单位°F、mph、inHg而非公制°C、km/h、hPa"
},
"Use Monospace Font": {
"Use Monospace Font": "使用等宽字体"
@@ -2088,16 +2094,16 @@
"VRR: ": "可变刷新率: "
},
"Vertical Deck": {
"Vertical Deck": ""
"Vertical Deck": "垂直Deck"
},
"Vertical Grid": {
"Vertical Grid": ""
"Vertical Grid": "垂直网格"
},
"Vertical Scrolling": {
"Vertical Scrolling": ""
"Vertical Scrolling": "垂直滚动"
},
"Vertical Tiling": {
"Vertical Tiling": ""
"Vertical Tiling": "垂直平铺"
},
"Vibrant palette with playful saturation.": {
"Vibrant palette with playful saturation.": "充满活力的调色板,有着俏皮的饱和度。"

View File

@@ -623,6 +623,9 @@
"Display currently focused application title": {
"Display currently focused application title": "顯示目前焦點應用程式的標題"
},
"Display power menu actions in a grid instead of a list": {
"Display power menu actions in a grid instead of a list": ""
},
"Display settings for ": {
"Display settings for ": "顯示設定適用於"
},
@@ -2030,6 +2033,9 @@
"Use Fahrenheit instead of Celsius for temperature": {
"Use Fahrenheit instead of Celsius for temperature": "使用華氏度代替攝氏度來表示溫度"
},
"Use Grid Layout": {
"Use Grid Layout": ""
},
"Use IP Location": {
"Use IP Location": "使用 IP 位置"
},

View File

@@ -1455,6 +1455,13 @@
"reference": "",
"comment": ""
},
{
"term": "Display power menu actions in a grid instead of a list",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "Display settings for ",
"translation": "",
@@ -2099,13 +2106,6 @@
"reference": "",
"comment": ""
},
{
"term": "Height to Edge Gap (Exclusive Zone)",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "Hex",
"translation": "",
@@ -4717,6 +4717,13 @@
"reference": "",
"comment": ""
},
{
"term": "Use Grid Layout",
"translation": "",
"context": "",
"reference": "",
"comment": ""
},
{
"term": "Use IP Location",
"translation": "",