- **Floating Mode**: Added floating option for more flexible bar positioning - **Vertical Orientation**: New vertical bar layout support - **Exclusive Mode**: Added exclusive setting to prevent windows from rendering behind the dock - **Floating Distance Control**: Added control for adjusting floating distance - **Layout Refinements**: Various layout fixes for better visual consistency - **Enhanced Navigation**: More panels now support closing with the Escape key - **Settings Overhaul**: Complete revamp of the settings window tab content - **Layout Editor**: Added ability to edit keyboard layouts directly - **GPU Temperature**: Removed GPU temperature monitoring (resolved NVIDIA compatibility issues) - **Compact Mode**: New compact version for space-constrained layouts - **Hyprland Stability**: Added numerous null checks for improved Hyprland compatibility - **Niri Support**: Fixed active window detection for the Niri compositor - **Workspace Visibility**: Added toggle to hide unoccupied workspaces - **Monochrome Theme**: Added new monochrome color scheme option - **Bluetooth Stability**: More stable connections and adapter state management - **Toast Notifications**: Fixed odd toast notification behavior - **Font Service**: Improved font service reliability and added fuzzy search for the font selection in General Tab
30 lines
641 B
QML
30 lines
641 B
QML
pragma Singleton
|
|
|
|
import QtQuick
|
|
import Quickshell
|
|
import qs.Commons
|
|
|
|
Singleton {
|
|
id: root
|
|
|
|
// Public properties
|
|
property string baseVersion: "2.9.0"
|
|
property bool isDevelopment: false
|
|
|
|
property string currentVersion: `v${!isDevelopment ? baseVersion : baseVersion + "-dev"}`
|
|
|
|
// Internal helpers
|
|
function getVersion() {
|
|
return root.currentVersion
|
|
}
|
|
|
|
function checkForUpdates() {
|
|
// TODO: Implement update checking logic
|
|
Logger.log("UpdateService", "Checking for updates...")
|
|
}
|
|
|
|
function init() {
|
|
// Ensure the singleton is created
|
|
Logger.log("UpdateService", "Version:", root.currentVersion)
|
|
}
|
|
}
|