Skip to content

Instantly share code, notes, and snippets.

View hariseldon78's full-sized avatar

Roberto Previdi hariseldon78

View GitHub Profile
#!/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",
#!/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
)
[
{
"name": "Lily58 hariseldon78",
"author": "hariseldon78"
},
[
{
"x": 3,
"t": "#000000\n\n#ef6e00"
},