Commit Graph

167 Commits

Author SHA1 Message Date
309c35c866 Extract shared function 2025-07-19 17:02:52 -05:00
4427c0bb28 Add full screen recording as an option 2025-07-19 16:58:22 -05:00
30b3af58e5 Use same naming convention as new screenshot flow 2025-07-19 16:49:50 -05:00
6b947ffb45 Add satty to the default screenshot flow 2025-07-19 16:49:39 -05:00
f569c4e365 Moving away from SIGUSER2 didn't help with the stacking, so return it 2025-07-19 15:11:52 -05:00
cf71a3f101 Ensure apps started with uwsm stay managed by uwsm on restarts 2025-07-19 15:11:32 -05:00
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
f99277ad71 Remove needless comments 2025-07-18 23:00:42 -05:00
ca69f15709 Not needed 2025-07-18 22:58:48 -05:00
2e874adb50 Add simple screen recordings (#235)
* Add simple screen recording tool

* Need slurp too
2025-07-18 22:55:28 -05:00
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
cd915557ae Merge pull request #212 from ryanyogan/omarchy-catppuccin-latte-theme
Omarchy Theme ~ Adds Catppuccin Latte
2025-07-18 14:32:51 -07:00
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
5252990396 increases the theme menu width for additional characters 2025-07-17 21:49:46 -05:00
cc0ac314ef Use git pull --autostash in omarchy-update
This is a minor follow-up to dcc4071979
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
5c7f1a5037 Add theme picking to the TUI 2025-07-17 17:03:40 -07:00
c76cd8f0c6 Fix paths for sub command invocation 2025-07-17 16:56:13 -07:00
45bab7a92e Will be set separately 2025-07-17 16:54:19 -07:00
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
ee74a87020 Add trigger to reload btop when theme changes 2025-07-17 16:33:36 -07:00
7991835576 Use waybar/config.jsonc for syntax highlighting 2025-07-17 15:58:42 -07:00
2696fb39da Protect theme-bg-next from missing background and always start with the first one 2025-07-17 15:34:21 -07:00
296e232151 Just use existing logic for setting theme bg 2025-07-17 15:29:57 -07:00
86a3c84db9 Consistent command naming scheme for menus too 2025-07-17 15:04:46 -07:00
b9c782d142 Use consistent naming setup and expose add/remove in TUI 2025-07-17 15:02:20 -07:00
ef8df30f01 Add --remove option to fingerprint setup 2025-07-17 14:59:16 -07:00
9467b56be0 Uninstall packages too 2025-07-17 14:53:45 -07:00
68e77daffa Better setup flow and add --remove option 2025-07-17 14:51:59 -07:00
729cd6a3a2 Merge pull request #171 from icehunt/fido2-setup-script
add fido2-setup script
2025-07-17 17:39:09 -04:00
f38420e954 Fit more themes! 2025-07-17 14:18:09 -07:00
6e229feb43 light.mode sounds better! 2025-07-17 14:15:55 -07:00
bb5f6b00e3 Confirm before updating system packages 2025-07-17 14:12:58 -07:00
e9f0239f57 Stash/pop any local changes before pulling updates
More user customizations will survive without commits.
2025-07-17 14:12:58 -07:00
86bf311866 add option to opt out of sudo 2025-07-17 02:05:41 -07:00
2235332cb9 Let the themes include backgrounds directly 2025-07-16 22:32:35 -07:00
6542784559 Make light mode possible via gsettings based off a marker 2025-07-16 21:48:14 -07:00
9a2d8852d3 Kill waybar proper and restart on suspecion that SIGUSR2 is whats causing the stacking bug 2025-07-16 21:13:36 -07:00
4f565b743a Simpler shebang 2025-07-16 20:15:56 -07:00
f4b172e029 Fix switching to background images with spaces in the filename
Fixes #138
2025-07-16 14:10:04 -07:00
3dfa4c3216 Start manual as a webapp 2025-07-16 08:13:27 -07:00
b95eae0e10 Actually fine just to use SIGUSR2 2025-07-16 07:42:04 -07:00
419951a892 Full restart required 2025-07-16 07:33:22 -07:00
df19472350 On the first install its safe to overwrite 2025-07-16 07:29:08 -07:00
781a7888cb Move to fully user editable wofi styles
Closes #190
2025-07-16 07:11:36 -07:00
5e4167a0db Silence wofi output when run from cli 2025-07-16 06:30:57 -07:00
10109bbadc Link backgrounds instead of copying 2025-07-15 22:00:25 -07:00
89bda8468e Turn omarchy-synthwave-theme into just synthwave for the name 2025-07-15 22:00:08 -07:00
3557ce8d3b Shorter to fit inside Omarchy TUI width 2025-07-15 19:35:51 -07:00
d305935382 Put all omarchy commands under the omarchy- prefix 2025-07-15 19:30:23 -07:00
018603be6d Make it clear this is just for development of omarchy 2025-07-15 19:23:27 -07:00