Skip to content

Instantly share code, notes, and snippets.

View vician's full-sized avatar

Martin Vician vician

View GitHub Profile

Keybase proof

I hereby claim:

  • I am vician on github.
  • I am vician (https://keybase.io/vician) on keybase.
  • I have a public key ASDgZ6gm2zPKc6OL8wqS1PNYebUz5Nn995YMGclorBy0aQo

To claim this, I am signing this object:

var str=""; document.querySelectorAll("a[href*='dl.humble.com']").forEach(link => str += (`wget "${link.href}" -O "${link.href.replace('https://dl.humble.com/', '').replace(/\?.*/, '')}"; `)); console.dir(str)
#!/bin/bash
nohup budgie-panel --replace & 1>/dev/null 2>/dev/null
#!/bin/bash
sleep 0.5;
choice="$1"
if [ "$choice" == "play" ] || [ "$choice" == "playpause" ] || [ "$choice" == "pause" ]; then
xdotool key XF86AudioPlay
elif [ "$choice" == "up" ] || [ "$choice" == "volumeup" ]; then
xdotool key XF86AudioRaiseVolume
elif [ "$choice" == "down" ] || [ "$choice" == "volumedown" ]; then
xdotool key XF86AudioLowerVolume
elif [ "$choice" == "mute" ] ; then
@vician
vician / weather-notify.sh
Last active November 1, 2022 18:23
Bubble notification for current weather condition (via wttr.in)
#!/bin/bash
CITY="prague"
notify-send "$(curl wttr.in/$CITY 2>/dev/null 3>/dev/null | head -n 7| sed -r "s:\x1B\[[0-9;]*[mK]::g")"