diff --git a/any/bash/.bash_aliases b/any/bash/.bash_aliases index 2d6de79..bdc7257 100644 --- a/any/bash/.bash_aliases +++ b/any/bash/.bash_aliases @@ -7,6 +7,7 @@ fi alias git="GPG_TTY=\$(tty) git" alias gitfixlast="git rebase -i \$(git log | grep '^commit ' | head -3 | tail -1 | cut -d' ' -f2) && git push -f" alias gitcommitfix="git add -u && git commit -m f && gitfixlast" +alias gitpushnew="bash -c \"\$(git push 2>&1 | grep -P '^\s+git push' | perl -pe 's/^\s+//')\"" # KubeCtl if [ -x "$(command -v kubectl)" ] diff --git a/any/scripts/.local/bin/irc b/any/scripts/.local/bin/irc new file mode 100755 index 0000000..65b1142 --- /dev/null +++ b/any/scripts/.local/bin/irc @@ -0,0 +1,36 @@ +#!/bin/bash + +function irc-notification { + TYPE=$1 + MSG=$2 + + notify-send \ + -t 5000 \ + -u critical \ + --category IRC \ + --app-name=IRC \ + "$TYPE" \ + "$MSG" + + if [ -f /usr/share/sounds/freedesktop/stereo/message-new-instant.oga ] + then + paplay /usr/share/sounds/freedesktop/stereo/message-new-instant.oga + fi +} + +notification_sound="" + +listener_ssh_cmd="ssh weechat@weechat -- nc -k -l -U /tmp/weechat.notify.sock" + +function get-irc-notifications { + $listener_ssh_cmd | \ + while read type message; do + irc-notification "$(echo -n $type | base64 -d)" "$(echo -n $message | base64 -d)" + done +} + +get-irc-notifications & + +trap "pkill -f '$listener_ssh_cmd'" EXIT + +ssh -t weechat@weechat -- "~/weechat.sh" diff --git a/linux-gnu/fonts/.local/share/fonts/.uuid b/linux-gnu/fonts/.local/share/fonts/.uuid deleted file mode 100644 index 22c0504..0000000 --- a/linux-gnu/fonts/.local/share/fonts/.uuid +++ /dev/null @@ -1 +0,0 @@ -238407d0-2588-44dc-a0ca-2fa9b75f4e74 \ No newline at end of file diff --git a/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-1000-em Nerd Font Complete Mono.ttf b/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-1000-em Nerd Font Complete Mono.ttf deleted file mode 100644 index 3282f18..0000000 Binary files a/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-1000-em Nerd Font Complete Mono.ttf and /dev/null differ diff --git a/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-1000-em Nerd Font Complete.ttf b/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-1000-em Nerd Font Complete.ttf deleted file mode 100644 index f7e5cb1..0000000 Binary files a/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-1000-em Nerd Font Complete.ttf and /dev/null differ diff --git a/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-2048-em Nerd Font Complete Mono.ttf b/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-2048-em Nerd Font Complete Mono.ttf deleted file mode 100644 index 1d15c56..0000000 Binary files a/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-2048-em Nerd Font Complete Mono.ttf and /dev/null differ diff --git a/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-2048-em Nerd Font Complete.ttf b/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-2048-em Nerd Font Complete.ttf deleted file mode 100644 index b155e1b..0000000 Binary files a/linux-gnu/fonts/.local/share/fonts/NerdFonts/Symbols-2048-em Nerd Font Complete.ttf and /dev/null differ