diff --git a/.config/doom/config.el b/.config/doom/config.el index 416d107..0be366d 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -25,7 +25,7 @@ ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: (setq doom-theme 'doom-one - doom-font (font-spec :family "Fira Code" :size 28 :weight 'semi-light) + doom-font (font-spec :family "Fira Code" :size 26 :weight 'semi-light) doom-variable-pitch-font (font-spec :family "sans" :size 28)) (setq display-line-numbers-type 'relative) diff --git a/.config/shell/functions b/.config/shell/functions index 6a6a17a..500b71a 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -106,6 +106,9 @@ alias lst='( last; last -f /var/log/wtmp.1 ) | grep -v "pts/" | tac | less +G' alias lar='last | tac' tr() { tree -a -L 2 --du -h -C "$@" | ${PAGER:-less} } +alias browse-safe='sudo systemctl disable --now systemd-resolved && sudo rm /etc/resolv.conf && sudo cp /etc/resolv.conf.bak /etc/resolv.conf && sudo chattr +i /etc/resolv.conf' +alias browse-unsafe='sudo chattr -i /etc/resolv.conf && sudo mv /etc/resolv.conf /etc/resolv.conf.bak && sudo systemctl enable --now systemd-resolved' + xo() { while test $# -gt 0; do xdg-open "$1"