Skip to content

Instantly share code, notes, and snippets.

@mic-e
mic-e / sftpomo.py
Last active February 1, 2024 13:12
Simple libnotify pomodoro timer which enforces i3 workspace focus
#!/usr/bin/env python3
import argparse
import datetime
import math
import json
import os
import subprocess
import threading
import time
import typing
#!/usr/bin/env python3
"""
Allows the user to select a process with fzf, then performs the specified
action on it (send SIGTERM by default).
"""
import argparse
import os
import re
import shlex
import subprocess