From 39c8763b60a28a0d222d0b020b165b17211883fd Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Wed, 14 May 2008 15:29:27 -0400 Subject: [PATCH] Add configuration for finial. --- finial/config | 25 +++++++++++++++++++++++++ finial/rootmenu | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 finial/config create mode 100644 finial/rootmenu diff --git a/finial/config b/finial/config new file mode 100644 index 0000000..b1b4221 --- /dev/null +++ b/finial/config @@ -0,0 +1,25 @@ +# Import common features +Read common/bindings +Read common/nickstheme + +# Bigger fonts must be set before including rootmenu +Style * Font 'xft:M+1P+IPAG:Bold:size=9:minspace=true:rgba=rgb:antialias=true:encoding=iso10646-1' +Style * IconFont 'xft:M+1P+IPAG:Bold:size=9:minspace=true:rgba=rgb:antialias=true:encoding=iso10646-1' +MenuStyle * Font 'xft:M+1P+IPAG:size=9:minspace=true:rgba=rgb:antialias=true:encoding=iso10646-1' +MenuStyle * TitleFont 'xft:M+1P+IPAG:Bold:size=9:minspace=true:rgba=rgb:antialias=true:encoding=iso10646-1' + +Read finial/rootmenu +Read common/wallpaper +Read common/panels +Read common/modifier + +# Bindings for the modifier key +Mouse 1 WFT 4 Mod_M1Func +Mouse 2 WFT 4 Mod_M2Func +Mouse 3 WFT 4 Mod_M3Func +Mouse 1 WFT 42 Mod_M1Func +Mouse 2 WFT 42 Mod_M2Func +Mouse 3 WFT 42 Mod_M3Func + +# Struts for the pager. +EwmhBaseStruts 0 0 0 42 diff --git a/finial/rootmenu b/finial/rootmenu new file mode 100644 index 0000000..10e49d5 --- /dev/null +++ b/finial/rootmenu @@ -0,0 +1,48 @@ +MenuStyle * !TitleWarp + +CopyMenuStyle * MenuMPD +MenuStyle MenuMPD ItemFormat "%.2|%3.5l%.5l%2.3>%-65.5r%.5i%1|" + +DestroyMenu MenuFvwmRoot +AddToMenu MenuFvwmRoot ++ DynamicPopupAction MakeMenuFvwmRoot + +DestroyFunc MakeMenuFvwmRoot +AddToFunc MakeMenuFvwmRoot ++ I DestroyMenu recreate MenuFvwmRoot ++ I PipeRead 'echo AddToMenu MenuFvwmRoot "$USER@`hostname`" Title' ++ I AddToMenu MenuFvwmRoot "Terminal%terminal.svg:16x16%" Exec exec $[TERMINAL] ++ I AddToMenu MenuFvwmRoot "Firefox%firefox.png%" Exec exec firefox ++ I PipeRead "xlsclients -a | grep ' gmpc$' >/dev/null || echo\ + AddToMenu MenuFvwmRoot 'GMPC%gmpc.png%' Exec exec gmpc" ++ I AddToMenu MenuFvwmRoot "" Nop ++ I AddToMenu MenuFvwmRoot "Network%network.svg:16x16%" Popup MenuNetwork ++ I AddToMenu MenuFvwmRoot "Games%games.svg:16x16%" Popup MenuGames ++ I AddToMenu MenuFvwmRoot "" Nop ++ I AddToMenu MenuFvwmRoot "Wallpaper%wallpaper.svg:16x16%" Popup MenuWallpaper ++ I AddToMenu MenuFvwmRoot "Music%music.svg:16x16%" Popup MenuMPD ++ I AddToMenu MenuFvwmRoot "" Nop ++ I AddToMenu MenuFvwmRoot "Restart FVWM%reload.svg:16x16%" Restart ++ I AddToMenu MenuFvwmRoot "Exit FVWM%logout.svg:16x16%"\ + Module FvwmForm FvwmForm-QuitVerify + +DestroyMenu MenuNetwork +AddToMenu MenuNetwork ++ "Pan Newsreader%pan.png%" Exec exec env LC_ALL=en_CA.UTF-8 pan + +DestroyMenu MenuGames +AddToMenu MenuGames ++ "Gens%sonic.png%" Exec exec gens + +DestroyMenu MenuMPD +AddToMenu MenuMPD ++ DynamicPopUpAction MakeMenuMPD ++ DynamicPopDownAction KillMenuMPD +ChangeMenuStyle MenuMPD MenuMPD + +DestroyFunc MakeMenuMPD +AddToFunc MakeMenuMPD ++ I DestroyMenu recreate MenuMPD ++ I PipeRead "exec $[FVWM_USERDIR]/scripts/mpdmenu.pl --menu MenuMPD" + +Mouse 3 R A Menu MenuFvwmRoot -- 2.43.0