Merge quattro into use-omasnap-for-screenshots
This commit is contained in:
commit
39d1cb956d
21 files changed
+384
-324
No files matched your search
@@ -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"
|
||||
@@ -2,10 +2,12 @@ echo "Install Elsewhen, the world clock plugin"
|
||||
|
||||
omarchy-pkg-add elsewhen
|
||||
|
||||
plugin="$HOME/.config/omarchy/plugins/omacom.elsewhen"
|
||||
mkdir -p "$(dirname "$plugin")"
|
||||
if [[ ! -e $plugin && ! -L $plugin ]]; then
|
||||
ln -s /usr/share/omarchy/plugins/omacom.elsewhen "$plugin"
|
||||
# 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
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user