mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-21 11:44:55 +00:00
add wayland specifier to session names (#162)
Create a config option to force ly to add " (Wayland)" to session names, as long as those names don't already contain the string.
This commit is contained in:
committed by
GitHub
parent
a36f70ecb2
commit
b2c1ef5c50
@@ -184,6 +184,7 @@ void config_load(const char *cfg_path)
|
||||
{"term_reset_cmd", &config.term_reset_cmd, config_handle_str},
|
||||
{"tty", &config.tty, config_handle_u8},
|
||||
{"wayland_cmd", &config.wayland_cmd, config_handle_str},
|
||||
{"wayland_specifier", &config.wayland_specifier, config_handle_bool},
|
||||
{"waylandsessions", &config.waylandsessions, config_handle_str},
|
||||
{"x_cmd", &config.x_cmd, config_handle_str},
|
||||
{"x_cmd_setup", &config.x_cmd_setup, config_handle_str},
|
||||
@@ -289,6 +290,7 @@ void config_defaults()
|
||||
config.term_reset_cmd = strdup("/usr/bin/tput reset");
|
||||
config.tty = 2;
|
||||
config.wayland_cmd = strdup(DATADIR "/wsetup.sh");
|
||||
config.wayland_specifier = false;
|
||||
config.waylandsessions = strdup("/usr/share/wayland-sessions");
|
||||
config.x_cmd = strdup("/usr/bin/X");
|
||||
config.x_cmd_setup = strdup(DATADIR "/xsetup.sh");
|
||||
|
||||
Reference in New Issue
Block a user