From c3cabffa44965fe5ba734dd6b8c4dac583c23ee2 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 21 May 2026 12:43:03 +0200 Subject: [PATCH] Use launcher hides list --- applications/hidden/avahi-discover.desktop | 2 - applications/hidden/bssh.desktop | 2 - applications/hidden/btop.desktop | 2 - applications/hidden/bvnc.desktop | 2 - applications/hidden/cmake-gui.desktop | 2 - applications/hidden/cups.desktop | 2 - applications/hidden/dropbox.desktop | 2 - applications/hidden/electron34.desktop | 2 - applications/hidden/electron36.desktop | 2 - applications/hidden/electron37.desktop | 2 - applications/hidden/fcitx5-configtool.desktop | 2 - .../hidden/fcitx5-wayland-launcher.desktop | 2 - applications/hidden/foot-server.desktop | 2 - applications/hidden/footclient.desktop | 2 - applications/hidden/java-java-openjdk.desktop | 2 - .../hidden/jconsole-java-openjdk.desktop | 2 - .../hidden/jshell-java-openjdk.desktop | 2 - .../hidden/kbd-layout-viewer5.desktop | 2 - applications/hidden/kcm_fcitx5.desktop | 2 - applications/hidden/kcm_kaccounts.desktop | 2 - applications/hidden/kvantummanager.desktop | 2 - applications/hidden/libreoffice-base.desktop | 2 - applications/hidden/libreoffice-draw.desktop | 2 - applications/hidden/libreoffice-math.desktop | 2 - .../hidden/libreoffice-startcenter.desktop | 2 - .../hidden/libreoffice-xsltfilter.desktop | 2 - .../hidden/limine-snapper-restore.desktop | 2 - applications/hidden/lstopo.desktop | 2 - applications/hidden/org.fcitx.Fcitx5.desktop | 2 - .../hidden/org.fcitx.fcitx5-config-qt.desktop | 2 - .../hidden/org.fcitx.fcitx5-migrator.desktop | 2 - .../org.fcitx.fcitx5-qt5-gui-wrapper.desktop | 2 - .../org.fcitx.fcitx5-qt6-gui-wrapper.desktop | 2 - applications/hidden/qv4l2.desktop | 2 - applications/hidden/qvidcap.desktop | 2 - applications/hidden/uuctl.desktop | 2 - applications/hidden/xgps.desktop | 2 - applications/hidden/xgpsspeed.desktop | 2 - bin/omarchy-refresh-applications | 1 - default/omarchy/launcher.hides | 38 ++++++++++ migrations/1759093827.sh | 3 - migrations/1759694076.sh | 4 - migrations/1771651931.sh | 4 - migrations/1779357523.sh | 75 +++++++++++++++++++ shell/plugins/launcher/Launcher.qml | 40 ++++++++-- 45 files changed, 147 insertions(+), 94 deletions(-) delete mode 100644 applications/hidden/avahi-discover.desktop delete mode 100644 applications/hidden/bssh.desktop delete mode 100644 applications/hidden/btop.desktop delete mode 100644 applications/hidden/bvnc.desktop delete mode 100644 applications/hidden/cmake-gui.desktop delete mode 100644 applications/hidden/cups.desktop delete mode 100644 applications/hidden/dropbox.desktop delete mode 100644 applications/hidden/electron34.desktop delete mode 100644 applications/hidden/electron36.desktop delete mode 100644 applications/hidden/electron37.desktop delete mode 100644 applications/hidden/fcitx5-configtool.desktop delete mode 100644 applications/hidden/fcitx5-wayland-launcher.desktop delete mode 100644 applications/hidden/foot-server.desktop delete mode 100644 applications/hidden/footclient.desktop delete mode 100644 applications/hidden/java-java-openjdk.desktop delete mode 100644 applications/hidden/jconsole-java-openjdk.desktop delete mode 100644 applications/hidden/jshell-java-openjdk.desktop delete mode 100644 applications/hidden/kbd-layout-viewer5.desktop delete mode 100644 applications/hidden/kcm_fcitx5.desktop delete mode 100644 applications/hidden/kcm_kaccounts.desktop delete mode 100644 applications/hidden/kvantummanager.desktop delete mode 100644 applications/hidden/libreoffice-base.desktop delete mode 100644 applications/hidden/libreoffice-draw.desktop delete mode 100644 applications/hidden/libreoffice-math.desktop delete mode 100644 applications/hidden/libreoffice-startcenter.desktop delete mode 100644 applications/hidden/libreoffice-xsltfilter.desktop delete mode 100644 applications/hidden/limine-snapper-restore.desktop delete mode 100644 applications/hidden/lstopo.desktop delete mode 100644 applications/hidden/org.fcitx.Fcitx5.desktop delete mode 100644 applications/hidden/org.fcitx.fcitx5-config-qt.desktop delete mode 100644 applications/hidden/org.fcitx.fcitx5-migrator.desktop delete mode 100644 applications/hidden/org.fcitx.fcitx5-qt5-gui-wrapper.desktop delete mode 100644 applications/hidden/org.fcitx.fcitx5-qt6-gui-wrapper.desktop delete mode 100644 applications/hidden/qv4l2.desktop delete mode 100644 applications/hidden/qvidcap.desktop delete mode 100644 applications/hidden/uuctl.desktop delete mode 100644 applications/hidden/xgps.desktop delete mode 100644 applications/hidden/xgpsspeed.desktop create mode 100644 default/omarchy/launcher.hides delete mode 100644 migrations/1759093827.sh delete mode 100644 migrations/1759694076.sh delete mode 100644 migrations/1771651931.sh create mode 100644 migrations/1779357523.sh diff --git a/applications/hidden/avahi-discover.desktop b/applications/hidden/avahi-discover.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/avahi-discover.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/bssh.desktop b/applications/hidden/bssh.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/bssh.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/btop.desktop b/applications/hidden/btop.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/btop.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/bvnc.desktop b/applications/hidden/bvnc.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/bvnc.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/cmake-gui.desktop b/applications/hidden/cmake-gui.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/cmake-gui.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/cups.desktop b/applications/hidden/cups.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/cups.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/dropbox.desktop b/applications/hidden/dropbox.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/dropbox.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/electron34.desktop b/applications/hidden/electron34.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/electron34.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/electron36.desktop b/applications/hidden/electron36.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/electron36.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/electron37.desktop b/applications/hidden/electron37.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/electron37.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/fcitx5-configtool.desktop b/applications/hidden/fcitx5-configtool.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/fcitx5-configtool.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/fcitx5-wayland-launcher.desktop b/applications/hidden/fcitx5-wayland-launcher.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/fcitx5-wayland-launcher.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/foot-server.desktop b/applications/hidden/foot-server.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/foot-server.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/footclient.desktop b/applications/hidden/footclient.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/footclient.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/java-java-openjdk.desktop b/applications/hidden/java-java-openjdk.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/java-java-openjdk.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/jconsole-java-openjdk.desktop b/applications/hidden/jconsole-java-openjdk.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/jconsole-java-openjdk.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/jshell-java-openjdk.desktop b/applications/hidden/jshell-java-openjdk.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/jshell-java-openjdk.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/kbd-layout-viewer5.desktop b/applications/hidden/kbd-layout-viewer5.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/kbd-layout-viewer5.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/kcm_fcitx5.desktop b/applications/hidden/kcm_fcitx5.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/kcm_fcitx5.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/kcm_kaccounts.desktop b/applications/hidden/kcm_kaccounts.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/kcm_kaccounts.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/kvantummanager.desktop b/applications/hidden/kvantummanager.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/kvantummanager.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/libreoffice-base.desktop b/applications/hidden/libreoffice-base.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/libreoffice-base.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/libreoffice-draw.desktop b/applications/hidden/libreoffice-draw.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/libreoffice-draw.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/libreoffice-math.desktop b/applications/hidden/libreoffice-math.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/libreoffice-math.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/libreoffice-startcenter.desktop b/applications/hidden/libreoffice-startcenter.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/libreoffice-startcenter.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/libreoffice-xsltfilter.desktop b/applications/hidden/libreoffice-xsltfilter.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/libreoffice-xsltfilter.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/limine-snapper-restore.desktop b/applications/hidden/limine-snapper-restore.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/limine-snapper-restore.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/lstopo.desktop b/applications/hidden/lstopo.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/lstopo.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/org.fcitx.Fcitx5.desktop b/applications/hidden/org.fcitx.Fcitx5.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/org.fcitx.Fcitx5.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/org.fcitx.fcitx5-config-qt.desktop b/applications/hidden/org.fcitx.fcitx5-config-qt.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/org.fcitx.fcitx5-config-qt.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/org.fcitx.fcitx5-migrator.desktop b/applications/hidden/org.fcitx.fcitx5-migrator.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/org.fcitx.fcitx5-migrator.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/org.fcitx.fcitx5-qt5-gui-wrapper.desktop b/applications/hidden/org.fcitx.fcitx5-qt5-gui-wrapper.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/org.fcitx.fcitx5-qt5-gui-wrapper.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/org.fcitx.fcitx5-qt6-gui-wrapper.desktop b/applications/hidden/org.fcitx.fcitx5-qt6-gui-wrapper.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/org.fcitx.fcitx5-qt6-gui-wrapper.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/qv4l2.desktop b/applications/hidden/qv4l2.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/qv4l2.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/qvidcap.desktop b/applications/hidden/qvidcap.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/qvidcap.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/uuctl.desktop b/applications/hidden/uuctl.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/uuctl.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/xgps.desktop b/applications/hidden/xgps.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/xgps.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/xgpsspeed.desktop b/applications/hidden/xgpsspeed.desktop deleted file mode 100644 index e1e3e173..00000000 --- a/applications/hidden/xgpsspeed.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/bin/omarchy-refresh-applications b/bin/omarchy-refresh-applications index ad90da81..0fb2e671 100755 --- a/bin/omarchy-refresh-applications +++ b/bin/omarchy-refresh-applications @@ -9,7 +9,6 @@ gtk-update-icon-cache ~/.local/share/icons/hicolor &>/dev/null # Copy .desktop declarations mkdir -p ~/.local/share/applications cp ~/.local/share/omarchy/applications/*.desktop ~/.local/share/applications/ -cp ~/.local/share/omarchy/applications/hidden/*.desktop ~/.local/share/applications/ if omarchy-cmd-present alacritty; then cp ~/.local/share/omarchy/default/alacritty/alacritty.desktop ~/.local/share/applications/ diff --git a/default/omarchy/launcher.hides b/default/omarchy/launcher.hides new file mode 100644 index 00000000..113565c7 --- /dev/null +++ b/default/omarchy/launcher.hides @@ -0,0 +1,38 @@ +avahi-discover +bssh +btop +bvnc +cmake-gui +cups +dropbox +electron34 +electron36 +electron37 +fcitx5-configtool +fcitx5-wayland-launcher +foot-server +footclient +java-java-openjdk +jconsole-java-openjdk +jshell-java-openjdk +kbd-layout-viewer5 +kcm_fcitx5 +kcm_kaccounts +kvantummanager +libreoffice-base +libreoffice-draw +libreoffice-math +libreoffice-startcenter +libreoffice-xsltfilter +limine-snapper-restore +lstopo +org.fcitx.Fcitx5 +org.fcitx.fcitx5-config-qt +org.fcitx.fcitx5-migrator +org.fcitx.fcitx5-qt5-gui-wrapper +org.fcitx.fcitx5-qt6-gui-wrapper +qv4l2 +qvidcap +uuctl +xgps +xgpsspeed diff --git a/migrations/1759093827.sh b/migrations/1759093827.sh deleted file mode 100644 index 69cf8963..00000000 --- a/migrations/1759093827.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Adding hidden entries for electron apps" - -cp $OMARCHY_PATH/applications/hidden/electron*.desktop ~/.local/share/applications/ diff --git a/migrations/1759694076.sh b/migrations/1759694076.sh deleted file mode 100644 index 084d8e2b..00000000 --- a/migrations/1759694076.sh +++ /dev/null @@ -1,4 +0,0 @@ -echo "Hide OpenJDK applications from app launcher" - -cp $OMARCHY_PATH/applications/hidden/*openjdk.desktop ~/.local/share/applications/ - diff --git a/migrations/1771651931.sh b/migrations/1771651931.sh deleted file mode 100644 index 95f27a5c..00000000 --- a/migrations/1771651931.sh +++ /dev/null @@ -1,4 +0,0 @@ -echo "Hide limine-snapper-restore from app launcher" - -mkdir -p ~/.local/share/applications -cp "$OMARCHY_PATH/applications/hidden/limine-snapper-restore.desktop" ~/.local/share/applications/ diff --git a/migrations/1779357523.sh b/migrations/1779357523.sh new file mode 100644 index 00000000..43fa93ba --- /dev/null +++ b/migrations/1779357523.sh @@ -0,0 +1,75 @@ +echo "Move launcher hides from hidden desktop overrides to launcher.hides" + +remove_legacy_hidden_override() { + local file=$1 + local line + local found_section=false + local found_hidden=false + + [[ -f $file ]] || return + + while IFS= read -r line || [[ -n $line ]]; do + line=${line%$'\r'} + [[ -z $line ]] && continue + + case $line in + "[Desktop Entry]") + found_section=true + ;; + "Hidden=true") + found_hidden=true + ;; + *) + return + ;; + esac + done < "$file" + + if [[ $found_section == "true" && $found_hidden == "true" ]]; then + rm -f "$file" + fi +} + +for app in \ + avahi-discover \ + bssh \ + btop \ + bvnc \ + cmake-gui \ + cups \ + dropbox \ + electron34 \ + electron36 \ + electron37 \ + fcitx5-configtool \ + fcitx5-wayland-launcher \ + foot-server \ + footclient \ + java-java-openjdk \ + jconsole-java-openjdk \ + jshell-java-openjdk \ + kbd-layout-viewer5 \ + kcm_fcitx5 \ + kcm_kaccounts \ + kvantummanager \ + libreoffice-base \ + libreoffice-draw \ + libreoffice-math \ + libreoffice-startcenter \ + libreoffice-xsltfilter \ + limine-snapper-restore \ + lstopo \ + org.fcitx.Fcitx5 \ + org.fcitx.fcitx5-config-qt \ + org.fcitx.fcitx5-migrator \ + org.fcitx.fcitx5-qt5-gui-wrapper \ + org.fcitx.fcitx5-qt6-gui-wrapper \ + qv4l2 \ + qvidcap \ + uuctl \ + xgps \ + xgpsspeed; do + remove_legacy_hidden_override "$HOME/.local/share/applications/$app.desktop" +done + +update-desktop-database "$HOME/.local/share/applications" &>/dev/null || true diff --git a/shell/plugins/launcher/Launcher.qml b/shell/plugins/launcher/Launcher.qml index a00f9e85..d5460417 100644 --- a/shell/plugins/launcher/Launcher.qml +++ b/shell/plugins/launcher/Launcher.qml @@ -24,7 +24,8 @@ Item { property var launchActiveToplevel: null property bool launchOsdOpen: false property string launchOsdMessage: "" - property var hiddenEntryIds: ({}) + property var configuredHiddenEntryIds: ({}) + property var desktopHiddenEntryIds: ({}) // Bound to the central [launcher] section in shell.toml via Color.qml. // Each color already includes its alpha companion (composed in the @@ -111,17 +112,34 @@ Item { function isHiddenEntry(entry) { var id = String((entry && entry.id) || "") - return root.hiddenEntryIds[id] === true + return root.configuredHiddenEntryIds[id] === true || root.desktopHiddenEntryIds[id] === true } - function loadHiddenEntries(rawText) { + function normalizeDesktopId(id) { + var value = String(id || "").trim() + if (value.slice(-8) === ".desktop") value = value.slice(0, -8) + return value + } + + function loadConfiguredHides(rawText) { var next = ({}) var lines = String(rawText || "").split(/\n/) for (var i = 0; i < lines.length; i++) { - var id = lines[i].trim() + var id = root.normalizeDesktopId(lines[i]) if (id.length > 0) next[id] = true } - root.hiddenEntryIds = next + root.configuredHiddenEntryIds = next + if (root.opened) root.rebuildDisplay() + } + + function loadDesktopHiddenEntries(rawText) { + var next = ({}) + var lines = String(rawText || "").split(/\n/) + for (var i = 0; i < lines.length; i++) { + var id = root.normalizeDesktopId(lines[i]) + if (id.length > 0) next[id] = true + } + root.desktopHiddenEntryIds = next if (root.opened) root.rebuildDisplay() } @@ -269,7 +287,7 @@ Item { command: ["bash", "-lc", root.hiddenEntryScanCommand()] stdout: SplitParser { onRead: function(line) { hiddenEntryOutput.text += line + "\n" } } onStarted: hiddenEntryOutput.text = "" - onExited: root.loadHiddenEntries(hiddenEntryOutput.text) + onExited: root.loadDesktopHiddenEntries(hiddenEntryOutput.text) } QtObject { @@ -277,6 +295,16 @@ Item { property string text: "" } + FileView { + id: launcherHidesFile + path: root.omarchyPath + "/default/omarchy/launcher.hides" + watchChanges: true + printErrors: false + onLoaded: root.loadConfiguredHides(text()) + onFileChanged: root.loadConfiguredHides(text()) + onLoadFailed: root.loadConfiguredHides("") + } + Connections { target: ToplevelManager.toplevels function onValuesChanged() { root.maybeFinishLaunchFeedback() }