This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bl_info = { | |
"name" : "Gamepad Control", | |
"author" : "Mokocchi", | |
"description" : "Control the blender viewport using a gamepad - based on István Donkó PoC", | |
"blender" : (3, 4, 1), | |
"category" : "Generic" | |
} | |
import evdev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requires https://github.com/caarlos0/timer and cowsay to be installed | |
declare -A pomo_options | |
pomo_options["work"]="45m" | |
pomo_options["break"]="10m" | |
pomodoro () { | |
if [ -n "$1" -a -n "${pomo_options["$1"]}" ]; then | |
val=$1 | |
echo $val | cowsay |