177 Commits

Author SHA1 Message Date
David Heinemeier Hansson
f60e66cfdf Move Dropbox to a setup script 2025-07-20 21:51:46 -05:00
David Heinemeier Hansson
e7da208505 Fix using backgrounds from inside the themes 2025-07-20 21:30:06 -05:00
David Heinemeier Hansson
3415fef297 Go back to just always updating system packages
Otherwise we can't depend on having the same minimum versions
2025-07-20 21:24:10 -05:00
David Heinemeier Hansson
9c01775287 Better to use the refresh commands so you don't forget to write the migration 2025-07-20 21:16:04 -05:00
David Heinemeier Hansson
3634235eee Move from permission setup to .bak process
Means less interaction for folks just riding on the default train
without overwriting the work of people who've made changes.
2025-07-20 21:07:59 -05:00
David Heinemeier Hansson
35fb85ea5a Revert "Temporary fix for waybar stacking on waking from sleep"
This reverts commit b967223d3cd1b2462f385fddc28a7b2039200d7f.
2025-07-20 20:22:52 -05:00
David Heinemeier Hansson
b967223d3c Temporary fix for waybar stacking on waking from sleep
Sledge hammer fix by restarting the waybar, but it'll do the job until
we find a better fix for #196
2025-07-20 20:14:57 -05:00
Richard Macklin
f81983ec50
Fix detection of "new migrations" in omarchy-update (#219)
Previously, `omarchy-update` used the timestamp of the most recent git
commit to determine which migrations are "new" and should be executed.

Unfortunately, that strategy can (and did) fail in certain scenarios. If
a migration was generated at time T1 but not merged until time T3, and
meanwhile omarchy's `master` branch was updated to a new release with
commit timestamp T2 (where T1 < T2 < T3), then anyone who runs
`omarchy-update` between T2 and T3 would end up with `last_updated_at`
equal to T2; thus, on their next `omarchy-update` it would fail to
detect the migration with timestamp T1 as a "new" migration that should
be executed.

This commit changes the strategy for detecting "new" migrations to avoid
that problem. Rather than recording the most recent commit's timestamp,
we record its SHA. Then, after pulling the new changes, we can leverage
`git diff --name-only --diff-filter=A $SHA.. migrations/*.sh`
to return precisely the list of migration files that were introduced by
our `git pull`. It doesn't matter if any of those migrations have a
timestamp that was earlier than the timestamp of the commit we started
on - we will always execute *every* migration that didn't exist before
our `git pull`!
2025-07-20 17:55:22 -05:00
Ryan Hughes
5b3c324350
Change default launcher from Wofi to Walker (#218)
* Change launcher from wofi -> walker

* Add migration

* More wofi -> walker locations

* Add rose pine theme

* Rename refresh script

* Minor improvements to walker + add uwsm

* Back out running as service

* Make these executable

* Add plugins dir for now to resolve open issue 355 from v0.13.0 release

* Replace pavucontrol with wiremix (#225)

Add to install

* Revert "Replace pavucontrol with wiremix (#225)"

This reverts commit 620b397859698cdc8e6207d33533c70e0e795171.

* Fix reference

* Add libqalculate so calc works out of the box

* Actually add libqalculate

* Re-add media

* Add catppuccin-latte

* Final cleanup

* Remove partially baked theme

* Remove failing migration

* Remove failing migration

* Fix refresh script

* Simplify css setup

* Rearrange walker theme files

* Change theme name

* Remove unnecessary file

* Clear everything

* Only worry about the config file now

* Disable load in animation for walker

* Run walker as service

* Make sure we have fresh package db

* Add keybindings theme

* Remove history

* Explain section

* Assume wofi is gone, only run if walker isn't there

* Move as the latest

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Roeland <roel4d@webding.org>
2025-07-20 16:17:42 -05:00
David Heinemeier Hansson
df13763d42 Better extraction 2025-07-19 22:43:28 -05:00
David Heinemeier Hansson
309c35c866 Extract shared function 2025-07-19 17:02:52 -05:00
David Heinemeier Hansson
4427c0bb28 Add full screen recording as an option 2025-07-19 16:58:22 -05:00
David Heinemeier Hansson
30b3af58e5 Use same naming convention as new screenshot flow 2025-07-19 16:49:50 -05:00
David Heinemeier Hansson
6b947ffb45 Add satty to the default screenshot flow 2025-07-19 16:49:39 -05:00
David Heinemeier Hansson
f569c4e365 Moving away from SIGUSER2 didn't help with the stacking, so return it 2025-07-19 15:11:52 -05:00
David Heinemeier Hansson
cf71a3f101 Ensure apps started with uwsm stay managed by uwsm on restarts 2025-07-19 15:11:32 -05:00
David Heinemeier Hansson
ceedf474cb Include failed attempt counter and notice when you are locked out for 10 mins
Closes #229
Co-authored-by: @jhosdev
2025-07-19 12:34:34 -05:00
David Heinemeier Hansson
f99277ad71 Remove needless comments 2025-07-18 23:00:42 -05:00
David Heinemeier Hansson
ca69f15709 Not needed 2025-07-18 22:58:48 -05:00
David Heinemeier Hansson
2e874adb50
Add simple screen recordings (#235)
* Add simple screen recording tool

* Need slurp too
2025-07-18 22:55:28 -05:00
David Heinemeier Hansson
2b0c56bbb1
Merge pull request #220 from rmacklin/reset-any-stash-conflicts-before-proceeding-in-omarchy-update
Reset any stash changes before proceeding if there were conflicts
2025-07-18 14:40:39 -07:00
David Heinemeier Hansson
cd915557ae
Merge pull request #212 from ryanyogan/omarchy-catppuccin-latte-theme
Omarchy Theme ~ Adds Catppuccin Latte
2025-07-18 14:32:51 -07:00
Richard Macklin
4bb8afde02 Reset any stash changes before proceeding if there were conflicts
If the worktree has conflicts after applying the user's changes from the
autostash, we should reset them before proceeding to ensure we are in
a working state. When there are conflicts, git still keeps the stash
entry, so the user will still be able to manually re-pop the stash and
resolve the conflicts after `omarchy-update` has finished.

In the case of conflicts, the output will look something like this (I've
omitted most of the normal `git pull` output, hence the `[...]`):

```
Updating 729cd6a..45b5d3e
Created autostash: 91853c4
Fast-forward
 bin/omarchy                                                                |  10 +++++++---
 [...]
 create mode 100644 themes/tokyo-night/backgrounds/2--Milad-Fakurian-Abstract-Purple-Blue.jpg
Applying autostash resulted in conflicts.
Your changes are safe in the stash.
You can run "git stash pop" or "git stash drop" at any time.
bin/omarchy:65: leftover conflict marker
```

before proceeding with the rest of the `omarchy-update` script from a
clean state. So the user will see 1) that there were conflicts when
applying the autostashed changes, 2) that their changes are still safe
in the stash, and 3) which files (and lines) had conflict markers.
2025-07-17 23:06:25 -07:00
Ryan Yogan
5252990396 increases the theme menu width for additional characters 2025-07-17 21:49:46 -05:00
Richard Macklin
cc0ac314ef Use git pull --autostash in omarchy-update
This is a minor follow-up to dcc40719793d52d43698108a0b0784c2f3b48655
to leverage the `--autostash` flag of `git pull` which does the same
thing we were doing in three separate commands.

This also avoids the possibility of popping something from the stash
that `omarchy-update` didn't actually stash. In other words, if the
initial `git stash` was a no-op (because there were no changes in the
working tree), it's actually not desirable for `omarchy-update` to
`git stash pop` at the end, since that potentially pops something the
user had manually stashed (we only want `omarchy-update` to pop its own
stash entry). Using `--autostash` handles this correctly.

Ref:
https://git-scm.com/docs/git-pull#Documentation/git-pull.txt---autostash
2025-07-17 19:13:35 -07:00
David Heinemeier Hansson
5c7f1a5037 Add theme picking to the TUI 2025-07-17 17:03:40 -07:00
David Heinemeier Hansson
c76cd8f0c6 Fix paths for sub command invocation 2025-07-17 16:56:13 -07:00
David Heinemeier Hansson
45bab7a92e Will be set separately 2025-07-17 16:54:19 -07:00
David Heinemeier Hansson
761f08982f
Merge pull request #211 from tahayvr/omarchy-theme-set/dev
Add trigger to reload btop when theme changes
2025-07-17 19:44:11 -04:00
tahayvr
ee74a87020 Add trigger to reload btop when theme changes 2025-07-17 16:33:36 -07:00
David Heinemeier Hansson
7991835576 Use waybar/config.jsonc for syntax highlighting 2025-07-17 15:58:42 -07:00
David Heinemeier Hansson
2696fb39da Protect theme-bg-next from missing background and always start with the first one 2025-07-17 15:34:21 -07:00
David Heinemeier Hansson
296e232151 Just use existing logic for setting theme bg 2025-07-17 15:29:57 -07:00
David Heinemeier Hansson
86a3c84db9 Consistent command naming scheme for menus too 2025-07-17 15:04:46 -07:00
David Heinemeier Hansson
b9c782d142 Use consistent naming setup and expose add/remove in TUI 2025-07-17 15:02:20 -07:00
David Heinemeier Hansson
ef8df30f01 Add --remove option to fingerprint setup 2025-07-17 14:59:16 -07:00
David Heinemeier Hansson
9467b56be0 Uninstall packages too 2025-07-17 14:53:45 -07:00
David Heinemeier Hansson
68e77daffa Better setup flow and add --remove option 2025-07-17 14:51:59 -07:00
David Heinemeier Hansson
729cd6a3a2
Merge pull request #171 from icehunt/fido2-setup-script
add fido2-setup script
2025-07-17 17:39:09 -04:00
David Heinemeier Hansson
f38420e954 Fit more themes! 2025-07-17 14:18:09 -07:00
David Heinemeier Hansson
6e229feb43 light.mode sounds better! 2025-07-17 14:15:55 -07:00
David Heinemeier Hansson
bb5f6b00e3 Confirm before updating system packages 2025-07-17 14:12:58 -07:00
David Heinemeier Hansson
e9f0239f57 Stash/pop any local changes before pulling updates
More user customizations will survive without commits.
2025-07-17 14:12:58 -07:00
Zhephod
86bf311866
add option to opt out of sudo 2025-07-17 02:05:41 -07:00
David Heinemeier Hansson
2235332cb9 Let the themes include backgrounds directly 2025-07-16 22:32:35 -07:00
David Heinemeier Hansson
6542784559 Make light mode possible via gsettings based off a marker 2025-07-16 21:48:14 -07:00
David Heinemeier Hansson
9a2d8852d3 Kill waybar proper and restart on suspecion that SIGUSR2 is whats causing the stacking bug 2025-07-16 21:13:36 -07:00
David Heinemeier Hansson
4f565b743a Simpler shebang 2025-07-16 20:15:56 -07:00
David Heinemeier Hansson
f4b172e029 Fix switching to background images with spaces in the filename
Fixes #138
2025-07-16 14:10:04 -07:00
David Heinemeier Hansson
3dfa4c3216 Start manual as a webapp 2025-07-16 08:13:27 -07:00