Changed the default wofi size to be 50%x40% instead of 1000x400

This commit is contained in:
Scoopta
2020-03-03 00:10:12 -08:00
parent 3e3846f9b4
commit 36048841bb
3 changed files with 6 additions and 6 deletions

View File

@@ -1316,8 +1316,8 @@ static gboolean do_percent_size(gpointer data) {
void wofi_init(struct map* _config) {
config = _config;
char* width_str = config_get(config, "width", "1000");
char* height_str = config_get(config, "height", "400");
char* width_str = config_get(config, "width", "50%");
char* height_str = config_get(config, "height", "40%");
width = strtol(width_str, NULL, 10);
height = strtol(height_str, NULL, 10);
x = map_get(config, "x");