dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 952f2cf87eab6f094fa537a10759ddb2b3b83033
parent 66f58a5fbb038a49cfca1e399eaf4b917e02b555
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 25 Nov 2022 16:43:36 +0000

small updates

Diffstat:
Mbin/bin/fontpreview.sh | 17++++++++---------
Mbin/bin/lock | 1+
Mbin/bin/mario | 2+-
Mbin/bin/sysinfo | 24++++++++++++------------
4 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/bin/bin/fontpreview.sh b/bin/bin/fontpreview.sh @@ -1,13 +1,12 @@ #!/bin/sh echo " - - 0 1 2 3 4 5 6 7 8 9 -A B C D E F G H I J K L M N O P Q R S T U V W X Y Z -a b c d e f g h i j k l m n o p q r s t u v w x y z - ! @ # \$ % ^ & * ( ) _ + = - - , . / ; ' [ ] - < > ? : \" { } - - + + 0 1 2 3 4 5 6 7 8 9 + A B C D E F G H I J K L M N O P Q R S T U V W X Y Z + a b c d e f g h i j k l m n o p q r s t u v w x y z + ! @ # \$ % ^ & * ( ) _ + = - + , . / ; ' [ ] + < > ? : \" { } + " diff --git a/bin/bin/lock b/bin/bin/lock @@ -1,2 +1,3 @@ #pkill ssh-agent ; pkill gpg-agent i3lock -u -c \#1e1b1c +#i3lock -u -i /home/pyratebeard/dchs3.png -c \#2b2f2e diff --git a/bin/bin/mario b/bin/bin/mario @@ -25,7 +25,7 @@ vimify() { plumbit() { case ${filetype} in JPEG|PNG|GIF) /home/pyratebeard/bin/webimg "${url}" ;; - Audio) /usr/bin/mpv "${url}" ;; + Audio|WebM) /usr/bin/mpv "${url}" ;; POSIX) urxvtc -hold -e curl -s ${url} ;; ISO) iso_type ;; HTML|XML) qutebrowser "${url}" ;; diff --git a/bin/bin/sysinfo b/bin/bin/sysinfo @@ -54,22 +54,22 @@ draw() #\\ greets -printf " \e[1;33m user \e[0;34m┄┬┄ \e[0;33m$name\n" -printf " \e[1;33m host \e[0;34m┄┼┄ \e[1;35m$host\e[0m\n" -printf " \e[1;33m up \e[0;34m┄┴┄ \e[1;37m$uptime\n" +printf " \e[1;37m user \e[0;33m┄┬┄ \e[1;33m$name\n" +printf " \e[1;37m host \e[0;33m┄┼┄ \e[1;34m$host\e[0m\n" +printf " \e[1;37m up \e[0;33m┄┴┄ \e[0;37m$uptime\n" printf " \e[0m\n" #\\ environment -printf " \e[1;33m distro \e[0;34m┄┬┄ \e[0m$distro\n" -printf " \e[1;33m kernel \e[0;34m┄┼┄ \e[0m$kernel\n" -printf " \e[1;33mpackages \e[0;34m┄┼┄ \e[0m$pkgs\n" -#printf " \e[1;35m upgrade \e[38;5;236m▓▒ \e[0m$upgrade\n" -printf " \e[1;33m wm \e[0;34m┄┼┄ \e[0m$wm\n" -printf " \e[1;33m shell \e[0;34m┄┼┄ \e[0m$shell\n" -printf " \e[1;33m term \e[0;34m┄┼┄ \e[0m$term\n" -printf " \e[1;33m font \e[0;34m┄┼┄ \e[0m$font $font_size\n" -printf " \e[1;33m colors \e[0;34m┄┴┄ \e[0m$colors\n" +printf " \e[1;37m distro \e[0;33m┄┬┄ \e[0m$distro\n" +printf " \e[1;37m kernel \e[0;33m┄┼┄ \e[0m$kernel\n" +printf " \e[1;37mpackages \e[0;33m┄┼┄ \e[0m$pkgs\n" +printf " \e[1;37m wm \e[0;33m┄┼┄ \e[0m$wm\n" +printf " \e[1;37m shell \e[0;33m┄┼┄ \e[0m$shell\n" +printf " \e[1;37m term \e[0;33m┄┼┄ \e[0m$term\n" +printf " \e[1;37m font \e[0;33m┄┼┄ \e[0m$font $font_size\n" +printf " \e[1;37m colors \e[0;33m┄┴┄ \e[0m$colors\n" printf " \e[0m\n" +#printf " \e[1;35m upgrade \e[38;5;236m▓▒ \e[0m$upgrade\n" #\\ cpu cpu=$(grep 'cpu ' /proc/stat | awk '{usage=($2+$4)*100/($2+$4+$5)} END {print usage}')