File bashtop-themes.patch of Package bashtop

diff -rub a/bashtop b/bashtop
--- a/bashtop	2020-04-29 23:35:42.237797000 +0600
+++ b/bashtop	2020-04-29 23:41:39.279512047 +0600
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
 # indent type=tab
 # tab size=4
 # shellcheck disable=SC2034 #Unused variables
@@ -73,7 +73,7 @@
 #? Any changes made here will be ignored if config file exists
 aaa_config() { : ; } #! Do not remove this line!
 
-#* Color theme, looks for a .theme file in "$HOME/.config/bashtop/themes", "Default" for builtin default theme
+#* Color theme, looks for a .theme file in "/usr/share/bashtop/themes", "Default" for builtin default theme
 color_theme="Default"
 
 #* Update time in milliseconds, increases automatically if set below internal loops processing time, recommended 2000 ms or above for better sample times for graphs
@@ -2741,7 +2741,7 @@
 	desc_color_theme=(	"Set bashtop color theme."
 						" "
 						"Choose between theme files located in"
-						"\"\$HOME/.config/bashtop/themes\""
+						"\"/usr/share/bashtop/themes\""
 						" "
 						"\"Default\" for builtin default."
 						" ")
@@ -3467,7 +3467,8 @@
 #* Read config file or create if non existant
 config_dir="${XDG_CONFIG_HOME:-$HOME/.config}/bashtop"
 if [[ -d "${config_dir}" && -w "${config_dir}" ]] || mkdir -p "${config_dir}"; then 
-	theme_dir="${config_dir}/themes"
+        data_dir="/usr/share/bashtop/"
+	theme_dir="${data_dir}/themes"
 	if [[ ! -d "${theme_dir}" ]]; then mkdir -p "${theme_dir}"; fi
 	config_file="${config_dir}/bashtop.cfg"
 	# shellcheck source=/dev/null
openSUSE Build Service is sponsored by