default apps config entries, revert focus property on root shell
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Python / lint-format (pull_request) Successful in 20s
Python / test (pull_request) Successful in 28s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m10s

This commit is contained in:
2026-06-10 19:29:20 +02:00
parent 6b77ebd9be
commit e90f1facb7
5 changed files with 25 additions and 9 deletions
+4
View File
@@ -16,8 +16,12 @@ JsonObject {
property string wallpaperPath: Quickshell.env("HOME") + "/Pictures/Wallpapers" property string wallpaperPath: Quickshell.env("HOME") + "/Pictures/Wallpapers"
component Apps: JsonObject { component Apps: JsonObject {
property list<string> archiver: ["ark"]
property list<string> audio: ["pavucontrol"] property list<string> audio: ["pavucontrol"]
property list<string> document: ["libreoffice"]
property list<string> editor: ["kate"]
property list<string> explorer: ["dolphin"] property list<string> explorer: ["dolphin"]
property list<string> image: ["imv"]
property list<string> playback: ["mpv"] property list<string> playback: ["mpv"]
property list<string> terminal: ["kitty"] property list<string> terminal: ["kitty"]
} }
+1
View File
@@ -26,6 +26,7 @@ CustomWindow {
WlrLayershell.exclusionMode: ExclusionMode.Ignore WlrLayershell.exclusionMode: ExclusionMode.Ignore
// WlrLayershell.keyboardFocus: visibilities.dock || visibilities.launcher || visibilities.sidebar || visibilities.dashboard || visibilities.settings || visibilities.resources ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None // WlrLayershell.keyboardFocus: visibilities.dock || visibilities.launcher || visibilities.sidebar || visibilities.dashboard || visibilities.settings || visibilities.resources ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
color: "transparent" color: "transparent"
contentItem.focus: true
mask: visibilities.isDrawing ? null : region mask: visibilities.isDrawing ? null : region
name: "Bar" name: "Bar"
+1 -1
View File
@@ -15,7 +15,7 @@ Item {
property real playerProgress: { property real playerProgress: {
const active = Players.active; const active = Players.active;
return active?.length ? active.position / active.length : 0; return active?.length ? (active.position % active.length) / active.length : 0;
} }
property int rowHeight: Appearance.padding.large + Config.dashboard.sizes.mediaProgressThickness + Appearance.spacing.small property int rowHeight: Appearance.padding.large + Config.dashboard.sizes.mediaProgressThickness + Appearance.spacing.small
+7 -8
View File
@@ -28,26 +28,25 @@ Item {
let cmd = []; let cmd = [];
switch (type) { switch (type) {
case "image": case "image":
cmd = [Config.options.apps.imageViewer, filePath]; cmd = [Config.general.apps.image, filePath];
break; break;
case "video": case "video":
cmd = [Config.options.apps.videoPlayer, filePath]; cmd = [Config.general.apps.playback, filePath];
break; break;
case "audio": case "audio":
cmd = [Config.options.apps.audioPlayer, filePath]; cmd = [Config.general.apps.audio, filePath];
break; break;
case "archive": case "archive":
cmd = [Config.options.apps.archiveManager, filePath]; cmd = [Config.general.apps.archiver, filePath];
break; break;
case "directory": case "directory":
cmd = [Config.options.apps.fileManager, filePath]; cmd = [Config.general.apps.explorer, filePath];
break; break;
case "code":
case "text": case "text":
cmd = [Config.options.apps.textEditor, filePath]; cmd = [Config.general.apps.editor, filePath];
break; break;
case "document": case "document":
cmd = [Config.options.apps.documentViewer, filePath]; cmd = [Config.general.apps.document, filePath];
break; break;
default: default:
cmd = ["xdg-open", filePath]; cmd = ["xdg-open", filePath];
+12
View File
@@ -247,6 +247,18 @@ SettingsPage {
object: Config.general.color object: Config.general.color
settings: ["scheduleHyprsunset", "scheduleHyprsunsetStart", "scheduleHyprsunsetEnd", "hyprsunsetTemp"] settings: ["scheduleHyprsunset", "scheduleHyprsunsetStart", "scheduleHyprsunsetEnd", "hyprsunsetTemp"]
} }
Separator {
}
SettingSpinBox {
max: 20000
min: 1000
name: "Hyprsunset temperature"
object: Config.general.color
setting: "hyprsunsetTemp"
step: 200
}
} }
SettingsSection { SettingsSection {