Browse Source

Added color scripts

red-hat-laptop
Kevin Mok 6 years ago
parent
commit
b1aa0c2198
Signed by: Kevin-Mok GPG Key ID: AEA75288DC135CF5
  1. 25
      aliases/zsh_aliases
  2. 21
      configs/i3/config
  3. 2
      configs/i3blocks-scripts/spotify
  4. 16
      configs/i3blocks-scripts/spotify_old
  5. 3
      configs/sam-i3blocks/sam-i3blocks.conf
  6. 4
      dotfiles/.vimrc
  7. 2
      dotfiles/.xinitrc
  8. 2
      dotfiles/.zshrc
  9. 36
      scripts/colors/arch
  10. 3
      scripts/colors/blocks
  11. 23
      scripts/colors/panes
  12. 48
      scripts/colors/rupees
  13. 38
      scripts/colors/space-invaders
  14. 62
      scripts/colors/unowns
  15. 1
      txt/exlude-dirs-backup.txt
  16. 2
      txt/key_dirs.txt

25
aliases/zsh_aliases

@ -94,10 +94,13 @@ alias nbu="f /run/media/kevin/pc-backup/backups/nzxt && ll | grep gz"
# }}} directory-related # # }}} directory-related #
# power options {{{ # # power options {{{ #
alias su="systemctl suspend"
alias s="systemctl suspend"
alias sd="sudo shutdown 0" alias sd="sudo shutdown 0"
alias reb="sudo shutdown -r 0" alias reb="sudo shutdown -r 0"
alias lo="i3-msg exit" alias lo="i3-msg exit"
alias x="xmodmap ~/.Xmodmap"
# }}} power options # # }}} power options #
# rotate monitor {{{ # # 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 ; } # 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 pdl="pdflatex"
alias tcl="tex-clean" 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 #

21
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 control+$mod+s exec systemctl suspend bindsym control+$mod+s exec systemctl suspend
bindsym Mod4+t exec st 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 bindsym Print exec gscreenshot
# }}} app shortcuts # # }}} app shortcuts #
# redshift {{{ # # 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+2 exec redshift -x && redshift -O 2000
bindsym $mod+Mod4+3 exec redshift -x && redshift -O 3000 bindsym $mod+Mod4+3 exec redshift -x && redshift -O 3000
bindsym $mod+Mod4+4 exec redshift -x && redshift -O 4000 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 $inner_gaps 35
set $outer_gaps 0 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 {{{ # # other gaps {{{ #
@ -466,9 +467,9 @@ font pango:$sb_font 11
# }}} mod key/font # # }}} mod key/font #
# media keys {{{ # # 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 XF86AudioRaiseVolume exec --no-startup-id amixer -c 0 sset Master 3+
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -c 0 sset Master 3- bindsym XF86AudioLowerVolume exec --no-startup-id amixer -c 0 sset Master 3-

2
configs/i3blocks-scripts/spotify

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
. "/home/kevin/.cache/wal/colors.sh" . "/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"

16
configs/i3blocks-scripts/spotify_old

@ -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

3
configs/sam-i3blocks/sam-i3blocks.conf

@ -11,7 +11,8 @@ color=#cbe4ff
[spotify] [spotify]
# command=python ~/linux-config/configs/i3blocks-scripts/spotify.py # command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
label=
# label=
label=
# label=🎧 # label=🎧
# green # green
# color=#198c19 # color=#198c19

4
dotfiles/.vimrc

@ -239,8 +239,10 @@ nnoremap <leader>rv :source $MYVIMRC<CR>
nnoremap <leader>R q:i%s///g<ESC>2F/i nnoremap <leader>R q:i%s///g<ESC>2F/i
" run current file in shell " run current file in shell
nnoremap <leader>sh :!%:p<CR> nnoremap <leader>sh :!%:p<CR>
" sort lines until end of file
nnoremap <leader>so q:i.,$sort<CR>
" sort lines " sort lines
nnoremap <leader>so q:i.,.+sort<ESC>Fsi
nnoremap <leader>sol q:i.,.+sort<ESC>Fsi
" set syntax to shell (for dotfiles) " set syntax to shell (for dotfiles)
nnoremap <leader>sys :set syn=sh<CR> nnoremap <leader>sys :set syn=sh<CR>
" open vimrc in vertical split " open vimrc in vertical split

2
dotfiles/.xinitrc

@ -1,4 +1,4 @@
#xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --setprovideroutputsource modesetting NVIDIA-0
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources [[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
xrandr --auto xrandr --auto
exec i3 exec i3

2
dotfiles/.zshrc

@ -119,7 +119,7 @@ if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
fi fi
# pywal # 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 &) (cat ~/.cache/wal/sequences &)
# export pywal colors # export pywal colors
source ~/.cache/wal/colors.sh source ~/.cache/wal/colors.sh

36
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

3
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;')"

23
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

48
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

38
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

62
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")

1
txt/exlude-dirs-backup.txt

@ -1,4 +1,5 @@
/home/kevin/.cache /home/kevin/.cache
/home/kevin/.local/share/Steam
/lost+found /lost+found
/mnt /mnt
/proc /proc

2
txt/key_dirs.txt

@ -33,7 +33,5 @@ wo /home/kevin/Documents/workout-logs/11
sc /home/kevin/school sc /home/kevin/school
st /home/kevin/school/sta st /home/kevin/school/sta
2 /home/kevin/school/236 2 /home/kevin/school/236
a3 /home/kevin/school/latex-notes/343/a3
3 /home/kevin/school/343
# }}} sch * # }}} sch *
Loading…
Cancel
Save