Skip to content

Background selector#4519

Open
dhms013 wants to merge 19 commits intobasecamp:devfrom
dhms013:backgroundSelector
Open

Background selector#4519
dhms013 wants to merge 19 commits intobasecamp:devfrom
dhms013:backgroundSelector

Conversation

@dhms013
Copy link
Contributor

@dhms013 dhms013 commented Feb 6, 2026

Details :

  1. Added default/elephant/omarchy_background_selector.lua as elephant's provider
  2. Edit Style > background in bin/omarchy-menu => access the elephant menus:omarchyBackgroundSelector
  3. Edit bin/omarchy-menu => add background selector as default query (write 'background' in omarchy-menu's main page, then Enter)
  4. Add migration file 1770380577.sh
  5. Edit bin/omarchy-theme-set => add omarchy-restart-walker
  6. Edit install/config/walker-elephant.sh => add new symlink

The goal :

  • Add option for user to select the background using default shortcut that exec omarchy-theme-bg-next, or using 'UI' selector from omarchy-menu > style > background
background-selector.mp4

@CGCM070
Copy link

CGCM070 commented Feb 7, 2026

What about Super Ctrl Space

@dhms013
Copy link
Contributor Author

dhms013 commented Feb 8, 2026

What about Super Ctrl Space

I leave that as is. still execute the omarchy-theme-bg-next
so in this PR, when you select background trough UI menu (omarchy-menu > style > background), it'll open the background selector feature, where you can choose the background on the list. while using shortcut (Super+Ctrl+Space) still change background with next background.

in case you prefer to use this background selector using shortcut, you can do this

unbind = SUPER CTRL, SPACE
bindd = SUPER CTRL, SPACE , Background, exec, walker -m menus:omarchyBackgroundSelector

@dhh
Copy link
Member

dhh commented Feb 9, 2026

What I'd love to see is something like this where you get a preview of multiple images at the same time:

image

Can we see if that's doable?

@CGCM070
Copy link

CGCM070 commented Feb 9, 2026

¿Qué pasa con Super Ctrl Espacio?

Lo dejo como está. Todavía ejecuto el omarchy-theme-bg-next so en este PR, cuando selecciona el fondo a través del menú UI (omarchy-menu > estilo > fondo), abrirá la función de selección de fondo, donde puede elegir el fondo en la lista. mientras usa el atajo (Super+Ctrl+Espacio) aún cambia el fondo con el siguiente fondo.

En caso de que prefieras usar este selector de fondo mediante un atajo, puedes hacerlo así

unbind = SUPER CTRL, SPACE
bindd = SUPER CTRL, SPACE , Background, exec, walker -m menus:omarchyBackgroundSelector

I loved it

@dhms013
Copy link
Contributor Author

dhms013 commented Feb 9, 2026

What I'd love to see is something like this where you get a preview of multiple images at the same time:
image

Can we see if that's doable?

Not sure, but I'm trying it right now.

@dhms013
Copy link
Contributor Author

dhms013 commented Feb 9, 2026

¿Qué pasa con Super Ctrl Espacio?

Lo dejo como está. Todavía ejecuto el omarchy-theme-bg-next so en este PR, cuando selecciona el fondo a través del menú UI (omarchy-menu > estilo > fondo), abrirá la función de selección de fondo, donde puede elegir el fondo en la lista. mientras usa el atajo (Super+Ctrl+Espacio) aún cambia el fondo con el siguiente fondo.
En caso de que prefieras usar este selector de fondo mediante un atajo, puedes hacerlo así

unbind = SUPER CTRL, SPACE
bindd = SUPER CTRL, SPACE , Background, exec, walker -m menus:omarchyBackgroundSelector

I loved it

Thank you sir

@dhms013
Copy link
Contributor Author

dhms013 commented Feb 9, 2026

What I'd love to see is something like this where you get a preview of multiple images at the same time:
image

Can we see if that's doable?

Hei @dhh . I apologize because I need to tell you this.

I tried many methods, but the best thing that I can achieve is just the existing one (maybe I need to clean up it a bit.)

I tried to use walker's config to add the columns, but can't achieve those picture that you show yet. can you refer me where you got those wallpaper selector?

I read the walker's manual but still can't find the way to achive those layout.

maybe I need to consult with benz tomorrow, but can't touch this anymore for a few days.

screenrecording-2026-02-09_23-47-33.mp4

Updated omarchy background selector to hide from provider list and removed subtext from entries.
@dhms013 dhms013 mentioned this pull request Feb 12, 2026
@dhh
Copy link
Member

dhh commented Feb 17, 2026

Actually, looking at v2, I think this is cleaner and good enough. But we need to fix that if you do Install > Style > Background, then those choices are not showing up in the selector.

@dhms013
Copy link
Contributor Author

dhms013 commented Feb 17, 2026

Actually, looking at v2, I think this is cleaner and good enough. But we need to fix that if you do Install > Style > Background, then those choices are not showing up in the selector.

on check

@dhms013
Copy link
Contributor Author

dhms013 commented Feb 17, 2026

Actually, looking at v2, I think this is cleaner and good enough. But we need to fix that if you do Install > Style > Background, then those choices are not showing up in the selector.

I tried to reproduce the step, but it works in my local. I hate to ask, but did you already change to 'backgroundSelector' branch in your local machine?

and the menu is under 'Style' menu, not in under 'Install' menu
so the option is :

  1. Using shortcut
  2. SUPER+alt+space (omarchy-menu) > Style > background
  3. SUPER+alt+space (omarchy-menu) > type 'background' > enter (the walker's preview show nothing, but after you hit enter, you'll be directed to background selector
screenrecording-2026-02-17_19-33-59.mp4

nb :
I fix the typo in the scripts regarding miss symlink target

@dhh
Copy link
Member

dhh commented Feb 17, 2026

Here's what I'm seeing:

image

The galaxy image should be selectable.

@dhms013
Copy link
Contributor Author

dhms013 commented Feb 17, 2026

ah..

Here's what I'm seeing:
image

The galaxy image should be selectable.

ups.. not aware about that dir.. omw

@dhh
Copy link
Member

dhh commented Feb 17, 2026

That directory is what you're pointed to when you run Install > Style > Background to add your own backgrounds.

@dhms013
Copy link
Contributor Author

dhms013 commented Feb 17, 2026

That directory is what you're pointed to when you run Install > Style > Background to add your own backgrounds.

done.
the problem here is just you need to run omarchy-restart-walker everytime you add/remove the background under ~/.config/omarchy/backgrounds/{{theme.name}}

known issue :

  1. Not auto-refresh
    omarchy-theme-bg-install only open nautilus, and idk how to detect activity inside nautilus. so idk where should I place the 'omarchy-restart-walker' to make sure the omarchyBackgroundSelector always in sync

  2. black screen when run omarchy-restart-walker
    Idk how to handle this. I add swaybg command inside 'omarchy-restart-walker', but the black screen (wallpaper gone) still occurs when I remove my active background from ~/.config/omarchy/backgrounds/{{theme.name}}

screenrecording-2026-02-18_04-16-57.mp4

@dhms013
Copy link
Contributor Author

dhms013 commented Feb 17, 2026

That directory is what you're pointed to when you run Install > Style > Background to add your own backgrounds.

done. the problem here is just you need to run omarchy-restart-walker everytime you add/remove the background under ~/.config/omarchy/backgrounds/{{theme.name}}

known issue :

1. Not auto-refresh
   omarchy-theme-bg-install only open nautilus, and idk how to detect activity inside nautilus. so idk where should I place the 'omarchy-restart-walker' to make sure the omarchyBackgroundSelector always in sync

2. black screen when run omarchy-restart-walker
   Idk how to handle this. I add swaybg command inside 'omarchy-restart-walker', but the black screen (wallpaper gone) still occurs when I remove my active background from ~/.config/omarchy/backgrounds/{{theme.name}}

screenrecording-2026-02-18_04-16-57.mp4

solved.. change 'Cache = true' into 'Cache = False' 🤣

screenrecording-2026-02-18_06-04-10.mp4

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.

3 participants