mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
Advanced Workspace Switcher Widget + Lockscreen Virtual Keyboard (#149)
* Virtual keyboard on lockscreen Almost whole code was taken from https://github.com/LucasCodingM/customVirtualkeyboard * AdvancedWorkspaceSwitcher + BottomBar - AdvancedWorkspaceSwitcher shows opened apps and allows to move to them - focusWindow function for niri - Bottom bar with AdvancedWorkspaceSwitcher * Cleanup + Styling fixes * Changed visibility defaults back to true For advanced workspace switcher * Formatting + resolved commets
This commit is contained in:
committed by
GitHub
parent
96db0581d3
commit
5bffb1ba10
@@ -25,6 +25,7 @@ Singleton {
|
||||
property bool useAutoLocation: false
|
||||
property bool showLauncherButton: true
|
||||
property bool showWorkspaceSwitcher: true
|
||||
property bool showAdvancedWorkspaceSwitcher: true
|
||||
property bool showFocusedWindow: true
|
||||
property bool showWeather: true
|
||||
property bool showMusic: true
|
||||
@@ -198,6 +199,8 @@ Singleton {
|
||||
!== undefined ? settings.showLauncherButton : true
|
||||
showWorkspaceSwitcher = settings.showWorkspaceSwitcher
|
||||
!== undefined ? settings.showWorkspaceSwitcher : true
|
||||
showAdvancedWorkspaceSwitcher = settings.showAdvancedWorkspaceSwitcher
|
||||
!== undefined ? settings.showAdvancedWorkspaceSwitcher : true
|
||||
showFocusedWindow = settings.showFocusedWindow
|
||||
!== undefined ? settings.showFocusedWindow : true
|
||||
showWeather = settings.showWeather !== undefined ? settings.showWeather : true
|
||||
@@ -571,6 +574,11 @@ Singleton {
|
||||
saveSettings()
|
||||
}
|
||||
|
||||
function setShowAdvancedWorkspaceSwitcher(enabled) {
|
||||
showAdvancedWorkspaceSwitcher = enabled
|
||||
saveSettings()
|
||||
}
|
||||
|
||||
function setShowFocusedWindow(enabled) {
|
||||
showFocusedWindow = enabled
|
||||
saveSettings()
|
||||
@@ -722,6 +730,7 @@ Singleton {
|
||||
updateListModel(rightWidgetsModel, defaultRight)
|
||||
showLauncherButton = true
|
||||
showWorkspaceSwitcher = true
|
||||
showAdvancedWorkspaceSwitcher = true
|
||||
showFocusedWindow = true
|
||||
showWeather = true
|
||||
showMusic = true
|
||||
|
||||
Reference in New Issue
Block a user