slitaz-configs rev 217 5.4.1

sts: fixes and use only one panel (we will have some gesture support!!!)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 16 18:20:51 2014 +0200 (2014-04-16)
parents 5c0728ddefa1
children 91821b54cf83
files sts/lxpanel/sts/panels/bottom sts/lxpanel/sts/panels/panel sts/sts-session
line diff
     1.1 --- a/sts/lxpanel/sts/panels/bottom	Wed Apr 16 02:28:02 2014 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,54 +0,0 @@
     1.4 -# lxpanel <profile> config file. Manually editing is not recommended.
     1.5 -# Use preference dialog in lxpanel to adjust config when you can.
     1.6 -
     1.7 -Global {
     1.8 -    edge=bottom
     1.9 -    allign=center
    1.10 -    margin=0
    1.11 -    widthtype=percent
    1.12 -    width=100
    1.13 -    height=28
    1.14 -    transparent=1
    1.15 -    tintcolor=#ffffff
    1.16 -    alpha=0
    1.17 -    autohide=1
    1.18 -    heightwhenhidden=2
    1.19 -    setdocktype=1
    1.20 -    setpartialstrut=0
    1.21 -    usefontcolor=0
    1.22 -    fontsize=11
    1.23 -    fontcolor=#000000
    1.24 -    usefontsize=0
    1.25 -    background=0
    1.26 -    iconsize=28
    1.27 -    loglevel=2
    1.28 -}
    1.29 -
    1.30 -Plugin {
    1.31 -    type = space
    1.32 -    Config {
    1.33 -        Size=2
    1.34 -    }
    1.35 -}
    1.36 -
    1.37 -Plugin {
    1.38 -    type = pager
    1.39 -}
    1.40 -
    1.41 -Plugin {
    1.42 -    type = space
    1.43 -    expand=1
    1.44 -    Config {
    1.45 -        Size=2
    1.46 -    }
    1.47 -}
    1.48 -
    1.49 -Plugin {
    1.50 -    type = launchbar
    1.51 -    Config {
    1.52 -        Button {
    1.53 -            id=/usr/share/applications/sts-kill.desktop
    1.54 -        }
    1.55 -    }
    1.56 -}
    1.57 -
     2.1 --- a/sts/lxpanel/sts/panels/panel	Wed Apr 16 02:28:02 2014 +0200
     2.2 +++ b/sts/lxpanel/sts/panels/panel	Wed Apr 16 18:20:51 2014 +0200
     2.3 @@ -3,11 +3,11 @@
     2.4  
     2.5  Global {
     2.6      edge=top
     2.7 -    allign=center
     2.8 +    allign=left
     2.9      margin=0
    2.10      widthtype=percent
    2.11      width=100
    2.12 -    height=26
    2.13 +    height=32
    2.14      transparent=1
    2.15      tintcolor=#222222
    2.16      alpha=255
    2.17 @@ -20,18 +20,11 @@
    2.18      fontcolor=#ffffff
    2.19      usefontsize=1
    2.20      background=0
    2.21 -    iconsize=26
    2.22 +    iconsize=32
    2.23      loglevel=2
    2.24  }
    2.25  
    2.26  Plugin {
    2.27 -    type = space
    2.28 -    Config {
    2.29 -        Size=4
    2.30 -    }
    2.31 -}
    2.32 -
    2.33 -Plugin {
    2.34      type = menu
    2.35      Config {
    2.36          image=/usr/share/pixmaps/slitaz-menu.png
    2.37 @@ -55,20 +48,20 @@
    2.38  Plugin {
    2.39      type = space
    2.40      Config {
    2.41 -        Size=6
    2.42 +        Size=2
    2.43      }
    2.44  }
    2.45  
    2.46  Plugin {
    2.47      type = space
    2.48 +    expand=1
    2.49      Config {
    2.50 -        Size=2
    2.51 +        Size=4
    2.52      }
    2.53  }
    2.54  
    2.55  Plugin {
    2.56      type = taskbar
    2.57 -    expand=1
    2.58      Config {
    2.59          tooltips=1
    2.60          IconsOnly=1
    2.61 @@ -77,12 +70,20 @@
    2.62          UseUrgencyHint=1
    2.63          FlatButton=1
    2.64          MaxTaskWidth=200
    2.65 -        spacing=4
    2.66 +        spacing=0
    2.67          GroupedTasks=1
    2.68      }
    2.69  }
    2.70  
    2.71  Plugin {
    2.72 +    type = space
    2.73 +    expand=1
    2.74 +    Config {
    2.75 +        Size=2
    2.76 +    }
    2.77 +}
    2.78 +
    2.79 +Plugin {
    2.80      type = tray
    2.81  }
    2.82  
    2.83 @@ -94,24 +95,18 @@
    2.84  }
    2.85  
    2.86  Plugin {
    2.87 -    type = volumealsa
    2.88 -}
    2.89 -
    2.90 -Plugin {
    2.91 -    type = space
    2.92 +    type = netstatus
    2.93      Config {
    2.94 -        Size=4
    2.95 +        iface=wlan0
    2.96      }
    2.97  }
    2.98  
    2.99  Plugin {
   2.100 -    type = dclock
   2.101 +    type = launchbar
   2.102      Config {
   2.103 -        ClockFmt=%R
   2.104 -        TooltipFmt=%A %x
   2.105 -        BoldFont=1
   2.106 -        IconOnly=0
   2.107 -        CenterText=0
   2.108 +        Button {
   2.109 +            id=/usr/share/applications/sts-kill.desktop
   2.110 +        }
   2.111      }
   2.112  }
   2.113  
     3.1 --- a/sts/sts-session	Wed Apr 16 02:28:02 2014 +0200
     3.2 +++ b/sts/sts-session	Wed Apr 16 18:20:51 2014 +0200
     3.3 @@ -3,8 +3,10 @@
     3.4  # Start SliTaz Tiny/Touch Screens desktop session
     3.5  #
     3.6  
     3.7 +export STS_DESKTOP_WM="openbox"
     3.8 +export XDG_CACHE_HOME="$HOME/.cache"
     3.9  export XDG_CONFIG_HOME="$HOME/.config"
    3.10 -export STS_DESKTOP_WM="openbox"
    3.11 +export XDG_DATA_HOME="$HOME/.local/share"
    3.12  
    3.13  data="/usr/share/slitaz/sts"
    3.14  obconf="${XDG_CONFIG_HOME}/openbox"
    3.15 @@ -27,4 +29,4 @@
    3.16  
    3.17  # Start Openbox
    3.18  exec openbox --config-file ${obconf}/sts-rc.xml \
    3.19 -	--startup ${obconf}/openbox/sts-autostart
    3.20 +	--startup ${obconf}/sts-autostart