This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from AppKit import NSWorkspace | |
sharedWorkspace = NSWorkspace.sharedWorkspace() | |
launchedApps = sharedWorkspace.launchedApplications() | |
for liveApp in launchedApps: | |
appName = str(liveApp.allValues()[-1] | |
appPath = str(liveApp.allValues()[0]) | |
appIcon = sharedWorkspace.iconForFile_(appPath) | |
icoPath = './' + appName + '.png' | |
appIcon.TIFFRepresentation().writeToFile_atomically_(icoPath, False) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ "keys": ["super+ctrl+1"], "command": "focus_group", "args": { "group": 0 } }, | |
{ "keys": ["super+ctrl+2"], "command": "focus_group", "args": { "group": 1 } }, | |
{ "keys": ["super+ctrl+3"], "command": "focus_group", "args": { "group": 2 } }, | |
{ "keys": ["super+ctrl+4"], "command": "focus_group", "args": { "group": 3 } } | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Estimates power spectra from proxy record dataframes | |
==================================================== | |
""" | |
# Last modified: Wed Nov 04, 2020 01:48pm | |
# | |
# Copyright (C) 2020 Bedartha Goswami <bedartha.goswami@uni-tuebingen.de> | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU Affero General Public License as published |