all repos — dotfiles @ 0c629a2b5b6a9c3e6d5b26bf9e792a80d74f40d1

linux dotfiles

bunch o' stuff - lol
Prithu Goswami pg@prithu.dev
Sun, 27 Jun 2021 14:42:18 +0530
commit

0c629a2b5b6a9c3e6d5b26bf9e792a80d74f40d1

parent

d474d5f8e7d6bd7bd443965bedc0cc097aa70b00

A bin/scripts/mk-pass-bkp

@@ -0,0 +1,8 @@

+#!/bin/sh + +cp -r $HOME/.password-store /tmp +rm -rf /tmp/.password-store/.git +cd /tmp +tar czf passwords.tar.gz .password-store +rclone copy passwords.tar.gz drive: +mv passwords.tar.gz $HOME
M bin/scripts/update_home_dns.shbin/scripts/update_home_dns.sh

@@ -28,7 +28,10 @@ TTL="5"

NETLIFY_API="https://api.netlify.com/api/v1" -EXTERNAL_IP=`dig +short myip.opendns.com @resolver1.opendns.com` +ping -q -c 1 ifconfig.io >/dev/null || exit +EXTERNAL_IP=`curl -s ifconfig.io` + +#EXTERNAL_IP=`dig +short myip.opendns.com @resolver1.opendns.com` echo "Current external IP is $EXTERNAL_IP" HOSTNAME="$SUBDOMAIN.$DOMAIN"
M config/weechat/weechat.confconfig/weechat/weechat.conf

@@ -4,7 +4,7 @@ #

# WARNING: It is NOT recommended to edit this file by hand, # especially if WeeChat is running. # -# Use /set or similar command to change settings in WeeChat. +# Use commands like /set or /fset to change settings in WeeChat. # # For more info, see: https://weechat.org/doc/quickstart #

@@ -236,7 +236,8 @@ [proxy]

[network] connection_timeout = 60 -gnutls_ca_file = "/etc/ssl/certs/ca-certificates.crt" +gnutls_ca_system = on +gnutls_ca_user = "" gnutls_handshake_timeout = 30 proxy_curl = ""

@@ -247,6 +248,13 @@ extension = ".so,.dll"

path = "%h/plugins" save_config_on_unload = on +[signal] +sighup = "${if:${info:weechat_headless}?/reload:/quit -yes}" +sigquit = "/quit -yes" +sigterm = "/quit -yes" +sigusr1 = "" +sigusr2 = "" + [bar] buflist.color_bg = default buflist.color_bg_inactive = default

@@ -261,7 +269,7 @@ buflist.position = left

buflist.priority = 0 buflist.separator = on buflist.size = 0 -buflist.size_max = 0 +buflist.size_max = 27 buflist.type = root fset.color_bg = default fset.color_bg_inactive = default

@@ -340,6 +348,7 @@ title.size_max = 0

title.type = window [layout] +_zoom.window = "1;0;0;0;core;weechat" [notify]
M home/.bashrchome/.bashrc

@@ -112,6 +112,7 @@ alias yw="mpv --ytdl-format=\"bestvideo[height<=480]+bestaudio/best[height<=480]\""

alias yal="mpv --ytdl-format=251" alias tmuxl="tmux list-session" alias rl="gpg -d ~/docs/org/lifelog/ll.gpg | sed 's/\t/ │ /' | less" +alias tb="nc termbin.com 9999" # alias ls='ls --color=auto' alias ls='exa'
M home/.gitconfighome/.gitconfig

@@ -1,5 +1,5 @@

[user] - email = prithugoswami524@gmail.com + email = pg@prithu.dev name = Prithu Goswami signingkey = A17AFDEA2EF9A76AA868285DE2AB251EDB8945E5