Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve runcmd in the default-config. #506

Merged
merged 1 commit into from
May 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions default-config/config
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@
# that FvwmConsole uses. Change this to your terminal of choice
InfoStoreAdd terminal xterm

# This is used for "Run Command" and the Meta+Space key-binding
InfoStoreAdd runcmd "dmenu_run -nb '#2b4e5e'"
# This is used for "Run Command" and the Meta+Space key-binding.
# runcmd is the binary name and runcmdopt contains additional
# command line options.
InfoStoreAdd runcmd "dmenu_run"
InfoStoreAdd runcmdopt "-nb '#2b4e5e'"

###########
# 1: Functions
Expand Down Expand Up @@ -288,7 +291,7 @@ AddToMenu MenuFvwmRoot "Fvwm" Title
+ "&Programs%icons/programs.png%" Popup MenuPrograms
+ "XDG &Menu%icons/apps.png%" Popup XDGMenu
+ "&XTerm%icons/terminal.png%" Exec exec $[infostore.terminal]
Test (x dmenu_run) + "Run command" Exec exec $[infostore.runcmd]
Test (x $[infostore.runcmd]) + "Run command" Exec exec $[infostore.runcmd] $[infostore.runcmdopt]
+ "" Nop
+ "Fvwm&Console%icons/terminal.png%" Module FvwmConsole -terminal $[infostore.terminal]
+ "&Wallpapers%icons/wallpaper.png%" Popup BGMenu
Expand Down Expand Up @@ -463,7 +466,7 @@ Silent Key F2 A C GotoDesk 0 1
Silent Key F3 A C GotoDesk 0 2
Silent Key F4 A C GotoDesk 0 3
Silent Key Super_R A A Exec exec $[infostore.terminal]
Silent Key Space A M Exec exec $[infostore.runcmd]
Test (x $[infostore.runcmd]) Silent Key Space A M Exec exec $[infostore.runcmd] $[infostore.runcmdopt]

# Window Buttons: [1 3 5 7 9 TTTTT 0 8 6 4 2]
# 1 - Open the WindowOps menu.
Expand Down