Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/fluxbox/fluxbox.client.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

mcore-src/trunk/mcore-tools/daemon/client/include/fluxbox.client.class revision 2027 by niro, Mon Aug 13 11:37:03 2012 UTC mcore-src/trunk/mcore-tools/src/modules/fluxbox/fluxbox.client.class.in revision 2152 by niro, Fri Jan 10 13:42:25 2014 UTC
# Line 145  help_fluxbox_theme() Line 145  help_fluxbox_theme()
145  set_fluxbox_theme()  set_fluxbox_theme()
146  {  {
147   local theme="$1"   local theme="$1"
148   local stylesdir="/usr/share/fluxbox/styles"   local stylesdir="@@DATADIR@@/fluxbox/styles"
149    
150   [[ -z ${theme} ]] && help_fluxbox_theme && return 1   [[ -z ${theme} ]] && help_fluxbox_theme && return 1
151   [[ ! -x $(which fluxbox-remote) ]] && eecho "fluxbox-remote missing! Aborted" && return 1   [[ ! -x $(which fluxbox-remote) ]] && eecho "fluxbox-remote missing! Aborted" && return 1
# Line 154  set_fluxbox_theme() Line 154  set_fluxbox_theme()
154   then   then
155   x11runas "fluxbox-remote 'SetStyle ${stylesdir}/${theme}'"   x11runas "fluxbox-remote 'SetStyle ${stylesdir}/${theme}'"
156   else   else
157   eechoe "Theme '${theme}' does not exist!"   eecho "Theme '${theme}' does not exist!"
158   fi   fi
159  }  }
160    
161  get_fluxbox_theme()  get_fluxbox_theme()
162  {  {
163   local method="$1"   local method="$1"
164   local stylesdir="/usr/share/fluxbox/styles"   local stylesdir="@@DATADIR@@/fluxbox/styles"
165   local value   local value
166   local i   local i
167    

Legend:
Removed from v.2027  
changed lines
  Added in v.2152