Skip to content

Instantly share code, notes, and snippets.

@dpgeekzero
dpgeekzero / swayoutputctl.py
Created April 1, 2019 12:56
swayoutputctl that handles disabled displays
#!/usr/bin/env python3
import json
import subprocess
import argparse
from xdg import BaseDirectory
from pathlib import Path
def get_output_current():

Keybase proof

I hereby claim:

  • I am dpgeekzero on github.
  • I am dougp (https://keybase.io/dougp) on keybase.
  • I have a public key whose fingerprint is F191 9D3A DB46 85C0 1EEC C2F1 969F A743 9047 26D7

To claim this, I am signing this object: