From b1aa0c2198c712457ea62516161073c5abe41b26 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Fri, 14 Dec 2018 21:53:13 -0500 Subject: [PATCH] Added color scripts --- aliases/zsh_aliases | 25 +++-------- configs/i3/config | 21 ++++----- configs/i3blocks-scripts/spotify | 2 +- configs/i3blocks-scripts/spotify_old | 16 ------- configs/sam-i3blocks/sam-i3blocks.conf | 3 +- dotfiles/.vimrc | 4 +- dotfiles/.xinitrc | 2 +- dotfiles/.zshrc | 2 +- scripts/colors/arch | 36 +++++++++++++++ scripts/colors/blocks | 3 ++ scripts/colors/panes | 23 ++++++++++ scripts/colors/rupees | 48 ++++++++++++++++++++ scripts/colors/space-invaders | 38 ++++++++++++++++ scripts/colors/unowns | 62 ++++++++++++++++++++++++++ txt/exlude-dirs-backup.txt | 1 + txt/key_dirs.txt | 2 - 16 files changed, 237 insertions(+), 51 deletions(-) delete mode 100755 configs/i3blocks-scripts/spotify_old create mode 100755 scripts/colors/arch create mode 100755 scripts/colors/blocks create mode 100755 scripts/colors/panes create mode 100755 scripts/colors/rupees create mode 100755 scripts/colors/space-invaders create mode 100755 scripts/colors/unowns diff --git a/aliases/zsh_aliases b/aliases/zsh_aliases index 34d53b3..55cbb78 100644 --- a/aliases/zsh_aliases +++ b/aliases/zsh_aliases @@ -94,10 +94,13 @@ alias nbu="f /run/media/kevin/pc-backup/backups/nzxt && ll | grep gz" # }}} directory-related # # power options {{{ # -alias su="systemctl suspend" + +alias s="systemctl suspend" alias sd="sudo shutdown 0" alias reb="sudo shutdown -r 0" alias lo="i3-msg exit" +alias x="xmodmap ~/.Xmodmap" + # }}} power options # # rotate monitor {{{ # @@ -370,23 +373,9 @@ alias hs="$spv_dir/src/update-history.sh && hlg" # function svm() { mv $1 ~/.local/share/Steam/steamapps/common/Stardew\ Valley/Mods ; } # # }}} -alias s="cs && shellcheck" - -# }}} coding projs # - -# school {{{ # - +alias sc="cs && shellcheck" alias pdl="pdflatex" alias tcl="tex-clean" -# 343 -alias ij="sudo ~/Downloads/idea/bin/idea.sh $silent" -alias a2="f ~/Documents/school/343/a2" -alias a2j="f ~/Documents/school/343/a2/java/src" -alias q2="psql -U postgres -d 343-a2 -f q2-test.sql" -alias q2o="psql -U postgres -d 343-a2 -f q2-test.sql -o q2.out" -alias q2a="psql -U postgres -d 343-a2 -f q2.sql" -alias q4="psql -U postgres -d 343-a2 -f q4-test.sql" -alias q4a="psql -U postgres -d 343-a2 -f q4.sql" - -# }}} school # +# }}} coding projs # + diff --git a/configs/i3/config b/configs/i3/config index c8ffde1..ae469ad 100644 --- a/configs/i3/config +++ b/configs/i3/config @@ -42,13 +42,14 @@ bindsym Mod4+r exec urxvt -e ranger # bindsym control+$mod+s exec systemctl suspend bindsym control+$mod+s exec systemctl suspend bindsym Mod4+t exec st -bindsym Mod4+x exec $swex +# bindsym Mod4+x exec $swex +# bindsym Mod4+x exec xmodmap ~/.Xmodmap bindsym Print exec gscreenshot # }}} app shortcuts # # redshift {{{ # -bindsym $mod+Mod4+1 exec redshift -x && redshift -O 1000 +bindsym $mod+Mod4+1 exec redshift -x && redshift -O 1250 bindsym $mod+Mod4+2 exec redshift -x && redshift -O 2000 bindsym $mod+Mod4+3 exec redshift -x && redshift -O 3000 bindsym $mod+Mod4+4 exec redshift -x && redshift -O 4000 @@ -329,11 +330,11 @@ for_window [class="^.*"] border pixel 3 set $inner_gaps 35 set $outer_gaps 0 -# gaps inner $inner_gaps -# gaps outer $outer_gaps -# gaps bottom 0 -gaps inner 0 -gaps outer 0 +gaps inner $inner_gaps +gaps outer $outer_gaps +gaps bottom 0 +# gaps inner 0 +# gaps outer 0 # other gaps {{{ # @@ -466,9 +467,9 @@ font pango:$sb_font 11 # }}} mod key/font # # media keys {{{ # -bindsym $mod+d exec ~/linux-config/scripts/change-sink dac1 -bindsym $mod+shift+d exec ~/linux-config/scripts/change-sink dac2 -bindsym $mod+o exec ~/linux-config/scripts/change-sink line-out +bindsym control+d exec ~/linux-config/scripts/change-sink dac +bindsym control+shift+d exec ~/linux-config/scripts/change-sink dac2 +bindsym control+o exec ~/linux-config/scripts/change-sink line-out bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -c 0 sset Master 3+ bindsym XF86AudioLowerVolume exec --no-startup-id amixer -c 0 sset Master 3- diff --git a/configs/i3blocks-scripts/spotify b/configs/i3blocks-scripts/spotify index e553cf1..42884f3 100755 --- a/configs/i3blocks-scripts/spotify +++ b/configs/i3blocks-scripts/spotify @@ -1,4 +1,4 @@ #!/bin/bash . "/home/kevin/.cache/wal/colors.sh" -printf "$(spotify-now -i '%artist - %title')\n\n%s\n" "$color7" +printf "$(spotify-now -i '%artist - %title' -p '' -e '')\n\n%s\n" "$color7" diff --git a/configs/i3blocks-scripts/spotify_old b/configs/i3blocks-scripts/spotify_old deleted file mode 100755 index 6e5fd9a..0000000 --- a/configs/i3blocks-scripts/spotify_old +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/python - -import dbus -import os - -try: - bus = dbus.SessionBus() - spotify = bus.get_object("org.mpris.MediaPlayer2.spotify", "/org/mpris/MediaPlayer2") - spotify_iface = dbus.Interface(spotify, 'org.freedesktop.DBus.Properties') - props = spotify_iface.Get('org.mpris.MediaPlayer2.Player', 'Metadata') - song_str = str(props['xesam:artist'][0]) + " - " + str(props['xesam:title']) - print("{}\n\n{}\n".format(song_str, os.environ['COLOR7'])) - # print('COLOR7' in os.environ) - exit -except dbus.exceptions.DBusException: - exit diff --git a/configs/sam-i3blocks/sam-i3blocks.conf b/configs/sam-i3blocks/sam-i3blocks.conf index 5f006a6..1660897 100644 --- a/configs/sam-i3blocks/sam-i3blocks.conf +++ b/configs/sam-i3blocks/sam-i3blocks.conf @@ -11,7 +11,8 @@ color=#cbe4ff [spotify] # command=python ~/linux-config/configs/i3blocks-scripts/spotify.py -label= +# label= +label= # label=🎧 # green # color=#198c19 diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 252850b..dbed8af 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -239,8 +239,10 @@ nnoremap rv :source $MYVIMRC nnoremap R q:i%s///g2F/i " run current file in shell nnoremap sh :!%:p +" sort lines until end of file +nnoremap so q:i.,$sort " sort lines -nnoremap so q:i.,.+sortFsi +nnoremap sol q:i.,.+sortFsi " set syntax to shell (for dotfiles) nnoremap sys :set syn=sh " open vimrc in vertical split diff --git a/dotfiles/.xinitrc b/dotfiles/.xinitrc index 3a7ea3d..e7bc145 100644 --- a/dotfiles/.xinitrc +++ b/dotfiles/.xinitrc @@ -1,4 +1,4 @@ -#xrandr --setprovideroutputsource modesetting NVIDIA-0 +xrandr --setprovideroutputsource modesetting NVIDIA-0 [[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources xrandr --auto exec i3 diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 1c807e7..f6c85f3 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -119,7 +119,7 @@ if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then fi # pywal -export PATH="${PATH}:${HOME}/.local/bin/:${HOME}/linux-config/scripts:/opt/pycharm-2018.3.1/bin" +export PATH="${PATH}:${HOME}/.local/bin/:${HOME}/linux-config/scripts:/opt/pycharm-2018.3.1/bin:${HOME}/linux-config/scripts/colors" (cat ~/.cache/wal/sequences &) # export pywal colors source ~/.cache/wal/colors.sh diff --git a/scripts/colors/arch b/scripts/colors/arch new file mode 100755 index 0000000..cfa338d --- /dev/null +++ b/scripts/colors/arch @@ -0,0 +1,36 @@ +#!/bin/sh + +# Author: Ivo +# Source: http://crunchbang.org/forums/viewtopic.php?pid=237794#p237794 +# ANSI Color -- use these variables to easily have different color +# and format output. Make sure to output the reset sequence after +# colors (f = foreground, b = background), and use the 'off' +# feature for anything you turn on. + +initializeANSI() +{ + esc="" + + redf="${esc}[31m"; greenf="${esc}[32m" + yellowf="${esc}[33m" bluef="${esc}[34m"; + cyanf="${esc}[36m"; purplef="${esc}[35m" + + boldon="${esc}[1m"; + reset="${esc}[0m" +} + +# note in this first use that switching colors doesn't require a reset +# first - the new color overrides the old one. + +initializeANSI + +cat << EOF + +${boldon}${redf} ■ ${boldon}${greenf} ■ ${boldon}${yellowf} ■ ${boldon}${bluef} ■ ${boldon}${purplef} ■ ${boldon}${cyanf} ■ ${reset} +${boldon}${redf} ■■■ ${boldon}${greenf} ■■■ ${boldon}${yellowf} ■■■ ${boldon}${bluef} ■■■ ${boldon}${purplef} ■■■ ${boldon}${cyanf} ■■■ ${reset} +${boldon}${redf} ■■■■■ ${boldon}${greenf} ■■■■■ ${boldon}${yellowf} ■■■■■ ${boldon}${bluef} ■■■■■ ${boldon}${purplef} ■■■■■ ${boldon}${cyanf} ■■■■■ ${reset} +${redf} ■( )■ ${greenf} ■( )■ ${yellowf} ■( )■ ${bluef} ■( )■ ${purplef} ■( )■ ${cyanf} ■( )■ ${reset} +${redf} ■■■■ ■■■■ ${greenf} ■■■■ ■■■■ ${yellowf} ■■■■ ■■■■ ${bluef} ■■■■ ■■■■ ${purplef} ■■■■ ■■■■ ${cyanf} ■■■■ ■■■■ ${reset} +${redf} ■■ ■■ ${greenf} ■■ ■■ ${yellowf} ■■ ■■ ${bluef} ■■ ■■ ${purplef} ■■ ■■ ${cyanf} ■■ ■■ ${reset} + +EOF diff --git a/scripts/colors/blocks b/scripts/colors/blocks new file mode 100755 index 0000000..4092316 --- /dev/null +++ b/scripts/colors/blocks @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +pcs() { for i in {0..7}; do echo -en "\e[${1}$((30+$i))m \u2588\u2588 \e[0m"; done; } +printf "\n%s\n%s\n\n" "$(pcs)" "$(pcs '1;')" diff --git a/scripts/colors/panes b/scripts/colors/panes new file mode 100755 index 0000000..a191de8 --- /dev/null +++ b/scripts/colors/panes @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +# Author: GekkoP +# Source: http://linuxbbq.org/bbs/viewtopic.php?f=4&t=1656#p33189 + +f=3 b=4 +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done +d=$'\e[1m' +t=$'\e[0m' +v=$'\e[7m' + + +cat << EOF + + $f1███$d▄$t $f2███$d▄$t $f3███$d▄$t $f4███$d▄$t $f5███$d▄$t $f6███$d▄$t $f7███$d▄$t + $f1███$d█$t $f2███$d█$t $f3███$d█$t $f4███$d█$t $f5███$d█$t $f6███$d█$t $f7███$d█$t + $f1███$d█$t $f2███$d█$t $f3███$d█$t $f4███$d█$t $f5███$d█$t $f6███$d█$t $f7███$d█$t + $d$f1 ▀▀▀ $f2▀▀▀ $f3▀▀▀ $f4▀▀▀ $f5▀▀▀ $f6▀▀▀ $f7▀▀▀ +EOF diff --git a/scripts/colors/rupees b/scripts/colors/rupees new file mode 100755 index 0000000..10f973a --- /dev/null +++ b/scripts/colors/rupees @@ -0,0 +1,48 @@ +#!/bin/sh + +initializeANSI() +{ + esc="" + + Bf="${esc}[30m"; rf="${esc}[31m"; gf="${esc}[32m" + yf="${esc}[33m" bf="${esc}[34m"; pf="${esc}[35m" + cf="${esc}[36m"; wf="${esc}[37m" + + Bb="${esc}[40m"; rb="${esc}[41m"; gb="${esc}[42m" + yb="${esc}[43m" bb="${esc}[44m"; pb="${esc}[45m" + cb="${esc}[46m"; wb="${esc}[47m" + + ON="${esc}[1m"; OFF="${esc}[22m" + italicson="${esc}[3m"; italicsoff="${esc}[23m" + ulon="${esc}[4m"; uloff="${esc}[24m" + invon="${esc}[7m"; invoff="${esc}[27m" + + reset="${esc}[0m" +} + +initializeANSI + +cat << EOF + + ${Bf}██ ${Bf}████ ${Bf}████ ${Bf}████ ${Bf}████ ${Bf}████ + ${Bf}██${yf}██${Bf}██ ${Bf}██${gf}${ON}██${OFF}██${Bf}██ ${Bf}██${bf}${ON}██${OFF}██${Bf}██ ${Bf}██${rf}${ON}██${OFF}██${Bf}██ ${Bf}██${pf}${ON}██${OFF}██${Bf}██ ${Bf}██${cf}${ON}██${OFF}██${Bf}██ + ${Bf}██${yf}██████${Bf}██ ${Bf}██${gf}${ON}████${OFF}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}████${Bf}██ + ${Bf}██${yf}${ON}██${OFF}████${Bf}██ ${Bf}██${gf}${ON}██████${OFF}██████${Bf}██ ${Bf}██${bf}${ON}██████${OFF}██████${Bf}██ ${Bf}██${rf}${ON}██████${OFF}██████${Bf}██ ${Bf}██${pf}${ON}██████${OFF}██████${Bf}██ ${Bf}██${cf}${ON}██████${OFF}██████${Bf}██ + ${Bf}██${yf}██${ON}████${OFF}████${Bf}██ ${Bf}██${gf}${ON}██${OFF}██${ON}██${OFF}██${Bf}██${gf}██${Bf}██${gf}██${Bf}██ ${Bf}██${bf}${ON}██${OFF}██${ON}██${OFF}██${Bf}██${bf}██${Bf}██${bf}██${Bf}██ ${Bf}██${rf}${ON}██${OFF}██${ON}██${OFF}██${Bf}██${rf}██${Bf}██${rf}██${Bf}██ ${Bf}██${pf}${ON}██${OFF}██${ON}██${OFF}██${Bf}██${pf}██${Bf}██${pf}██${Bf}██ ${Bf}██${cf}${ON}██${OFF}██${ON}██${OFF}██${Bf}██${cf}██${Bf}██${cf}██${Bf}██ + ${Bf}██${yf}████${ON}██${OFF}████${Bf}██ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██ + ${Bf}██${yf}██████${ON}████${OFF}████${Bf}██ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██ + ${Bf}██${yf}████████${ON}██${OFF}████${Bf}██ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██ + ${Bf}██████████████████████ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██ + ${Bf}██${yf}██${Bf}██ ██${yf}██${Bf}██ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██ + ${Bf}██${yf}██████${Bf}██ ██${yf}██████${Bf}██ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██ + ${Bf}██${yf}██████${Bf}██ ██${yf}${ON}██${OFF}████${Bf}██ ${Bf}██${gf}${ON}██${OFF}██${ON}██${OFF}████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}██${OFF}██${ON}██${OFF}████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}██${OFF}██${ON}██${OFF}████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}██${OFF}██${ON}██${OFF}████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}██${OFF}██${ON}██${OFF}████${Bf}██${cf}████${Bf}██ + ${Bf}██${yf}██████████${Bf}██ ██${yf}██${ON}████${OFF}████${Bf}██ ${Bf}██${gf}██████${ON}██${OFF}${Bf}██${gf}██${Bf}██${gf}██${Bf}██ ${Bf}██${bf}██████${ON}██${OFF}${Bf}██${bf}██${Bf}██${bf}██${Bf}██ ${Bf}██${rf}██████${ON}██${OFF}${Bf}██${rf}██${Bf}██${rf}██${Bf}██ ${Bf}██${pf}██████${ON}██${OFF}${Bf}██${pf}██${Bf}██${pf}██${Bf}██ ${Bf}██${cf}██████${ON}██${OFF}${Bf}██${cf}██${Bf}██${cf}██${Bf}██ + ${Bf}██${yf}${ON}██${OFF}████████${Bf}██ ██${yf}████${ON}██${OFF}████${Bf}██ ${Bf}██${gf}████████████${Bf}██ ${Bf}██${bf}████████████${Bf}██ ${Bf}██${rf}████████████${Bf}██ ${Bf}██${pf}████████████${Bf}██ ${Bf}██${cf}████████████${Bf}██ + ${Bf}██${yf}██${ON}████${OFF}████████${Bf}██ ██${yf}██████${ON}████${OFF}████${Bf}██ ${Bf}██${gf}████████${Bf}██ ${Bf}██${bf}████████${Bf}██ ${Bf}██${rf}████████${Bf}██ ${Bf}██${pf}████████${Bf}██ ${Bf}██${cf}████████${Bf}██ + ${Bf}██${yf}████${ON}██${OFF}████████${Bf}██ ██${yf}████████${ON}██${OFF}████${Bf}██ ${Bf}██${gf}████${Bf}██ ${Bf}██${bf}████${Bf}██ ${Bf}██${rf}████${Bf}██ ${Bf}██${pf}████${Bf}██ ${Bf}██${cf}████${Bf}██ + ${Bf}██████████████████████████████████████ ${Bf}████ ${Bf}████ ${Bf}████ ${Bf}████ ${Bf}████${reset} + +EOF + + + diff --git a/scripts/colors/space-invaders b/scripts/colors/space-invaders new file mode 100755 index 0000000..e6c2885 --- /dev/null +++ b/scripts/colors/space-invaders @@ -0,0 +1,38 @@ +#!/usr/bin/env bash + +# ANSI color scheme script featuring Space Invaders + +# Original: http://crunchbanglinux.org/forums/post/126921/#p126921 +# Modified by lolilolicon + +f=3 b=4 +for j in f b; do + for i in {0..7}; do + printf -v $j$i %b "\e[${!j}${i}m" + done +done +bld=$'\e[1m' +rst=$'\e[0m' + +cat << EOF + + $f1 ▀▄ ▄▀ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4 ▀▄ ▄▀ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst + $f1 ▄█▀███▀█▄ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4 ▄█▀███▀█▄ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst + $f1█▀███████▀█ $f2▀▀███▀▀███▀▀ $f3▀█▀██▀█▀ $f4█▀███████▀█ $f5▀▀███▀▀███▀▀ $f6▀█▀██▀█▀$rst + $f1▀ ▀▄▄ ▄▄▀ ▀ $f2 ▀█▄ ▀▀ ▄█▀ $f3▀▄ ▄▀ $f4▀ ▀▄▄ ▄▄▀ ▀ $f5 ▀█▄ ▀▀ ▄█▀ $f6▀▄ ▄▀$rst + + $bld$f1▄ ▀▄ ▄▀ ▄ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4▄ ▀▄ ▄▀ ▄ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst + $bld$f1█▄█▀███▀█▄█ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4█▄█▀███▀█▄█ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst + $bld$f1▀█████████▀ $f2▀▀▀██▀▀██▀▀▀ $f3▀▀█▀▀█▀▀ $f4▀█████████▀ $f5▀▀▀██▀▀██▀▀▀ $f6▀▀█▀▀█▀▀$rst + $bld$f1 ▄▀ ▀▄ $f2▄▄▀▀ ▀▀ ▀▀▄▄ $f3▄▀▄▀▀▄▀▄ $f4 ▄▀ ▀▄ $f5▄▄▀▀ ▀▀ ▀▀▄▄ $f6▄▀▄▀▀▄▀▄$rst + + + $f7▌$rst + + $f7▌$rst + + $f7 ▄█▄ $rst + $f7▄█████████▄$rst + $f7▀▀▀▀▀▀▀▀▀▀▀$rst + +EOF diff --git a/scripts/colors/unowns b/scripts/colors/unowns new file mode 100755 index 0000000..166ae06 --- /dev/null +++ b/scripts/colors/unowns @@ -0,0 +1,62 @@ +#!/usr/bin/env python +# -*- coding: UTF-8 -*- +__author__ = 'actionless' + +import random + +unowns = [[ + ' ▀█▀▀▀█▀ ', + ' ▄▀▀▀▄ ', + ' ▀▄ ▀ ▄▀ ', + ' ▀█▀ ', + ' ▄█▄▄▄▄ ', + ], [ + ' █▄ █ ', + ' █ ▀▄▀▀▀▄ █ ', + ' █ ▀▄ ▀ ▄▀ █ ', + ' █ ▀▀▀ ▀▄█ ', + ' ▀ ▀ ', + ], [ + ' ▀▀▀█▀▀▀ ', + ' ▄▀▀▀▄ ', + ' ▀▄ ▀ ▄▀ ', + ' ▀▀▀ ', + ' ', + ], [ + ' ▀▄ ▄▀ ', + ' ▀▄▀▀▀▄▀ ', + ' ▀▄ ▀ ▄▀ ', + ' ▄▀ ▀▀▀ ▀▄ ', + ' ▀ ▀ ', + ], [ + ' █▀▀▄ ', + ' ▄▀▀▀▄ ▀▄ ', + ' ▀▄ ▀ ▄▀ █ ', + ' ▀▀▀ ▄▀ ', + ' ▀▀▀ ', + ], [ + ' ▀▄ ▄▀ ', + ' ▄▀▀▀▄ ', + ' ▀▄ ▀ ▄▀ ', + ' ▀█▀ ', + ' ▄▀▄ ', +]] + +for mode in ['normal', 'bold']: + random.shuffle(unowns) + if mode == 'bold': + print("\033[1m") + + print( + '\n'.join([ + ''.join([ + "\033[03{n}m{string}".format( + n=color_number + 1, + string=unowns[color_number][line_number] + ) + for color_number in range(6)]) + for line_number in range(5)]) + ) + +# reset font: +print("\033[0m") diff --git a/txt/exlude-dirs-backup.txt b/txt/exlude-dirs-backup.txt index e3f2381..a864184 100644 --- a/txt/exlude-dirs-backup.txt +++ b/txt/exlude-dirs-backup.txt @@ -1,4 +1,5 @@ /home/kevin/.cache +/home/kevin/.local/share/Steam /lost+found /mnt /proc diff --git a/txt/key_dirs.txt b/txt/key_dirs.txt index a84035c..b922591 100644 --- a/txt/key_dirs.txt +++ b/txt/key_dirs.txt @@ -33,7 +33,5 @@ wo /home/kevin/Documents/workout-logs/11 sc /home/kevin/school st /home/kevin/school/sta 2 /home/kevin/school/236 -a3 /home/kevin/school/latex-notes/343/a3 -3 /home/kevin/school/343 # }}} sch *