mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-07 14:08:29 -04:00
changelog: enable for 1.5
This commit is contained in:
@@ -65,7 +65,7 @@ Column {
|
|||||||
StyledText {
|
StyledText {
|
||||||
id: codenameText
|
id: codenameText
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: "Saffron Bloom"
|
text: "The Wolverine"
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
color: Theme.primary
|
color: Theme.primary
|
||||||
@@ -74,7 +74,7 @@ Column {
|
|||||||
}
|
}
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
text: "New launcher, enhanced plugin system, KDE Connect, & more"
|
text: "Frame Mode, DankCalendar, Spotlight, & more"
|
||||||
font.pixelSize: Theme.fontSizeMedium
|
font.pixelSize: Theme.fontSizeMedium
|
||||||
color: Theme.surfaceVariantText
|
color: Theme.surfaceVariantText
|
||||||
}
|
}
|
||||||
@@ -108,77 +108,99 @@ Column {
|
|||||||
|
|
||||||
ChangelogFeatureCard {
|
ChangelogFeatureCard {
|
||||||
width: (parent.width - Theme.spacingS) / 2
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
iconName: "space_dashboard"
|
iconName: "border_outer"
|
||||||
title: "Dank Launcher V2"
|
title: "Frame Mode"
|
||||||
description: "New capabilities & plugins"
|
description: "Connected shell surfaces"
|
||||||
onClicked: PopoutService.openDankLauncherV2()
|
onClicked: PopoutService.openSettingsWithTab("frame")
|
||||||
}
|
}
|
||||||
|
|
||||||
ChangelogFeatureCard {
|
ChangelogFeatureCard {
|
||||||
width: (parent.width - Theme.spacingS) / 2
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
iconName: "smartphone"
|
iconName: "calendar_month"
|
||||||
title: "Phone Connect"
|
title: "DankCalendar"
|
||||||
description: "KDE Connect & Valent"
|
description: "Native calendar & events"
|
||||||
onClicked: Qt.openUrlExternally("https://github.com/AvengeMedia/dms-plugins/tree/master/DankKDEConnect")
|
onClicked: Qt.openUrlExternally("https://github.com/AvengeMedia/dankcalendar")
|
||||||
}
|
}
|
||||||
|
|
||||||
ChangelogFeatureCard {
|
ChangelogFeatureCard {
|
||||||
width: (parent.width - Theme.spacingS) / 2
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
iconName: "monitor_heart"
|
iconName: "search"
|
||||||
title: "System Monitor"
|
title: "Spotlight"
|
||||||
description: "Redesigned process list"
|
description: "Lightweight launcher"
|
||||||
onClicked: PopoutService.showProcessListModal()
|
onClicked: PopoutService.openSpotlightBar()
|
||||||
}
|
}
|
||||||
|
|
||||||
ChangelogFeatureCard {
|
ChangelogFeatureCard {
|
||||||
width: (parent.width - Theme.spacingS) / 2
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
iconName: "window"
|
iconName: "window"
|
||||||
title: "Window Rules"
|
title: "Window Rules"
|
||||||
description: "niri window rule manager"
|
description: "Rules for all compositors"
|
||||||
visible: CompositorService.isNiri
|
|
||||||
onClicked: PopoutService.openSettingsWithTab("window_rules")
|
onClicked: PopoutService.openSettingsWithTab("window_rules")
|
||||||
}
|
}
|
||||||
|
|
||||||
ChangelogFeatureCard {
|
ChangelogFeatureCard {
|
||||||
width: (parent.width - Theme.spacingS) / 2
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
iconName: "notifications_active"
|
iconName: "display_settings"
|
||||||
title: "Enhanced Notifications"
|
title: "Display Profiles"
|
||||||
description: "Configurable rules & styling"
|
description: "Auto-switch monitor layouts"
|
||||||
visible: !CompositorService.isNiri
|
onClicked: PopoutService.openSettingsWithTab("display_config")
|
||||||
onClicked: PopoutService.openSettingsWithTab("notifications")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ChangelogFeatureCard {
|
ChangelogFeatureCard {
|
||||||
width: (parent.width - Theme.spacingS) / 2
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
iconName: "dock_to_bottom"
|
iconName: "dvr"
|
||||||
title: "Dock Enhancements"
|
title: "Multiplexer Launcher"
|
||||||
description: "Bar dock widget & more"
|
description: "Attach to tmux sessions"
|
||||||
onClicked: PopoutService.openSettingsWithTab("dock")
|
onClicked: PopoutService.openSettingsWithTab("multiplexers")
|
||||||
}
|
}
|
||||||
|
|
||||||
ChangelogFeatureCard {
|
ChangelogFeatureCard {
|
||||||
width: (parent.width - Theme.spacingS) / 2
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
iconName: "volume_up"
|
iconName: "edit_note"
|
||||||
title: "Audio Aliases"
|
title: "Notepad Rewrite"
|
||||||
description: "Custom device names"
|
description: "Popout & tiling support"
|
||||||
onClicked: PopoutService.openSettingsWithTab("audio")
|
onClicked: PopoutService.openNotepad()
|
||||||
}
|
}
|
||||||
|
|
||||||
ChangelogFeatureCard {
|
ChangelogFeatureCard {
|
||||||
width: (parent.width - Theme.spacingS) / 2
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
iconName: "extension"
|
iconName: "gradient"
|
||||||
title: "Enhanced Plugin System"
|
title: "M3 Shadows"
|
||||||
description: "Enables new types of plugins"
|
description: "Reworked elevation system"
|
||||||
onClicked: PopoutService.openSettingsWithTab("plugins")
|
|
||||||
}
|
|
||||||
|
|
||||||
ChangelogFeatureCard {
|
|
||||||
width: (parent.width - Theme.spacingS) / 2
|
|
||||||
iconName: "light_mode"
|
|
||||||
title: "Auto Light/Dark"
|
|
||||||
description: "Automatic mode switching"
|
|
||||||
onClicked: PopoutService.openSettingsWithTab("theme")
|
onClicked: PopoutService.openSettingsWithTab("theme")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ChangelogFeatureCard {
|
||||||
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
|
iconName: "login"
|
||||||
|
title: "Greeter Enhancements"
|
||||||
|
description: "Settings GUI & multi-user"
|
||||||
|
onClicked: PopoutService.openSettingsWithTab("greeter")
|
||||||
|
}
|
||||||
|
|
||||||
|
ChangelogFeatureCard {
|
||||||
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
|
iconName: "content_paste"
|
||||||
|
title: "Clipboard Filtering"
|
||||||
|
description: "Text, image & pinned filters"
|
||||||
|
onClicked: PopoutService.openSettingsWithTab("clipboard")
|
||||||
|
}
|
||||||
|
|
||||||
|
ChangelogFeatureCard {
|
||||||
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
|
iconName: "restart_alt"
|
||||||
|
title: "XDG Autostart"
|
||||||
|
description: "Manage apps at login"
|
||||||
|
onClicked: PopoutService.openSettingsWithTab("autostart")
|
||||||
|
}
|
||||||
|
|
||||||
|
ChangelogFeatureCard {
|
||||||
|
width: (parent.width - Theme.spacingS) / 2
|
||||||
|
iconName: "apps"
|
||||||
|
title: "Default Apps"
|
||||||
|
description: "Set preferred applications"
|
||||||
|
onClicked: PopoutService.openSettingsWithTab("default_apps")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -230,12 +252,7 @@ Column {
|
|||||||
|
|
||||||
ChangelogUpgradeNote {
|
ChangelogUpgradeNote {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: "Spotlight replaced by Dank Launcher V2 — check settings for new options"
|
text: "App ID changed to com.danklinux.dms — update any compositor window rules targeting the old ID"
|
||||||
}
|
|
||||||
|
|
||||||
ChangelogUpgradeNote {
|
|
||||||
width: parent.width
|
|
||||||
text: "Plugin API updated — third-party plugins may need updates"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ FloatingWindow {
|
|||||||
iconName: "open_in_new"
|
iconName: "open_in_new"
|
||||||
backgroundColor: Theme.surfaceContainerHighest
|
backgroundColor: Theme.surfaceContainerHighest
|
||||||
textColor: Theme.surfaceText
|
textColor: Theme.surfaceText
|
||||||
onClicked: Qt.openUrlExternally("https://danklinux.com/blog/v1-4-release")
|
onClicked: Qt.openUrlExternally("https://danklinux.com/blog/v1-5-release")
|
||||||
}
|
}
|
||||||
|
|
||||||
DankButton {
|
DankButton {
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ Singleton {
|
|||||||
id: root
|
id: root
|
||||||
readonly property var log: Log.scoped("ChangelogService")
|
readonly property var log: Log.scoped("ChangelogService")
|
||||||
|
|
||||||
readonly property string currentVersion: "1.4"
|
readonly property string currentVersion: "1.5"
|
||||||
readonly property bool changelogEnabled: false
|
readonly property bool changelogEnabled: true
|
||||||
|
|
||||||
readonly property string configDir: Paths.strip(StandardPaths.writableLocation(StandardPaths.ConfigLocation)) + "/DankMaterialShell"
|
readonly property string configDir: Paths.strip(StandardPaths.writableLocation(StandardPaths.ConfigLocation)) + "/DankMaterialShell"
|
||||||
readonly property string changelogMarkerPath: configDir + "/.changelog-" + currentVersion
|
readonly property string changelogMarkerPath: configDir + "/.changelog-" + currentVersion
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import QtQuick
|
|||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Wayland
|
import Quickshell.Wayland
|
||||||
import qs.Common
|
import qs.Common
|
||||||
|
import qs.Services
|
||||||
|
|
||||||
Singleton {
|
Singleton {
|
||||||
id: root
|
id: root
|
||||||
@@ -850,10 +851,23 @@ Singleton {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function notepadSlideoutForFocusedScreen() {
|
||||||
|
if (!notepadSlideouts || notepadSlideouts.length === 0)
|
||||||
|
return null;
|
||||||
|
const focused = BarWidgetService.getFocusedScreenName();
|
||||||
|
if (focused) {
|
||||||
|
for (var i = 0; i < notepadSlideouts.length; i++) {
|
||||||
|
if (notepadSlideouts[i]?.modelData?.name === focused)
|
||||||
|
return notepadSlideouts[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return notepadSlideouts[0];
|
||||||
|
}
|
||||||
|
|
||||||
function openNotepadSlideout() {
|
function openNotepadSlideout() {
|
||||||
notepadPopout?.hide();
|
notepadPopout?.hide();
|
||||||
if (notepadSlideouts.length > 0) {
|
if (notepadSlideouts.length > 0) {
|
||||||
notepadSlideouts[0]?.show();
|
notepadSlideoutForFocusedScreen()?.show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -892,7 +906,7 @@ Singleton {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (notepadSlideouts.length > 0) {
|
if (notepadSlideouts.length > 0) {
|
||||||
notepadSlideouts[0]?.hide();
|
notepadSlideoutForFocusedScreen()?.hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -902,7 +916,7 @@ Singleton {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (notepadSlideouts.length > 0) {
|
if (notepadSlideouts.length > 0) {
|
||||||
notepadSlideouts[0]?.toggle();
|
notepadSlideoutForFocusedScreen()?.toggle();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user