themer: mono theme

This commit is contained in:
Cat /dev/Nulo 2021-11-21 12:19:20 -03:00
parent e678347c6d
commit 6f09103c6d
10 changed files with 84 additions and 12 deletions

View file

@ -9,8 +9,9 @@ set ignorecase smartcase
set updatetime=250
set termguicolors
colorscheme rose-pine
autocmd ColorScheme * highlight! Normal guibg=NONE
" colorscheme rose-pine
colorscheme yami
" autocmd ColorScheme * highlight! Normal guibg=NONE
set completeopt=menu,menuone,noselect

@ -0,0 +1 @@
Subproject commit 716fe223a430a1379ef1e4bec84348a2f07430fd

View file

@ -4,15 +4,16 @@ set -e
# https://github.com/jan-warchol/selenized/blob/e93e0d9fb47c7485f18fa16f9bdb70c2ee7fb5db/the-values.md
echo "# Autogenerated by ~/.config/themer/foot.ini.sh
[scrollback]
lines = 10000
[main]
font=Hack:pixelsize=15
font-bold=Hack:style=Bold:pixelsize=15
font-italic=Hack:style=Italic:pixelsize=15
font-bold-italic=Hack:style=Bold Italic:pixelsize=15
pad=5x5
[scrollback]
lines = 10000
" > ~/.config/foot/foot.ini
rose_pine () {
@ -54,6 +55,9 @@ rose_pine () {
bright7 = $text
" >> ~/.config/foot/foot.ini
}
mono () {
echo "include = /usr/share/foot/themes/tango" >> ~/.config/foot/foot.ini
}
if test "$1" = rose-pine; then
. ~/.config/themer/themes/rose-pine.sh
@ -64,6 +68,8 @@ elif test "$1" = rose-pine-dawn; then
elif test "$1" = rose-pine-moon; then
. ~/.config/themer/themes/rose-pine-moon.sh
rose_pine
elif test "$1" = mono; then
mono
else
if test -n "$1"; then
echo "I don't know that theme"

View file

@ -15,6 +15,16 @@ export border=$text
export accent=$iris
" >> ~/.local/bin/fuzzel-run
}
mono () {
echo "
export background=$background
export foreground=$foregroundish
export selection_background=$backgroundish
export selection_foreground=$foregroundish
export border=$foreground
export accent=$foreground
" >> ~/.local/bin/fuzzel-run
}
if test "$1" = rose-pine; then
. ~/.config/themer/themes/rose-pine.sh
@ -25,6 +35,9 @@ elif test "$1" = rose-pine-dawn; then
elif test "$1" = rose-pine-moon; then
. ~/.config/themer/themes/rose-pine-moon.sh
rose_pine
elif test "$1" = mono; then
. ~/.config/themer/themes/mono.sh
mono
else
if test -n "$1"; then
echo "I don't know that theme"

View file

