update
This commit is contained in:
parent
3ca4a36cf8
commit
5f7ca1378e
15 changed files with 39 additions and 53 deletions
|
@ -20,4 +20,4 @@
|
|||
! gaspar's modifications
|
||||
*alpha: 0.85F
|
||||
wallpaper: girl
|
||||
vim*colorscheme: cyberpunk-neon
|
||||
vim*theme: cyberpunk-neon
|
||||
|
|
|
@ -32,3 +32,8 @@
|
|||
! Whites
|
||||
*color7: #C3BAC6
|
||||
*color15: #D9E0EE
|
||||
|
||||
|
||||
|
||||
! gaspar's changes
|
||||
wallpaper: evening-sky
|
||||
|
|
BIN
gruvbox-dark-wallpapers/buildings.png
Normal file
BIN
gruvbox-dark-wallpapers/buildings.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
|
@ -36,5 +36,5 @@
|
|||
*color15: #ebdbb2
|
||||
|
||||
! gaspar's modifications
|
||||
wallpaper: battery-cup
|
||||
vim*colorscheme: gruvbox
|
||||
wallpaper: buildings
|
||||
vim*theme: gruvbox
|
||||
|
|
|
@ -21,4 +21,4 @@
|
|||
*color15: #CEC67D
|
||||
wallpaper: redandblack/abstract
|
||||
zsh*prompt: %{$fg[yellow]%}-> %{$fg[red]%}[ %{$fg[blue]%}%1~%{$fg[red]%} ]%}%{$fg[yellow]%} :: %{$reset_color%}
|
||||
vim*colorscheme: leet2
|
||||
vim*theme: leet2
|
||||
|
|
|
@ -24,4 +24,4 @@ st*font: terminus:size=16
|
|||
*color15: #8C6161
|
||||
wallpaper: redandblack/city
|
||||
zsh*prompt: %B-> [ %1~ ] :: %b
|
||||
vim*colorscheme: desert
|
||||
vim*theme: desert
|
||||
|
|
30
settheme
30
settheme
|
@ -19,6 +19,9 @@ 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
|
||||
|
||||
|
@ -28,13 +31,32 @@ echo -e "dwm\nst\ndmenu\ntabbed" |
|
|||
(cd ~/.local/src/$t && make clean && ./xtheme && make PREFIX=$HOME/.local install ; make clean ; cd -)
|
||||
done
|
||||
|
||||
cat ~/.local/share/themes/"$1".xdefaults | grep -P "^\wallpaper:\s*\S*$" -m 1 &&
|
||||
wallres=$(cat ~/.local/share/themes/"$1".xdefaults | grep -P "^wallpaper:\s*\S*$" -m 1)
|
||||
[[ "$wallres" != '' ]] && \
|
||||
feh --bg-fill ~/.local/share/themes/"$1"-wallpapers/$( \
|
||||
cat ~/.local/share/themes/"$1".xdefaults \
|
||||
| grep -P "^wallpaper:\s*\S*$" \
|
||||
| sed "s/^.*:\s//" \
|
||||
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
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
/usr/local/bin/mupdf-gl -B 839496 -C 002b36 $@
|
BIN
solarized-dark-wallpapers/abstract.png
Normal file
BIN
solarized-dark-wallpapers/abstract.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 116 KiB |
BIN
solarized-dark-wallpapers/chinatown.png
Normal file
BIN
solarized-dark-wallpapers/chinatown.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 872 KiB |
BIN
solarized-dark-wallpapers/city-buildings.png
Normal file
BIN
solarized-dark-wallpapers/city-buildings.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Binary file not shown.
Before Width: | Height: | Size: 119 KiB |
|
@ -92,8 +92,8 @@
|
|||
|
||||
// gaspar's modifications
|
||||
|
||||
wallpaper: cubes
|
||||
vim*colorscheme: solarized
|
||||
wallpaper: cubes
|
||||
vim*theme: solarized
|
||||
|
||||
dwm*barSingleBg: 1
|
||||
dwm*borderpx: 6
|
||||
|
@ -109,43 +109,6 @@ dwm*selbackground: #174956 # selenized dark bg1
|
|||
! dwm*selborder: #0a4c5c # custom color
|
||||
dwm*selborder: #174956 # selenized dark bg1
|
||||
|
||||
/*
|
||||
=== VIM INTEGRATION ===
|
||||
|
||||
set background=dark
|
||||
|
||||
let themefile = system ("echo\ -n\ \$\(xrdb\ -query\ \|\ grep\ -P\ \'\^vim\\.\?\\\*\?colorscheme:\\s\*\\S+\'\ \|\ sed\ \'s/\\s\\+/\ /\'\ \|\ cut\ -d\ \'\ \'\ -f\ 2\)")
|
||||
|
||||
if themefile != ''
|
||||
execute 'source ~/.local/share/themes/'.themefile.'.vim'
|
||||
else
|
||||
color leet2
|
||||
endif
|
||||
|
||||
|
||||
|
||||
=== WALLPAPER INTEGRATION ===
|
||||
|
||||
cat ~/.local/share/themes/"$1".xdefaults | grep -P "^\wallpaper:\s*\S*$" -m 1 &&
|
||||
feh --bg-fill ~/.local/share/themes/"$1"-wallpapers/$( \
|
||||
cat ~/.local/share/themes/"$1".xdefaults \
|
||||
| grep -P "^wallpaper:\s*\S*$" \
|
||||
| sed "s/^.*:\s//" \
|
||||
)*
|
||||
|
||||
|
||||
|
||||
=== MAN INTEGRATION ===
|
||||
|
||||
export PATH="$HOME/.local/share/themes/bin:$HOME/.local/bin:$PATH"
|
||||
|
||||
|
||||
|
||||
=== DWM, ST INTEGRATION ===
|
||||
|
||||
via xtheme patches
|
||||
*/
|
||||
|
||||
// https://ethanschoonover.com/solarized/
|
||||
// https://observer.com/2015/02/meet-the-man-behind-solarized-the-most-important-color-scheme-in-computer-history/
|
||||
// https://www.wired.com/story/very-mathematical-history-perfect-color-combination/
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
/usr/local/bin/mupdf-gl -B 657b83 -C fdf6e3 $@
|
|
@ -92,7 +92,7 @@
|
|||
|
||||
! gaspar's modifications
|
||||
|
||||
vim*colorscheme: solarized
|
||||
vim*theme: solarized
|
||||
wallpaper: geom
|
||||
dwm*barSingleBg: 1
|
||||
dwm*borderpx: 6
|
||||
|
|
Loading…
Reference in a new issue