#-----------------------------------------------------------------------
# File:         GlobalIconMan
# Version:      1.0.1
# Licence:      GPL 2
#
# Description:  General Global IconMan
#
# Author:       Thomas Funk <t.funk@web.de>    
# Created:      08/21/2015
# Changed:      01/24/2016
#-----------------------------------------------------------------------
Style GlobalIconMan NeverFocus, !Iconifiable, !Maximizable, WindowListSkip, HandleWidth 1

DestroyModuleConfig GlobalIconMan: *
*GlobalIconMan: 1 IconName                  GlobalIconMan
*GlobalIconMan: 1 Title                     "Global IconMan"
*GlobalIconMan: 1 ButtonGeometry            $[infostore.iconman_button_geometry]
*GlobalIconMan: 1 ManagerGeometry           $[infostore.iconman_manager_geometry]

*GlobalIconMan: 1 Colorset                  10
*GlobalIconMan: 1 IconColorset              12
*GlobalIconMan: 1 PlainColorset             10
*GlobalIconMan: 1 SelectColorset            11
*GlobalIconMan: 1 FocusColorset             11
*GlobalIconMan: 1 FocusAndSelectColorset    11

*GlobalIconMan: 1 IconButton                down
*GlobalIconMan: 1 PlainButton               up
*GlobalIconMan: 1 SelectButton              down
*GlobalIconMan: 1 FocusButton               up
*GlobalIconMan: 1 FocusAndSelectButton      down

*GlobalIconMan: 1 FollowFocus               true

*GlobalIconMan: 1 ReliefThickness           1
*GlobalIconMan: 1 Resolution                page
*GlobalIconMan: 1 UseWinList                true

*GlobalIconMan: 1 DrawIcons                 always
*GlobalIconMan: 1 Sort                      name
*GlobalIconMan: 1 Format                    "%c: %t"
*GlobalIconMan: 1 Font                      "xft:$[infostore.used_font]:pixelsize=$[infostore.fontsize]"
    
*GlobalIconMan: 1 Tips                      $[infostore.tips_iman]
*GlobalIconMan: 1 TipsFormat                "%c: %t"
*GlobalIconMan: 1 TipsColorset              16
*GlobalIconMan: 1 TipsFont                  "xft:$[infostore.used_font]:pixelsize=$[infostore.fontsize]"

*GlobalIconMan: 1 NoIconAction              "SendToModule FvwmAnimate animate"
*GlobalIconMan: 1 Action  Mouse 1   A       sendcommand "FuncSelectWindow"
*GlobalIconMan: 1 Action  Mouse 2   A       sendcommand "WindowList"
*GlobalIconMan: 1 Action  Mouse 3   A       sendcommand "Popup MenuWindowOpsTrimmed Mouse c -102m"
# If you want that the focus follows by hovering, uncomment the line below
#*GlobalIconMan: 1 Action  select            sendcommand "Focus"

*GlobalIconMan: 1 Action  Key   Up  N       gotobutton Up, select
*GlobalIconMan: 1 Action  Key   Down N      gotobutton Down, select
