mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Changed command handler to perform var subs on all cmd args
Fixed workspace_next_name to use the first workspace name it can find in the config
Minor fixes
Changed command handler to perform var subs on all portions of a command
Revert "Changed command handler to perform var subs on all portions of a command"
This reverts commit fcfcffa1ea.
Var sub fixes
Minor fixes
More minor fixes
This commit is contained in:
parent
803a4739b6
commit
a5b02791d4
3 changed files with 10 additions and 4 deletions
|
|
@ -7,7 +7,6 @@
|
|||
#include "log.h"
|
||||
#include "handlers.h"
|
||||
|
||||
struct sway_config *config;
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
init_log(L_DEBUG); // TODO: Control this with command line arg
|
||||
|
|
@ -42,8 +41,8 @@ int main(int argc, char **argv) {
|
|||
if (!wlc_init(&interface, argc, argv)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
setenv("DISPLAY", ":1", 1);
|
||||
|
||||
if (!load_config()) {
|
||||
sway_abort("Unable to load config");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue