extract_workspace_names_from_bindings: handle optional flags

fixes #3527
This commit is contained in:
Albert Safin
2019-09-23 08:13:05 +00:00
parent 7db0d179a3
commit ff73ddeeee
3 changed files with 31 additions and 5 deletions

View File

@ -19,10 +19,9 @@
use i3test i3_autostart => 0;
my $first_lines = <<'EOT';
set $workspace1 workspace number 1
set $workspace0 workspace eggs
bindsym Mod4+1 $workspace1
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
EOT
# Intentionally don't add a trailing newline for the last line since this is