mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-01 19:18:28 -04:00
feat(Settings): add option to show icon for focused windows
- Closes #2122
This commit is contained in:
@@ -462,6 +462,7 @@ Singleton {
|
||||
property bool clockCompactMode: false
|
||||
property int focusedWindowSize: 1
|
||||
property bool focusedWindowCompactMode: false
|
||||
property bool focusedWindowShowIcon: false
|
||||
property bool runningAppsCompactMode: true
|
||||
property int barMaxVisibleApps: 0
|
||||
property int barMaxVisibleRunningApps: 0
|
||||
@@ -1751,7 +1752,8 @@ Singleton {
|
||||
if (obj?.lockScreenActiveMonitor !== undefined) {
|
||||
var oldVal = obj.lockScreenActiveMonitor;
|
||||
if (oldVal && oldVal !== "all") {
|
||||
if (!obj.screenPreferences) obj.screenPreferences = {};
|
||||
if (!obj.screenPreferences)
|
||||
obj.screenPreferences = {};
|
||||
if (obj.screenPreferences.lockScreen === undefined) {
|
||||
obj.screenPreferences.lockScreen = [oldVal];
|
||||
}
|
||||
|
||||
@@ -192,6 +192,7 @@ var SPEC = {
|
||||
clockCompactMode: { def: false },
|
||||
focusedWindowCompactMode: { def: false },
|
||||
focusedWindowSize: { def: 1 },
|
||||
focusedWindowShowIcon: { def: false },
|
||||
runningAppsCompactMode: { def: true },
|
||||
barMaxVisibleApps: { def: 0 },
|
||||
barMaxVisibleRunningApps: { def: 0 },
|
||||
|
||||
Reference in New Issue
Block a user