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
done
test $# -gt 0 &&
exec alacritty --class "$CLASS" -e $@ ||
exec alacritty --class "$CLASS"
exec alacritty --class "$CLASS" "$@"

View file

@ -118,7 +118,7 @@ define-command -override -hidden find_line \
define-command -override -hidden tree \
%{ evaluate-commands %sh{
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
echo "edit '$line'"
done

View file

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

View file

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

View file

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