sts rev 17
Add tint2 config
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 15 16:54:00 2014 +0200 (2014-05-15) |
parents | b72b16fba4af |
children | 1a46412e2ec7 |
files | Makefile lxpanel/sts/panels/panel openbox/autostart sts sts-session tint2/tint2rc |
line diff
1.1 --- a/Makefile Mon Apr 28 01:08:48 2014 +0200 1.2 +++ b/Makefile Thu May 15 16:54:00 2014 +0200 1.3 @@ -17,6 +17,7 @@ 1.4 install -m 0755 -d $(IMAGES) 1.5 cp -a sts* $(DESTDIR)$(PREFIX)/bin 1.6 cp -a openbox $(DATA)/slitaz/sts 1.7 + cp -a tint2 $(DATA)/slitaz/sts 1.8 cp -a lxpanel $(DATA)/slitaz/sts 1.9 cp -a applications $(DATA) 1.10 cp -a images/sts-background.jpg $(IMAGES)
2.1 --- a/lxpanel/sts/panels/panel Mon Apr 28 01:08:48 2014 +0200 2.2 +++ b/lxpanel/sts/panels/panel Thu May 15 16:54:00 2014 +0200 2.3 @@ -56,7 +56,7 @@ 2.4 type = launchbar 2.5 Config { 2.6 Button { 2.7 - id=/usr/share/applications/sts-keyboard.desktop 2.8 + id=/usr/share/applications/sts-kill.desktop 2.9 } 2.10 } 2.11 } 2.12 @@ -109,13 +109,3 @@ 2.13 iface=wlan0 2.14 } 2.15 } 2.16 - 2.17 -Plugin { 2.18 - type = launchbar 2.19 - Config { 2.20 - Button { 2.21 - id=/usr/share/applications/sts-kill.desktop 2.22 - } 2.23 - } 2.24 -} 2.25 -
3.1 --- a/openbox/autostart Mon Apr 28 01:08:48 2014 +0200 3.2 +++ b/openbox/autostart Thu May 15 16:54:00 2014 +0200 3.3 @@ -9,8 +9,11 @@ 3.4 # Desktop background 3.5 hsetroot -fill /usr/share/images/sts-background.jpg & 3.6 3.7 -# Desktop panel 3.8 +# Desktop panel with LXpanel 3.9 lxpanel -p sts & 3.10 3.11 -# Desktop icons 3.12 +# Desktop panel with Tint2 3.13 +#tint2 -c ${STS_CONFIG_HOME}/tint2rc 3.14 + 3.15 +# Desktop icons with Idesk 3.16 #(sleep 2; idesk &) &
4.1 --- a/sts Mon Apr 28 01:08:48 2014 +0200 4.2 +++ b/sts Thu May 15 16:54:00 2014 +0200 4.3 @@ -11,8 +11,9 @@ 4.4 case "$1" in 4.5 info) 4.6 if [ "$STS_DESKTOP_WM" ]; then 4.7 - echo "STS_DESKTOP_WM : $STS_DESKTOP_WM" 4.8 - echo "STS_DESKTOP_ID : $STS_DESKTOP_ID" 4.9 + echo "STS_DESKTOP_ID : $STS_DESKTOP_ID" 4.10 + echo "STS_DESKTOP_WM : $STS_DESKTOP_WM" 4.11 + echo "STS_CONFIG_HOME : $STS_CONFIG_HOME" 4.12 else 4.13 echo "The sts desktop is not running" 4.14 fi ;;
5.1 --- a/sts-session Mon Apr 28 01:08:48 2014 +0200 5.2 +++ b/sts-session Thu May 15 16:54:00 2014 +0200 5.3 @@ -3,12 +3,14 @@ 5.4 # Start SliTaz Tiny/Touch Screens desktop session 5.5 # 5.6 5.7 -export STS_DESKTOP_WM="openbox" 5.8 -export STS_DESKTOP_ID="$$" 5.9 export XDG_CACHE_HOME="$HOME/.cache" 5.10 export XDG_CONFIG_HOME="$HOME/.config" 5.11 export XDG_DATA_HOME="$HOME/.local/share" 5.12 5.13 +export STS_DESKTOP_ID="$$" 5.14 +export STS_DESKTOP_WM="openbox" 5.15 +export STS_CONFIG_HOME="$XDG_CONFIG_HOME/sts" 5.16 + 5.17 data="/usr/share/slitaz/sts" 5.18 sts="${XDG_CONFIG_HOME}/sts" 5.19 5.20 @@ -24,8 +26,13 @@ 5.21 chmod +x ${sts}/autostart 5.22 fi 5.23 5.24 -# LXpanel configs 5.25 -if [ ! -d "${XDG_CONFIG_HOME}/lxpanel/sts" ]; then 5.26 +# Tint2 panel 5.27 +if [ ! -f "${XDG_CONFIG_HOME}/sts/tint2rc" ]; then 5.28 + cp ${data}/tint2/tint2rc ${XDG_CONFIG_HOME}/sts 5.29 +fi 5.30 + 5.31 +# LXpanel configs support 5.32 +if [ -x "/usr/bin/lxpanel" ] && [ ! -d "${XDG_CONFIG_HOME}/lxpanel/sts" ]; then 5.33 cp -rf ${data}/lxpanel ${XDG_CONFIG_HOME} 5.34 fi 5.35
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/tint2/tint2rc Thu May 15 16:54:00 2014 +0200 6.3 @@ -0,0 +1,116 @@ 6.4 +# Tint2 config file 6.5 +# Generated by tintwizard (http://code.google.com/p/tintwizard/) 6.6 +# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure 6.7 + 6.8 +# Background definitions 6.9 +# ID 1 6.10 +rounded = 7 6.11 +border_width = 0 6.12 +background_color = #000000 60 6.13 +border_color = #FFFFFF 12 6.14 + 6.15 +# ID 2 6.16 +rounded = 5 6.17 +border_width = 0 6.18 +background_color = #FFFFFF 40 6.19 +border_color = #FFFFFF 44 6.20 + 6.21 +# ID 3 6.22 +rounded = 5 6.23 +border_width = 0 6.24 +background_color = #FFFFFF 12 6.25 +border_color = #FFFFFF 64 6.26 + 6.27 +# Panel 6.28 +panel_monitor = all 6.29 +panel_position = top center horizontal 6.30 +panel_size = 100% 36 6.31 +panel_margin = 0 0 6.32 +panel_padding = 7 0 7 6.33 +panel_dock = 0 6.34 +wm_menu = 0 6.35 +panel_layer = top 6.36 +panel_background_id = 1 6.37 + 6.38 +# Panel Autohide 6.39 +autohide = 0 6.40 +autohide_show_timeout = 0.3 6.41 +autohide_hide_timeout = 2 6.42 +autohide_height = 2 6.43 +strut_policy = follow_size 6.44 + 6.45 +# Taskbar 6.46 +taskbar_mode = single_desktop 6.47 +taskbar_padding = 2 3 2 6.48 +taskbar_background_id = 0 6.49 +taskbar_active_background_id = 0 6.50 + 6.51 +# Tasks 6.52 +urgent_nb_of_blink = 8 6.53 +task_icon = 1 6.54 +task_text = 0 6.55 +task_centered = 0 6.56 +task_maximum_size = 34 32 6.57 +task_padding = 5 1 6.58 +task_background_id = 3 6.59 +task_active_background_id = 2 6.60 +task_urgent_background_id = 2 6.61 +task_iconified_background_id = 3 6.62 + 6.63 +# Task Icons 6.64 +task_icon_asb = 70 0 0 6.65 +task_active_icon_asb = 100 0 0 6.66 +task_urgent_icon_asb = 100 0 0 6.67 +task_iconified_icon_asb = 70 0 0 6.68 + 6.69 +# Fonts 6.70 +task_font = Sans 10 6.71 +task_font_color = #FFFFFF 64 6.72 +task_active_font_color = #FFFFFF 80 6.73 +task_urgent_font_color = #FFFFFF 80 6.74 +task_iconified_font_color = #FFFFFF 64 6.75 +font_shadow = 0 6.76 + 6.77 +# System Tray 6.78 +systray = 1 6.79 +systray_padding = 0 4 5 6.80 +systray_sort = ascending 6.81 +systray_background_id = 0 6.82 +systray_icon_size = 32 6.83 +systray_icon_asb = 70 0 0 6.84 + 6.85 +# Clock 6.86 +time1_format = %H:%M 6.87 +time1_font = Sans Bold 10 6.88 +clock_font_color = #FFFFFF 70 6.89 +clock_padding = 1 0 6.90 +clock_background_id = 0 6.91 +clock_rclick_command = orage 6.92 + 6.93 +# Tooltips 6.94 +tooltip = 1 6.95 +tooltip_padding = 8 8 6.96 +tooltip_show_timeout = 0.7 6.97 +tooltip_hide_timeout = 0.3 6.98 +tooltip_background_id = 1 6.99 +tooltip_font = Sans 16 6.100 +tooltip_font_color = #FFFFFF 80 6.101 + 6.102 +# Mouse 6.103 +mouse_middle = none 6.104 +mouse_right = close 6.105 +mouse_scroll_up = toggle 6.106 +mouse_scroll_down = iconify 6.107 + 6.108 +# Battery 6.109 +battery = 0 6.110 +battery_low_status = 10 6.111 +battery_low_cmd = notify-send "battery low" 6.112 +battery_hide = 98 6.113 +bat1_font = sans 8 6.114 +bat2_font = sans 6 6.115 +battery_font_color = #FFFFFF 70 6.116 +battery_padding = 1 0 6.117 +battery_background_id = 0 6.118 + 6.119 +# End of config 6.120 \ No newline at end of file