forked from Shinonome/dots-hyprland
add transparency option (#1398)
This commit is contained in:
@@ -16,10 +16,8 @@ Singleton {
|
|||||||
property string syntaxHighlightingTheme
|
property string syntaxHighlightingTheme
|
||||||
|
|
||||||
// Extremely conservative transparency values for consistency and readability
|
// Extremely conservative transparency values for consistency and readability
|
||||||
property real transparency: 0
|
property real transparency: ConfigOptions?.appearance.transparency ? (m3colors.darkmode ? 0.1 : 0) : 0
|
||||||
property real contentTransparency: 0
|
property real contentTransparency: ConfigOptions?.appearance.transparency ? (m3colors.darkmode ? 0.55 : 0) : 0
|
||||||
// property real transparency: m3colors.darkmode ? 0.05 : 0
|
|
||||||
// property real contentTransparency: m3colors.darkmode ? 0.18 : 0
|
|
||||||
|
|
||||||
m3colors: QtObject {
|
m3colors: QtObject {
|
||||||
property bool darkmode: false
|
property bool darkmode: false
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ Singleton {
|
|||||||
|
|
||||||
property QtObject appearance: QtObject {
|
property QtObject appearance: QtObject {
|
||||||
property int fakeScreenRounding: 2 // 0: None | 1: Always | 2: When not fullscreen
|
property int fakeScreenRounding: 2 // 0: None | 1: Always | 2: When not fullscreen
|
||||||
|
property bool transparency: false
|
||||||
}
|
}
|
||||||
|
|
||||||
property QtObject audio: QtObject { // Values in %
|
property QtObject audio: QtObject { // Values in %
|
||||||
|
|||||||
Reference in New Issue
Block a user