Commit graph

9 commits

Author SHA1 Message Date
Johan Malm
71c8aa1361 session: resolve variables in environment file
When parsing <key>=<value> pairs to set enrivonment variables,
resolve variables in <value>.

For example, resolve $bar in

    foo=$bar

Fix issue #70
2021-10-11 22:15:44 +01:00
Johan Malm
104f635b43 session.c: change "(foo*)" to "(foo *)" 2021-09-24 21:58:46 +01:00
Johan Malm
ebb632419b *.c: add SPDX-License-Identifier 2021-09-24 21:45:48 +01:00
Johan Malm
82e47ac1f5 Remove src/common/log.c
Use wlr_log() instead
2021-07-23 21:15:55 +01:00
Johan Malm
20fd8f59a7 Remove info() and die() 2021-07-22 21:30:17 +01:00
Johan Malm
36d9496149 session.c: fix memory leak
Reported-by: Jan Beich (@jbeich)
2020-10-28 20:44:35 +00:00
Johan Malm
4d1acf645c session: improve info() message 2020-10-22 19:42:06 +01:00
Johan Malm
7e55e2cd09 Add string-helpers.c 2020-10-09 19:46:59 +01:00
Johan Malm
45b13fc9a0 Support ~/.config/labwc/{autostart,environment} 2020-10-08 20:50:20 +01:00