Skip to content

Commit

Permalink
[welcome] fixed the switch between EOS and vanilla Xfce theming
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-192 committed May 23, 2024
1 parent b1a685b commit d151603
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions welcome
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,12 @@ AddXfceThemingButtons() {
local -r conf="$HOME/.config"
local -r conf2='~/.config'
local -r bak=xfce-theme-bak
local -r dirs=(xfce4 Thunar)
local -r dirs_list=$(echo "${dirs[*]}" | tr ' ' ',')
local dir
local msg=""
local dirs=(xfce4)
expac -Q %n endeavouros-skel-xfce4 >/dev/null && dirs+=(Thunar) # compatibility for old installs
local -r dirs_list=$(echo "${dirs[*]}" | tr ' ' ',')

msg+="About to change the Xfce theme to '$new_theme'.\n"
msg+="The current theme will be saved under folder $conf2/$bak/$date_time\n"
msg+="The new theme will be in folders $conf2/{$dirs_list}\n\n"
Expand Down

0 comments on commit d151603

Please sign in to comment.