update
This commit is contained in:
parent
1ac27d20e4
commit
84d30eb13c
6 changed files with 4 additions and 1199 deletions
11
bin/man
11
bin/man
|
@ -1,11 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
env \
|
||||
LESS_TERMCAP_mb=$(printf "\e[1;31m") \
|
||||
LESS_TERMCAP_md=$(printf "\e[1;31m") \
|
||||
LESS_TERMCAP_me=$(printf "\e[0m") \
|
||||
LESS_TERMCAP_se=$(printf "\e[0m") \
|
||||
LESS_TERMCAP_so=$(printf "\e[0;37;102m") \
|
||||
LESS_TERMCAP_ue=$(printf "\e[0m") \
|
||||
LESS_TERMCAP_us=$(printf "\e[4;32m") \
|
||||
/usr/bin/man "$@"
|
BIN
leet-wallpapers/suns.jpg
Normal file
BIN
leet-wallpapers/suns.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 MiB |
|
@ -20,9 +20,9 @@
|
|||
*color14: #37A48D
|
||||
*color15: #CEC67D
|
||||
|
||||
wallpaper: abstract
|
||||
wallpaper: suns
|
||||
vim*theme: leet2
|
||||
dwm*borderpx: 2
|
||||
dwm*borderpx: 4
|
||||
dwm*foreground: #BBBBBB
|
||||
dwm*background: #000000
|
||||
dwm*border: #444444
|
||||
|
|
69
settheme
69
settheme
|
@ -1,69 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Themes work with:
|
||||
# dwm, st, dmenu, tabbed,
|
||||
# xresources, wallpapers, vim,
|
||||
# dunst, zsh (experimental), ls
|
||||
|
||||
[ -f ~/.local/share/themes/"$1".xdefaults ] || exit -1
|
||||
|
||||
cp ~/.local/share/themes/"$1".xdefaults ~/.local/etc/theme
|
||||
|
||||
if [ -f ~/.local/share/themes/"$1".dir_colors ]
|
||||
then
|
||||
cp ~/.local/share/themes/"$1".dir_colors ~/.local/etc/dir_colors
|
||||
else
|
||||
rm ~/.local/etc/dir_colors
|
||||
fi
|
||||
|
||||
rm -rf ~/.local/share/themes/bin
|
||||
|
||||
[ -d ~/.local/share/themes/"$1"-bin ] && cp -r ~/.local/share/themes/{"$1"-,}bin
|
||||
:<<'comment'
|
||||
export PATH="$HOME/.local/share/themes/bin:$PATH"
|
||||
comment
|
||||
|
||||
xrdb ~/.Xresources
|
||||
|
||||
echo -e "dwm\nst\ndmenu\ntabbed" |
|
||||
while read t
|
||||
do
|
||||
(cd ~/.local/src/$t && make clean && ./xtheme && make PREFIX=$HOME/.local install ; make clean ; cd -)
|
||||
done
|
||||
|
||||
wallres=$(cat ~/.local/share/themes/"$1".xdefaults | grep -P "^wallpaper:\s*\S*$" -m 1)
|
||||
[[ "$wallres" != '' ]] && \
|
||||
feh --bg-fill ~/.local/share/themes/"$1"-wallpapers/$( \
|
||||
echo "$wallres" \
|
||||
| sed "s/^.*:\s*//" \
|
||||
)*
|
||||
|
||||
rm -f ~/.local/share/themes/theme.vim
|
||||
|
||||
vimthemeres=$(cat ~/.local/share/themes/"$1".xdefaults | grep -P "^vim\*?\.?theme:\s*\S*$" -m 1)
|
||||
[[ "$vimthemeres" != '' ]] && \
|
||||
cp ~/.local/share/themes/{$( \
|
||||
echo "$vimthemeres" \
|
||||
| sed "s/^.*:\s*//" \
|
||||
),theme}.vim
|
||||
|
||||
:<<'comment'
|
||||
set background=dark
|
||||
let themefile = '~/.local/share/themes/theme.vim'
|
||||
if filereadable (expand (themefile))
|
||||
execute 'source' themefile
|
||||
else
|
||||
color leet2
|
||||
endif
|
||||
comment
|
||||
|
||||
(
|
||||
killall dunst
|
||||
cd ~/.config/dunst
|
||||
./xtheme
|
||||
cat theme.h dunstrc.template | cpp > dunstrc
|
||||
cd -
|
||||
)
|
||||
|
||||
dunstify "Theme Changed
|
||||
restart dwm" -t 3000
|
|
@ -108,6 +108,8 @@ dwm*selbackground: #174956 # selenized dark bg1
|
|||
! dwm*selborder: S_base02
|
||||
! dwm*selborder: #0a4c5c # custom color
|
||||
dwm*selborder: #174956 # selenized dark bg1
|
||||
st*cursorColor: S_base0
|
||||
st*revCurColor: S_base00
|
||||
|
||||
// https://ethanschoonover.com/solarized/
|
||||
// https://observer.com/2015/02/meet-the-man-behind-solarized-the-most-important-color-scheme-in-computer-history/
|
||||
|
|
Loading…
Reference in a new issue