This file contains 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
// ==UserScript== | |
// @name Gun HUD Ammo Color | |
// @namespace Violentmonkey Scripts | |
// @match https://suroi.io/* | |
// @grant none | |
// @version 1.0 | |
// @author Kenos | |
// @description silly | |
// ==/UserScript== |
This file contains 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
/* Suroi CSS mod */ | |
/* Contact <@1063520096028479611> on Discord for feedback */ | |
/* Use Stylus browser extension to apply styles */ | |
/* Font Change*/ | |
@import url(https://fonts.bunny.net/css?family=roboto-condensed:300,400,700); | |
*:not(i) { | |
font-family: 'Roboto Condensed'; |
This file contains 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
#!/bin/bash | |
rm -f .cache/yt-query .cache/yt-scrap | |
read -p "Search: " search # Ask for search | |
search=$(echo $search | sed s/" "/"+"/g) | |
curl "https://yewtu.be/search?q=type%3Avideo+$search" > ~/.cache/yt-scrap | |
grep "youtube.com" ~/.cache/yt-scrap | sed -e s/" <a title=\"Watch on YouTube\" href=\""//g -e s/"\">"//g > ~/.cache/yt-query | |
grep "<p dir=\"auto\"" ~/.cache/yt-scrap | sed -e s/" <p dir=\"auto\">"//g -e s/"<\/p>"//g > ~/.cache/yt-titles | |
selected_video=$(cat -n ~/.cache/yt-titles | fzf | awk '{print $1}') # video selectiom | |
video=$(awk "NR==$selected_video{print;exit}" ~/.cache/yt-query) # get video id | |
mpv $video # play video |