File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,24 @@ case "${1}" in
2929d | --drun)
3030 r_mode=" drun"
3131 rofi_config=" ${ROFI_LAUNCH_DRUN_STYLE:- $rofi_config } "
32+ rofi_args+=(" ${ROFI_LAUNCH_DRUN_ARGS:- } " )
3233 rofi_args+=(" --run-command" " sh -c 'uwsm app -- {cmd} || {cmd}'" )
3334 ;;
3435w | --window)
3536 r_mode=" window"
3637 rofi_config=" ${ROFI_LAUNCH_WINDOW_STYLE:- $rofi_config } "
38+ rofi_args+=(" ${ROFI_LAUNCH_WINDOW_ARGS:- } " )
3739 ;;
3840f | --filebrowser)
3941 r_mode=" filebrowser"
4042 rofi_config=" ${ROFI_LAUNCH_FILEBROWSER_STYLE:- $rofi_config } "
43+ rofi_args+=(" ${ROFI_LAUNCH_FILEBROWSER_ARGS:- } " )
4144 ;;
4245r | --run)
4346 r_mode=" run"
4447 rofi_config=" ${ROFI_LAUNCH_RUN_STYLE:- $rofi_config } "
4548 rofi_args+=(" --run-command" " sh -c 'uwsm app -- {cmd} || {cmd}'" )
49+ rofi_args+=(" ${ROFI_LAUNCH_RUN_ARGS:- } " )
4650 ;;
4751h | --help)
4852 echo -e " $( basename " ${0} " ) [action]"
@@ -55,6 +59,7 @@ h | --help)
5559* )
5660 r_mode=" drun"
5761 ROFI_LAUNCH_DRUN_STYLE=" ${ROFI_LAUNCH_DRUN_STYLE:- $ROFI_LAUNCH_STYLE } "
62+ rofi_args+=(" ${ROFI_LAUNCH_DRUN_ARGS:- } " )
5863 rofi_config=" ${ROFI_LAUNCH_DRUN_STYLE:- $rofi_config } "
5964 ;;
6065esac
You can’t perform that action at this time.
0 commit comments