You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am reposting the issue below with "sway" replaced by "scroll":
I am trying to have a shared config file between i3 and scroll, containing most of my keybindings, list of startup applications, etc., which is added to my main i3/scroll config files via include directives. In my main i3 config file, I have shorthand variables $exec and $exec_always defined as follows:
set $exec exec --no-startup-id
set $exec_always exec_always --no-startup-id
Then in the shared config, I call $exec instead of exec --no-startup-id. This works perfectly in i3.
In my main scroll config file, I tried to define
set $exec exec
set $exec_always exec_always
in order to be able to use the shared config file. It does work when used in keybindings. For example,
bindsym $mod+Return $exec alacritty
works perfectly --- if I press $mod+Return, alacritty does launch. However, for launching applications directly, it does not work. For example,
$exec thunderbird
does not work. This seems to be incompatible with i3's behavior.
Description:
I have reported this previously at sway's issue tracker: Launching applications with
$exec, defined asset $exec exec, does not work swaywm/sway#7718. However, they probably are not going to fix this anytime soon. Not sure if you would be interested either, but seems like it would be a minor fix. Thanks!I am reposting the issue below with "sway" replaced by "scroll":
I am trying to have a shared config file between i3 and scroll, containing most of my keybindings, list of startup applications, etc., which is added to my main i3/scroll config files via include directives. In my main i3 config file, I have shorthand variables
$execand$exec_alwaysdefined as follows:Then in the shared config, I call
$execinstead ofexec --no-startup-id. This works perfectly in i3.In my main scroll config file, I tried to define
in order to be able to use the shared config file. It does work when used in keybindings. For example,
works perfectly --- if I press
$mod+Return,alacrittydoes launch. However, for launching applications directly, it does not work. For example,does not work. This seems to be incompatible with i3's behavior.