Skip to content

add OhMyDebn features via --ohmydebn flag#83

Open
dougburks wants to merge 4 commits intobjarneo:mainfrom
dougburks:ohmydebn-support
Open

add OhMyDebn features via --ohmydebn flag#83
dougburks wants to merge 4 commits intobjarneo:mainfrom
dougburks:ohmydebn-support

Conversation

@dougburks
Copy link

@dougburks dougburks commented Mar 16, 2026

Hello @bjarneo !

I used some tokens to create a first draft of a new --ohmydebn flag that would add some features specific to OhMyDebn. Tried to make sure that default behavior is not changed when that flag is not passed.

Interested in any thoughts you may have! Thanks in advance for your time and consideration!

Here is an overview of the changes:

CLI Flag

  • Added --ohmydebn command-line option in AetherApplication.js

Default Tab & View

  • Starts on Themes tab and System Themes section when --ohmydebn is passed

GTK Theme Application

  • Skips applying custom Aether theme CSS when in OhMyDebn mode
  • Loads GTK4 theme from ~/.themes//gtk-4.0/gtk.css (generated by OhMyDebn)
  • Sets up file monitor to auto-reload theme when themes are regenerated
  • Falls back to reading colors.toml if GTK4 theme not found

UI Changes

  • "Omarchy Themes" label changed to "System Themes" in OhMyDebn mode
  • Themes view clamp expanded from 900px to 1600px for wider displays
  • Responsive columns (2-12) based on available width

Theme Card Features

  • Themes without colors.toml are now shown (Import button disabled)
  • Buttons aligned at bottom of cards
  • Themes with multiple images show "Next Image" button to cycle thumbnails
  • Current active theme thumbnail will not show preview.png but only background images so it stays in sync the actual desktop background image
image

});
this._themesToggle = new Gtk.ToggleButton({
label: 'Omarchy Themes',
label: this._ohmydebnMode ? 'System Themes' : 'Omarchy Themes',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead, let us rename it to System Themes, does not have to be named "Omarchy Themes"

@bjarneo
Copy link
Owner

bjarneo commented Mar 17, 2026

I understand what you are trying to achieve here, Doug. I am not sure about the approach.
Would it be better to have a few other cli flags that solve this, vs passing --ohmydeb?

I.e. Default Tab & View, could be --focus-themes

@dougburks
Copy link
Author

Thanks for taking the time to review @bjarneo !

I did actually have an earlier version that had different cli flags. I wasn't sure how much of my changes would be applicable to non-OhMyDebn users so figured we'd start with the one flag just so you could easily see what I was trying to achieve and then we could come to an agreement about the right way to do all of this.

I'm happy to re-work this. Do you want me to continue making changes in this PR or close it and break out into separate PRs?

@bjarneo
Copy link
Owner

bjarneo commented Mar 18, 2026

Can we put it on hold for a week or two? I am rewriting the entire Aether to https://github.com/wailsapp/wails. GTK has its limitations UI-wise, and I am done working around them. Better Aether is coming!

@dougburks
Copy link
Author

OK no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants