Bug 484918 - Allow passing arguments to custom shortcuts
Summary: Allow passing arguments to custom shortcuts
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (other bugs)
Version First Reported In: 6.0.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-02 11:00 UTC by gudvinr+kde
Modified: 2024-06-04 11:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gudvinr+kde 2024-04-02 11:00:06 UTC
SUMMARY

Currently, if you add script as custom command, you can't run it with additional args.
Which means you must create another scripts that just run your script with different arguments.

It can be made even more convenient if you can group actions for the same script under one entry in custom shortcuts list.

STEPS TO REPRODUCE
1. Create custom command

OBSERVED RESULT
You can't pass arguments since whole string is considered a singular path to script

EXPECTED RESULT
Accept command with arguments

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.6.23-1-lts (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
There is bug 473163 for adding names to custom commands.
Comment 1 David Edmundson 2024-06-04 11:56:47 UTC
This works as expected in 6.1 beta.