Project 'ximper/ximper-unified-theme-switcher' was moved to 'ximperlinux/ximper-unified-theme-switcher'. Please update any links and bookmarks that may still have the old path.
Commit 0ee4fdfd authored by Roman Alifanov's avatar Roman Alifanov

now changes can be written to the config file

parent a369c3c4
......@@ -89,8 +89,14 @@ kv-themes-list() {
yad --form --columns=2 \
NEW_SETTINGS=$(yad --form --columns=2 \
--field="Kvantum light theme:CB" "$(kv-themes-list light)" \
--field="Kvantum dark theme:CB" "$(kv-themes-list dark)" \
--field="GTK3 light theme:CB" "$(gtk3-themes-list light)" \
--field="GTK3 dark theme:CB" "$(gtk3-themes-list dark)"
\ No newline at end of file
--field="GTK3 dark theme:CB" "$(gtk3-themes-list dark)")
IFS='|' read -r KV_LIGHT KV_DARK GTK3_LIGHT GTK3_DARK <<< "$NEW_SETTINGS"
shell_config_set "$EDITABLE_CONFIG_FILE" KV_LIGHT_THEME "$KV_LIGHT"
shell_config_set "$EDITABLE_CONFIG_FILE" KV_DARK_THEME "$KV_DARK"
shell_config_set "$EDITABLE_CONFIG_FILE" GTK3_LIGHT_THEME "$GTK3_LIGHT"
shell_config_set "$EDITABLE_CONFIG_FILE" GTK3_DARK_THEME "$GTK3_DARK"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment