feat: add font size scaling with configurable multiplier in settings

This commit is contained in:
JPratama7 2025-07-26 18:22:06 +07:00
parent eb4db2b910
commit f1c2f9bea8
No known key found for this signature in database
GPG key ID: CD3EB7D0490C5F4B
2 changed files with 11 additions and 6 deletions

View file

@ -7,7 +7,7 @@ import qs.Services
Singleton {
property string shellName: "Noctalia"
property string settingsDir: (Quickshell.env("XDG_CONFIG_HOME") || Quickshell.env("HOME") + "/.config") + "/" + shellName + "/"
property string settingsDir: Quickshell.env("NOCTALIA_SETTINGS_DIR") || (Quickshell.env("XDG_CONFIG_HOME") || Quickshell.env("HOME") + "/.config") + "/" + shellName + "/"
property string settingsFile: Quickshell.env("NOCTALIA_SETTINGS_FILE") || (settingsDir + "Settings.json")
property string themeFile: Quickshell.env("NOCTALIA_THEME_FILE") || (settingsDir + "Theme.json")
property var settings: settingAdapter
@ -58,6 +58,7 @@ Singleton {
property bool reverseDayMonth: false
property bool use12HourClock: false
property bool dimPanels: true
property real fontSizeMultiplier: 1.0 // Font size multiplier (1.0 = normal, 1.2 = 20% larger, 0.8 = 20% smaller)
property var pinnedExecs: [] // Added for AppLauncher pinned apps
}
}