summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBora Gülerman <49169566+eratoriele@users.noreply.github.com>2026-02-19 13:26:10 +0300
committerGitHub <noreply@github.com>2026-02-19 21:26:10 +1100
commit40a255283083301b9503e1cbb9f0ea7db83e069a (patch)
treeb98f42e7dd34fffb87fb6f81c82fc93b091163b5 /config
parent[CI] chore: update flake (diff)
downloadcaelestia-shell-40a255283083301b9503e1cbb9f0ea7db83e069a.tar.gz
caelestia-shell-40a255283083301b9503e1cbb9f0ea7db83e069a.tar.bz2
caelestia-shell-40a255283083301b9503e1cbb9f0ea7db83e069a.zip
launcher: add favorite apps (#946)
* launcher: add favorite apps Favorite apps always appear above non-favorite apps Accepts regex, same logic as #920 Added the same regex logic to hidden apps Added util file may need to be relocated * addressed requested changes * fix: Renamed newly added util singleton Also added a null check to favorite icon loader in AppItem.qml * controlCenter/launcherPane: added favorite apps added icons to the app list to indicate if they are favorited/hidden marking as favorite/hidden is desabled if the other is selected * favouriteApps: renamed from favorite to favourite Also disabled favorite/hidden switch for entries added as regex * appDb: added notify and emit to favoriteApps * controlCentre/Launcher: Fixed bug with favourite switch not enabling itself when no hiddenApps exist Added a comment to explain the enabled state of the switches icon loader is now a single loader rather than two, hidden icon has priority * spelling mistakes * fixed warning * formatting fixes
Diffstat (limited to 'config')
-rw-r--r--config/Config.qml1
-rw-r--r--config/LauncherConfig.qml1
2 files changed, 2 insertions, 0 deletions
diff --git a/config/Config.qml b/config/Config.qml
index 74e3f45..7851c3b 100644
--- a/config/Config.qml
+++ b/config/Config.qml
@@ -297,6 +297,7 @@ Singleton {
enableDangerousActions: launcher.enableDangerousActions,
dragThreshold: launcher.dragThreshold,
vimKeybinds: launcher.vimKeybinds,
+ favouriteApps: launcher.favouriteApps,
hiddenApps: launcher.hiddenApps,
useFuzzy: {
apps: launcher.useFuzzy.apps,
diff --git a/config/LauncherConfig.qml b/config/LauncherConfig.qml
index 7f9c788..d9e3a73 100644
--- a/config/LauncherConfig.qml
+++ b/config/LauncherConfig.qml
@@ -10,6 +10,7 @@ JsonObject {
property bool enableDangerousActions: false // Allow actions that can cause losing data, like shutdown, reboot and logout
property int dragThreshold: 50
property bool vimKeybinds: false
+ property list<string> favouriteApps: []
property list<string> hiddenApps: []
property UseFuzzy useFuzzy: UseFuzzy {}
property Sizes sizes: Sizes {}