mirror of
https://github.com/purhan/dotfiles.git
synced 2025-12-28 15:57:19 +08:00
first commit
This commit is contained in:
commit
a6c665c17f
619 changed files with 21468 additions and 0 deletions
14
conf-scripts/add.sh
Executable file
14
conf-scripts/add.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
# ADD DOTFILES
|
||||
|
||||
shopt -s expand_aliases
|
||||
alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
|
||||
|
||||
cd ~/
|
||||
config add .bashrc .vimrc .astylerc conf-scripts .gtkrc-2.0
|
||||
|
||||
cd .config
|
||||
config add awesome Code sublime-text-3 gtk-2.0 gtk-3.0 guake powerline-shell konsolerc spectaclerc
|
||||
|
||||
cd ~/.local/share
|
||||
config add color-schemes konsole
|
||||
24
conf-scripts/appearance/colors.sh
Executable file
24
conf-scripts/appearance/colors.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Show the terminal colourscheme as blocks
|
||||
# Inspired by u/dkeg
|
||||
# Cheers! Addy
|
||||
|
||||
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
|
||||
$f1██████$d██$t $f2██████$d██$t $f3██████$d██$t $f4██████$d██$t $f5██████$d██$t $f6██████$d██$t
|
||||
$f1██████$d██$t $f2██████$d██$t $f3██████$d██$t $f4██████$d██$t $f5██████$d██$t $f6██████$d██$t
|
||||
$ft██████$d$f7██$t $ft██████$d$f7██$t $ft██████$d$f7██$t $ft██████$d$f7██$t $ft██████$d$f7██$t $ft██████$d$f7██$t
|
||||
|
||||
EOF
|
||||
Loading…
Add table
Add a link
Reference in a new issue