mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Allow customizing the screensaver logo (#863)
* check for custom screensaver logo or fall back to default * move logo location to omarchy config folder * fix missed location check * add menu item to copy logo.txt and open in editor * move to setup menu * Just always use a user-editable screensaver.txt file * No longer needed * Be clearer --------- Co-authored-by: Christopher Moore <cmoore@yozu.co.uk> Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
if command -v tte &>/dev/null; then
|
||||
while true; do
|
||||
effect=$(tte 2>&1 | grep -oP '{\K[^}]+' | tr ',' ' ' | tr ' ' '\n' | sed -n '/^beams$/,$p' | sort -u | shuf -n1)
|
||||
tte -i ~/.local/share/omarchy/logo.txt \
|
||||
tte -i ~/.config/omarchy/screensaver.txt \
|
||||
--frame-rate 240 --canvas-width 0 --canvas-height $(($(tput lines) - 2)) --anchor-canvas c --anchor-text c \
|
||||
"$effect" &
|
||||
|
||||
|
||||
Reference in New Issue
Block a user