Firstly, you need to install v4l2loopback and obs-v4l2sink. On arch linux with yay:
yay -Syu obs-v4l2sink v4l2loopback-dkms
Then, set up a systemd service:
koyoko% cat /etc/systemd/system/v4l2loopback.service
Firstly, you need to install v4l2loopback and obs-v4l2sink. On arch linux with yay:
yay -Syu obs-v4l2sink v4l2loopback-dkms
Then, set up a systemd service:
koyoko% cat /etc/systemd/system/v4l2loopback.service
#!/bin/bash | |
# chmod the script and run like this ./ctabus.sh [bus code] | |
curl -s "http://ctabustracker.com/bustime/eta/getStopPredictionsETA.jsp?route=all&stop=$1" |grep '<pt>'|grep -o '[0-9]*' |
#!/bin/bash | |
# Note that /landscape/ contains any image file name png,jpg,jpeg and is a landscape image and vise versa for portrait | |
# This works in order of monitor ID (DP-0 -> DP-2) in that order | |
feh --bg-fill "$(find /landscape/ -regextype posix-extended -regex '.*\.(png|jpg|jpeg)$' -print0 |shuf -z -n 1)" "$(find /portrait/ -regextype posix-extended -regex '.*\.(png|jpg|jpeg)$' -print0 |shuf -z -n 1)" |
#!/bin/bash | |
# RUN THIS AS ROOT!!! | |
pacman -S archlinux-keyring arcolinux-keyring | |
rm -rf /var/lib/pacman/sync/ | |
rm -rf /etc/pacman.d/gnupg/ | |
pacman -Scc --noconfirm | |
pacman-key --init | |
pacman-key --populate archlinux | |
pacman-key --populate arcolinux | |
pacman-key --refresh-keys |
# Terraria Button Holder | |
# Written by 641i130 | |
# (DVORAK KEYBOARD LAYOUT) | |
import pynput | |
import time | |
pm = pynput.mouse | |
pk = pynput.keyboard | |
mc = pm.Controller() | |
kc = pk.Controller() |