Add dynamic theming for gum (#4467)
* Add dynamic theming for gum. * Add migration. * Fix migration script. * Add omarchy-theme-reset utility. * Move env variables into seperate file and update migration script. * Migration adds the new hyprland config file to the users hyprland.conf. * Add gum.env.conf to default env.conf instead. * Reuse new omarchy-theme-refresh and update migration. * Ensure no errors are thrown if the file can't be loaded * Just apply this on the next theme selection So it's not disruptive --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
co-authored by
David Heinemeier Hansson
parent
6370a673ed
commit
d904ed3afe
@@ -1,3 +1,8 @@
|
||||
# GUM environment variables for styling purposes
|
||||
# hyprlang noerror true
|
||||
source = ~/.config/omarchy/current/theme/gum.env.conf
|
||||
# hyprlang noerror false
|
||||
|
||||
# Cursor size
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
|
||||
@@ -138,10 +138,3 @@ cursor {
|
||||
binds {
|
||||
hide_special_on_workspace_change = true
|
||||
}
|
||||
|
||||
# Style Gum confirm to match terminal theme
|
||||
env = GUM_CONFIRM_PROMPT_FOREGROUND,6 # Cyan
|
||||
env = GUM_CONFIRM_SELECTED_FOREGROUND,0 # Black
|
||||
env = GUM_CONFIRM_SELECTED_BACKGROUND,2 # Green
|
||||
env = GUM_CONFIRM_UNSELECTED_FOREGROUND,7 # White
|
||||
env = GUM_CONFIRM_UNSELECTED_BACKGROUND,8 # Dark grey
|
||||
|
||||
Reference in New Issue
Block a user