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 | |
# NOTE: This script exports only one uid | |
key_pattern= | |
remote_host= | |
remote_path=/var/www/html/.well-known/openpgpkey/hu/ | |
for item in $(gpg --list-secret-keys --with-colons ${key_pattern:- } \ | |
| awk -F: '($1 == "sec" && $2 == "u") { print $5}'); do |
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 | |
# | |
# Layout and Resolution | |
# NOTE: Equivalent settings set in xorg.conf | |
# NOTE: Never mind, xorg.conf is way too convoluted | |
SCREEN_NO="$(xrandr --query | grep '\bconnected\b' | wc -l)" | |
echo "Setting up $SCREEN_NO screen(s) with xrandr" |
OlderNewer