use correct syntax for spawning terminal app

This commit is contained in:
Leonardo Eugênio 2022-12-06 20:29:38 -03:00
parent 057095197e
commit fd79ee3c05
5 changed files with 6 additions and 8 deletions

View file

@ -15,6 +15,4 @@ while test $# -gt 0;do
esac esac
done done
test $# -gt 0 && exec alacritty --class "$CLASS" "$@"
exec alacritty --class "$CLASS" -e $@ ||
exec alacritty --class "$CLASS"

View file

@ -118,7 +118,7 @@ define-command -override -hidden find_line \
define-command -override -hidden tree \ define-command -override -hidden tree \
%{ evaluate-commands %sh{ %{ evaluate-commands %sh{
file=`mktemp` file=`mktemp`
terminal --class file_picker ranger --selectfile="$kak_buffile" --choosefiles="$file" terminal --class file_picker -e ranger --selectfile="$kak_buffile" --choosefiles="$file"
for line in `cat "$file"`; do for line in `cat "$file"`; do
echo "edit '$line'" echo "edit '$line'"
done done

View file

@ -39,8 +39,8 @@ in {
name = "Neomutt"; name = "Neomutt";
genericName = "Email Client"; genericName = "Email Client";
comment = "View and Send Emails"; comment = "View and Send Emails";
exec = "terminal neomutt %U"; exec = "neomutt %U";
terminal = false; terminal = true;
type = "Application"; type = "Application";
icon = "mutt"; icon = "mutt";
categories = [ "Network" "Email" ]; categories = [ "Network" "Email" ];

View file

@ -43,7 +43,7 @@ in {
"#listview" = { "#listview" = {
# fixed-height=0; # fixed-height=0;
border = mkLiteral "2px solid 0px 0px"; border = mkLiteral "2px solid 0px 0px";
border-color = mkLiteral "@separatorcolor"; # border-color = mkLiteral "@separatorcolor";
# spacing= 0 ; # spacing= 0 ;
}; };

View file

@ -36,7 +36,7 @@ in {
network = { network = {
interval = 5; interval = 5;
tooltip = false; tooltip = false;
on-click = "terminal iwd"; on-click = "terminal -e iwd";
format-wifi = "{icon}"; format-wifi = "{icon}";
format-icons = [ "" "" "" "" "" ]; format-icons = [ "" "" "" "" "" ];
format-ethernet = ""; format-ethernet = "";