We've been busy squashing bugs and adding some nice improvements based on your feedback. What's New New Icon Set - Swapped out Material Symbols for Tabler icons. They look great and load faster since they're built right in. Works on Any Linux Distro - Dropped the Arch-specific update checker so this works properly on whatever distro you're running. You can build your own update notifications with Custom Buttons if you want. Icon Picker - Added a proper icon picker for custom button widgets. No more guessing icon names. Smarter Audio Visualizer - The Cava visualizer actually pays attention now - it only kicks in when you're playing music or videos instead of running all the time. Better Notifications - Notifications now show actual app names like "Firefox" instead of cryptic IDs like "org.mozilla.firefox". Less Noise - Turned a bunch of those persistent notification popups into toast notifications so they don't stick around cluttering your screen. Fixes Active Window widget finally shows the right app icon and title consistently Fixed a nasty crash on Hyprland Screen recorder button disables itself if the recording software isn't installed Added a force-enable option for Night Light so you can turn it on manually whenever
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.8.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)
|
|
}
|
|
}
|