├── src
├── icon.png
├── List Filter Images
│ ├── 09dc35b83565a8419424e5421b27f09ed798dc2b.png
│ ├── 33d2c0d0a19578ca7815b231d5d35c05de0a3649.png
│ ├── 3710a196aed79f46528e304a2ca475783bbcf9bc.png
│ ├── 44752a501e5bca3e68636b10f072885dfb17ca8c.png
│ ├── 57fe5100ef9410f3441a2ca1bb46ab39f0435eda.png
│ ├── 5b9f7e45b02204566689a71266b82c2ff90ebb4c.png
│ ├── 63eac322363273d4675ef41369f1ed6b6ccbc3f4.png
│ ├── 7cdf13b1d61e92bcb704cfff4ab90d18a385b88d.png
│ ├── 8f62eda9639a39abec408417434adad0d44aeb51.png
│ ├── 9af31ca312e8a8f8df4550895eb0bd00ab8833d6.png
│ ├── a490c551cb24b729c13a619b4c44013ea8612149.png
│ ├── a50edbd9f159227363baf1f60ffd7f429e082ca0.png
│ ├── c0a0f02131de518e9bb38cff9135f433275acbb2.png
│ ├── e23b79ac4deb3d200b49098d267238860aabde94.png
│ └── e5389b88a75180e20086e57918547322b29198a7.png
├── help.md
├── save_dimensions.py
├── get_dimensions.py
├── resize.py
├── WindowManager.py
├── Alfred3.py
└── info.plist
├── README.assets
└── win_manager.png
├── Window Manager.alfredworkflow
├── README.md
├── .gitignore
└── LICENSE
/src/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/icon.png
--------------------------------------------------------------------------------
/README.assets/win_manager.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/README.assets/win_manager.png
--------------------------------------------------------------------------------
/Window Manager.alfredworkflow:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/Window Manager.alfredworkflow
--------------------------------------------------------------------------------
/src/List Filter Images/09dc35b83565a8419424e5421b27f09ed798dc2b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/09dc35b83565a8419424e5421b27f09ed798dc2b.png
--------------------------------------------------------------------------------
/src/List Filter Images/33d2c0d0a19578ca7815b231d5d35c05de0a3649.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/33d2c0d0a19578ca7815b231d5d35c05de0a3649.png
--------------------------------------------------------------------------------
/src/List Filter Images/3710a196aed79f46528e304a2ca475783bbcf9bc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/3710a196aed79f46528e304a2ca475783bbcf9bc.png
--------------------------------------------------------------------------------
/src/List Filter Images/44752a501e5bca3e68636b10f072885dfb17ca8c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/44752a501e5bca3e68636b10f072885dfb17ca8c.png
--------------------------------------------------------------------------------
/src/List Filter Images/57fe5100ef9410f3441a2ca1bb46ab39f0435eda.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/57fe5100ef9410f3441a2ca1bb46ab39f0435eda.png
--------------------------------------------------------------------------------
/src/List Filter Images/5b9f7e45b02204566689a71266b82c2ff90ebb4c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/5b9f7e45b02204566689a71266b82c2ff90ebb4c.png
--------------------------------------------------------------------------------
/src/List Filter Images/63eac322363273d4675ef41369f1ed6b6ccbc3f4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/63eac322363273d4675ef41369f1ed6b6ccbc3f4.png
--------------------------------------------------------------------------------
/src/List Filter Images/7cdf13b1d61e92bcb704cfff4ab90d18a385b88d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/7cdf13b1d61e92bcb704cfff4ab90d18a385b88d.png
--------------------------------------------------------------------------------
/src/List Filter Images/8f62eda9639a39abec408417434adad0d44aeb51.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/8f62eda9639a39abec408417434adad0d44aeb51.png
--------------------------------------------------------------------------------
/src/List Filter Images/9af31ca312e8a8f8df4550895eb0bd00ab8833d6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/9af31ca312e8a8f8df4550895eb0bd00ab8833d6.png
--------------------------------------------------------------------------------
/src/List Filter Images/a490c551cb24b729c13a619b4c44013ea8612149.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/a490c551cb24b729c13a619b4c44013ea8612149.png
--------------------------------------------------------------------------------
/src/List Filter Images/a50edbd9f159227363baf1f60ffd7f429e082ca0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/a50edbd9f159227363baf1f60ffd7f429e082ca0.png
--------------------------------------------------------------------------------
/src/List Filter Images/c0a0f02131de518e9bb38cff9135f433275acbb2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/c0a0f02131de518e9bb38cff9135f433275acbb2.png
--------------------------------------------------------------------------------
/src/List Filter Images/e23b79ac4deb3d200b49098d267238860aabde94.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/e23b79ac4deb3d200b49098d267238860aabde94.png
--------------------------------------------------------------------------------
/src/List Filter Images/e5389b88a75180e20086e57918547322b29198a7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Acidham/alfred-window-manager/HEAD/src/List Filter Images/e5389b88a75180e20086e57918547322b29198a7.png
--------------------------------------------------------------------------------
/src/help.md:
--------------------------------------------------------------------------------
1 | # Shortcut Quick Help
2 |
3 | * ⌃⌥ ↓ : Move to next screen
4 |
5 | * ⌃⌥ ↑ : Move to previous screen
6 |
7 | * ⌃⌥ [ : Window to the left screen
8 |
9 | * ⌃⌥ ] : Window to the right screen
10 |
11 | * ⌃⌥ H : Center Two Thirds
12 |
13 | * ⌃⌥ M : Maximize
14 |
15 | * ⌃⌥ 1 : Left Third
16 |
17 | * ⌃⌥ 2 : Center Third
18 |
19 | * ⌃⌥ 3 : Right Third
20 |
21 | * ⌃⌥ B : Bottom Half
22 |
23 | * ⌃⌥ T : Top Half
24 |
25 | * ⌃⌥ C : Center Window
26 |
27 | * ⌃⌥ \ : Reset Window
28 |
29 | * ⌃⌥ W : Scale up window
30 |
31 | * ⌃⌥ S : Scale down window
32 |
33 | * ⌃⌥ D : Scale up right side of the window
34 |
35 | * ⌃⌥ A : Scale up left side of the window
36 |
37 | * ⌥ A : Move window left
38 |
39 | * ⌥ D : Move window right
40 |
41 | * ⌥ W : Move window up
42 |
43 | * ⌥ S : Move window down
44 |
45 | * ⌃⌥ / : None
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Alfred Window Manager
2 | Alfred Workflow to move/resize/position windows.
3 |
4 | **For actions like Left/Right Position, Maximize, and Center Two Thirds, the workflow saves the Window state so that you can restore it at any time.**
5 |
6 |
7 |
8 | ## Requirements
9 |
10 | * [Automation Tasks](https://www.alfredapp.com/help/workflows/automations/automation-task/)
11 |
12 | ## Usage
13 |
14 | * Use keyword `wm` to invoke Window Manager
15 |
16 | ### Keyboard shortcuts are suggestions:
17 |
18 | * ⇧↓ : Move to next screen
19 | * ⇧↑ : Move to previous screen
20 | * ^⌥M : Maximize
21 | * ^⌥C : Center Window
22 | * ^⌥← : Window to the left screen
23 | * ^⌥→ : Window to the right screen
24 | * ⌃⌥R : Reset Window
25 | * ⇧⌥W : Scale up window
26 | * ⇧⌥S : Scale down window
27 | * ⇧⌥D : Scale up right side of the window
28 | * ⇧⌥A : Scale up left side of the window
29 | * ⌥ A : Move window left
30 | * ⌥ D : Move window right
31 | * ⌥ W : Move window up
32 | * ⌥ S : Move window down
--------------------------------------------------------------------------------
/src/save_dimensions.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/python3
2 |
3 | import json
4 | import os
5 |
6 | from Alfred3 import Tools
7 | from WindowManager import Dimensions
8 |
9 | # Following actions are will ignore save_dimension command
10 | IGNORE_PREV_ACTIONS = (
11 | 'left',
12 | 'right',
13 | 'maximize',
14 | 'center_two_thirds',
15 | 'left_third',
16 | 'center_third',
17 | 'right_third'
18 | )
19 |
20 | app_id = Tools.getEnv('app_id')
21 | direction = Tools.getEnv('direction')
22 | window_dimensions = json.loads(Tools.getArgv(1))
23 | cache_file = os.path.join(Tools.getCacheDir(), "dimensions.json")
24 | Tools.log(f"Cache file: {cache_file}")
25 |
26 | # Estbalish communication to dimension cache file
27 | Dim = Dimensions(cache_file)
28 | # get the dimension from prev action
29 | pre_dim = Dim.get_dimension(app_id)
30 | prev_action = pre_dim.get('prev_action', None)
31 |
32 | if prev_action not in IGNORE_PREV_ACTIONS: # Save only when previous action is not part of ignored action
33 | Dim.save_dimension(app_id, window_dimensions, prev_action=direction)
34 |
--------------------------------------------------------------------------------
/src/get_dimensions.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/python3
2 |
3 | import json
4 | import os
5 |
6 | from Alfred3 import AlfJson, Tools
7 | from WindowManager import Dimensions
8 |
9 | cache_dir = Tools.getCacheDir() # get cache director
10 | cache_file = os.path.join(cache_dir, "dimensions.json") # get dimesion file
11 |
12 |
13 | app_id = Tools.getEnv('app_id') # get app id from previous wf step
14 | post_action = Tools.getArgv(1) # post action e.g 'delete' from prev step
15 | reset_prev_action = True if post_action == 'delete' else False
16 |
17 | # Get default settings from Workflow configuration
18 | default_x = Tools.getEnv('default_x')
19 | default_width = Tools.getEnv('default_width')
20 | default_y = Tools.getEnv('default_y')
21 | default_height = Tools.getEnv('default_height')
22 |
23 | # Establish communication to dimension cache file
24 | Dim = Dimensions(cache_file)
25 | # read dimensionsn and delte the entry when post action == delete
26 | vars = Dim.get_dimension(app_id, reset=reset_prev_action)
27 |
28 | # fallback dimensions
29 | if vars == None or vars == {}:
30 | fallback_dim = {
31 | "x": default_x,
32 | "y": default_height,
33 | "width": default_width,
34 | "height": default_height,
35 | "prev_action": ""
36 | }
37 | vars = fallback_dim
38 | Tools.log(json.dumps(vars))
39 |
40 | aj = AlfJson()
41 | aj.add_variables(vars)
42 | aj.write_json()
43 |
--------------------------------------------------------------------------------
/src/resize.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/python3
2 |
3 | from Alfred3 import AlfJson, Tools
4 | from WindowManager import Window
5 |
6 | dimensions = Tools.getArgv(1)
7 | direction = Tools.getEnv("direction")
8 | resize_factor = float(Tools.getEnv("resize_factor", 0.1))
9 | move_steps = int(Tools.getEnv("move_steps", 80))
10 |
11 | # Get window position from for frontmost app
12 | Window = Window(dimensions)
13 | x = Window.x_pos()
14 | y = Window.y_pos()
15 | width = Window.width()
16 | height = Window.height()
17 |
18 | # Size window up and down
19 | if direction == "up_size" or direction == "down_size":
20 | resize_factor = resize_factor * -1 if direction == "down_size" else resize_factor
21 | width = width+width*resize_factor
22 | height = height+height*resize_factor
23 | # Window bigger to the right
24 | if direction == "right_size":
25 | width = width+width*resize_factor
26 | # Window smaller to the left
27 | if direction == "left_size":
28 | width = width - width*resize_factor
29 | # Move Window left
30 | if direction == "left":
31 | x = x-move_steps
32 | # Move Window right
33 | if direction == "right":
34 | x = x+move_steps
35 | # Move Window up
36 | if direction == "up":
37 | y = y-move_steps
38 | # Move window down
39 | if direction == "down":
40 | y = y+move_steps
41 |
42 | vars = {
43 | "x": x,
44 | "y": y,
45 | "width": width,
46 | "height": height
47 | }
48 |
49 |
50 | aj = AlfJson()
51 | aj.add_variables(vars)
52 | aj.write_json()
53 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Byte-compiled / optimized / DLL files
2 | __pycache__/
3 | *.py[cod]
4 | *$py.class
5 |
6 | # C extensions
7 | *.so
8 |
9 | # Distribution / packaging
10 | .Python
11 | build/
12 | develop-eggs/
13 | dist/
14 | downloads/
15 | eggs/
16 | .eggs/
17 | lib/
18 | lib64/
19 | parts/
20 | sdist/
21 | var/
22 | wheels/
23 | pip-wheel-metadata/
24 | share/python-wheels/
25 | *.egg-info/
26 | .installed.cfg
27 | *.egg
28 | MANIFEST
29 |
30 | # PyInstaller
31 | # Usually these files are written by a python script from a template
32 | # before PyInstaller builds the exe, so as to inject date/other infos into it.
33 | *.manifest
34 | *.spec
35 |
36 | # Installer logs
37 | pip-log.txt
38 | pip-delete-this-directory.txt
39 |
40 | # Unit test / coverage reports
41 | htmlcov/
42 | .tox/
43 | .nox/
44 | .coverage
45 | .coverage.*
46 | .cache
47 | nosetests.xml
48 | coverage.xml
49 | *.cover
50 | *.py,cover
51 | .hypothesis/
52 | .pytest_cache/
53 |
54 | # Translations
55 | *.mo
56 | *.pot
57 |
58 | # Django stuff:
59 | *.log
60 | local_settings.py
61 | db.sqlite3
62 | db.sqlite3-journal
63 |
64 | # Flask stuff:
65 | instance/
66 | .webassets-cache
67 |
68 | # Scrapy stuff:
69 | .scrapy
70 |
71 | # Sphinx documentation
72 | docs/_build/
73 |
74 | # PyBuilder
75 | target/
76 |
77 | # Jupyter Notebook
78 | .ipynb_checkpoints
79 |
80 | # IPython
81 | profile_default/
82 | ipython_config.py
83 |
84 | # pyenv
85 | .python-version
86 |
87 | # pipenv
88 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89 | # However, in case of collaboration, if having platform-specific dependencies or dependencies
90 | # having no cross-platform support, pipenv may install dependencies that don't work, or not
91 | # install all needed dependencies.
92 | #Pipfile.lock
93 |
94 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow
95 | __pypackages__/
96 |
97 | # Celery stuff
98 | celerybeat-schedule
99 | celerybeat.pid
100 |
101 | # SageMath parsed files
102 | *.sage.py
103 |
104 | # Environments
105 | .env
106 | .venv
107 | env/
108 | venv/
109 | ENV/
110 | env.bak/
111 | venv.bak/
112 |
113 | # Spyder project settings
114 | .spyderproject
115 | .spyproject
116 |
117 | # Rope project settings
118 | .ropeproject
119 |
120 | # mkdocs documentation
121 | /site
122 |
123 | # mypy
124 | .mypy_cache/
125 | .dmypy.json
126 | dmypy.json
127 |
128 | # Pyre type checker
129 | .pyre/
130 |
--------------------------------------------------------------------------------
/src/WindowManager.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/python3
2 |
3 | import json
4 | import os
5 |
6 |
7 | class Dimensions(object):
8 |
9 | def __init__(self, file: str) -> None:
10 | """
11 | Handles dimension.json file storage
12 |
13 | Args:
14 |
15 | file (str): path to .json
16 |
17 | """
18 | self.file = self._check_file(file)
19 |
20 | def _check_file(self, file: str) -> str:
21 | """
22 | check if file exists, if not existent create an empty dimension.json
23 |
24 | Args:
25 |
26 | file (str): path of the fle
27 |
28 |
29 | Returns:
30 |
31 | str: path to the file
32 |
33 | """
34 |
35 | if not os.path.exists(file):
36 | with open(file, "w") as f:
37 | json.dump({}, f, indent=4)
38 | return file
39 |
40 | def save_dimension(self, app_id: str, dim: dict, prev_action: str = '') -> None:
41 | """
42 | Add dimension app setting
43 |
44 | Args:
45 |
46 | app_id (str): Bundle ID of the app
47 | dim (dict): Dimension Dictonary
48 |
49 | """
50 | jsn = dict()
51 | if os.path.exists(self.file):
52 | with open(self.file, "r") as f:
53 | jsn: dict = json.load(f)
54 | jsn.pop(app_id, False)
55 | dim.update({'prev_action': prev_action})
56 | jsn[app_id] = dim
57 | self._save_json_file(jsn)
58 |
59 | def get_dimension(self, app_id: str, reset: bool = False) -> dict:
60 | """
61 | Get dimension object from app id
62 |
63 | Args:
64 |
65 | app_id (str): App ID
66 |
67 |
68 | reset (bool, optional): reset previous actions. Defaults to False.
69 |
70 |
71 | Returns:
72 |
73 | dict: window dimension dictionary
74 |
75 | """
76 | jsn = self._read_json_file()
77 | dimension = jsn.get(app_id, {})
78 | if reset:
79 | # reset prev_action by setting empty string to prev_action
80 | self.save_dimension(app_id, dimension, prev_action='')
81 | return dimension
82 |
83 | def delete_dimension(self, app_id: str) -> None:
84 | """
85 | Delete a dimension for an app id
86 |
87 | Args:
88 |
89 | app_id (str): App Bundle ID
90 |
91 | """
92 | jsn = self._read_json_file()
93 | jsn.pop(app_id, False)
94 | self._save_json_file(jsn)
95 |
96 | def _read_json_file(self) -> dict:
97 | """
98 | Read json file
99 |
100 | Returns:
101 |
102 | dict: json of the file
103 |
104 | """
105 | jsn = dict()
106 | if os.path.exists(self.file):
107 | with open(self.file, "r") as f:
108 | jsn: dict = json.load(f)
109 | return jsn
110 |
111 | def _save_json_file(self, jsn: dict) -> None:
112 | """
113 | Save the json to a file
114 |
115 | Args:
116 |
117 | jsn (dict): json with dimensions
118 |
119 | """
120 | with open(self.file, "w") as f:
121 | f.seek(0)
122 | json.dump(jsn, f, indent=4)
123 | f.truncate()
124 |
125 |
126 | class Window(object):
127 |
128 | def __init__(self, dim: str()) -> None:
129 | self.dimension = json.loads(dim)
130 |
131 | def x_pos(self) -> int:
132 | """
133 | Get x position of the window from a str represenation of a dimension
134 |
135 | Returns:
136 |
137 | int: x postition
138 |
139 | """
140 | return int(self.dimension.get('x', None))
141 |
142 | def y_pos(self) -> int:
143 | """
144 | Get y position of the window from a str represenation of a dimension
145 |
146 | Returns:
147 |
148 | int: y postition
149 |
150 | """
151 | return int(self.dimension.get('y', None))
152 |
153 | def width(self) -> int:
154 | """
155 | Get width of the window from a str represenation of a dimension
156 |
157 | Returns:
158 |
159 | int: window width
160 |
161 | """
162 | return int(self.dimension.get('width', None))
163 |
164 | def height(self) -> int:
165 | """
166 | Get height of the window from a str represenation of a dimension
167 |
168 | Returns:
169 |
170 | int: window height
171 |
172 | """
173 | return int(self.dimension.get('height', None))
174 |
175 | def get_dimensions(self) -> dict:
176 | """
177 | Get dimension from dimension provided as string
178 |
179 | Returns:
180 |
181 | int: dimension
182 |
183 | """
184 | return self.dimension
185 |
186 |
187 | class Screen(object):
188 |
189 | def __init__(self) -> None:
190 | self.screen_res = self._sys_profiler()
191 |
192 | def screen_width(self) -> int:
193 | """
194 | Get screen width
195 |
196 | Returns:
197 |
198 | int: screen width
199 |
200 | """
201 | return self.screen_res[0]
202 |
203 | def screen_height(self) -> int:
204 | """
205 | Get Screen height
206 |
207 | Returns:
208 |
209 | int: screen height
210 |
211 | """
212 | return self.screen_res[1]
213 |
214 | def _sys_profiler(self) -> tuple:
215 | """
216 | Get tuble with widht and height of the screen resolution
217 |
218 | Returns:
219 |
220 | tuple: width and heigt
221 |
222 | """
223 | sysinfo: dict = json.loads(os.popen("system_profiler SPDisplaysDataType -json").read())
224 | screen_dimensions = sysinfo.get('SPDisplaysDataType')[0].get('spdisplays_ndrvs')[0].get('_spdisplays_resolution')
225 | res, freq = screen_dimensions.split(" @ ")
226 | screen_width, screen_height = res.split(" x ")
227 | return (int(screen_width), int(screen_height))
228 |
--------------------------------------------------------------------------------
/src/Alfred3.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/python3
2 | # -*- coding: utf-8 -*-
3 | import json
4 | import os
5 | import sys
6 | import time
7 | from plistlib import dump, load
8 |
9 | """
10 | Alfred Script Filter generator class
11 | Version: 4.0
12 | Python 3 required!
13 | """
14 |
15 |
16 | class Items(object):
17 | """
18 | Alfred WF Items object to generate Script Filter object
19 |
20 | Returns:
21 |
22 | object: WF object
23 | """
24 |
25 | def __init__(self):
26 | self.item = {}
27 | self.items = []
28 | self.mods = {}
29 |
30 | def getItemsLengths(self) -> int:
31 | return len(self.items)
32 |
33 | def setKv(self, key: str, value: str) -> None:
34 | """
35 | Set a key value pair to item
36 |
37 | Args:
38 |
39 | key (str): Name of the Key
40 | value (str): Value of the Key
41 | """
42 | self.item.update({key: value})
43 |
44 | def addItem(self) -> None:
45 | """
46 | Add/commits an item to the Script Filter Object
47 |
48 | Note: addItem needs to be called after setItem, addMod, setIcon
49 | """
50 | self.addModsToItem()
51 | self.items.append(self.item)
52 | self.item = {}
53 | self.mods = {}
54 |
55 | def setItem(self, **kwargs: str) -> None:
56 | """
57 | Add multiple key values to define an item
58 |
59 | Note: addItem needs to be called to submit a Script Filter item
60 | to the Script Filter object
61 |
62 | Args:
63 |
64 | kwargs (kwargs): title,subtitle,arg,valid,quicklookurl,uid,automcomplete,type
65 | """
66 | for key, value in kwargs.items():
67 | self.setKv(key, value)
68 |
69 | def getItem(self, d_type: str = "") -> str:
70 | """
71 | Get current item definition for validation
72 |
73 | Args:
74 |
75 | d_type (str, optional): defines returned object format "JSON" if it needs to be readable . Defaults to "".
76 |
77 | Returns:
78 |
79 | str: JSON represenation of an item
80 | """
81 | if d_type == "":
82 | return self.item
83 | else:
84 | return json.dumps(self.item, default=str, indent=4)
85 |
86 | def getItems(self, response_type: str = "json") -> json:
87 | """
88 | get the final items data for which represents the script filter output
89 |
90 | Args:
91 |
92 | response_type (str, optional): "dict"|"json". Defaults to "json".
93 |
94 | Raises:
95 |
96 | ValueError: If key is not "dict"|"json"
97 |
98 | Returns:
99 |
100 | str: returns the item representing script filter output
101 | """
102 | valid_keys = {"json", "dict"}
103 | if response_type not in valid_keys:
104 | raise ValueError(f"Type must be in: {valid_keys}")
105 | the_items = dict()
106 | the_items.update({"items": self.items})
107 | if response_type == "dict":
108 | return the_items
109 | elif response_type == "json":
110 | return json.dumps(the_items, default=str, indent=4)
111 |
112 | def setIcon(self, m_path: str, m_type: str = "") -> None:
113 | """
114 | Set the icon of an item.
115 | Needs to be called before addItem!
116 |
117 | Args:
118 |
119 | m_path (str): Path to the icon
120 | m_type (str, optional): "icon"|"fileicon". Defaults to "".
121 | """
122 | self.setKv("icon", self.__define_icon(m_path, m_type))
123 |
124 | def __define_icon(self, path: str, m_type: str = "") -> dict:
125 | """
126 | Private method to create icon set
127 |
128 | Args:
129 |
130 | path (str): Path to the icon file
131 |
132 | m_type (str, optional): "image"|"fileicon". Defaults to "".
133 |
134 | Returns:
135 |
136 | dict: icon and type
137 | """
138 | icon = {}
139 | if m_type != "":
140 | icon.update({"type": m_type})
141 | icon.update({"path": path})
142 | return icon
143 |
144 | def addMod(
145 | self,
146 | key: str,
147 | arg: str,
148 | subtitle: str,
149 | valid: bool = True,
150 | icon_path: str = "",
151 | icon_type: str = "",
152 | ) -> None:
153 | """
154 | Add a mod to an item
155 |
156 | Args:
157 |
158 | key (str): "alt"|"cmd"|"shift"|"fn"|"ctrl
159 | arg (str): Value of Mod arg
160 | subtitle (str): Subtitle
161 | valid (bool, optional): Arg valid or not. Defaults to True.
162 | icon_path (str, optional): Path to the icon relative to WF dir. Defaults to "".
163 | icon_type (str, optional): "image"|"fileicon". Defaults to "".
164 |
165 | Raises:
166 |
167 | ValueError: if key is not in list
168 | """
169 | valid_keys = {"alt", "cmd", "shift", "ctrl", "fn"}
170 | if key not in valid_keys:
171 | raise ValueError(f"Key must be in: {valid_keys}")
172 | mod = {}
173 | mod.update({"arg": arg})
174 | mod.update({"subtitle": subtitle})
175 | mod.update({"valid": valid})
176 | if icon_path != "":
177 | the_icon = self.__define_icon(icon_path, icon_type)
178 | mod.update({"icon": the_icon})
179 | self.mods.update({key: mod})
180 |
181 | def addModsToItem(self) -> None:
182 | """
183 | Adds mod to an item
184 | """
185 | if bool(self.mods):
186 | self.setKv("mods", self.mods)
187 | self.mods = dict()
188 |
189 | def updateItem(self, id: int, key: str, value: str) -> None:
190 | """
191 | Update an Alfred script filter item key with a new value
192 |
193 | Args:
194 |
195 | id (int): list indes
196 | key (str): key which needs to be updated
197 | value (str): new value
198 | """
199 | dict_item = self.items[id]
200 | kv = dict_item[key]
201 | dict_item[key] = kv + value
202 | self.items[id] = dict_item
203 |
204 | def write(self, response_type: str = "json") -> None:
205 | """
206 | Generate Script Filter Output and write back to stdout
207 |
208 | Args:
209 |
210 | response_type (str, optional): json or dict as output format. Defaults to 'json'.
211 | """
212 | output = self.getItems(response_type=response_type)
213 | sys.stdout.write(output)
214 |
215 |
216 | class Tools(object):
217 | """
218 | Alfred Tools, helpful methos when dealing with Scripts in Alfred
219 |
220 | Args:
221 |
222 | object (obj): Object class
223 | """
224 | @staticmethod
225 | def logPyVersion() -> None:
226 | """
227 | Log Python Version to shell
228 | """
229 | Tools.log("PYTHON VERSION:", sys.version)
230 |
231 | @staticmethod
232 | def log(*message) -> None:
233 | """
234 | Log message to stderr
235 | """
236 | sys.stderr.write(f'{" ".join(message)}\n')
237 |
238 | @staticmethod
239 | def getEnv(var: str, default: str = str()) -> str:
240 | """
241 | Reads environment variable
242 |
243 | Args:
244 |
245 | var (string}: Variable name
246 | default (string, optional): fallback if None
247 |
248 | Returns:
249 |
250 | (str): Env value or string if not available
251 | """
252 | return os.getenv(var) if os.getenv(var) is not None else default
253 |
254 | @staticmethod
255 | def getEnvBool(var: str, default: bool = False) -> bool:
256 | """
257 | Reads boolean env variable provided as text.
258 | 0 will be treated as False
259 | >1 will be treated as True
260 |
261 | Args:
262 |
263 | var (str): Name of the env variable
264 | default (bool, optional): Default if not found. Defaults to False.
265 |
266 | Returns:
267 |
268 | bool: True or False as bool
269 | """
270 | if os.getenv(var).isdigit():
271 | if os.getenv(var) == '0':
272 | return False
273 | else:
274 | return True
275 | if os.getenv(var).lower() == "true":
276 | return True
277 | else:
278 | return default
279 |
280 | @staticmethod
281 | def getArgv(i: int, default=str()) -> str:
282 | """
283 | Get argument values from input in Alfred or empty if not available
284 |
285 | Args:
286 |
287 | i (int): index of argument
288 | default (string, optional): Fallback if None, default string
289 |
290 | Returns:
291 |
292 | response_type (str) -- argv string or None
293 | """
294 | try:
295 | return sys.argv[i]
296 | except IndexError:
297 | return default
298 | pass
299 |
300 | @staticmethod
301 | def getDateStr(float_time: float, format: str = "%d.%m.%Y") -> str:
302 | """
303 | Format float time to string
304 |
305 | Args:
306 |
307 | float_time (float): Time in float
308 |
309 | format (str, optional): format string. Defaults to '%d.%m.%Y'.
310 |
311 | Returns:
312 |
313 | str: Formatted Date String
314 | """
315 | time_struct = time.gmtime(float_time)
316 | return time.strftime(format, time_struct)
317 |
318 | @staticmethod
319 | def getDateEpoch(float_time: float) -> str:
320 | return time.strftime("%d.%m.%Y", time.gmtime(float_time / 1000))
321 |
322 | @staticmethod
323 | def sortListDict(list_dict: list, key: str, reverse: bool = True) -> list:
324 | """
325 | Sort List with Dictionary based on given key in Dict
326 |
327 | Args:
328 |
329 | list_dict (list(dict)): List which contains unsorted dictionaries
330 |
331 | key (str): name of the key of the dict
332 |
333 | reverse (bool, optional): Reverse order. Defaults to True.
334 |
335 | Returns:
336 |
337 | list(dict): sorted list of dictionaries
338 | """
339 | return sorted(list_dict, key=lambda k: k[key], reverse=reverse)
340 |
341 | @staticmethod
342 | def sortListTuple(list_tuple: list, el: int, reverse: bool = True) -> list:
343 | """
344 | Sort List with Tubles based on a given element in Tuple
345 |
346 | Args:
347 |
348 | list_tuple (list(tuble)): Sort List with Tubles based on a given element in Tuple
349 | el (int): which element
350 | reverse (bool, optional): Reverse order. Defaults to True.
351 |
352 | Returns:
353 |
354 | list(tuble) -- sorted list with tubles
355 | """
356 | return sorted(list_tuple, key=lambda tup: tup[el], reverse=reverse)
357 |
358 | @staticmethod
359 | def notify(title: str, text: str) -> None:
360 | """
361 | Send Notification to mac Notification Center
362 |
363 | Arguments:
364 |
365 | title (str): Title String
366 | text (str): The message
367 | """
368 | os.system(
369 | f"""
370 | osascript -e 'display notification "{text}" with title "{title}"'
371 | """
372 | )
373 |
374 | @staticmethod
375 | def strJoin(*args: str) -> str:
376 | """Joins a list of strings
377 |
378 | Arguments:
379 |
380 | *args (list): List which contains strings
381 |
382 | Returns:
383 |
384 | str: joined str
385 | """
386 | return str().join(args)
387 |
388 | @staticmethod
389 | def chop(theString: str, ext: str) -> str:
390 | """
391 | Cuts a string from the end and return the remaining
392 |
393 | Args:
394 |
395 | theString (str): The String to cut
396 | ext (str): String which needs to be removed
397 |
398 | Returns:
399 |
400 | str: chopped string
401 | """
402 | if theString.endswith(ext):
403 | return theString[: -len(ext)]
404 | return theString
405 |
406 | @staticmethod
407 | def getEnvironment() -> dict:
408 | """
409 | Get all environment variablse as a dict
410 |
411 | Returns:
412 |
413 | dict: Dict with env variables e.g. {"env1": "value"}
414 | """
415 | environment = os.environ
416 | env_dict = dict()
417 | for k, v in environment.iteritems():
418 | env_dict.update({k: v})
419 | return env_dict
420 |
421 | @staticmethod
422 | def getDataDir() -> str:
423 | data_dir = os.getenv("alfred_workflow_data")
424 | if not (os.path.isdir(data_dir)):
425 | os.mkdir(data_dir)
426 | return data_dir
427 |
428 | @staticmethod
429 | def getCacheDir() -> str:
430 | cache_dir = os.getenv("alfred_workflow_cache")
431 | if not (os.path.isdir(cache_dir)):
432 | os.mkdir(cache_dir)
433 | return cache_dir
434 |
435 |
436 | class Plist:
437 | """
438 | Plist handling class
439 |
440 | Returns:
441 |
442 | object: A plist object
443 |
444 |
445 | """
446 |
447 | def __init__(self):
448 | # Read info.plist into a standard Python dictionary
449 | with open("info.plist", "rb") as fp:
450 | self.info = load(fp)
451 |
452 | def getConfig(self) -> str:
453 | return self.info["variables"]
454 |
455 | def getVariable(self, variable: str) -> str:
456 | """
457 | Get Plist variable with name
458 |
459 | Args:
460 |
461 | variable (str): Name of the variable
462 |
463 | Returns:
464 |
465 | str: Value of variable with name
466 |
467 | """
468 | try:
469 | return self.info["variables"][variable]
470 | except KeyError:
471 | pass
472 |
473 | def setVariable(self, variable: str, value: str) -> None:
474 | """
475 | Set a Plist variable
476 |
477 | Args:
478 |
479 | variable (str): Name of Plist Variable
480 | value (str): Value of Plist Variable
481 |
482 | """
483 | # Set a variable
484 | self.info["variables"][variable] = value
485 | self._saveChanges()
486 |
487 | def deleteVariable(self, variable: str) -> None:
488 | """
489 | Delete a Plist variable with name
490 |
491 | Args:
492 |
493 | variable (str): Name of the Plist variable
494 |
495 | """
496 | try:
497 | del self.info["variables"][variable]
498 | self._saveChanges()
499 | except KeyError:
500 | pass
501 |
502 | def _saveChanges(self) -> None:
503 | """
504 | Save changes to Plist
505 | """
506 | with open("info.plist", "wb") as fp:
507 | dump(self.info, fp)
508 |
509 |
510 | class Keys(object):
511 | CMD = u'\u2318'
512 | SHIFT = u'\u21E7'
513 | ENTER = u'\u23CE'
514 | ARROW_RIGHT = u'\u2192'
515 |
516 |
517 | class AlfJson(object):
518 |
519 | def __init__(self) -> None:
520 | self.arg: dict = dict()
521 | self.config: dict = dict()
522 | self.variables: dict = dict()
523 |
524 | def add_args(self, d) -> None:
525 | """
526 | Add arg dictionary
527 |
528 | Args:
529 |
530 | d (dict): Key-Value pairs of args
531 |
532 | """
533 | self.arg.update(d)
534 |
535 | def add_configs(self, d) -> None:
536 | """
537 | Add config dictionary
538 |
539 | Args:
540 |
541 | d (dict): Key-Value pairs of configs
542 |
543 | """
544 | self.config.update(d)
545 |
546 | def add_variables(self, d) -> None:
547 | """
548 | Add variables dictionary
549 |
550 | Args:
551 |
552 | d (dict): Key-Value pairs of variables
553 |
554 | """
555 | self.variables.update(d)
556 |
557 | def write_json(self) -> None:
558 | """
559 | Write Alfred JSON config object to std out
560 | """
561 | out = {"alfredworkflow": {"arg": self.arg, "config": self.config, "variables": self.variables}}
562 | sys.stdout.write(json.dumps(out))
563 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/src/info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | bundleid
6 | com.apple.alfred.workflow.window_manager
7 | category
8 | Productivity
9 | connections
10 |
11 | 03D2723C-1773-462E-A0E3-4F9B79BF872B
12 |
13 |
14 | destinationuid
15 | D0BA191C-A3CE-4974-A263-B9979376FFEF
16 | modifiers
17 | 0
18 | modifiersubtext
19 |
20 | vitoclose
21 |
22 |
23 |
24 | 0AA55BB7-9F32-4DA6-8F55-DAD10CF532FF
25 |
26 |
27 | destinationuid
28 | 69CEBDAD-0632-4A61-9233-9F35F7E9F02C
29 | modifiers
30 | 0
31 | modifiersubtext
32 |
33 | vitoclose
34 |
35 |
36 |
37 | 0FB4C25D-DC38-42C7-8070-516CE4943789
38 |
39 |
40 | destinationuid
41 | 69CEBDAD-0632-4A61-9233-9F35F7E9F02C
42 | modifiers
43 | 0
44 | modifiersubtext
45 |
46 | vitoclose
47 |
48 |
49 |
50 | 15794641-8D20-4191-854F-39FEFE6B4106
51 |
52 |
53 | destinationuid
54 | D0BA191C-A3CE-4974-A263-B9979376FFEF
55 | modifiers
56 | 0
57 | modifiersubtext
58 |
59 | vitoclose
60 |
61 |
62 |
63 | 19C17E3D-DA6F-4A35-9E9B-455BA4FD1031
64 |
65 |
66 | destinationuid
67 | 561D6C7F-E66D-40EB-8814-4E275EED1214
68 | modifiers
69 | 0
70 | modifiersubtext
71 |
72 | sourceoutputuid
73 | A2DD67A8-6C3C-48EC-9497-B5FD00A9868C
74 | vitoclose
75 |
76 |
77 |
78 | destinationuid
79 | 7CFADCC9-E898-4C75-9703-919B361362A6
80 | modifiers
81 | 0
82 | modifiersubtext
83 |
84 | sourceoutputuid
85 | 4918B6D8-F620-4FC2-A1FD-15DD8F7C5D0F
86 | vitoclose
87 |
88 |
89 |
90 | destinationuid
91 | 980F8228-5E0B-479A-819C-653F9F8B8DF5
92 | modifiers
93 | 0
94 | modifiersubtext
95 |
96 | sourceoutputuid
97 | 344349A7-17A2-4EBB-AAE5-F92BDDF0D289
98 | vitoclose
99 |
100 |
101 |
102 | destinationuid
103 | CFAD3BF2-AB4B-4DA4-ADD9-3C68698ABA6E
104 | modifiers
105 | 0
106 | modifiersubtext
107 |
108 | sourceoutputuid
109 | AFEE483B-C085-48B6-B72E-B882A0A265B5
110 | vitoclose
111 |
112 |
113 |
114 | destinationuid
115 | 27579C3A-5704-4D88-947A-2036510ADD3F
116 | modifiers
117 | 0
118 | modifiersubtext
119 |
120 | sourceoutputuid
121 | E9EEBC5E-2A03-47C3-92BA-8A502DBF35A7
122 | vitoclose
123 |
124 |
125 |
126 | destinationuid
127 | 8D92843D-8E75-4B98-86C8-162FA0D973B2
128 | modifiers
129 | 0
130 | modifiersubtext
131 |
132 | sourceoutputuid
133 | 06265B30-1A39-4D8E-9F45-872A0EB75D8F
134 | vitoclose
135 |
136 |
137 |
138 | destinationuid
139 | 56EF0394-FE08-4032-AD30-003CED7CCF99
140 | modifiers
141 | 0
142 | modifiersubtext
143 |
144 | sourceoutputuid
145 | 324960E7-46BB-4010-8E10-4042EEC0BD58
146 | vitoclose
147 |
148 |
149 |
150 | destinationuid
151 | C979B2FE-F00D-4D28-A18B-93715B910C9D
152 | modifiers
153 | 0
154 | modifiersubtext
155 |
156 | sourceoutputuid
157 | 533FB3FC-5B4B-4CF0-8585-3F5D689269D9
158 | vitoclose
159 |
160 |
161 |
162 | destinationuid
163 | 0D1E46BB-6FEB-4A8F-8747-0A73805CF22D
164 | modifiers
165 | 0
166 | modifiersubtext
167 |
168 | sourceoutputuid
169 | 2ECE457B-BBC9-4CCE-9E08-D2D21E24A5EE
170 | vitoclose
171 |
172 |
173 |
174 | 22201393-C9B4-4640-8A11-350343F16191
175 |
176 |
177 | destinationuid
178 | 19C17E3D-DA6F-4A35-9E9B-455BA4FD1031
179 | modifiers
180 | 0
181 | modifiersubtext
182 |
183 | vitoclose
184 |
185 |
186 |
187 | 23D71A90-5EC3-4261-A130-EE34F4505EB5
188 |
189 |
190 | destinationuid
191 | D0BA191C-A3CE-4974-A263-B9979376FFEF
192 | modifiers
193 | 0
194 | modifiersubtext
195 |
196 | vitoclose
197 |
198 |
199 |
200 | 2A0B89E7-9044-432A-A3F7-C205C11C128E
201 |
202 |
203 | destinationuid
204 | D0BA191C-A3CE-4974-A263-B9979376FFEF
205 | modifiers
206 | 0
207 | modifiersubtext
208 |
209 | vitoclose
210 |
211 |
212 |
213 | 3204E945-B6BF-4265-AAA8-C6C25741884E
214 |
215 |
216 | destinationuid
217 | EEB61DAA-AC41-493F-9CA0-93678C6BCD3B
218 | modifiers
219 | 0
220 | modifiersubtext
221 |
222 | vitoclose
223 |
224 |
225 |
226 | 3411AFF0-2041-4E95-B451-45847D3EFE3E
227 |
228 |
229 | destinationuid
230 | F9ED3B81-132C-4B76-AFED-DC01089EDD0D
231 | modifiers
232 | 0
233 | modifiersubtext
234 |
235 | vitoclose
236 |
237 |
238 |
239 | 34BFA0E9-B1E3-4F31-B594-AAEED8A8299D
240 |
241 |
242 | destinationuid
243 | 22201393-C9B4-4640-8A11-350343F16191
244 | modifiers
245 | 0
246 | modifiersubtext
247 |
248 | vitoclose
249 |
250 |
251 |
252 | 370D3E78-9C67-4250-BADB-839BD58546F7
253 |
254 |
255 | destinationuid
256 | D0BA191C-A3CE-4974-A263-B9979376FFEF
257 | modifiers
258 | 0
259 | modifiersubtext
260 |
261 | vitoclose
262 |
263 |
264 |
265 | 38151F7B-8008-4180-B4E4-9C5D423C5066
266 |
267 |
268 | destinationuid
269 | E90EB173-3B7E-4C6C-B148-E83B370D1154
270 | modifiers
271 | 0
272 | modifiersubtext
273 |
274 | vitoclose
275 |
276 |
277 |
278 | 411DB4D7-6C73-4FA1-99A5-E2A2C8068D85
279 |
280 |
281 | destinationuid
282 | D0BA191C-A3CE-4974-A263-B9979376FFEF
283 | modifiers
284 | 0
285 | modifiersubtext
286 |
287 | vitoclose
288 |
289 |
290 |
291 | 57E733ED-8FA0-4D44-A531-82C92538B0C3
292 |
293 |
294 | destinationuid
295 | 61F8EE82-4398-4234-8CC2-A79D378F0D91
296 | modifiers
297 | 0
298 | modifiersubtext
299 |
300 | sourceoutputuid
301 | B0FC47FC-990C-4EAB-B36E-4DC7EA63A791
302 | vitoclose
303 |
304 |
305 |
306 | destinationuid
307 | EEB61DAA-AC41-493F-9CA0-93678C6BCD3B
308 | modifiers
309 | 0
310 | modifiersubtext
311 |
312 | sourceoutputuid
313 | 9EA82BD6-8E05-439E-92CE-546A551DF561
314 | vitoclose
315 |
316 |
317 |
318 | destinationuid
319 | D0BA191C-A3CE-4974-A263-B9979376FFEF
320 | modifiers
321 | 0
322 | modifiersubtext
323 |
324 | vitoclose
325 |
326 |
327 |
328 | destinationuid
329 | E90EB173-3B7E-4C6C-B148-E83B370D1154
330 | modifiers
331 | 0
332 | modifiersubtext
333 |
334 | sourceoutputuid
335 | 5579E235-0ACB-40AA-AC00-2809B8E10973
336 | vitoclose
337 |
338 |
339 |
340 | destinationuid
341 | E90EB173-3B7E-4C6C-B148-E83B370D1154
342 | modifiers
343 | 0
344 | modifiersubtext
345 |
346 | sourceoutputuid
347 | DADDF633-28AF-4301-889D-7A525568BAE6
348 | vitoclose
349 |
350 |
351 |
352 | destinationuid
353 | 26D6E144-607A-492B-9D56-EE7349D443B4
354 | modifiers
355 | 0
356 | modifiersubtext
357 |
358 | sourceoutputuid
359 | 3BAD504E-7F5B-4BC7-B3A3-8D7B1CD1071E
360 | vitoclose
361 |
362 |
363 |
364 | destinationuid
365 | 951B4211-41AD-4138-967E-9C35F483E46F
366 | modifiers
367 | 0
368 | modifiersubtext
369 |
370 | sourceoutputuid
371 | A9FE0633-F3FF-4984-BE86-76C17050076E
372 | vitoclose
373 |
374 |
375 |
376 | 5E6F5E3B-B9CB-449B-9724-E4E8B4F45CC1
377 |
378 |
379 | destinationuid
380 | 61F8EE82-4398-4234-8CC2-A79D378F0D91
381 | modifiers
382 | 0
383 | modifiersubtext
384 |
385 | vitoclose
386 |
387 |
388 |
389 | 69CEBDAD-0632-4A61-9233-9F35F7E9F02C
390 |
391 |
392 | destinationuid
393 | 3411AFF0-2041-4E95-B451-45847D3EFE3E
394 | modifiers
395 | 0
396 | modifiersubtext
397 |
398 | vitoclose
399 |
400 |
401 |
402 | 7903F372-2DC3-488B-9D7F-E575C0C1DFFE
403 |
404 |
405 | destinationuid
406 | 69CEBDAD-0632-4A61-9233-9F35F7E9F02C
407 | modifiers
408 | 0
409 | modifiersubtext
410 |
411 | vitoclose
412 |
413 |
414 |
415 | 7AB06038-BFF3-4C09-87A1-2558A032D37A
416 |
417 |
418 | destinationuid
419 | 69CEBDAD-0632-4A61-9233-9F35F7E9F02C
420 | modifiers
421 | 0
422 | modifiersubtext
423 |
424 | vitoclose
425 |
426 |
427 |
428 | 7AE7B102-6F0E-4086-A929-4CBC0F8F230F
429 |
430 |
431 | destinationuid
432 | 951B4211-41AD-4138-967E-9C35F483E46F
433 | modifiers
434 | 0
435 | modifiersubtext
436 |
437 | vitoclose
438 |
439 |
440 |
441 | 7FBAFD3E-D7E8-4F5E-B79C-08BAE6819634
442 |
443 |
444 | destinationuid
445 | 69CEBDAD-0632-4A61-9233-9F35F7E9F02C
446 | modifiers
447 | 0
448 | modifiersubtext
449 |
450 | vitoclose
451 |
452 |
453 |
454 | 888A02A3-2C70-4D4A-A926-A4954E8E9BD5
455 |
456 |
457 | destinationuid
458 | D0BA191C-A3CE-4974-A263-B9979376FFEF
459 | modifiers
460 | 0
461 | modifiersubtext
462 |
463 | vitoclose
464 |
465 |
466 |
467 | 8BF84999-E5A9-432C-914A-49ECF6A4582B
468 |
469 |
470 | destinationuid
471 | D0BA191C-A3CE-4974-A263-B9979376FFEF
472 | modifiers
473 | 0
474 | modifiersubtext
475 |
476 | vitoclose
477 |
478 |
479 |
480 | 951B4211-41AD-4138-967E-9C35F483E46F
481 |
482 |
483 | destinationuid
484 | D65BB2F2-21FE-475E-9598-B0503F6C828B
485 | modifiers
486 | 0
487 | modifiersubtext
488 |
489 | vitoclose
490 |
491 |
492 |
493 | 9D53F4A5-0141-4022-98EC-65639BD7B205
494 |
495 |
496 | destinationuid
497 | 14F429DB-E8A9-405A-8096-E87D0F0640F7
498 | modifiers
499 | 0
500 | modifiersubtext
501 |
502 | vitoclose
503 |
504 |
505 |
506 | B112413B-7E57-4B10-8450-284C42B5E36F
507 |
508 |
509 | destinationuid
510 | B269FAEA-BEC7-42B2-8575-605D0C2C09EC
511 | modifiers
512 | 0
513 | modifiersubtext
514 |
515 | vitoclose
516 |
517 |
518 |
519 | B269FAEA-BEC7-42B2-8575-605D0C2C09EC
520 |
521 |
522 | destinationuid
523 | 34BFA0E9-B1E3-4F31-B594-AAEED8A8299D
524 | modifiers
525 | 0
526 | modifiersubtext
527 |
528 | vitoclose
529 |
530 |
531 |
532 | C76A989A-F196-41C9-BF7C-D85DE630794D
533 |
534 |
535 | destinationuid
536 | 69CEBDAD-0632-4A61-9233-9F35F7E9F02C
537 | modifiers
538 | 0
539 | modifiersubtext
540 |
541 | vitoclose
542 |
543 |
544 |
545 | D0BA191C-A3CE-4974-A263-B9979376FFEF
546 |
547 |
548 | destinationuid
549 | B112413B-7E57-4B10-8450-284C42B5E36F
550 | modifiers
551 | 0
552 | modifiersubtext
553 |
554 | vitoclose
555 |
556 |
557 |
558 | D2302F7A-7011-4B69-995F-29395ABE636E
559 |
560 |
561 | destinationuid
562 | D0BA191C-A3CE-4974-A263-B9979376FFEF
563 | modifiers
564 | 0
565 | modifiersubtext
566 |
567 | vitoclose
568 |
569 |
570 |
571 | D65BB2F2-21FE-475E-9598-B0503F6C828B
572 |
573 |
574 | destinationuid
575 | ED2BA858-527C-44E5-9FF2-D9421C2F823C
576 | modifiers
577 | 0
578 | modifiersubtext
579 |
580 | vitoclose
581 |
582 |
583 |
584 | E71F89BE-1869-4DAF-BCDD-CA883A26CECF
585 |
586 |
587 | destinationuid
588 | 69CEBDAD-0632-4A61-9233-9F35F7E9F02C
589 | modifiers
590 | 0
591 | modifiersubtext
592 |
593 | vitoclose
594 |
595 |
596 |
597 | ED2BA858-527C-44E5-9FF2-D9421C2F823C
598 |
599 |
600 | destinationuid
601 | 26D6E144-607A-492B-9D56-EE7349D443B4
602 | modifiers
603 | 0
604 | modifiersubtext
605 |
606 | vitoclose
607 |
608 |
609 |
610 | F9ED3B81-132C-4B76-AFED-DC01089EDD0D
611 |
612 |
613 | destinationuid
614 | 10499795-894B-44C4-9953-016F46E1135D
615 | modifiers
616 | 0
617 | modifiersubtext
618 |
619 | vitoclose
620 |
621 |
622 |
623 | FB20ABAF-9BD0-4FF7-BB76-AE59C263B85A
624 |
625 |
626 | destinationuid
627 | 57E733ED-8FA0-4D44-A531-82C92538B0C3
628 | modifiers
629 | 0
630 | modifiersubtext
631 |
632 | vitoclose
633 |
634 |
635 |
636 | FE582004-9AD4-40DD-AB0B-13BEABC1B505
637 |
638 |
639 | destinationuid
640 | 69CEBDAD-0632-4A61-9233-9F35F7E9F02C
641 | modifiers
642 | 0
643 | modifiersubtext
644 |
645 | vitoclose
646 |
647 |
648 |
649 |
650 | createdby
651 | Acidham
652 | description
653 | Move/Resize/Arrange Windows
654 | disabled
655 |
656 | name
657 | Window Manager
658 | objects
659 |
660 |
661 | config
662 |
663 | action
664 | 0
665 | argument
666 | 3
667 | argumenttext
668 | next_screen
669 | focusedappvariable
670 |
671 | focusedappvariablename
672 |
673 | hotkey
674 | 125
675 | hotmod
676 | 11272192
677 | hotstring
678 | ↓
679 | leftcursor
680 |
681 | modsmode
682 | 0
683 | relatedAppsMode
684 | 0
685 |
686 | type
687 | alfred.workflow.trigger.hotkey
688 | uid
689 | 5E6F5E3B-B9CB-449B-9724-E4E8B4F45CC1
690 | version
691 | 2
692 |
693 |
694 | config
695 |
696 | tasksettings
697 |
698 | target_screen
699 | next
700 |
701 | taskuid
702 | com.alfredapp.automation.core/window-management/windows.current.screen.change
703 |
704 | type
705 | alfred.workflow.automation.task
706 | uid
707 | 61F8EE82-4398-4234-8CC2-A79D378F0D91
708 | version
709 | 1
710 |
711 |
712 | config
713 |
714 | tasksettings
715 |
716 | target_screen
717 | previous
718 |
719 | taskuid
720 | com.alfredapp.automation.core/window-management/windows.current.screen.change
721 |
722 | type
723 | alfred.workflow.automation.task
724 | uid
725 | EEB61DAA-AC41-493F-9CA0-93678C6BCD3B
726 | version
727 | 1
728 |
729 |
730 | config
731 |
732 | action
733 | 0
734 | argument
735 | 3
736 | argumenttext
737 | previous_screen
738 | focusedappvariable
739 |
740 | focusedappvariablename
741 |
742 | hotkey
743 | 126
744 | hotmod
745 | 11272192
746 | hotstring
747 | ↑
748 | leftcursor
749 |
750 | modsmode
751 | 0
752 | relatedAppsMode
753 | 0
754 |
755 | type
756 | alfred.workflow.trigger.hotkey
757 | uid
758 | 3204E945-B6BF-4265-AAA8-C6C25741884E
759 | version
760 | 2
761 |
762 |
763 | config
764 |
765 | action
766 | 0
767 | argument
768 | 3
769 | argumenttext
770 | left
771 | focusedappvariable
772 |
773 | focusedappvariablename
774 |
775 | hotkey
776 | 33
777 | hotmod
778 | 786432
779 | hotstring
780 | [
781 | leftcursor
782 |
783 | modsmode
784 | 0
785 | relatedAppsMode
786 | 0
787 |
788 | type
789 | alfred.workflow.trigger.hotkey
790 | uid
791 | D2302F7A-7011-4B69-995F-29395ABE636E
792 | version
793 | 2
794 |
795 |
796 | config
797 |
798 | tasksettings
799 |
800 | taskuid
801 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.preset
802 |
803 | type
804 | alfred.workflow.automation.task
805 | uid
806 | 561D6C7F-E66D-40EB-8814-4E275EED1214
807 | version
808 | 1
809 |
810 |
811 | config
812 |
813 | tasksettings
814 |
815 | preset
816 | half-right
817 |
818 | taskuid
819 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.preset
820 |
821 | type
822 | alfred.workflow.automation.task
823 | uid
824 | 7CFADCC9-E898-4C75-9703-919B361362A6
825 | version
826 | 1
827 |
828 |
829 | config
830 |
831 | action
832 | 0
833 | argument
834 | 3
835 | argumenttext
836 | right
837 | focusedappvariable
838 |
839 | focusedappvariablename
840 |
841 | hotkey
842 | 30
843 | hotmod
844 | 786432
845 | hotstring
846 | ]
847 | leftcursor
848 |
849 | modsmode
850 | 0
851 | relatedAppsMode
852 | 0
853 |
854 | type
855 | alfred.workflow.trigger.hotkey
856 | uid
857 | 411DB4D7-6C73-4FA1-99A5-E2A2C8068D85
858 | version
859 | 2
860 |
861 |
862 | config
863 |
864 | tasksettings
865 |
866 | preset
867 | twothirds-centrewidth
868 |
869 | taskuid
870 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.preset
871 |
872 | type
873 | alfred.workflow.automation.task
874 | uid
875 | 980F8228-5E0B-479A-819C-653F9F8B8DF5
876 | version
877 | 1
878 |
879 |
880 | config
881 |
882 | action
883 | 0
884 | argument
885 | 3
886 | argumenttext
887 | center_two_thirds
888 | focusedappvariable
889 |
890 | focusedappvariablename
891 |
892 | hotkey
893 | 4
894 | hotmod
895 | 786432
896 | hotstring
897 | H
898 | leftcursor
899 |
900 | modsmode
901 | 0
902 | relatedAppsMode
903 | 0
904 |
905 | type
906 | alfred.workflow.trigger.hotkey
907 | uid
908 | 23D71A90-5EC3-4261-A130-EE34F4505EB5
909 | version
910 | 2
911 |
912 |
913 | config
914 |
915 | conditions
916 |
917 |
918 | inputstring
919 | {var:direction}
920 | matchcasesensitive
921 |
922 | matchmode
923 | 0
924 | matchstring
925 | left
926 | outputlabel
927 | left
928 | uid
929 | A2DD67A8-6C3C-48EC-9497-B5FD00A9868C
930 |
931 |
932 | inputstring
933 | {var:direction}
934 | matchcasesensitive
935 |
936 | matchmode
937 | 0
938 | matchstring
939 | right
940 | outputlabel
941 | right
942 | uid
943 | 4918B6D8-F620-4FC2-A1FD-15DD8F7C5D0F
944 |
945 |
946 | inputstring
947 | {var:direction}
948 | matchcasesensitive
949 |
950 | matchmode
951 | 0
952 | matchstring
953 | center_two_thirds
954 | outputlabel
955 | center_two_thirds
956 | uid
957 | 344349A7-17A2-4EBB-AAE5-F92BDDF0D289
958 |
959 |
960 | inputstring
961 | {var:direction}
962 | matchcasesensitive
963 |
964 | matchmode
965 | 0
966 | matchstring
967 | maximize
968 | outputlabel
969 | maximize
970 | uid
971 | AFEE483B-C085-48B6-B72E-B882A0A265B5
972 |
973 |
974 | inputstring
975 | {var:direction}
976 | matchcasesensitive
977 |
978 | matchmode
979 | 0
980 | matchstring
981 | left_third
982 | outputlabel
983 | left_third
984 | uid
985 | E9EEBC5E-2A03-47C3-92BA-8A502DBF35A7
986 |
987 |
988 | inputstring
989 | {var:direction}
990 | matchcasesensitive
991 |
992 | matchmode
993 | 0
994 | matchstring
995 | center_third
996 | outputlabel
997 | center_third
998 | uid
999 | 06265B30-1A39-4D8E-9F45-872A0EB75D8F
1000 |
1001 |
1002 | inputstring
1003 | {var:direction}
1004 | matchcasesensitive
1005 |
1006 | matchmode
1007 | 0
1008 | matchstring
1009 | right_third
1010 | outputlabel
1011 | right_third
1012 | uid
1013 | 324960E7-46BB-4010-8E10-4042EEC0BD58
1014 |
1015 |
1016 | inputstring
1017 | {var:direction}
1018 | matchcasesensitive
1019 |
1020 | matchmode
1021 | 0
1022 | matchstring
1023 | top_half
1024 | outputlabel
1025 | top_half
1026 | uid
1027 | 533FB3FC-5B4B-4CF0-8585-3F5D689269D9
1028 |
1029 |
1030 | inputstring
1031 | {var:direction}
1032 | matchcasesensitive
1033 |
1034 | matchmode
1035 | 0
1036 | matchstring
1037 | bottom_half
1038 | outputlabel
1039 | bottom_half
1040 | uid
1041 | 2ECE457B-BBC9-4CCE-9E08-D2D21E24A5EE
1042 |
1043 |
1044 | elselabel
1045 | else
1046 | hideelse
1047 |
1048 |
1049 | type
1050 | alfred.workflow.utility.conditional
1051 | uid
1052 | 19C17E3D-DA6F-4A35-9E9B-455BA4FD1031
1053 | version
1054 | 1
1055 |
1056 |
1057 | config
1058 |
1059 | tasksettings
1060 |
1061 | taskuid
1062 | com.alfredapp.automation.core/window-management/windows.current.bounds
1063 |
1064 | type
1065 | alfred.workflow.automation.task
1066 | uid
1067 | 34BFA0E9-B1E3-4F31-B594-AAEED8A8299D
1068 | version
1069 | 1
1070 |
1071 |
1072 | config
1073 |
1074 | tasksettings
1075 |
1076 | out_format
1077 | bundle_id
1078 |
1079 | taskuid
1080 | com.alfredapp.automation.core/macOS/app.current
1081 |
1082 | type
1083 | alfred.workflow.automation.task
1084 | uid
1085 | B112413B-7E57-4B10-8450-284C42B5E36F
1086 | version
1087 | 1
1088 |
1089 |
1090 | config
1091 |
1092 | tasksettings
1093 |
1094 | preset
1095 | maximise
1096 |
1097 | taskuid
1098 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.preset
1099 |
1100 | type
1101 | alfred.workflow.automation.task
1102 | uid
1103 | CFAD3BF2-AB4B-4DA4-ADD9-3C68698ABA6E
1104 | version
1105 | 1
1106 |
1107 |
1108 | config
1109 |
1110 | concurrently
1111 |
1112 | escaping
1113 | 102
1114 | script
1115 | python3 save_dimensions.py $1
1116 | scriptargtype
1117 | 1
1118 | scriptfile
1119 |
1120 | type
1121 | 5
1122 |
1123 | type
1124 | alfred.workflow.action.script
1125 | uid
1126 | 22201393-C9B4-4640-8A11-350343F16191
1127 | version
1128 | 2
1129 |
1130 |
1131 | config
1132 |
1133 | argument
1134 |
1135 | passthroughargument
1136 |
1137 | variables
1138 |
1139 | app_id
1140 | {query}
1141 |
1142 |
1143 | type
1144 | alfred.workflow.utility.argument
1145 | uid
1146 | B269FAEA-BEC7-42B2-8575-605D0C2C09EC
1147 | version
1148 | 1
1149 |
1150 |
1151 | config
1152 |
1153 | argument
1154 |
1155 | passthroughargument
1156 |
1157 | variables
1158 |
1159 | direction
1160 | {query}
1161 |
1162 |
1163 | type
1164 | alfred.workflow.utility.argument
1165 | uid
1166 | D0BA191C-A3CE-4974-A263-B9979376FFEF
1167 | version
1168 | 1
1169 |
1170 |
1171 | config
1172 |
1173 | action
1174 | 0
1175 | argument
1176 | 3
1177 | argumenttext
1178 | maximize
1179 | focusedappvariable
1180 |
1181 | focusedappvariablename
1182 |
1183 | hotkey
1184 | 46
1185 | hotmod
1186 | 786432
1187 | hotstring
1188 | M
1189 | leftcursor
1190 |
1191 | modsmode
1192 | 0
1193 | relatedAppsMode
1194 | 0
1195 |
1196 | type
1197 | alfred.workflow.trigger.hotkey
1198 | uid
1199 | 888A02A3-2C70-4D4A-A926-A4954E8E9BD5
1200 | version
1201 | 2
1202 |
1203 |
1204 | config
1205 |
1206 | conditions
1207 |
1208 |
1209 | inputstring
1210 |
1211 | matchcasesensitive
1212 |
1213 | matchmode
1214 | 0
1215 | matchstring
1216 | next_screen
1217 | outputlabel
1218 | next screen
1219 | uid
1220 | B0FC47FC-990C-4EAB-B36E-4DC7EA63A791
1221 |
1222 |
1223 | inputstring
1224 |
1225 | matchcasesensitive
1226 |
1227 | matchmode
1228 | 0
1229 | matchstring
1230 | previous_screen
1231 | outputlabel
1232 | previous_screen
1233 | uid
1234 | 9EA82BD6-8E05-439E-92CE-546A551DF561
1235 |
1236 |
1237 | inputstring
1238 |
1239 | matchcasesensitive
1240 |
1241 | matchmode
1242 | 0
1243 | matchstring
1244 | reset
1245 | outputlabel
1246 | reset
1247 | uid
1248 | 3BAD504E-7F5B-4BC7-B3A3-8D7B1CD1071E
1249 |
1250 |
1251 | inputstring
1252 |
1253 | matchcasesensitive
1254 |
1255 | matchmode
1256 | 0
1257 | matchstring
1258 | center
1259 | outputlabel
1260 | center
1261 | uid
1262 | 5579E235-0ACB-40AA-AC00-2809B8E10973
1263 |
1264 |
1265 | inputstring
1266 |
1267 | matchcasesensitive
1268 |
1269 | matchmode
1270 | 0
1271 | matchstring
1272 | center_window
1273 | outputlabel
1274 | center_window
1275 | uid
1276 | DADDF633-28AF-4301-889D-7A525568BAE6
1277 |
1278 |
1279 | inputstring
1280 |
1281 | matchcasesensitive
1282 |
1283 | matchmode
1284 | 0
1285 | matchstring
1286 | reset_window
1287 | outputlabel
1288 | reset_window
1289 | uid
1290 | A9FE0633-F3FF-4984-BE86-76C17050076E
1291 |
1292 |
1293 | elselabel
1294 | else
1295 | hideelse
1296 |
1297 |
1298 | type
1299 | alfred.workflow.utility.conditional
1300 | uid
1301 | 57E733ED-8FA0-4D44-A531-82C92538B0C3
1302 | version
1303 | 1
1304 |
1305 |
1306 | config
1307 |
1308 | argumenttrimmode
1309 | 0
1310 | argumenttype
1311 | 1
1312 | fixedorder
1313 |
1314 | items
1315 | [{"imagefile":"57fe5100ef9410f3441a2ca1bb46ab39f0435eda.png","title":"Window to the Left","arg":"left","subtitle":"Move Window to the Left"},{"imagefile":"3710a196aed79f46528e304a2ca475783bbcf9bc.png","title":"Window to the Right","arg":"right","subtitle":"Move window to the right side"},{"imagefile":"e5389b88a75180e20086e57918547322b29198a7.png","title":"Maximize Window","arg":"maximize","subtitle":"Maximize Window Size"},{"imagefile":"a490c551cb24b729c13a619b4c44013ea8612149.png","title":"Center Window","arg":"center_window","subtitle":"Center the window"},{"imagefile":"e23b79ac4deb3d200b49098d267238860aabde94.png","title":"Resize Top Half","arg":"top_half","subtitle":"Resize Window to top half"},{"imagefile":"5b9f7e45b02204566689a71266b82c2ff90ebb4c.png","title":"Resize Bottom Half","arg":"bottom_half","subtitle":"Resize window to bottom half"},{"imagefile":"9af31ca312e8a8f8df4550895eb0bd00ab8833d6.png","title":"Resize to Center Third","arg":"center_third","subtitle":"Resize Window to the center third"},{"imagefile":"63eac322363273d4675ef41369f1ed6b6ccbc3f4.png","title":"Resize to Left Third","arg":"left_third","subtitle":"Resize window to the Left third"},{"imagefile":"a50edbd9f159227363baf1f60ffd7f429e082ca0.png","title":"Resize to Two Thirds","arg":"center_two_thirds","subtitle":"Resize Window to two thirds"},{"imagefile":"8f62eda9639a39abec408417434adad0d44aeb51.png","title":"Resize to the Right Third","arg":"right_third","subtitle":"Resize window to the right third"},{"imagefile":"7cdf13b1d61e92bcb704cfff4ab90d18a385b88d.png","title":"Reset Window","arg":"reset_window","subtitle":"Reset Window to orginal size and position"},{"imagefile":"44752a501e5bca3e68636b10f072885dfb17ca8c.png","title":"Next Screen","arg":"next_screen","subtitle":"Move window to the next Screen"},{"imagefile":"33d2c0d0a19578ca7815b231d5d35c05de0a3649.png","title":"Previous Screen","arg":"previous_screen","subtitle":"Move Window to the previous screen"}]
1316 | keyword
1317 | wm
1318 | matchmode
1319 | 0
1320 | runningsubtext
1321 |
1322 | subtext
1323 |
1324 | title
1325 | Window Manager
1326 | withspace
1327 |
1328 |
1329 | type
1330 | alfred.workflow.input.listfilter
1331 | uid
1332 | FB20ABAF-9BD0-4FF7-BB76-AE59C263B85A
1333 | version
1334 | 1
1335 |
1336 |
1337 | config
1338 |
1339 | tasksettings
1340 |
1341 | preset
1342 | third-left
1343 |
1344 | taskuid
1345 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.preset
1346 |
1347 | type
1348 | alfred.workflow.automation.task
1349 | uid
1350 | 27579C3A-5704-4D88-947A-2036510ADD3F
1351 | version
1352 | 1
1353 |
1354 |
1355 | config
1356 |
1357 | action
1358 | 0
1359 | argument
1360 | 3
1361 | argumenttext
1362 | left_third
1363 | focusedappvariable
1364 |
1365 | focusedappvariablename
1366 |
1367 | hotkey
1368 | 18
1369 | hotmod
1370 | 786432
1371 | hotstring
1372 | 1
1373 | leftcursor
1374 |
1375 | modsmode
1376 | 0
1377 | relatedAppsMode
1378 | 0
1379 |
1380 | type
1381 | alfred.workflow.trigger.hotkey
1382 | uid
1383 | 2A0B89E7-9044-432A-A3F7-C205C11C128E
1384 | version
1385 | 2
1386 |
1387 |
1388 | config
1389 |
1390 | tasksettings
1391 |
1392 | preset
1393 | third-centrewidth
1394 |
1395 | taskuid
1396 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.preset
1397 |
1398 | type
1399 | alfred.workflow.automation.task
1400 | uid
1401 | 8D92843D-8E75-4B98-86C8-162FA0D973B2
1402 | version
1403 | 1
1404 |
1405 |
1406 | config
1407 |
1408 | action
1409 | 0
1410 | argument
1411 | 3
1412 | argumenttext
1413 | center_third
1414 | focusedappvariable
1415 |
1416 | focusedappvariablename
1417 |
1418 | hotkey
1419 | 19
1420 | hotmod
1421 | 786432
1422 | hotstring
1423 | 2
1424 | leftcursor
1425 |
1426 | modsmode
1427 | 0
1428 | relatedAppsMode
1429 | 0
1430 |
1431 | type
1432 | alfred.workflow.trigger.hotkey
1433 | uid
1434 | 15794641-8D20-4191-854F-39FEFE6B4106
1435 | version
1436 | 2
1437 |
1438 |
1439 | config
1440 |
1441 | tasksettings
1442 |
1443 | preset
1444 | third-right
1445 |
1446 | taskuid
1447 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.preset
1448 |
1449 | type
1450 | alfred.workflow.automation.task
1451 | uid
1452 | 56EF0394-FE08-4032-AD30-003CED7CCF99
1453 | version
1454 | 1
1455 |
1456 |
1457 | config
1458 |
1459 | action
1460 | 0
1461 | argument
1462 | 3
1463 | argumenttext
1464 | right_third
1465 | focusedappvariable
1466 |
1467 | focusedappvariablename
1468 |
1469 | hotkey
1470 | 20
1471 | hotmod
1472 | 786432
1473 | hotstring
1474 | 3
1475 | leftcursor
1476 |
1477 | modsmode
1478 | 0
1479 | relatedAppsMode
1480 | 0
1481 |
1482 | type
1483 | alfred.workflow.trigger.hotkey
1484 | uid
1485 | 370D3E78-9C67-4250-BADB-839BD58546F7
1486 | version
1487 | 2
1488 |
1489 |
1490 | config
1491 |
1492 | tasksettings
1493 |
1494 | preset
1495 | half-top
1496 |
1497 | taskuid
1498 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.preset
1499 |
1500 | type
1501 | alfred.workflow.automation.task
1502 | uid
1503 | C979B2FE-F00D-4D28-A18B-93715B910C9D
1504 | version
1505 | 1
1506 |
1507 |
1508 | config
1509 |
1510 | action
1511 | 0
1512 | argument
1513 | 3
1514 | argumenttext
1515 | bottom_half
1516 | focusedappvariable
1517 |
1518 | focusedappvariablename
1519 |
1520 | hotkey
1521 | 11
1522 | hotmod
1523 | 786432
1524 | hotstring
1525 | B
1526 | leftcursor
1527 |
1528 | modsmode
1529 | 0
1530 | relatedAppsMode
1531 | 0
1532 |
1533 | type
1534 | alfred.workflow.trigger.hotkey
1535 | uid
1536 | 03D2723C-1773-462E-A0E3-4F9B79BF872B
1537 | version
1538 | 2
1539 |
1540 |
1541 | config
1542 |
1543 | tasksettings
1544 |
1545 | preset
1546 | half-bottom
1547 |
1548 | taskuid
1549 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.preset
1550 |
1551 | type
1552 | alfred.workflow.automation.task
1553 | uid
1554 | 0D1E46BB-6FEB-4A8F-8747-0A73805CF22D
1555 | version
1556 | 1
1557 |
1558 |
1559 | config
1560 |
1561 | action
1562 | 0
1563 | argument
1564 | 3
1565 | argumenttext
1566 | top_half
1567 | focusedappvariable
1568 |
1569 | focusedappvariablename
1570 |
1571 | hotkey
1572 | 17
1573 | hotmod
1574 | 786432
1575 | hotstring
1576 | T
1577 | leftcursor
1578 |
1579 | modsmode
1580 | 0
1581 | relatedAppsMode
1582 | 0
1583 |
1584 | type
1585 | alfred.workflow.trigger.hotkey
1586 | uid
1587 | 8BF84999-E5A9-432C-914A-49ECF6A4582B
1588 | version
1589 | 2
1590 |
1591 |
1592 | config
1593 |
1594 | action
1595 | 0
1596 | argument
1597 | 3
1598 | argumenttext
1599 | center_window
1600 | focusedappvariable
1601 |
1602 | focusedappvariablename
1603 |
1604 | hotkey
1605 | 8
1606 | hotmod
1607 | 786432
1608 | hotstring
1609 | C
1610 | leftcursor
1611 |
1612 | modsmode
1613 | 0
1614 | relatedAppsMode
1615 | 0
1616 |
1617 | type
1618 | alfred.workflow.trigger.hotkey
1619 | uid
1620 | 38151F7B-8008-4180-B4E4-9C5D423C5066
1621 | version
1622 | 2
1623 |
1624 |
1625 | config
1626 |
1627 | tasksettings
1628 |
1629 | preset
1630 | centre
1631 |
1632 | taskuid
1633 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.preset
1634 |
1635 | type
1636 | alfred.workflow.automation.task
1637 | uid
1638 | E90EB173-3B7E-4C6C-B148-E83B370D1154
1639 | version
1640 | 1
1641 |
1642 |
1643 | config
1644 |
1645 | tasksettings
1646 |
1647 | out_format
1648 | bundle_id
1649 |
1650 | taskuid
1651 | com.alfredapp.automation.core/macOS/app.current
1652 |
1653 | type
1654 | alfred.workflow.automation.task
1655 | uid
1656 | 951B4211-41AD-4138-967E-9C35F483E46F
1657 | version
1658 | 1
1659 |
1660 |
1661 | config
1662 |
1663 | concurrently
1664 |
1665 | escaping
1666 | 102
1667 | script
1668 | python3 get_dimensions.py delete
1669 | scriptargtype
1670 | 1
1671 | scriptfile
1672 |
1673 | type
1674 | 5
1675 |
1676 | type
1677 | alfred.workflow.action.script
1678 | uid
1679 | ED2BA858-527C-44E5-9FF2-D9421C2F823C
1680 | version
1681 | 2
1682 |
1683 |
1684 | config
1685 |
1686 | action
1687 | 0
1688 | argument
1689 | 3
1690 | argumenttext
1691 | reset_window
1692 | focusedappvariable
1693 |
1694 | focusedappvariablename
1695 |
1696 | hotkey
1697 | 42
1698 | hotmod
1699 | 786432
1700 | hotstring
1701 | \
1702 | leftcursor
1703 |
1704 | modsmode
1705 | 0
1706 | relatedAppsMode
1707 | 0
1708 |
1709 | type
1710 | alfred.workflow.trigger.hotkey
1711 | uid
1712 | 7AE7B102-6F0E-4086-A929-4CBC0F8F230F
1713 | version
1714 | 2
1715 |
1716 |
1717 | config
1718 |
1719 | tasksettings
1720 |
1721 | height
1722 | {var:height}
1723 | width
1724 | {var:width}
1725 | x
1726 | {var:x}
1727 | y
1728 | {var:y}
1729 |
1730 | taskuid
1731 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.custom
1732 |
1733 | type
1734 | alfred.workflow.automation.task
1735 | uid
1736 | 26D6E144-607A-492B-9D56-EE7349D443B4
1737 | version
1738 | 1
1739 |
1740 |
1741 | config
1742 |
1743 | argument
1744 |
1745 | passthroughargument
1746 |
1747 | variables
1748 |
1749 | app_id
1750 | {query}
1751 |
1752 |
1753 | type
1754 | alfred.workflow.utility.argument
1755 | uid
1756 | D65BB2F2-21FE-475E-9598-B0503F6C828B
1757 | version
1758 | 1
1759 |
1760 |
1761 | config
1762 |
1763 | tasksettings
1764 |
1765 | height
1766 | {var:height}
1767 | width
1768 | {var:width}
1769 | x
1770 | {var:x}
1771 | y
1772 | {var:y}
1773 |
1774 | taskuid
1775 | com.alfredapp.automation.core/window-management/windows.current.bounds.set.custom
1776 |
1777 | type
1778 | alfred.workflow.automation.task
1779 | uid
1780 | 10499795-894B-44C4-9953-016F46E1135D
1781 | version
1782 | 1
1783 |
1784 |
1785 | config
1786 |
1787 | action
1788 | 0
1789 | argument
1790 | 3
1791 | argumenttext
1792 | up_size
1793 | focusedappvariable
1794 |
1795 | focusedappvariablename
1796 |
1797 | hotkey
1798 | 13
1799 | hotmod
1800 | 786432
1801 | hotstring
1802 | W
1803 | leftcursor
1804 |
1805 | modsmode
1806 | 0
1807 | relatedAppsMode
1808 | 0
1809 |
1810 | type
1811 | alfred.workflow.trigger.hotkey
1812 | uid
1813 | FE582004-9AD4-40DD-AB0B-13BEABC1B505
1814 | version
1815 | 2
1816 |
1817 |
1818 | config
1819 |
1820 | concurrently
1821 |
1822 | escaping
1823 | 102
1824 | script
1825 | python3 resize.py $1
1826 | scriptargtype
1827 | 1
1828 | scriptfile
1829 |
1830 | type
1831 | 5
1832 |
1833 | type
1834 | alfred.workflow.action.script
1835 | uid
1836 | F9ED3B81-132C-4B76-AFED-DC01089EDD0D
1837 | version
1838 | 2
1839 |
1840 |
1841 | config
1842 |
1843 | tasksettings
1844 |
1845 | taskuid
1846 | com.alfredapp.automation.core/window-management/windows.current.bounds
1847 |
1848 | type
1849 | alfred.workflow.automation.task
1850 | uid
1851 | 3411AFF0-2041-4E95-B451-45847D3EFE3E
1852 | version
1853 | 1
1854 |
1855 |
1856 | config
1857 |
1858 | argument
1859 |
1860 | passthroughargument
1861 |
1862 | variables
1863 |
1864 | direction
1865 | {query}
1866 |
1867 |
1868 | type
1869 | alfred.workflow.utility.argument
1870 | uid
1871 | 69CEBDAD-0632-4A61-9233-9F35F7E9F02C
1872 | version
1873 | 1
1874 |
1875 |
1876 | config
1877 |
1878 | action
1879 | 0
1880 | argument
1881 | 3
1882 | argumenttext
1883 | down_size
1884 | focusedappvariable
1885 |
1886 | focusedappvariablename
1887 |
1888 | hotkey
1889 | 1
1890 | hotmod
1891 | 786432
1892 | hotstring
1893 | S
1894 | leftcursor
1895 |
1896 | modsmode
1897 | 0
1898 | relatedAppsMode
1899 | 0
1900 |
1901 | type
1902 | alfred.workflow.trigger.hotkey
1903 | uid
1904 | 0FB4C25D-DC38-42C7-8070-516CE4943789
1905 | version
1906 | 2
1907 |
1908 |
1909 | config
1910 |
1911 | action
1912 | 0
1913 | argument
1914 | 3
1915 | argumenttext
1916 | right_size
1917 | focusedappvariable
1918 |
1919 | focusedappvariablename
1920 |
1921 | hotkey
1922 | 2
1923 | hotmod
1924 | 786432
1925 | hotstring
1926 | D
1927 | leftcursor
1928 |
1929 | modsmode
1930 | 0
1931 | relatedAppsMode
1932 | 0
1933 |
1934 | type
1935 | alfred.workflow.trigger.hotkey
1936 | uid
1937 | C76A989A-F196-41C9-BF7C-D85DE630794D
1938 | version
1939 | 2
1940 |
1941 |
1942 | config
1943 |
1944 | action
1945 | 0
1946 | argument
1947 | 3
1948 | argumenttext
1949 | left_size
1950 | focusedappvariable
1951 |
1952 | focusedappvariablename
1953 |
1954 | hotkey
1955 | 0
1956 | hotmod
1957 | 786432
1958 | hotstring
1959 | A
1960 | leftcursor
1961 |
1962 | modsmode
1963 | 0
1964 | relatedAppsMode
1965 | 0
1966 |
1967 | type
1968 | alfred.workflow.trigger.hotkey
1969 | uid
1970 | 0AA55BB7-9F32-4DA6-8F55-DAD10CF532FF
1971 | version
1972 | 2
1973 |
1974 |
1975 | config
1976 |
1977 | action
1978 | 0
1979 | argument
1980 | 3
1981 | argumenttext
1982 | left
1983 | focusedappvariable
1984 |
1985 | focusedappvariablename
1986 |
1987 | hotkey
1988 | 0
1989 | hotmod
1990 | 524288
1991 | hotstring
1992 | A
1993 | leftcursor
1994 |
1995 | modsmode
1996 | 0
1997 | relatedAppsMode
1998 | 0
1999 |
2000 | type
2001 | alfred.workflow.trigger.hotkey
2002 | uid
2003 | 7903F372-2DC3-488B-9D7F-E575C0C1DFFE
2004 | version
2005 | 2
2006 |
2007 |
2008 | config
2009 |
2010 | action
2011 | 0
2012 | argument
2013 | 3
2014 | argumenttext
2015 | right
2016 | focusedappvariable
2017 |
2018 | focusedappvariablename
2019 |
2020 | hotkey
2021 | 2
2022 | hotmod
2023 | 524288
2024 | hotstring
2025 | D
2026 | leftcursor
2027 |
2028 | modsmode
2029 | 0
2030 | relatedAppsMode
2031 | 0
2032 |
2033 | type
2034 | alfred.workflow.trigger.hotkey
2035 | uid
2036 | 7AB06038-BFF3-4C09-87A1-2558A032D37A
2037 | version
2038 | 2
2039 |
2040 |
2041 | config
2042 |
2043 | action
2044 | 0
2045 | argument
2046 | 3
2047 | argumenttext
2048 | up
2049 | focusedappvariable
2050 |
2051 | focusedappvariablename
2052 |
2053 | hotkey
2054 | 13
2055 | hotmod
2056 | 524288
2057 | hotstring
2058 | W
2059 | leftcursor
2060 |
2061 | modsmode
2062 | 0
2063 | relatedAppsMode
2064 | 0
2065 |
2066 | type
2067 | alfred.workflow.trigger.hotkey
2068 | uid
2069 | 7FBAFD3E-D7E8-4F5E-B79C-08BAE6819634
2070 | version
2071 | 2
2072 |
2073 |
2074 | config
2075 |
2076 | action
2077 | 0
2078 | argument
2079 | 3
2080 | argumenttext
2081 | down
2082 | focusedappvariable
2083 |
2084 | focusedappvariablename
2085 |
2086 | hotkey
2087 | 1
2088 | hotmod
2089 | 524288
2090 | hotstring
2091 | S
2092 | leftcursor
2093 |
2094 | modsmode
2095 | 0
2096 | relatedAppsMode
2097 | 0
2098 |
2099 | type
2100 | alfred.workflow.trigger.hotkey
2101 | uid
2102 | E71F89BE-1869-4DAF-BCDD-CA883A26CECF
2103 | version
2104 | 2
2105 |
2106 |
2107 | config
2108 |
2109 | behaviour
2110 | 2
2111 | fontmode
2112 | 0
2113 | fontsizing
2114 | 0
2115 | footertext
2116 |
2117 | inputfile
2118 | help.md
2119 | inputtype
2120 | 2
2121 | loadingtext
2122 |
2123 | outputmode
2124 | 0
2125 | scriptinput
2126 | 0
2127 | spellchecking
2128 | 0
2129 | stackview
2130 |
2131 |
2132 | type
2133 | alfred.workflow.userinterface.text
2134 | uid
2135 | 14F429DB-E8A9-405A-8096-E87D0F0640F7
2136 | version
2137 | 1
2138 |
2139 |
2140 | config
2141 |
2142 | action
2143 | 0
2144 | argument
2145 | 0
2146 | focusedappvariable
2147 |
2148 | focusedappvariablename
2149 |
2150 | hotkey
2151 | 44
2152 | hotmod
2153 | 786432
2154 | hotstring
2155 | /
2156 | leftcursor
2157 |
2158 | modsmode
2159 | 0
2160 | relatedAppsMode
2161 | 0
2162 |
2163 | type
2164 | alfred.workflow.trigger.hotkey
2165 | uid
2166 | 9D53F4A5-0141-4022-98EC-65639BD7B205
2167 | version
2168 | 2
2169 |
2170 |
2171 | readme
2172 | # Window Manager
2173 |
2174 | Alfred Workflow to move/resize/position windows
2175 |
2176 | **For actions like Left/Right Position, Maximize, and Center Two Thirds, the workflow saves the Window state so that you can restore it at any time.**
2177 |
2178 | ## Requirements
2179 |
2180 | * [Automation Tasks](https://www.alfredapp.com/help/workflows/automations/automation-task/)
2181 |
2182 | ## Usage
2183 |
2184 | `wm` keyword
2185 |
2186 | Keyboard shortcuts below are suggestions:
2187 |
2188 | * ^⌥[ : Move window to the left screen
2189 | * ^⌥] : Move window to the right screen
2190 | * ^⌥H : Center Two Thirds
2191 | * ^⌥M : Maximize
2192 | * ^⌥1 : Left third
2193 | * ^⌥2 : Center third
2194 | * ^⌥3 : Right Third
2195 | * ^⌥T : Top Half
2196 | * ^⌥B : Bottom Half
2197 | * ⇧↓ : Move to next screen
2198 | * ⇧↑ : Move to previous screen
2199 | * ^⌥C : Center Window
2200 | * ^⌥← : Window to the left screen
2201 | * ^⌥→ : Window to the right screen
2202 | * ⌃⌥\ : Reset Window
2203 | * ⇧⌥W : Scale up window
2204 | * ⇧⌥S : Scale down window
2205 | * ⇧⌥D : Scale up right side of the window
2206 | * ⇧⌥A : Scale up left side of the window
2207 | * ⌥ A : Move window left
2208 | * ⌥ D : Move window right
2209 | * ⌥ W : Move window up
2210 | * ⌥ S : Move window down
2211 | uidata
2212 |
2213 | 03D2723C-1773-462E-A0E3-4F9B79BF872B
2214 |
2215 | colorindex
2216 | 3
2217 | note
2218 | Bottom Half
2219 | xpos
2220 | 575
2221 | ypos
2222 | 1430
2223 |
2224 | 0AA55BB7-9F32-4DA6-8F55-DAD10CF532FF
2225 |
2226 | colorindex
2227 | 6
2228 | note
2229 | Scale up left side of the window
2230 | xpos
2231 | 575
2232 | ypos
2233 | 2790
2234 |
2235 | 0D1E46BB-6FEB-4A8F-8747-0A73805CF22D
2236 |
2237 | note
2238 | Bottom Half
2239 | xpos
2240 | 1790
2241 | ypos
2242 | 1540
2243 |
2244 | 0FB4C25D-DC38-42C7-8070-516CE4943789
2245 |
2246 | colorindex
2247 | 6
2248 | note
2249 | Scale down window
2250 | xpos
2251 | 575
2252 | ypos
2253 | 2460
2254 |
2255 | 10499795-894B-44C4-9953-016F46E1135D
2256 |
2257 | note
2258 | Scale
2259 | xpos
2260 | 1795
2261 | ypos
2262 | 2320
2263 |
2264 | 14F429DB-E8A9-405A-8096-E87D0F0640F7
2265 |
2266 | xpos
2267 | 805
2268 | ypos
2269 | 3615
2270 |
2271 | 15794641-8D20-4191-854F-39FEFE6B4106
2272 |
2273 | colorindex
2274 | 3
2275 | note
2276 | Center Third
2277 | xpos
2278 | 570
2279 | ypos
2280 | 1145
2281 |
2282 | 19C17E3D-DA6F-4A35-9E9B-455BA4FD1031
2283 |
2284 | xpos
2285 | 1535
2286 | ypos
2287 | 750
2288 |
2289 | 22201393-C9B4-4640-8A11-350343F16191
2290 |
2291 | xpos
2292 | 1355
2293 | ypos
2294 | 805
2295 |
2296 | 23D71A90-5EC3-4261-A130-EE34F4505EB5
2297 |
2298 | colorindex
2299 | 3
2300 | note
2301 | Center Two Thirds
2302 | xpos
2303 | 570
2304 | ypos
2305 | 710
2306 |
2307 | 26D6E144-607A-492B-9D56-EE7349D443B4
2308 |
2309 | note
2310 | Reset
2311 | xpos
2312 | 1790
2313 | ypos
2314 | 2010
2315 |
2316 | 27579C3A-5704-4D88-947A-2036510ADD3F
2317 |
2318 | note
2319 | Left Third
2320 | xpos
2321 | 1785
2322 | ypos
2323 | 960
2324 |
2325 | 2A0B89E7-9044-432A-A3F7-C205C11C128E
2326 |
2327 | colorindex
2328 | 3
2329 | note
2330 | Left Third
2331 | xpos
2332 | 570
2333 | ypos
2334 | 1000
2335 |
2336 | 3204E945-B6BF-4265-AAA8-C6C25741884E
2337 |
2338 | colorindex
2339 | 9
2340 | note
2341 | Move to previous screen
2342 | xpos
2343 | 565
2344 | ypos
2345 | 150
2346 |
2347 | 3411AFF0-2041-4E95-B451-45847D3EFE3E
2348 |
2349 | xpos
2350 | 945
2351 | ypos
2352 | 2320
2353 |
2354 | 34BFA0E9-B1E3-4F31-B594-AAEED8A8299D
2355 |
2356 | xpos
2357 | 1165
2358 | ypos
2359 | 805
2360 |
2361 | 370D3E78-9C67-4250-BADB-839BD58546F7
2362 |
2363 | colorindex
2364 | 3
2365 | note
2366 | Right Third
2367 | xpos
2368 | 570
2369 | ypos
2370 | 1280
2371 |
2372 | 38151F7B-8008-4180-B4E4-9C5D423C5066
2373 |
2374 | colorindex
2375 | 3
2376 | note
2377 | Center Window
2378 | xpos
2379 | 575
2380 | ypos
2381 | 1780
2382 |
2383 | 411DB4D7-6C73-4FA1-99A5-E2A2C8068D85
2384 |
2385 | colorindex
2386 | 3
2387 | note
2388 | Window to the right screen
2389 | xpos
2390 | 570
2391 | ypos
2392 | 550
2393 |
2394 | 561D6C7F-E66D-40EB-8814-4E275EED1214
2395 |
2396 | note
2397 | Left
2398 | xpos
2399 | 1785
2400 | ypos
2401 | 395
2402 |
2403 | 56EF0394-FE08-4032-AD30-003CED7CCF99
2404 |
2405 | note
2406 | Right Third
2407 | xpos
2408 | 1785
2409 | ypos
2410 | 1240
2411 |
2412 | 57E733ED-8FA0-4D44-A531-82C92538B0C3
2413 |
2414 | xpos
2415 | 285
2416 | ypos
2417 | 855
2418 |
2419 | 5E6F5E3B-B9CB-449B-9724-E4E8B4F45CC1
2420 |
2421 | colorindex
2422 | 9
2423 | note
2424 | Move to next screen
2425 | xpos
2426 | 565
2427 | ypos
2428 | 15
2429 |
2430 | 61F8EE82-4398-4234-8CC2-A79D378F0D91
2431 |
2432 | xpos
2433 | 1775
2434 | ypos
2435 | 15
2436 |
2437 | 69CEBDAD-0632-4A61-9233-9F35F7E9F02C
2438 |
2439 | xpos
2440 | 805
2441 | ypos
2442 | 2350
2443 |
2444 | 7903F372-2DC3-488B-9D7F-E575C0C1DFFE
2445 |
2446 | colorindex
2447 | 6
2448 | note
2449 | Move window left
2450 | xpos
2451 | 575
2452 | ypos
2453 | 2970
2454 |
2455 | 7AB06038-BFF3-4C09-87A1-2558A032D37A
2456 |
2457 | colorindex
2458 | 6
2459 | note
2460 | Move window right
2461 | xpos
2462 | 575
2463 | ypos
2464 | 3130
2465 |
2466 | 7AE7B102-6F0E-4086-A929-4CBC0F8F230F
2467 |
2468 | colorindex
2469 | 1
2470 | note
2471 | Reset Window
2472 | xpos
2473 | 575
2474 | ypos
2475 | 2010
2476 |
2477 | 7CFADCC9-E898-4C75-9703-919B361362A6
2478 |
2479 | note
2480 | Right
2481 | xpos
2482 | 1785
2483 | ypos
2484 | 530
2485 |
2486 | 7FBAFD3E-D7E8-4F5E-B79C-08BAE6819634
2487 |
2488 | colorindex
2489 | 6
2490 | note
2491 | Move window up
2492 | xpos
2493 | 575
2494 | ypos
2495 | 3290
2496 |
2497 | 888A02A3-2C70-4D4A-A926-A4954E8E9BD5
2498 |
2499 | colorindex
2500 | 3
2501 | note
2502 | Maximize
2503 | xpos
2504 | 570
2505 | ypos
2506 | 855
2507 |
2508 | 8BF84999-E5A9-432C-914A-49ECF6A4582B
2509 |
2510 | colorindex
2511 | 3
2512 | note
2513 | Top Half
2514 | xpos
2515 | 575
2516 | ypos
2517 | 1565
2518 |
2519 | 8D92843D-8E75-4B98-86C8-162FA0D973B2
2520 |
2521 | note
2522 | Center Third
2523 | xpos
2524 | 1785
2525 | ypos
2526 | 1095
2527 |
2528 | 951B4211-41AD-4138-967E-9C35F483E46F
2529 |
2530 | xpos
2531 | 945
2532 | ypos
2533 | 2010
2534 |
2535 | 980F8228-5E0B-479A-819C-653F9F8B8DF5
2536 |
2537 | note
2538 | Center Two Thirds
2539 | xpos
2540 | 1785
2541 | ypos
2542 | 665
2543 |
2544 | 9D53F4A5-0141-4022-98EC-65639BD7B205
2545 |
2546 | xpos
2547 | 575
2548 | ypos
2549 | 3615
2550 |
2551 | B112413B-7E57-4B10-8450-284C42B5E36F
2552 |
2553 | xpos
2554 | 940
2555 | ypos
2556 | 805
2557 |
2558 | B269FAEA-BEC7-42B2-8575-605D0C2C09EC
2559 |
2560 | xpos
2561 | 1090
2562 | ypos
2563 | 835
2564 |
2565 | C76A989A-F196-41C9-BF7C-D85DE630794D
2566 |
2567 | colorindex
2568 | 6
2569 | note
2570 | Scale up right side of the window
2571 | xpos
2572 | 575
2573 | ypos
2574 | 2615
2575 |
2576 | C979B2FE-F00D-4D28-A18B-93715B910C9D
2577 |
2578 | note
2579 | Top Half
2580 | xpos
2581 | 1790
2582 | ypos
2583 | 1390
2584 |
2585 | CFAD3BF2-AB4B-4DA4-ADD9-3C68698ABA6E
2586 |
2587 | note
2588 | Maximize
2589 | xpos
2590 | 1785
2591 | ypos
2592 | 805
2593 |
2594 | D0BA191C-A3CE-4974-A263-B9979376FFEF
2595 |
2596 | xpos
2597 | 850
2598 | ypos
2599 | 835
2600 |
2601 | D2302F7A-7011-4B69-995F-29395ABE636E
2602 |
2603 | colorindex
2604 | 4
2605 | note
2606 | Window to the left screen
2607 | xpos
2608 | 570
2609 | ypos
2610 | 385
2611 |
2612 | D65BB2F2-21FE-475E-9598-B0503F6C828B
2613 |
2614 | xpos
2615 | 1180
2616 | ypos
2617 | 2040
2618 |
2619 | E71F89BE-1869-4DAF-BCDD-CA883A26CECF
2620 |
2621 | colorindex
2622 | 6
2623 | note
2624 | Move window down
2625 | xpos
2626 | 575
2627 | ypos
2628 | 3445
2629 |
2630 | E90EB173-3B7E-4C6C-B148-E83B370D1154
2631 |
2632 | note
2633 | Center
2634 | xpos
2635 | 1790
2636 | ypos
2637 | 1785
2638 |
2639 | ED2BA858-527C-44E5-9FF2-D9421C2F823C
2640 |
2641 | xpos
2642 | 1375
2643 | ypos
2644 | 2010
2645 |
2646 | EEB61DAA-AC41-493F-9CA0-93678C6BCD3B
2647 |
2648 | xpos
2649 | 1780
2650 | ypos
2651 | 150
2652 |
2653 | F9ED3B81-132C-4B76-AFED-DC01089EDD0D
2654 |
2655 | xpos
2656 | 1375
2657 | ypos
2658 | 2320
2659 |
2660 | FB20ABAF-9BD0-4FF7-BB76-AE59C263B85A
2661 |
2662 | xpos
2663 | 55
2664 | ypos
2665 | 880
2666 |
2667 | FE582004-9AD4-40DD-AB0B-13BEABC1B505
2668 |
2669 | colorindex
2670 | 6
2671 | note
2672 | Scale up window
2673 | xpos
2674 | 575
2675 | ypos
2676 | 2320
2677 |
2678 |
2679 | userconfigurationconfig
2680 |
2681 |
2682 | config
2683 |
2684 | default
2685 | 0.1
2686 | placeholder
2687 | 0.1
2688 | required
2689 |
2690 | trim
2691 |
2692 |
2693 | description
2694 | Factor that will be applied when resizing window
2695 | label
2696 | Resizing factor
2697 | type
2698 | textfield
2699 | variable
2700 | resize_factor
2701 |
2702 |
2703 | config
2704 |
2705 | default
2706 | 80
2707 | placeholder
2708 | 80
2709 | required
2710 |
2711 | trim
2712 |
2713 |
2714 | description
2715 | Pixels to move windows
2716 | label
2717 | Window move
2718 | type
2719 | textfield
2720 | variable
2721 | move_steps
2722 |
2723 |
2724 | config
2725 |
2726 | default
2727 | 521
2728 | placeholder
2729 |
2730 | required
2731 |
2732 | trim
2733 |
2734 |
2735 | description
2736 | Fallback X position of the Window
2737 | label
2738 | Fallback X
2739 | type
2740 | textfield
2741 | variable
2742 | default_x
2743 |
2744 |
2745 | config
2746 |
2747 | default
2748 | 1073
2749 | placeholder
2750 |
2751 | required
2752 |
2753 | trim
2754 |
2755 |
2756 | description
2757 | Fallback window width
2758 | label
2759 | Fallback width
2760 | type
2761 | textfield
2762 | variable
2763 | default_width
2764 |
2765 |
2766 | config
2767 |
2768 | default
2769 | 404
2770 | placeholder
2771 |
2772 | required
2773 |
2774 | trim
2775 |
2776 |
2777 | description
2778 | Fallback Y position of the Window
2779 | label
2780 | Fallabak Y
2781 | type
2782 | textfield
2783 | variable
2784 | default_y
2785 |
2786 |
2787 | config
2788 |
2789 | default
2790 | 565
2791 | placeholder
2792 |
2793 | required
2794 |
2795 | trim
2796 |
2797 |
2798 | description
2799 | Fallback window height
2800 | label
2801 | Fallback height
2802 | type
2803 | textfield
2804 | variable
2805 | default_height
2806 |
2807 |
2808 | variablesdontexport
2809 |
2810 | version
2811 | 2.0
2812 | webaddress
2813 | https://github.com/Acidham/alfred-window-manager
2814 |
2815 |
2816 |
--------------------------------------------------------------------------------