Skip to content

Instantly share code, notes, and snippets.

View Difrex's full-sized avatar
🙀
^_-

Denis Zheleztsov Difrex

🙀
^_-
View GitHub Profile

Get the current keyboard layout in the Sway

key_layout.py

#!/usr/bin/python

import json
import os

theme_reloader.py

#!/usr/bin/env python

from datetime import datetime
from os import popen, environ
import time

wal themes

solarized dark

{
  "special": {
    "background": "#002b36",
    "foreground": "#839496",
    "cursor": "#586e75"

Keybase proof

I hereby claim:

  • I am Difrex on github.
  • I am difrex (https://keybase.io/difrex) on keybase.
  • I have a public key whose fingerprint is 6572 E076 4C47 6C15 CAE4 B4EC 4BD3 20F8 4E5C B43A

To claim this, I am signing this object: