fixes problems with installing the pacage with pip

This commit is contained in:
Asger Geel Weirsøe
2020-09-05 10:59:46 +02:00
parent f848e2f746
commit 8715e681ab
11 changed files with 166 additions and 24 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -1,6 +1,5 @@
from i3ipc import Connection
import sys
from pprint import pprint
import pynput
import re
import argparse
@@ -28,13 +27,11 @@ class WorkSpacer:
re.finditer(r'set (\$[a-zA-Z]+) ((HDMI|DP|VGA)-\d)', self.config, re.MULTILINE), start=1
):
config_outputs[match.group(1)] = match.group(2)
pprint(config_outputs)
config_workspace_names = {}
for matchNum, match in enumerate(
re.finditer(r'set (\$.*) (\d.*)', self.config, re.MULTILINE)
):
config_workspace_names[match.group(1)] = match.group(2)
pprint(config_workspace_names)
for matchNum, match in enumerate(
re.finditer(r'workspace (\$.*) output (\$.*)', self.config, re.MULTILINE)
):
@@ -88,7 +85,6 @@ def main():
ws.run()
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
main()