Skip to content

Instantly share code, notes, and snippets.

View nephitejnf's full-sized avatar

nephitejnf

View GitHub Profile
@nephitejnf
nephitejnf / doomenu
Last active April 19, 2023 17:45
A dmenu script for running doom WADs with various source ports (some of the more popular)
#!/bin/sh
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
#
# Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
#
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document, and changing it is allowed as long
# as the name is changed.
@nephitejnf
nephitejnf / waifu-get
Created March 5, 2020 05:03
get a pic of a random waifu
#!/bin/sh
wget -O- "https://mywaifulist.moe/random" | hxnormalize -x | hxextract -x "meta" - | hxselect -s '\n' -i "::attr(content)" | grep -E '(jpeg|png|jpg)' | head -1 | cut -d '"' -f2 | wget -O waifu.png -i-
sxiv waifu.png
rm waifu.png
@nephitejnf
nephitejnf / config.py
Last active January 2, 2023 23:17
Qute Config
config.load_autoconfig(False)
# bindings.commands = {"normal": {";w": "hint links spawn --detach mpv --force-window yes {hint-url}", "pt": "pin-tab"}}
config.bind('pt', 'tab-pin')
config.bind(';w','hint links spawn --detach mpv --force-window yes {hint-url}')
config.bind(';W','spawn --detach mpv --force-window yes {url}')
config.bind(';I','hint images spawn --output-messages wget -P "/home/nephitejnf/Downloads/Qute/" {hint-url}')
# password management
config.bind('ee','spawn --userscript qute-pass')
config.bind('eu','spawn --userscript qute-pass --username-only')
@nephitejnf
nephitejnf / copypasta-sh
Last active February 18, 2022 20:08
A script that helps making getting your common copypastas into clipboard quicker
#!/bin/sh
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
#
# Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
#
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document, and changing it is allowed as long
# as the name is changed.
#
@nephitejnf
nephitejnf / config
Created June 9, 2022 17:20
waybar river
// -*- mode: json -*-
{
"layer": "top",
"position": "bottom",
"modules-left": [
"river/tags",
"custom/right-arrow-dark",
"custom/right-arrow-light",
@nephitejnf
nephitejnf / twitch-sublist
Created June 14, 2022 17:59
A dmenu script to pick your favorite streamers from
#!/bin/sh
SUBS="pikasprey\nkitboga\nsscait\nexarionu"
STREAMER=$(echo -e ${SUBS} | dmenu -p "Pick a streamer:")
mpv https://twitch.tv/${STREAMER}