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
//usr/bin/go run $0 $@; exit $? | |
package main | |
import ( | |
"io/ioutil" | |
"math/rand" | |
"os" | |
"os/exec" | |
"strings" |
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
#!/usr/bin/env bash | |
tmpfile=$(mktemp -u --suffix=.png) | |
gnome-screenshot -a -f $tmpfile | |
swappy -f $tmpfile | |
last=$(ls -t ~/Pictures/Swappy_* | head -n1) | |
[[ ! -z "$last" ]] && nautilus -s $last | |
rm $tmpfile |
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
[Settings] | |
gtk-application-prefer-dark-theme = true | |
gtk-theme-name = Adwaita | |
gtk-fallback-icon-theme = gnome | |
gtk-icon-theme-name = Adwaita | |
gtk-font-name = Segoe UI 12 |
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
alias dcru="docker-compose run --user \"$(id -u):$(id -g)\"" | |
alias dcrssh="docker-compose run -v $SSH_AUTH_SOCK:/ssh-agent -e SSH_AUTH_SOCK=/ssh-agent" | |
alias dclf="docker-compose logs -f --tail=50" |