slitaz-configs rev 267

LXPanel look: background, menu button, battery colors, logout button with current user name
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 09 01:01:34 2015 +0200 (2015-11-09)
parents a6a3c6008789
children 29b1d93039e2
files rootfs/etc/lxpanel/slitaz/panels/panel rootfs/etc/skel/.xinitrc
line diff
     1.1 --- a/rootfs/etc/lxpanel/slitaz/panels/panel	Sun Nov 08 12:24:47 2015 +0100
     1.2 +++ b/rootfs/etc/lxpanel/slitaz/panels/panel	Mon Nov 09 01:01:34 2015 +0200
     1.3 @@ -19,15 +19,18 @@
     1.4      fontsize=10
     1.5      fontcolor=#cfcfcf
     1.6      usefontsize=0
     1.7 -    background=0
     1.8 +    background=1
     1.9 +    backgroundfile=/usr/share/themes/Clearlooks Human Dark/gtk-2.0/Panels/panel-bg-dark.png
    1.10      iconsize=22
    1.11 +    loglevel=2
    1.12  }
    1.13  
    1.14  Plugin {
    1.15      type = menu
    1.16      Config {
    1.17          name=SliTazMenu.directory
    1.18 -        image=slitaz-menu
    1.19 +        image=start-here
    1.20 +        tintcolor=#33230D
    1.21          system {
    1.22          }
    1.23          separator {
    1.24 @@ -130,13 +133,13 @@
    1.25          HideIfNoBattery=0
    1.26          AlarmCommand=tazbox notify "Warning: battery low" "dialog-warning"
    1.27          AlarmTime=5
    1.28 -        BackgroundColor=#1b0c03
    1.29 +        BackgroundColor=#404040
    1.30          BorderWidth=3
    1.31 -        ChargingColor1=#cfcfcf
    1.32 -        ChargingColor2=#cfcfcf
    1.33 -        DischargingColor1=#473b34
    1.34 -        DischargingColor2=#473b34
    1.35 -        Size=14
    1.36 +        ChargingColor1=#00A100
    1.37 +        ChargingColor2=#00A100
    1.38 +        DischargingColor1=#DB2C23
    1.39 +        DischargingColor2=#DB2C23
    1.40 +        Size=11
    1.41      }
    1.42  }
    1.43  
    1.44 @@ -170,10 +173,14 @@
    1.45  }
    1.46  
    1.47  Plugin {
    1.48 -    type = launchbar
    1.49 +    type = menu
    1.50      Config {
    1.51 -        Button {
    1.52 -            id=/usr/share/applications/slitaz-logout.desktop
    1.53 +        name=user.directory
    1.54 +        image=avatar-default
    1.55 +        tintcolor=#33230D
    1.56 +        item {
    1.57 +            image=system-shutdown-panel-restart
    1.58 +            command=logout
    1.59          }
    1.60      }
    1.61  }
     2.1 --- a/rootfs/etc/skel/.xinitrc	Sun Nov 08 12:24:47 2015 +0100
     2.2 +++ b/rootfs/etc/skel/.xinitrc	Mon Nov 09 01:01:34 2015 +0200
     2.3 @@ -3,6 +3,8 @@
     2.4  # it permanently with your personal applications.conf file.
     2.5  #
     2.6  . $HOME/.config/slitaz/applications.conf
     2.7 +dd="$HOME/.local/share/desktop-directories"; mkdir -p "$dd"
     2.8 +echo -e "[Desktop Entry]\nType=Directory\nName=$(whoami)" > "$dd/user.directory"
     2.9  
    2.10  [ "$1" ] && WINDOW_MANAGER="$1"
    2.11