Skip to content

Commit

Permalink
Update default-config to check for FvwmPrompt.
Browse files Browse the repository at this point in the history
  Currently the default-config assumes FvwmConsole exists. This
  makes the default-config check for FvwmConsole and FvwmPrompt
  and add correct menu entries for the tool that is found.

  This also adds FvwmMFL to the list of modules started by default
  so FvwmCommand and FvwmPrompt work without modification in the
  default-config.
  • Loading branch information
somiaj authored and ThomasAdam committed Feb 16, 2024
1 parent 5d78fa1 commit 681820c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions default-config/config
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ AddToFunc StartFunction
+ I Test (Init) InitBackground
+ I Module FvwmButtons RightPanel
+ I Module FvwmEvent EventNewDesk
+ I Module FvwmMFL

# Function to set background when fvwm starts
DestroyFunc InitBackground
Expand Down Expand Up @@ -316,7 +317,8 @@ AddToMenu MenuFvwmRoot "Fvwm" Title
+ "&XTerm%icons/terminal.png%" Exec exec $[infostore.terminal]
Test (x $[infostore.runcmd]) + "R&un Command%icons/run_arrow.png%" Exec exec $[infostore.runcmd] $[infostore.runcmdopt]
+ "" Nop
+ "Fvwm&Console%icons/terminal.png%" Module FvwmConsole -terminal $[infostore.terminal]
Test (x $[FVWM_MODULEDIR]/FvwmConsole) + "Fvwm&Console%icons/terminal.png%" Module FvwmConsole -terminal $[infostore.terminal]
Test (x FvwmPrompt) + "&FvwmPrompt%icons/terminal.png%" Exec exec $[infostore.terminal] -e FvwmPrompt
+ "$[gt.&Wallpapers]%icons/wallpaper.png%" Popup BGMenu
+ "$[gt.M&an Pages]%icons/help.png%" Popup MenuFvwmManPages
+ "$[gt.Cop&y Config]%icons/conf.png%" FvwmScript FvwmScript-ConfirmCopyConfig
Expand Down Expand Up @@ -445,12 +447,13 @@ AddToMenu MenuFvwmManPages "Help" Title
+ "FvwmBacker" ViewManPage FvwmBacker
+ "FvwmButtons" ViewManPage FvwmButtons
+ "FvwmCommand" ViewManPage FvwmCommand
+ "FvwmConsole" ViewManPage FvwmConsole
Test (x $[FVWM_MODULEDIR]/FvwmConsole) + "FvwmConsole" ViewManPage FvwmConsole
+ "FvwmEvent" ViewManPage FvwmEvent
+ "FvwmIconMan" ViewManPage FvwmIconMan
+ "FvwmIdent" ViewManPage FvwmIdent
+ "FvwmPager" ViewManPage FvwmPager
+ "FvwmPerl" ViewManPage FvwmPerl
Test (x FvwmPrompt) + "FvwmPrompt" ViewManPage FvwmPrompt
+ "FvwmRearrange" ViewManPage FvwmRearrange
+ "FvwmScript" ViewManPage FvwmScript
+ "" Nop
Expand Down

0 comments on commit 681820c

Please sign in to comment.