This file contains 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
#!/usr/bin/env python3 | |
import subprocess | |
import sys | |
import json | |
def swap_workspaces(id1, name1, id2, name2): | |
# print("Swapping workspaces {}:{} and {}:{}".format(name1, id1, name2, id2)) | |
# },{ | |
# "address": "0x561521e76e10", |
This file contains 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
#!/usr/bin/env python3 | |
import subprocess | |
import sys | |
import json | |
def get_input_from_rofi(): | |
rofi = subprocess.run( | |
["rofi", "-dmenu", "-p", "Workspace Name"], stdout=subprocess.PIPE, text=True | |
) |
This file contains 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
[ | |
{ | |
"name": "Lily58 hariseldon78", | |
"author": "hariseldon78" | |
}, | |
[ | |
{ | |
"x": 3, | |
"t": "#000000\n\n#ef6e00" | |
}, |