X-Git-Url: https://git.draconx.ca/gitweb/fvwmconf.git/blobdiff_plain/6ea5fd2e47b06873f28160fc414f4ef90c82f2fe..7f0313967fbbf186d681cc6758b3549dd7195510:/alastor/rootmenu diff --git a/alastor/rootmenu b/alastor/rootmenu new file mode 100644 index 0000000..3980415 --- /dev/null +++ b/alastor/rootmenu @@ -0,0 +1,48 @@ +MenuStyle * !TitleWarp + +CopyMenuStyle * MenuMPD +MenuStyle MenuMPD ItemFormat "%.2|%3.5l%.5l%2.3>%-80.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 "Pentadactyl%aurora.png%" Exec exec firefox -P pentadactyl ++ I PipeRead "xlsclients -a | grep ' hexchat$' >/dev/null || echo\ + AddToMenu MenuFvwmRoot 'HexChat%hexchat.svg:16x16%' Exec exec hexchat" ++ 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%"\ + Exec exec gxquitdialog --quit "FvwmCommand Quit" + +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"