@ -1,7 +1,7 @@
#!/bin/sh
set -e
rose_pine () {
dark_light () {
if "$dark"; then
gsettings set org.gnome.desktop.interface gtk-theme Adwaita
# gsettings set org.freedesktop.appearance color-scheme 1
@ -18,15 +18,19 @@ gtk-theme-name="Adwaita"' > ~/.gtkrc-2.0
gtk-application-prefer-dark-theme = $dark
gtk-decoration-layout=menu:" > ~/.config/gtk-3.0/settings.ini
}
if test "$1" = rose-pine; then
. ~/.config/themer/themes/rose-pine.sh
rose_pine
dark_light
elif test "$1" = rose-pine-dawn; then
. ~/.config/themer/themes/rose-pine-dawn.sh
rose_pine
dark_light
elif test "$1" = rose-pine-moon; then
. ~/.config/themer/themes/rose-pine-moon.sh
rose_pine
dark_light
elif test "$1" = mono; then
. ~/.config/themer/themes/mono.sh
dark_light
else
if test -n "$1"; then
echo "I don't know that theme"

View file

@ -1,14 +1,22 @@
#!/bin/sh
set -e
rose_pine () {
generate () {
echo "#!/bin/sh
# Autogenerated by ~/.config/themer/lock.sh
setsid -f swaylockd --color $base \
setsid -f swaylockd --color $background \
--show-failed-attempts
sleep 1
" > ~/.local/bin/lock
}
rose_pine () {
background=$base generate
}
mono () {
generate
}
if test "$1" = rose-pine; then
. ~/.config/themer/themes/rose-pine.sh
rose_pine
@ -18,6 +26,9 @@ elif test "$1" = rose-pine-dawn; then
elif test "$1" = rose-pine-moon; then
. ~/.config/themer/themes/rose-pine-moon.sh
rose_pine
elif test "$1" = mono; then
. ~/.config/themer/themes/mono.sh
mono
else
if test -n "$1"; then
echo "I don't know that theme"

View file

@ -20,6 +20,14 @@ rose_pine () {
export dark=$dark
" >> ~/.config/river/colors
}
mono () {
echo "
export background=$background
export border_focused=$foreground
export border_unfocused=$foregroundish
export dark=$dark
" >> ~/.config/river/colors
}
if test "$1" = rose-pine; then
. ~/.config/themer/themes/rose-pine.sh
@ -30,6 +38,9 @@ elif test "$1" = rose-pine-dawn; then
elif test "$1" = rose-pine-moon; then
. ~/.config/themer/themes/rose-pine-moon.sh
rose_pine
elif test "$1" = mono; then
. ~/.config/themer/themes/mono.sh
mono
else
if test -n "$1"; then
echo "I don't know that theme"

View file

@ -9,6 +9,15 @@ input_color = 0x$pine
fail_color = 0x$love
" > ~/.config/waylock/waylock.toml
}
mono () {
echo "# Autogenerated by ~/.config/themer/waylock.sh
[colors]
init_color = 0x$background
input_color = 0x$foreground
fail_color = 0x$foregroundish
" > ~/.config/waylock/waylock.toml
}
if test "$1" = rose-pine; then
. ~/.config/themer/themes/rose-pine.sh
rose_pine
@ -18,6 +27,9 @@ elif test "$1" = rose-pine-dawn; then
elif test "$1" = rose-pine-moon; then
. ~/.config/themer/themes/rose-pine-moon.sh
rose_pine
elif test "$1" = mono; then
. ~/.config/themer/themes/mono.sh
mono
else
if test -n "$1"; then
echo "I don't know that theme"

View file

@ -4,11 +4,18 @@ set -e
rose_pine () {
echo "# Autogenerated by ~/.config/themer/yambar.sh
background: &bg ${base}ff
background2: &bg2 ${surface}ff
foreground: &fg ${text}ff
accent: &accent ${iris}ff
" > ~/.config/yambar/config.yml
}
mono () {
echo "# Autogenerated by ~/.config/themer/yambar.sh
background: &bg ${background}ff
foreground: &fg ${foreground}ff
accent: &accent ${foreground}ff
" > ~/.config/yambar/config.yml
}
if test "$1" = rose-pine; then
. ~/.config/themer/themes/rose-pine.sh
rose_pine
@ -18,6 +25,9 @@ elif test "$1" = rose-pine-dawn; then
elif test "$1" = rose-pine-moon; then
. ~/.config/themer/themes/rose-pine-moon.sh
rose_pine
elif test "$1" = mono; then
. ~/.config/themer/themes/mono.sh
mono
else
if test -n "$1"; then
echo "I don't know that theme"

3
.gitmodules vendored
View file

@ -28,3 +28,6 @@
[submodule ".config/nvim/pack/plugins/start/vim-svelte"]
path = .config/nvim/pack/plugins/start/vim-svelte
url = https://github.com/evanleck/vim-svelte
[submodule ".config/nvim/pack/plugins/start/vim-yami"]
path = .config/nvim/pack/plugins/start/vim-yami
url = https://github.com/danishprakash/vim-yami