Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add new layout G2like

  • Loading branch information...
commit 7ea4b0b0159a453513ac385324067110430b7ad7 1 parent a994c45
@ThomasFunk ThomasFunk authored
View
4 ChangeLog
@@ -1,5 +1,9 @@
History:
+10/09/2012 V 0.5.15
+- add new layout 'G2like' - it looks like Gnome 2 with a top and bottom bar
+- add G2like to FvwmForm-FNS-BaseSetup
+
10/06/2012 V 0.5.14
- add functional vertical layout
- adapt horizontal layout to fit the changes in the vertical layout
View
18 README
@@ -25,7 +25,7 @@ Featurelist of Fvwm Nightshade:
- Config tool for base settings (Font, layouts, etc)
- 4 virtual desktop pages (at the moment)
- Taskbar to show running apps per page
-- Two layouts: horizontal and vertical
+- Three different layouts: horizontal, vertical and G2like
- horizontal (top):
Top
@@ -46,12 +46,26 @@ Featurelist of Fvwm Nightshade:
| | IconManager
+--------+
- Panel in both with:
+ Panel content in both with:
- Menu
- Systray (stalonetray)
- cpu graph (conky)
- date and time (conky)
+ - G2like (top & bottom)
+ Topbar
+ +---+---+---------------------------------+----------+---------+---+
+ | | | | | | |
+ +---+---+---------------------------------+----------+---------+---+
+ Menu Personal Systray Date Logout
+
+
+ Bottombar
+ +---+----------------------------------------------+---------------+
+ | | | |
+ +---+----------------------------------------------+---------------+
+ Desktop Pager
+ IconManager
- Lock desk & screensaver (xscreensaver)
- Personal menu via FvwmScript-PersonalMenu
View
2  fvwm-nightshade/config
@@ -15,7 +15,7 @@
#
#
# Fvwm Nightshade Configuration
-InfoStoreAdd ns_version 0.5.14
+InfoStoreAdd ns_version 0.5.15
# Copyright (C) 2012
#
# Authors:
View
238 fvwm-nightshade/layouts/G2like
@@ -0,0 +1,238 @@
+#-----------------------------------------------------------------------
+# File: G2like
+# Version: 1.0.0
+# Licence: GPL 2
+#
+# Description: Gnome like layout with a top and bottom bar
+#
+# Author: Thomas Funk <t.funk@web.de>
+# Created: 10/09/2012
+# Changed: <MM/DD/YYYY>
+#-----------------------------------------------------------------------
+#
+# Topbar
+# +---+---+--------+------------------------+----------+---------+---+
+# | | | | | | | |
+# +---+---+--------+------------------------+----------+---------+---+
+# Menu (Apps) Systray Date Logout
+# Personal
+
+# Bottombar
+# +---+----------------------------------------------+---------------+
+# | | | |
+# +---+----------------------------------------------+---------------+
+# Desktop Pager
+# IconMan
+#
+#-----------------------------------------------------------------------
+
+
+########################################################################
+# Positioning
+########################################################################
+
+#=======================================================================
+# General
+#=======================================================================
+InfoStoreAdd column_size 15
+
+PipeRead "echo InfoStoreAdd columns `perl -e 'printf \"%.0f\",$[vp.width]/$[infostore.column_size]'`"
+
+
+#=======================================================================
+# FvwmButtons TopBarG2
+#=======================================================================
+
+#-----------------------------------------------------------------------
+# Bar height
+#-----------------------------------------------------------------------
+PipeRead "echo InfoStoreAdd bar_height `perl -e 'printf \"%.0f\",$[vp.height]/(23*$[infostore.ratio])'`"
+
+#-----------------------------------------------------------------------
+# Bar geometry
+#-----------------------------------------------------------------------
+InfoStoreAdd topbar_geometry $[vp.width]x$[infostore.bar_height]-0+0
+
+
+#=======================================================================
+# FvwmButtons G2likeBottomBar
+#=======================================================================
+
+#-----------------------------------------------------------------------
+# Bar height
+#-----------------------------------------------------------------------
+#PipeRead "echo InfoStoreAdd bar_height `perl -e 'printf \"%.0f\",$[vp.height]/(23*$[infostore.ratio])'`"
+
+#-----------------------------------------------------------------------
+# Bar geometry
+#-----------------------------------------------------------------------
+InfoStoreAdd bottombar_geometry $[vp.width]x$[infostore.bar_height]+0-0
+
+
+#=======================================================================
+# Others
+#=======================================================================
+
+#-----------------------------------------------------------------------
+# Define bands at the edge of the screen. It is used to compute the
+# Working Area: EwmhBaseStruts left right top bottom
+#-----------------------------------------------------------------------
+PipeRead 'echo EwmhBaseStruts 0 0 $[infostore.bar_height] $[infostore.bar_height]'
+
+#-----------------------------------------------------------------------
+# IconBox defines the area where FVWM will place any windows that are
+# in the iconic state:
+# IconBox left top right bottom
+#
+# IconGrid ist the distance between each icon. Default grid is 3x3 pixels:
+# IconGrid x y
+#
+# IconFill defines the direction icons will place. Default is from left
+# to right. To fill an icon box in columns instead of rows, specify the
+# vertical direction (top or bottom) first.
+#-----------------------------------------------------------------------
+Style * IconBox 20 80 -100 -60, \
+ IconGrid 40 40, \
+ IconFill left bottom, \
+ StaysOnBottom
+
+
+#=======================================================================
+# Load layout elements
+#=======================================================================
+Load modules/G2likeTopBar
+Load modules/G2likeBottomBar
+Load modules/Pager
+Load modules/GlobalIconMan_Bar
+
+
+#=======================================================================
+# Functions
+#=======================================================================
+
+AddToFunc StartFunction
+#-----------------------------------------------------------------------
+# start a Pager
++ I Module FvwmPager
+#-----------------------------------------------------------------------
+# start window list module
++ I Module FvwmIconMan GlobalIconManBar
+#-----------------------------------------------------------------------
+# start bottom bar panel
++ I Module FvwmButtons G2likeBottomBar
+#-----------------------------------------------------------------------
+# start top bar panel
++ I module FvwmButtons G2likeTopBar
+#-----------------------------------------------------------------------
+# start systray applets
++ I Wait stalonetray
++ I FuncStartSystrayApplets
+
+
+DestroyFunc ReloadLayoutParts
+AddToFunc ReloadLayoutParts
++ I FuncPrintDbgMsg ReloadLayoutParts
++ I PipeRead 'fns-built-trayapplist $FVWM_USERDIR/.systray.log $FVWM_USERDIR/.trayapplist'
++ I Load modules/G2likeTopBar
++ I FuncRestartModuleByAlias FvwmButtons G2likeTopBar
++ I Wait stalonetray
++ I Exec exec fns-start-programs reload_applets $[FVWM_USERDIR]/.trayapplist
+
+DestroyFunc ShowDesktop
+AddToFunc ShowDesktop
++ I All (CurrentPage, Iconic, State 1) RestoreDesktop
++ I TestRc (Match) Break
++ I All (CurrentPage, !Iconic, !G2likeBottomBar, !G2likeTopBar, !State 1) ThisWindow State 1 True
++ I All (CurrentPage, !Iconic, !G2likeBottomBar, !G2likeTopBar, State 1) Thumbnail
+
+DestroyFunc RestoreDesktop
+AddToFunc RestoreDesktop
++ I All (CurrentPage, Iconic, State 1) Iconify off
++ I All (CurrentPage, State 1) ThisWindow State 1 False
+
+#=======================================================================
+# Bindings
+#=======================================================================
+
+# Keyname Context Modifi Function
+
+#-----------------------------------------------------------------------
+# press SHIFT-ALT arrow anywhere, move active
+# window to next/previous page
+#-----------------------------------------------------------------------
+Key Left A SM FuncMoveWindowToPage -1p +0p
+Key Right A SM FuncMoveWindowToPage +1p +0p
+
+#-----------------------------------------------------------------------
+# key 1-4 move current window to page n
+#-----------------------------------------------------------------------
+Key 1 A SM Current FuncMoveWindowToPage 0 0
+Key 2 A SM Current FuncMoveWindowToPage 1 0
+Key 3 A SM Current FuncMoveWindowToPage 2 0
+Key 4 A SM Current FuncMoveWindowToPage 3 0
+
+#-----------------------------------------------------------------------
+# Go to page n with SHIFT-CTRL + number
+#-----------------------------------------------------------------------
+Key 1 A SC FuncGotoPage 0 0
+Key 2 A SC FuncGotoPage 1 0
+Key 3 A SC FuncGotoPage 2 0
+Key 4 A SC FuncGotoPage 3 0
+
+#-----------------------------------------------------------------------
+# press SHIFT-CTRL arrow anywhere, and scroll by one page
+#-----------------------------------------------------------------------
+Key Left A SC FuncGotoPage -1p +0p
+Key Right A SC FuncGotoPage +1p +0p
+
+#-----------------------------------------------------------------------
+# Help info with SHIFT-CTRL-ALT P to show all page related key bindings
+#-----------------------------------------------------------------------
+key P A SCM FuncShowMessage "Page Key Bindings" \
+"SHIFT-CTRL:" \
+"Cursor right/left: Switch to page right/left" \
+"1-4: Switch to page n" \
+"SHIFT-ALT:" \
+"Cursor right/left: Switch active window to page right/left" \
+"1-4: Switch active window to page n" \
+"ALT-CTRL:" \
+"Cursor right/left/up/down: Move mouse pointer by 1% of a page" \
+"SHIFT-ALT-CTRL:" \
+"Cursor right/left/up/down: Scroll right/left by 10% of a page"
+
+
+
+#=======================================================================
+# Menus
+#=======================================================================
+
+#-----------------------------------------------------------------------
+# Moves all windows of the same resource to another page
+#-----------------------------------------------------------------------
+DestroyMenu MenuWindowGroupQuickMove
+AddToMenu MenuWindowGroupQuickMove
++ "&Right Page%menu/window-move.xpm%" Pick All ($[w.resource]) MoveToPage +1p +0p
++ "&Left Page%menu/window-move.xpm%" Pick All ($[w.resource]) MoveToPage -1p +0p
+#+ "D&own Page%menu/window-move.xpm%" Pick All ($[w.resource]) MoveToPage +0p +1p
+#+ "&Up Page%menu/window-move.xpm%" Pick All ($[w.resource]) MoveToPage +0p -1p
++ "" Nop
++ "Page 1%menu/window-move.xpm%" Pick All ($[w.resource]) FuncMoveWindowToPage 0 0
++ "Page 2%menu/window-move.xpm%" Pick All ($[w.resource]) FuncMoveWindowToPage 1 0
++ "Page 3%menu/window-move.xpm%" Pick All ($[w.resource]) FuncMoveWindowToPage 2 0
++ "Page 4%menu/window-move.xpm%" Pick All ($[w.resource]) FuncMoveWindowToPage 3 0
+
+#-----------------------------------------------------------------------
+# Move a window to left/right/1-4 page
+#-----------------------------------------------------------------------
+DestroyMenu MenuWindowMoveTo
+AddToMenu MenuWindowMoveTo
++ "Move to ..." Title
++ "$[gt.&Right Page]%menu/window-move.xpm%" AnimatedMove w+100 w
++ "&Left Page%menu/window-move.xpm%" AnimatedMove w-100 w
+#+ "&Down Page%menu/window-move.xpm%" AnimatedMove w w+100
+#+ "&Up Page%menu/window-move.xpm%" AnimatedMove w w-100
++ "" Nop
++ "Page 1%menu/window-move.xpm%" FuncMoveWindowToPage 0 0
++ "Page 2%menu/window-move.xpm%" FuncMoveWindowToPage 1 0
++ "Page 3%menu/window-move.xpm%" FuncMoveWindowToPage 2 0
++ "Page 4%menu/window-move.xpm%" FuncMoveWindowToPage 3 0
View
139 fvwm-nightshade/modules/G2likeBottomBar
@@ -0,0 +1,139 @@
+#-----------------------------------------------------------------------
+# File: G2likeBottomBar
+# Version: 1.0.0
+# Licence: GPL 2
+#
+# Description: Gnome like bottom bar with All iconify/deiconify button,
+# windows list and pager with 4 virtual pages
+#
+# Author: Thomas Funk <t.funk@web.de>
+# Created: 10/09/2012
+# Changed: <MM/DD/YYYY>
+#-----------------------------------------------------------------------
+
+# Bottombar
+# +---+----------------------------------------------+-------------+-+
+# | | | | |
+# +---+----------------------------------------------+-------------+-+
+# Desktop Pager End
+# IconMan
+
+# Desktop: 2
+# End: 1
+# ------------
+# 3
+
+
+Style G2likeBottomBar !Title, Sticky, NeverFocus, WindowListSkip, StaysOnBottom, HandleWidth 2
+
+
+#=======================================================================
+# FvwmButtons G2likeBottomBar
+#=======================================================================
+
+#-----------------------------------------------------------------------
+# find desktop icon
+#-----------------------------------------------------------------------
+PipeRead "echo InfoStoreAdd desktop_icon `fns-find-icon -n 'preferences-system-windows' -s 24 --notdesk`"
+
+
+#=======================================================================
+# Pager
+#=======================================================================
+
+#-----------------------------------------------------------------------
+# Set the desk top size in units of physical screen size
+#
+# +-----+-----+-----+-----+
+# | | | | |
+# +-----+-----+-----+-----+
+#
+#-----------------------------------------------------------------------
+DeskTopSize 4x1
+
+#-----------------------------------------------------------------------
+# FvwmPager height
+#-----------------------------------------------------------------------
+InfoStoreAdd pager_height $[infostore.bar_height]
+
+#-----------------------------------------------------------------------
+# FvwmPager width
+#-----------------------------------------------------------------------
+PipeRead "echo InfoStoreAdd pager_width `perl -e 'printf \"%.0f\",$[vp.width]/(5*$[infostore.ratio])'`"
+
+#-----------------------------------------------------------------------
+# FvwmPager columns
+#-----------------------------------------------------------------------
+PipeRead "echo InfoStoreAdd pager_columns `perl -e 'printf \"%.0f\",$[infostore.pager_width]/$[infostore.column_size]'`"
+
+#-----------------------------------------------------------------------
+# FvwmPager geometry
+#-----------------------------------------------------------------------
+InfoStoreAdd pager_geometry $[infostore.pager_width]x$[infostore.pager_height]-0-0'
+
+
+#=======================================================================
+# GlobalIconMan BottomBar
+#=======================================================================
+
+#-----------------------------------------------------------------------
+# GlobalIconMan columns
+#-----------------------------------------------------------------------
+PipeRead 'echo InfostoreAdd iconman_columns $(($[infostore.columns]-$[infostore.pager_columns]-3))'
+
+#-----------------------------------------------------------------------
+# GlobalIconMan manager geometry
+#-----------------------------------------------------------------------
+InfoStoreAdd iconman_manager_geometry 8x1+0+0
+
+#-----------------------------------------------------------------------
+# GlobalIconMan geometry
+#-----------------------------------------------------------------------
+InfoStoreAdd iconman_button_geometry 175x$[infostore.bar_height]
+
+#-----------------------------------------------------------------------
+# GlobalIconMan Manager Tips
+#-----------------------------------------------------------------------
+InfoStoreAdd tips_iman always
+
+
+#=======================================================================
+# Bar
+#=======================================================================
+
+#***********************************************************************
+# General
+#***********************************************************************
+DestroyModuleConfig G2likeBottomBar: *
+*G2likeBottomBar: Geometry $[infostore.bottombar_geometry]
+*G2likeBottomBar: Colorset 10
+*G2likeBottomBar: ActiveColorset 10
+*G2likeBottomBar: PressColorset 10
+
+*G2likeBottomBar: Rows 1
+*G2likeBottomBar: Columns $[infostore.columns]
+*G2likeBottomBar: Frame 0
+
+#***********************************************************************
+# Buttons
+#***********************************************************************
+
+#-----------------------------------------------------------------------
+# menu button
+#-----------------------------------------------------------------------
+*G2likeBottomBar: (2x1, Colorset 10, Left, ActionOnPress, \
+ Icon $[infostore.desktop_icon], \
+ ActiveIcon $[infostore.desktop_icon], \
+ Action(Mouse 1) Function ShowDesktop)
+
+
+#-----------------------------------------------------------------------
+# GlobalIconMan
+#-----------------------------------------------------------------------
+*G2likeBottomBar: ($[infostore.iconman_columns]x1, Colorset 10, Swallow "GlobalIconManBar")
+
+#-----------------------------------------------------------------------
+# FvwmPager
+#-----------------------------------------------------------------------
+*G2likeBottomBar: ($[infostore.pager_columns]x1, Colorset 10, Frame 1, Swallow "FvwmPager")
+
View
204 fvwm-nightshade/modules/G2likeTopBar
@@ -0,0 +1,204 @@
+#-----------------------------------------------------------------------
+# File: G2likeTopBar
+# Version: 1.0.0
+# Licence: GPL 2
+#
+# Description: Gnome like top bar with root menu, personal menu, systray,
+# cpu graph, clock and logout menu
+#
+# Author: Thomas Funk <t.funk@web.de>
+# Created: 10/09/2012
+# Changed: <MM/DD/YYYY>
+#-----------------------------------------------------------------------
+#
+# Topbar
+# +---+---+--------+-----------------------------------+---------+---+
+# | | | | | | | | |
+# +---+---+--------+-----------------------------------+---------+---+
+# Menu (Apps) Systray cpu Date Logout
+# Personal
+#
+# fixed columns
+# Menu: 5
+# Personal: 6
+# Apps (not at the moment)
+# cpu: 5
+# Date: 5
+# Logout: 2
+# -------------
+# 23
+
+
+Style G2likeTopBar !Title, Sticky, NeverFocus, WindowListSkip, StaysOnBottom, HandleWidth 2
+
+
+#=======================================================================
+# Calculations
+#=======================================================================
+
+#-----------------------------------------------------------------------
+# Systray icons
+#-----------------------------------------------------------------------
+# the count of icons visible in stalonetray must set related to the
+# screen resolution
+PipeRead 'if [ "$[vp.width]" -gt "1600" ]; then \
+ echo InfoStoreAdd tray_icons 12; \
+ elif [ "$[vp.width]" -gt "1400" ]; then \
+ echo InfoStoreAdd tray_icons 10; \
+ elif [ "$[vp.width]" -gt "1200" ]; then \
+ echo InfoStoreAdd tray_icons 8; \
+ else \
+ echo InfoStoreAdd tray_icons 6; \
+ fi'
+
+#-----------------------------------------------------------------------
+# needed tray columns
+#-----------------------------------------------------------------------
+PipeRead 'echo InfoStoreAdd tray_columns $(($[infostore.tray_icons]*2))'
+
+PipeRead "echo InfoStoreAdd empty_field_columns `perl -e 'printf \"%.0f\",$[infostore.columns]-$[infostore.tray_columns]-23'`"
+
+PipeRead 'echo InfostoreAdd tray_max_x $(($[infostore.tray_icons]+1))'
+
+#=======================================================================
+# FvwmButtons TopBarG2
+#=======================================================================
+
+#-----------------------------------------------------------------------
+# Bar height
+#-----------------------------------------------------------------------
+#PipeRead "echo InfoStoreAdd bar_height `perl -e 'printf \"%.0f\",$[vp.height]/(23*$[infostore.ratio])'`"
+
+#-----------------------------------------------------------------------
+# Bar geometry
+#-----------------------------------------------------------------------
+#InfoStoreAdd topbar_geometry $[vp.width]x$[infostore.bar_height]-0+0
+
+#-----------------------------------------------------------------------
+# For cpu applet
+#-----------------------------------------------------------------------
+PipeRead 'echo InfostoreAdd graph_width $(($[infostore.column_size]*5))'
+PipeRead "echo InfoStoreAdd graph_voffset `perl -e 'printf \"%.0f\",7*$[infostore.ratio]'`"
+PipeRead "echo InfoStoreAdd percentage_voffset `perl -e 'printf \"%.0f\",$[infostore.bar_height]'`"
+
+#-----------------------------------------------------------------------
+# For clock applet
+#-----------------------------------------------------------------------
+PipeRead "echo InfoStoreAdd date_fsize `perl -e 'printf \"%.0f\",$[infostore.fontsize]/4*3'`"
+PipeRead "echo InfoStoreAdd date_voffset `perl -e 'printf \"%.0f\",3*$[infostore.ratio]'`"
+
+#-----------------------------------------------------------------------
+# Find Personal icon
+#-----------------------------------------------------------------------
+PipeRead "echo InfoStoreAdd personal_icon `fns-find-icon -n 'stock_bookmark' -s 24 -c 'actions' --notdesk`"
+
+#-----------------------------------------------------------------------
+# find logout icon
+#-----------------------------------------------------------------------
+PipeRead "echo InfoStoreAdd logout_icon `fns-find-icon -n 'system-log-out' -s 24 -c 'actions' --notdesk`"
+
+
+#=======================================================================
+# Panel
+#=======================================================================
+
+#***********************************************************************
+# General
+#***********************************************************************
+DestroyModuleConfig G2likeTopBar: *
+*G2likeTopBar: Geometry $[infostore.topbar_geometry]
+*G2likeTopBar: Colorset 10
+*G2likeTopBar: ActiveColorset 10
+*G2likeTopBar: PressColorset 10
+
+*G2likeTopBar: Rows 1
+*G2likeTopBar: Columns $[infostore.columns]
+*G2likeTopBar: Frame 0
+
+#***********************************************************************
+# Buttons
+#***********************************************************************
+
+#-----------------------------------------------------------------------
+# menu button
+#-----------------------------------------------------------------------
+*G2likeTopBar: (5x1, Colorset 10, Left, Padding 5 0, Title (Side) "Menu", ActionOnPress, \
+ Icon icon_fns_24x24.png, \
+ ActiveIcon icon_fns_24x24.png, \
+ Action(Mouse 1) `Menu MenuRoot`)
+
+#-----------------------------------------------------------------------
+# personal menu button
+#-----------------------------------------------------------------------
+*G2likeTopBar: (6x1, Colorset 10, Left, Padding 5 0, Title (Side) "Personal", ActionOnPress, \
+ Icon $[infostore.personal_icon], \
+ ActiveIcon $[infostore.personal_icon], \
+ Action(Mouse 1) `Menu MenuFvwmPersonal`)
+
+#-----------------------------------------------------------------------
+# empty field
+#-----------------------------------------------------------------------
+*G2likeTopBar: ($[infostore.empty_field_columns]x1, Colorset 10)
+
+#-----------------------------------------------------------------------
+# Systray
+#-----------------------------------------------------------------------
+*G2likeTopBar: ($[infostore.tray_columns]x1, Right, Colorset 10, \
+ Swallow (UseOld, Close, Kill, Respawn) "stalonetray" \
+ `Exec exec stalonetray --geometry 1x1 --max-geometry $[infostore.tray_max_x]x1 \
+ --scrollbars horizontal --scrollbars-highlight $[fg.cs13] \
+ --grow-gravity E --icon-gravity W --kludges force_icons_size -i 24 \
+ --parent-bg true -d none --log-level info 2> $[FVWM_USERDIR]/.systray.log`)
+
+#-----------------------------------------------------------------------
+# Cpuview
+#-----------------------------------------------------------------------
+*G2likeTopBar: (5x1, Colorset 10, Swallow (UseOld, Close, Kill, Respawn) "conky_cpu" \
+ `Exec exec conky -t '${color $[fg.cs13]}${voffset -$[infostore.graph_voffset]}${cpugraph $[infostore.pager_height],$[infostore.graph_width] 71fb06 fb0634 -t}\\n${voffset -$[infostore.percentage_voffset]}$alignc${cpu cpu0}%' \
+ -c $[FNS_SYSTEMDIR]/layouts/rc-files/conkyrc_cpu -p 1`)
+
+#-----------------------------------------------------------------------
+# Clock
+#-----------------------------------------------------------------------
+*G2likeTopBar: (5x1, Colorset 10, Swallow (UseOld, Close, Kill, Respawn) "conky_clock" \
+ `Exec exec conky -t '${color $[fg.cs13]}${font $[infostore.used_font]:bold:size=$[infostore.fontsize]}${voffset 0}$alignc${time %H:%M}\\n${font $[infostore.used_font]:size=$[infostore.date_fsize]}${voffset -$[infostore.date_voffset]}$alignc${time %a %e %b}' \
+ -c $[FNS_SYSTEMDIR]/layouts/rc-files/conkyrc_clock -p 1`, \
+ Action (mouse 0) Nop)
+
+#-----------------------------------------------------------------------
+# logout button
+#-----------------------------------------------------------------------
+*G2likeTopBar: (2x1, Colorset 10, ActionOnPress, \
+ Icon $[infostore.logout_icon], \
+ ActiveIcon $[infostore.logout_icon], \
+ Action(Mouse 1) `Menu MenuFvwmQuit`)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
View
60 fvwm-nightshade/modules/GlobalIconMan_Bar
@@ -0,0 +1,60 @@
+#-----------------------------------------------------------------------
+# File: GlobalIconMan_Bar
+# Version: 1.0.0
+# Licence: GPL 2
+#
+# Description: Global IconMan swallowed in a bar
+#
+# Author: Thomas Funk <t.funk@web.de>
+# Created: 10/09/2012
+# Changed: <MM/DD/YYYY>
+#-----------------------------------------------------------------------
+
+
+#***********************************************************************
+# Global FvwmIconMan ("Taskbar")
+#***********************************************************************
+Style GlobalIconManBar !Title, NeverFocus, WindowListSkip, StaysOnBottom, HandleWidth 1
+
+DestroyModuleConfig GlobalIconManBar: *
+*GlobalIconManBar: 1 IconName GlobalIconMan
+*GlobalIconManBar: 1 Title "Global IconMan"
+*GlobalIconManBar: 1 ButtonGeometry $[infostore.iconman_button_geometry]
+*GlobalIconManBar: 1 ManagerGeometry $[infostore.iconman_manager_geometry]
+*GlobalIconManBar: 1 MaxButtonWidthByColumns 4
+*GlobalIconManBar: 1 Colorset 10
+*GlobalIconManBar: 1 IconColorset 12
+*GlobalIconManBar: 1 PlainColorset 10
+*GlobalIconManBar: 1 SelectColorset 11
+*GlobalIconManBar: 1 FocusColorset 11
+*GlobalIconManBar: 1 FocusAndSelectColorset 11
+
+*GlobalIconManBar: 1 IconButton down
+*GlobalIconManBar: 1 PlainButton up
+*GlobalIconManBar: 1 SelectButton down
+*GlobalIconManBar: 1 FocusButton up
+*GlobalIconManBar: 1 FocusAndSelectButton down
+
+*GlobalIconManBar: 1 ReliefThickness 1
+*GlobalIconManBar: 1 Resolution page
+*GlobalIconManBar: 1 UseWinList true
+
+*GlobalIconManBar: 1 DrawIcons always
+*GlobalIconManBar: 1 Sort name
+*GlobalIconManBar: 1 Format "%c"
+*GlobalIconManBar: 1 Font "xft:$[infostore.used_font]:pixelsize=$[infostore.fontsize]"
+
+*GlobalIconManBar: 1 Tips $[infostore.tips_iman]
+*GlobalIconManBar: 1 TipsFormat "%c: %t"
+*GlobalIconManBar: 1 TipsColorset 16
+*GlobalIconManBar: 1 TipsFont "xft:$[infostore.used_font]:pixelsize=$[infostore.fontsize]"
+
+*GlobalIconManBar: 1 NoIconAction "SendToModule FvwmAnimate animate"
+*GlobalIconManBar: 1 Action Mouse 1 A sendcommand "FuncSelectWindow"
+*GlobalIconManBar: 1 Action Mouse 2 A sendcommand "FuncIconify"
+*GlobalIconManBar: 1 Action Mouse 3 A sendcommand "Popup MenuWindowOpsTrimmed Mouse c -102m"
+# If you want that the focus follows by hovering, uncomment the line below
+#*GlobalIconManBar: 1 Action select sendcommand "Focus"
+
+
+
View
20 fvwm/FvwmForm-FNS-BaseSetup
@@ -1,13 +1,13 @@
#-----------------------------------------------------------------------
# File: FvwmForm-FNS-BaseSetup
-# Version: 1.1.4
+# Version: 1.2.0
# Licence: GPL 2
#
# Description: Script to configure default settings of Fvwm-Nightshade
#
# Author: Thomas Funk <t.funk@web.de>
# Created: 08/01/2012
-# Changed: 10/02/2012
+# Changed: 10/09/2012
#-----------------------------------------------------------------------
DestroyModuleConfig FvwmForm-FNS-BaseSetup: *
@@ -61,10 +61,13 @@ DestroyModuleConfig FvwmForm-FNS-BaseSetup: *
*FvwmForm-FNS-BaseSetup: Line left
*FvwmForm-FNS-BaseSetup: Text "Used Layout: "
*FvwmForm-FNS-BaseSetup: Selection SelItype single
-*FvwmForm-FNS-BaseSetup: Choice LayoutH LayoutH on "Horizontal (Panels on top/bottom)"
+*FvwmForm-FNS-BaseSetup: Choice LayoutH LayoutH on "Horizontal (Panels on top)"
*FvwmForm-FNS-BaseSetup: Line left
*FvwmForm-FNS-BaseSetup: Text " "
-*FvwmForm-FNS-BaseSetup: Choice LayoutV LayoutV off "Vertical (Panels on right/left side)"
+*FvwmForm-FNS-BaseSetup: Choice LayoutV LayoutV off "Vertical (Panels on right side)"
+*FvwmForm-FNS-BaseSetup: Line left
+*FvwmForm-FNS-BaseSetup: Text " "
+*FvwmForm-FNS-BaseSetup: Choice LayoutG2 LayoutG2 off "G2like (Panels on top and bottom)"
*FvwmForm-FNS-BaseSetup: Line
*FvwmForm-FNS-BaseSetup: Line left
@@ -97,10 +100,13 @@ DestroyModuleConfig FvwmForm-FNS-BaseSetup: *
fi
*FvwmForm-FNS-BaseSetup: Command $(Theme? FuncWriteInfoStoreToFileAndSet used_theme $(Theme) $[FVWM_USERDIR]/.settings)
*FvwmForm-FNS-BaseSetup: Command $(Splash? FuncWriteInfoStoreToFileAndSet used_banner $(Splash) $[FVWM_USERDIR]/.settings)
+*FvwmForm-FNS-BaseSetup: Command $(WpDir? FuncWriteInfoStoreToFileAndSet wallpaper_dir '$(WpDir)' $[FVWM_USERDIR]/.settings)
*FvwmForm-FNS-BaseSetup: Command $(LayoutH? FuncWriteInfoStoreToFileAndSet used_layout Horizontal $[FVWM_USERDIR]/.settings)
*FvwmForm-FNS-BaseSetup: Command $(LayoutH?!rm -f ${FVWM_USERDIR}/.layout; ln -s ${FNS_SYSTEMDIR}/layouts/Horizontal ${FVWM_USERDIR}/.layout)
*FvwmForm-FNS-BaseSetup: Command $(LayoutV? FuncWriteInfoStoreToFileAndSet used_layout Vertical $[FVWM_USERDIR]/.settings)
*FvwmForm-FNS-BaseSetup: Command $(LayoutV?!rm -f ${FVWM_USERDIR}/.layout; ln -s ${FNS_SYSTEMDIR}/layouts/Vertical ${FVWM_USERDIR}/.layout)
+*FvwmForm-FNS-BaseSetup: Command $(LayoutG2? FuncWriteInfoStoreToFileAndSet used_layout G2like $[FVWM_USERDIR]/.settings)
+*FvwmForm-FNS-BaseSetup: Command $(LayoutG2?!rm -f ${FVWM_USERDIR}/.layout; ln -s ${FNS_SYSTEMDIR}/layouts/G2like ${FVWM_USERDIR}/.layout)
*FvwmForm-FNS-BaseSetup: Command $(Font? FuncWriteInfoStoreToFileAndSet used_font $(Font) $[FVWM_USERDIR]/.settings)
*FvwmForm-FNS-BaseSetup: Command $(Fontsize? FuncWriteInfoStoreToFileAndSet fontsize $(Fontsize) $[FVWM_USERDIR]/.settings)
*FvwmForm-FNS-BaseSetup: Command $(Terminal? FuncWriteInfoStoreToFileAndSet default_terminal $(Terminal) $[FVWM_USERDIR]/.settings)
@@ -115,11 +121,15 @@ DestroyModuleConfig FvwmForm-FNS-BaseSetup: *
'*SavedBaseSetup: Theme $(Theme) ' ; /bin/echo \
'*SavedBaseSetup: LayoutH $(LayoutH?on) ' ; /bin/echo \
'*SavedBaseSetup: LayoutV $(LayoutV?on) ' ; /bin/echo \
+ '*SavedBaseSetup: LayoutG2 $(LayoutG2?on) ' ; \
+) > ${FVWM_USERDIR}/.FvwmForm-FNS-BaseSetup
+
+*FvwmForm-FNS-BaseSetup: Command !( /bin/echo \
'*SavedBaseSetup: Font $(Font) ' ; /bin/echo \
'*SavedBaseSetup: Fontsize $(Fontsize) ' ; /bin/echo \
'*SavedBaseSetup: Terminal $(Terminal) ' ; /bin/echo \
'*SavedBaseSetup: Browser $(Browser) ' ; /bin/echo \
-) > ${FVWM_USERDIR}/.FvwmForm-FNS-BaseSetup
+) >> ${FVWM_USERDIR}/.FvwmForm-FNS-BaseSetup
*FvwmForm-FNS-BaseSetup: Button restart "Reset"
*FvwmForm-FNS-BaseSetup: Button quit "Cancel"
Please sign in to comment.
Something went wrong with that request. Please try again.