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!

+ +