Merge quattro into update security foundation

This commit is contained in:
Afonso Oliveira committed 2026-09-21 14:14:59 +01:00
commit 56ca654dc8
87 files changed
+923 -1071

No files matched your search

+1 -3
View File
@@ -1,3 +1 @@
echo "Install native video wallpaper playback dependencies"
omarchy-pkg-add qt6-multimedia qt6-multimedia-ffmpeg
echo "Native video dependencies are superseded by the OWE migration"
+18
View File
@@ -0,0 +1,18 @@
echo "Replace Satty and Tensaku with Omasnap"
omarchy-pkg-add omasnap
# The old source installer left a NoDisplay entry that overrides the packaged launcher.
rm -f "$HOME/.local/share/applications/omasnap.desktop"
imv_config="$HOME/.config/imv/config"
if [[ -f $imv_config ]]; then
sed -i --follow-symlinks \
-e 's/^# Edit the current image in Tensaku and quit the viewer$/# Edit the current image in Omasnap and quit the viewer/' \
-e 's/^# Edit the current image in Satty and quit the viewer$/# Edit the current image in Omasnap and quit the viewer/' \
-e 's|^<Ctrl+e> = exec tensaku-edit "$imv_current_file" & ; quit$|<Ctrl+e> = exec omasnap "$imv_current_file" \& ; quit|' \
-e 's|^<Ctrl+e> = exec satty --filename "$imv_current_file" & ; quit$|<Ctrl+e> = exec omasnap "$imv_current_file" \& ; quit|' \
"$imv_config"
fi
omarchy-pkg-drop satty tensaku
+14
View File
@@ -0,0 +1,14 @@
echo "Install Elsewhen, the world clock plugin"
omarchy-pkg-add elsewhen
# Dev checkouts do not contain plugins installed by system packages.
packaged_plugin="/usr/share/omarchy/shell/plugins/omacom.elsewhen"
user_plugin="$HOME/.config/omarchy/plugins/omacom.elsewhen"
if [[ ! $OMARCHY_PATH -ef /usr/share/omarchy && -d $packaged_plugin && ! -e $user_plugin && ! -L $user_plugin ]]; then
mkdir -p "${user_plugin%/*}"
ln -s "$packaged_plugin" "$user_plugin"
fi
omarchy-shell shell rescanPlugins
omarchy-bar put omacom.elsewhen --before omarchy.clock
+17
View File
@@ -0,0 +1,17 @@
echo "Enable OWE desktop video backgrounds and lock feed"
omarchy-pkg-add owe owe-lockfeed
omarchy-hook-install theme-set /usr/share/owe/10-owe-sync
systemctl --user daemon-reload >/dev/null 2>&1 || true
if ! systemctl --user enable owed.service; then
wants_dir="$HOME/.config/systemd/user/graphical-session.target.wants"
mkdir -p "$wants_dir"
ln -sfn /usr/lib/systemd/user/owed.service "$wants_dir/owed.service"
fi
# A TTY update enables the next graphical login without starting a renderer
# against a missing Wayland session. A failed live start leaves this pending.
if [[ ${OMARCHY_UPGRADE_TO_QUATTRO_LIVE:-0} != 1 ]] && systemctl --user is-active --quiet graphical-session.target; then
systemctl --user start owed.service
fi