Added color scripts
This commit is contained in:
@@ -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"
|
||||
# }}} coding projs #
|
||||
|
||||
# }}} school #
|
||||
|
||||
@@ -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-
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
@@ -11,7 +11,8 @@ color=#cbe4ff
|
||||
|
||||
[spotify]
|
||||
# command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
|
||||
label=
|
||||
# label=
|
||||
label=
|
||||
# label=🎧
|
||||
# green
|
||||
# color=#198c19
|
||||
|
||||
@@ -239,8 +239,10 @@ nnoremap <leader>rv :source $MYVIMRC<CR>
|
||||
nnoremap <leader>R q:i%s///g<ESC>2F/i
|
||||
" run current file in shell
|
||||
nnoremap <leader>sh :!%:p<CR>
|
||||
" sort lines until end of file
|
||||
nnoremap <leader>so q:i.,$sort<CR>
|
||||
" sort lines
|
||||
nnoremap <leader>so q:i.,.+sort<ESC>Fsi
|
||||
nnoremap <leader>sol q:i.,.+sort<ESC>Fsi
|
||||
" set syntax to shell (for dotfiles)
|
||||
nnoremap <leader>sys :set syn=sh<CR>
|
||||
" open vimrc in vertical split
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||
xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
|
||||
xrandr --auto
|
||||
exec i3
|
||||
|
||||
@@ -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
|
||||
|
||||
36
scripts/colors/arch
Executable file
36
scripts/colors/arch
Executable file
@@ -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
Executable file
3
scripts/colors/blocks
Executable file
@@ -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
Executable file
23
scripts/colors/panes
Executable file
@@ -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
Executable file
48
scripts/colors/rupees
Executable file
@@ -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
Executable file
38
scripts/colors/space-invaders
Executable file
@@ -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
Executable file
62
scripts/colors/unowns
Executable file
@@ -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,4 +1,5 @@
|
||||
/home/kevin/.cache
|
||||
/home/kevin/.local/share/Steam
|
||||
/lost+found
|
||||
/mnt
|
||||
/proc
|
||||
|
||||
@@ -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 *
|
||||
|
||||
Reference in New Issue
Block a user