From 36c8f17749e8e54a466dd6cc6e459a3906e87bc1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 15 Jul 2025 21:23:48 -0700 Subject: [PATCH] Prepare for a first-run flow Will fill in with the first stuff you should do after getting setup. Teaching you how to do the basic commands. --- bin/omarchy-first-run | 7 +++++++ default/hypr/autostart.conf | 1 + first-run/index.html | 8 ++++++++ 3 files changed, 16 insertions(+) create mode 100755 bin/omarchy-first-run create mode 100644 first-run/index.html diff --git a/bin/omarchy-first-run b/bin/omarchy-first-run new file mode 100755 index 0000000..819d2a0 --- /dev/null +++ b/bin/omarchy-first-run @@ -0,0 +1,7 @@ +#!/bin/bash + +if [[ ! -f ~/.local/state/omarchy/first-run.marker ]]; then + chromium --new-window --app=file://$HOME/.local/share/omarchy/first-run/index.html + mkdir -p ~/.local/state/omarchy + touch ~/.local/state/omarchy/first-run.marker +fi diff --git a/default/hypr/autostart.conf b/default/hypr/autostart.conf index 4643b8d..9f46d18 100644 --- a/default/hypr/autostart.conf +++ b/default/hypr/autostart.conf @@ -2,3 +2,4 @@ exec-once = hypridle & mako & waybar & fcitx5 exec-once = swaybg -i ~/.config/omarchy/current/background -m fill exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = wl-clip-persist --clipboard regular --all-mime-type-regex '^(?!x-kde-passwordManagerHint).+' +exec-once = ~/.local/share/omarchy/bin/omarchy-first-run diff --git a/first-run/index.html b/first-run/index.html new file mode 100644 index 0000000..3fcd905 --- /dev/null +++ b/first-run/index.html @@ -0,0 +1,8 @@ + + +Hello + + +

Hello!

+ +