mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-08 06:25:37 -05:00
popout: add a shadow
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import QtQuick
|
import QtQuick
|
||||||
|
import QtQuick.Effects
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Hyprland
|
import Quickshell.Hyprland
|
||||||
import Quickshell.Wayland
|
import Quickshell.Wayland
|
||||||
@@ -168,6 +169,23 @@ PanelWindow {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RectangularShadow {
|
||||||
|
id: shadowEffect
|
||||||
|
width: contentLoader.width
|
||||||
|
height: contentLoader.height
|
||||||
|
x: contentLoader.x
|
||||||
|
y: contentLoader.y
|
||||||
|
scale: contentLoader.scale
|
||||||
|
transformOrigin: Item.Center
|
||||||
|
|
||||||
|
radius: Theme.cornerRadius
|
||||||
|
blur: 8
|
||||||
|
spread: 0
|
||||||
|
color: Qt.rgba(0, 0, 0, 0.4)
|
||||||
|
visible: contentLoader.visible && shouldBeVisible
|
||||||
|
opacity: contentLoader.opacity * 0.6
|
||||||
|
}
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: contentLoader
|
id: contentLoader
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|||||||
@@ -312,7 +312,7 @@
|
|||||||
"Center Section": "センターセクション"
|
"Center Section": "センターセクション"
|
||||||
},
|
},
|
||||||
"Changes:": {
|
"Changes:": {
|
||||||
"Changes:": ""
|
"Changes:": "変更:"
|
||||||
},
|
},
|
||||||
"Check for system updates": {
|
"Check for system updates": {
|
||||||
"Check for system updates": "システムアップデートを検査"
|
"Check for system updates": "システムアップデートを検査"
|
||||||
@@ -414,7 +414,7 @@
|
|||||||
"Confirm": "確認"
|
"Confirm": "確認"
|
||||||
},
|
},
|
||||||
"Confirm Display Changes": {
|
"Confirm Display Changes": {
|
||||||
"Confirm Display Changes": ""
|
"Confirm Display Changes": "表示変更を確認"
|
||||||
},
|
},
|
||||||
"Confirm passkey for ": {
|
"Confirm passkey for ": {
|
||||||
"Confirm passkey for ": "パスキーを確認 "
|
"Confirm passkey for ": "パスキーを確認 "
|
||||||
@@ -591,7 +591,7 @@
|
|||||||
"Disable Autoconnect": "自動接続を無効"
|
"Disable Autoconnect": "自動接続を無効"
|
||||||
},
|
},
|
||||||
"Disabled": {
|
"Disabled": {
|
||||||
"Disabled": ""
|
"Disabled": "無効化されました"
|
||||||
},
|
},
|
||||||
"Disconnect": {
|
"Disconnect": {
|
||||||
"Disconnect": "切断"
|
"Disconnect": "切断"
|
||||||
@@ -621,7 +621,7 @@
|
|||||||
"Display currently focused application title": "現在フォーカスされているアプリケーションのタイトルを表示"
|
"Display currently focused application title": "現在フォーカスされているアプリケーションのタイトルを表示"
|
||||||
},
|
},
|
||||||
"Display settings for ": {
|
"Display settings for ": {
|
||||||
"Display settings for ": ""
|
"Display settings for ": "以下の設定を表示 "
|
||||||
},
|
},
|
||||||
"Display volume and brightness percentage values by default in OSD popups": {
|
"Display volume and brightness percentage values by default in OSD popups": {
|
||||||
"Display volume and brightness percentage values by default in OSD popups": "OSDポップアップに音量と輝度のパーセンテージ値をデフォルトで表示"
|
"Display volume and brightness percentage values by default in OSD popups": "OSDポップアップに音量と輝度のパーセンテージ値をデフォルトで表示"
|
||||||
@@ -699,7 +699,7 @@
|
|||||||
"Enable loginctl lock integration": "ログインロックの統合を有効に"
|
"Enable loginctl lock integration": "ログインロックの統合を有効に"
|
||||||
},
|
},
|
||||||
"Enabled": {
|
"Enabled": {
|
||||||
"Enabled": ""
|
"Enabled": "有効化されました"
|
||||||
},
|
},
|
||||||
"End": {
|
"End": {
|
||||||
"End": "終わり"
|
"End": "終わり"
|
||||||
@@ -993,7 +993,7 @@
|
|||||||
"Jobs: ": "ジョブ: "
|
"Jobs: ": "ジョブ: "
|
||||||
},
|
},
|
||||||
"Keep Changes": {
|
"Keep Changes": {
|
||||||
"Keep Changes": ""
|
"Keep Changes": "変更を保持"
|
||||||
},
|
},
|
||||||
"Keyboard Layout Name": {
|
"Keyboard Layout Name": {
|
||||||
"Keyboard Layout Name": "キーボードレイアウト名"
|
"Keyboard Layout Name": "キーボードレイアウト名"
|
||||||
@@ -1164,7 +1164,7 @@
|
|||||||
"Mode:": "モード:"
|
"Mode:": "モード:"
|
||||||
},
|
},
|
||||||
"Mode: ": {
|
"Mode: ": {
|
||||||
"Mode: ": ""
|
"Mode: ": "モード: "
|
||||||
},
|
},
|
||||||
"Monitor": {
|
"Monitor": {
|
||||||
"Monitor": "モニター"
|
"Monitor": "モニター"
|
||||||
@@ -1449,7 +1449,7 @@
|
|||||||
"Position": "位置"
|
"Position": "位置"
|
||||||
},
|
},
|
||||||
"Position: ": {
|
"Position: ": {
|
||||||
"Position: ": ""
|
"Position: ": "位置: "
|
||||||
},
|
},
|
||||||
"Power & Security": {
|
"Power & Security": {
|
||||||
"Power & Security": "電源とセキュリティ"
|
"Power & Security": "電源とセキュリティ"
|
||||||
@@ -1560,7 +1560,7 @@
|
|||||||
"Resume": "レジュメ"
|
"Resume": "レジュメ"
|
||||||
},
|
},
|
||||||
"Revert": {
|
"Revert": {
|
||||||
"Revert": ""
|
"Revert": "反転"
|
||||||
},
|
},
|
||||||
"Reverting in:": {
|
"Reverting in:": {
|
||||||
"Reverting in:": ""
|
"Reverting in:": ""
|
||||||
|
|||||||
Reference in New Issue
Block a user