I3 config variables
Hi there,
How does the i3 variables works in config files ?
On my computer set $emacs_default "emacsclient -c --server-file=default"
doesn't work when I try to bindsym it with an exec :
binsym $mod+e exec $emacs_default
, it doesn't run anything.
Also I was wondering if it possible to parametrate a mode with a variable which would be used to run some applications, for instance using same keyinding with different emacs server.
Tell me if it's not clear
It's probably an escaping issue. Did you try putting your command in the script and just running the script instead?
Note that quotes are not necessary in variable assignments. If you use quoted, the content of your variable will in fact contain those quotes.
Yes it's finally what I adopted, but that force me to do a lot of search and replace when I want to reconfigure.
There's no such parameterized mode, but you could take a look at i3bang which is pretty powerful.
Wow cool preprocessing is the alternative !