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
/* ==UserStyle== | |
@name Wikipedia Faithful Dark | |
@namespace github.com/openstyles/stylus | |
@version 1.0.1 | |
@description Dark theme that tries to preserve the colorful elements of wikipedia | |
@author Brocellous | |
@preprocessor less | |
@var checkbox wide "Wide view" 0 | |
@var checkbox strict "Strict colors" 0 |
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
#compdef swaymsg | |
typeset -A opt_args | |
__swaymsg() { | |
# Reuse socket path from command line if present | |
swaymsg ${(kv)opt_args[(I)-s|--socket]} "$@" 2>/dev/null | |
} | |
# _sway | |
# sway ipc {{{ |
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 | |
read -d $'\0' HELP <<-EOF | |
Usage: ${0##*/} [-h|--help] | |
${0##*/} [-l|--logfile <logfile>] { PACKAGE | - } | |
Revert package upgrades from the most recent transaction. | |
Specify which packages on the command line to limit which | |
are downgraded, or use '-' to read package list from stdin. |
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 | |
if [[ ! -f "$1" ]]; then | |
cat <<-EOF | |
Usage: ${0##*/} [hacking_file] | |
EOF | |
exit 1 | |
fi | |
hack() { | |
stty -echo |