Commit Graph

4 Commits

Author SHA1 Message Date
MasterofJOKers e558da4427 Add switch-pa-sink
This script can be used to switch the pulseaudio sink of an application
to the next sink in the list of sinks. The sink is found by querying the
currently focused window from i3 and retrieving the PID via _NET_WM_PID
attribute using xprop. If that PID doesn't directly have sink attached,
the script searches for children of this PID having a sink and switches
those. This is useful to switch e.g. an mpv running inside a terminal.
2022-01-26 00:00:57 +01:00
MasterofJOKers 12c3ac9c05 Add sorted-co.py
This is a script to copy files onto an USB stick or an MP3 player in
sorted order so stupd mp3 players or radios that play files in the order
they were added to the directory instead of by sorted filename still
play the files in the right order.
2022-01-25 23:33:53 +01:00
MasterofJOKers 38fe8c0a82 Add *.swp to .gitignore 2022-01-25 23:33:41 +01:00
MasterofJOKers a7d5c21c45 Initial commit 2020-12-15 23:06:45 +00:00