#!/bin/bash

##---taskbar config for jwmConfigMgr--->>

##-------variables------->>
. /tmp/JWMCONFIGVARS

##----------gui---------->>
export TASKBAR_CFG="
<window title=\"JWM設定マネージャ\" icon-name=\"gtk-preferences\">
<vbox>
 <frame トレイ設定オプション>
  <hbox>
    <text><label>仮想デスクトップ</label></text>
    <button>
     <input file>$MINI_ICONS_DIR/mini-maxwide.xpm</input>
     <action>$SCRIPT_DIR/virtualDesk &</action>
    </button>
  </hbox>
  <hbox>
    <text><label>トレイを自動的に隠すオプション</label></text>
    <button>
     <input file>$MINI_ICONS_DIR/mini-maxwide.xpm</input>
     <action>$SCRIPT_DIR/taskbarConfig &</action>
    </button>
  </hbox>
  <hbox>
    <text><label>トレイの高さオプション</label></text>
    <button>
     <input file>$MINI_ICONS_DIR/mini-maxwide.xpm</input>
     <action>$SCRIPT_DIR/taskbarHeight &</action>
    </button>
  </hbox>
  <hbox>
    <text><label>トレイの位置オプション</label></text>
    <button>
     <input file>$MINI_ICONS_DIR/mini-maxwide.xpm</input>
     <action>$SCRIPT_DIR/taskbarPlace &</action>
    </button>
  </hbox>
  <hbox>
    <text><label>プログラムをトレイに入れる</label></text>
    <button>
     <input file>$MINI_ICONS_DIR/mini-maxwide.xpm</input>
     <action>$SCRIPT_DIR/trayInsert &</action>
    </button>
  </hbox>
 </frame>
 <frame 重要>
  <hbox>
    <pixmap><input file>$MINI_ICONS_DIR/info16.xpm</input></pixmap>
    <text><label>変更を有効にするにはJWMをリスタートしなければなりません</label></text>
  </hbox>
 </frame>
 <hbox>
   <button ok><action type=\"exit\">OK</action></button>
 </hbox>
</vbox>
</window>
"

##---------run------------>>
gtkdialog3 --program TASKBAR_CFG


##------cleanup----------->>
unset TASKBAR_CFG	
clear	


