wok-next rev 9494

lxpanel: have latest settings (2 pan) and save space by rm xkb-flags
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 06 02:51:47 2011 +0200 (2011-04-06)
parents dbee7d9a3ad7
children 46b226e57592
files lxpanel-extra/receipt lxpanel/receipt lxpanel/stuff/default/panels/bottom lxpanel/stuff/default/panels/panel
line diff
     1.1 --- a/lxpanel-extra/receipt	Tue Apr 05 20:07:47 2011 +0000
     1.2 +++ b/lxpanel-extra/receipt	Wed Apr 06 02:51:47 2011 +0200
     1.3 @@ -25,4 +25,6 @@
     1.4  		$fs/usr/share/lxpanel/images
     1.5  	cp -a $_pkg/usr/share/lxpanel/images/*lock-*.png \
     1.6  		$fs/usr/share/lxpanel/images
     1.7 +	cp -a $fs/usr/share/lxpanel/images/xkb-flags \
     1.8 +		$fs/usr/share/lxpanel/images
     1.9  }
     2.1 --- a/lxpanel/receipt	Tue Apr 05 20:07:47 2011 +0000
     2.2 +++ b/lxpanel/receipt	Wed Apr 06 02:51:47 2011 +0200
     2.3 @@ -53,6 +53,7 @@
     2.4  
     2.5  	# Remove plugins --> lxpanel-extra
     2.6  	rm $fs/usr/lib/lxpanel/plugins/kbled.so
     2.7 +	rm -rf $fs/usr/share/lxpanel/images/xkb-flags
     2.8  
     2.9  	# Move profile to /etc/lxpanel (/usr maybe read-only) and default config
    2.10  	mkdir $fs/etc
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/lxpanel/stuff/default/panels/bottom	Wed Apr 06 02:51:47 2011 +0200
     3.3 @@ -0,0 +1,60 @@
     3.4 +# lxpanel <profile> config file. Manually editing is not recommended.
     3.5 +# Use preference dialog in lxpanel to adjust config when you can.
     3.6 +
     3.7 +Global {
     3.8 +    edge=bottom
     3.9 +    allign=center
    3.10 +    margin=0
    3.11 +    widthtype=percent
    3.12 +    width=100
    3.13 +    height=24
    3.14 +    transparent=1
    3.15 +    tintcolor=#ffffff
    3.16 +    alpha=20
    3.17 +    autohide=0
    3.18 +    heightwhenhidden=2
    3.19 +    setdocktype=0
    3.20 +    setpartialstrut=1
    3.21 +    usefontcolor=1
    3.22 +    fontcolor=#ffffff
    3.23 +    background=0
    3.24 +    iconsize=24
    3.25 +}
    3.26 +
    3.27 +Plugin {
    3.28 +    type = pager
    3.29 +}
    3.30 +
    3.31 +Plugin {
    3.32 +    type = space
    3.33 +    Config {
    3.34 +        Size=4
    3.35 +    }
    3.36 +}
    3.37 +
    3.38 +Plugin {
    3.39 +    type = taskbar
    3.40 +    expand=1
    3.41 +    Config {
    3.42 +        tooltips=1
    3.43 +        IconsOnly=0
    3.44 +        ShowAllDesks=0
    3.45 +        UseMouseWheel=1
    3.46 +        UseUrgencyHint=1
    3.47 +        FlatButton=1
    3.48 +        MaxTaskWidth=200
    3.49 +        spacing=2
    3.50 +        GroupedTasks=1
    3.51 +    }
    3.52 +}
    3.53 +
    3.54 +Plugin {
    3.55 +    type = dclock
    3.56 +    Config {
    3.57 +        ClockFmt=%R
    3.58 +        TooltipFmt=%A %x
    3.59 +        BoldFont=1
    3.60 +        IconOnly=0
    3.61 +    }
    3.62 +}
    3.63 +
     4.1 --- a/lxpanel/stuff/default/panels/panel	Tue Apr 05 20:07:47 2011 +0000
     4.2 +++ b/lxpanel/stuff/default/panels/panel	Wed Apr 06 02:51:47 2011 +0200
     4.3 @@ -2,18 +2,18 @@
     4.4  # Use preference dialog in lxpanel to adjust config when you can.
     4.5  
     4.6  Global {
     4.7 -    edge=bottom
     4.8 +    edge=top
     4.9      allign=center
    4.10      margin=0
    4.11      widthtype=percent
    4.12      width=100
    4.13      height=24
    4.14      transparent=1
    4.15 -    tintcolor=#000000
    4.16 -    alpha=0
    4.17 +    tintcolor=#ffffff
    4.18 +    alpha=20
    4.19      autohide=0
    4.20      heightwhenhidden=2
    4.21 -    setdocktype=1
    4.22 +    setdocktype=0
    4.23      setpartialstrut=1
    4.24      usefontcolor=1
    4.25      fontcolor=#ffffff
    4.26 @@ -32,19 +32,20 @@
    4.27  Plugin {
    4.28      type = menu
    4.29      Config {
    4.30 +        name=SliTazMenu.directory
    4.31          image=/usr/share/pixmaps/slitaz-menu.png
    4.32          system {
    4.33          }
    4.34          separator {
    4.35          }
    4.36          item {
    4.37 -            image=/usr/share/icons/SliTaz/16x16/actions/go-next.png
    4.38 +            image=exec
    4.39              command=run
    4.40          }
    4.41          separator {
    4.42          }
    4.43          item {
    4.44 -            image=/usr/share/pixmaps/logout.png
    4.45 +            image=logout
    4.46              command=logout
    4.47          }
    4.48      }
    4.49 @@ -53,81 +54,63 @@
    4.50  Plugin {
    4.51      type = space
    4.52      Config {
    4.53 +        Size=2
    4.54 +    }
    4.55 +}
    4.56 +
    4.57 +Plugin {
    4.58 +    type = launchbar
    4.59 +    Config {
    4.60 +        Button {
    4.61 +            id=/usr/share/applications/pcmanfm.desktop
    4.62 +        }
    4.63 +        Button {
    4.64 +            id=/usr/share/applications/leafpad.desktop
    4.65 +        }
    4.66 +    }
    4.67 +}
    4.68 +
    4.69 +Plugin {
    4.70 +    type = space
    4.71 +    Config {
    4.72 +        Size=2
    4.73 +    }
    4.74 +}
    4.75 +
    4.76 +Plugin {
    4.77 +    type = space
    4.78 +    expand=1
    4.79 +    Config {
    4.80 +        Size=2
    4.81 +    }
    4.82 +}
    4.83 +
    4.84 +Plugin {
    4.85 +    type = tray
    4.86 +}
    4.87 +
    4.88 +Plugin {
    4.89 +    type = space
    4.90 +    Config {
    4.91          Size=4
    4.92      }
    4.93  }
    4.94  
    4.95  Plugin {
    4.96 -    type = launchbar
    4.97 -    Config {
    4.98 -        Button {
    4.99 -            id=xterm.desktop
   4.100 -        }
   4.101 -        Button {
   4.102 -            id=pcmanfm.desktop
   4.103 -        }
   4.104 -        Button {
   4.105 -            id=midori.desktop
   4.106 -        }
   4.107 -    }
   4.108 -}
   4.109 -
   4.110 -Plugin {
   4.111 -    type = pager
   4.112 -}
   4.113 -
   4.114 -Plugin {
   4.115 -    type = wincmd
   4.116 -    Config {
   4.117 -        image=window-manager
   4.118 -        Button1=iconify
   4.119 -        Button2=shade
   4.120 -        Toggle=0
   4.121 -    }
   4.122 -}
   4.123 -
   4.124 -Plugin {
   4.125 -    type = taskbar
   4.126 -    expand=1
   4.127 -    Config {
   4.128 -        tooltips=1
   4.129 -        IconsOnly=0
   4.130 -        ShowAllDesks=0
   4.131 -        UseMouseWheel=1
   4.132 -        UseUrgencyHint=1
   4.133 -        FlatButton=1
   4.134 -        MaxTaskWidth=200
   4.135 -        spacing=1
   4.136 -        GroupedTasks=0
   4.137 -    }
   4.138 -}
   4.139 -
   4.140 -Plugin {
   4.141 -    type = space
   4.142 -    Config {
   4.143 -        Size=4
   4.144 -    }
   4.145 -}
   4.146 -
   4.147 -Plugin {
   4.148 -    type = tray
   4.149 -}
   4.150 -
   4.151 -Plugin {
   4.152      type = volumealsa
   4.153  }
   4.154  
   4.155  Plugin {
   4.156      type = space
   4.157      Config {
   4.158 -        Size=4
   4.159 +        Size=8
   4.160      }
   4.161  }
   4.162  
   4.163  Plugin {
   4.164      type = netstatus
   4.165      Config {
   4.166 -        iface=eth0
   4.167 +        iface=wlan0
   4.168          configtool=subox netbox %i
   4.169      }
   4.170  }
   4.171 @@ -166,22 +149,3 @@
   4.172      }
   4.173  }
   4.174  
   4.175 -Plugin {
   4.176 -    type = launchbar
   4.177 -    Config {
   4.178 -        Button {
   4.179 -            id=tazctrlbox.desktop
   4.180 -        }
   4.181 -        Button {
   4.182 -            id=tazpkgbox.desktop
   4.183 -        }
   4.184 -    }
   4.185 -}
   4.186 -
   4.187 -Plugin {
   4.188 -    type = dclock
   4.189 -    Config {
   4.190 -        BoldFont=0
   4.191 -        IconOnly=0
   4.192 -    }
   4.193 -}