Sync config from arch
- hypr/apps.lua - hypr/autostart.lua - hypr/envs.lua - hypr/hyprland.lua - hypr/hyprsunset.conf - hypr/input.lua - hypr/looknfeel.lua - hypr/omasettings.lua - hypr/xdph.conf - omarchy/branding/about.txt - omarchy/branding/screensaver.txt - omarchy/extensions/omarchy-menu.jsonc - omarchy/hooks/battery-low.d/play-warning-sound.sample - omarchy/hooks/font-set.d/show-font-notification.sample - omarchy/hooks/post-boot.d/weather.sample - omarchy/hooks/post-update.d/install-voxtype.hook - omarchy/hooks/post-update.d/setup-agent.hook - omarchy/hooks/post-update.d/setup-fingerprint.hook - omarchy/hooks/post-update.d/show-update-notification.sample - omarchy/hooks/pre-refresh-pacman.d/add-custom-repo.sample - omarchy/hooks/theme-set.d/show-theme-notification.sample - omarchy/shell.json - omarchy/shell.toml - omarchy/theme.name - omarchy/themes/azure-glow/README.md - omarchy/themes/azure-glow/alacritty.toml - omarchy/themes/azure-glow/btop.theme - omarchy/themes/azure-glow/hyprland.conf - omarchy/themes/azure-glow/hyprlock.conf - omarchy/themes/azure-glow/icons.theme - … 269 more
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/env bash
|
||||
# A stand-in for libsecret's secret-tool, used only to capture screenshots.
|
||||
#
|
||||
# Without this the fixture shell talks to the real OS keyring: it would read
|
||||
# the operator's actual Bitwarden session into the demo panel, and the shots
|
||||
# would depend on whether that entry happened to exist. Neither belongs in a
|
||||
# screenshot harness, so the keyring is faked too.
|
||||
#
|
||||
# A session lookup succeeds with an obvious placeholder -- the panel needs a
|
||||
# non-empty session before it will load any items -- and every other lookup
|
||||
# reports "not stored", so PIN and fingerprint unlock show as unconfigured.
|
||||
#
|
||||
# The placeholder carries the running boot id, because that is the shape the
|
||||
# panel now demands of a remembered session: a token from another boot is
|
||||
# refused and cleared. Without the prefix the fixture shell would come up on
|
||||
# the lock screen and there would be nothing to photograph.
|
||||
set -uo pipefail
|
||||
|
||||
account=""
|
||||
prev=""
|
||||
for arg in "$@"; do
|
||||
[[ "$prev" == "account" ]] && account="$arg"
|
||||
prev="$arg"
|
||||
done
|
||||
|
||||
case "${1:-}" in
|
||||
lookup)
|
||||
if [[ "$account" == "session" ]]; then
|
||||
echo "$(cat /proc/sys/kernel/random/boot_id) demo-session-token-not-real"
|
||||
exit 0
|
||||
fi
|
||||
exit 1 ;;
|
||||
store) cat >/dev/null; exit 0 ;;
|
||||
clear) exit 0 ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user