From 3d692cf6f3fa7c33e29240ee17ec8c8a82a0a10f Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 21 Nov 2021 19:10:05 -0300 Subject: [PATCH] mono-light --- .config/nvim/init.vim | 2 +- .config/nvim/pack/plugins/start/paige | 1 + .config/themer/foot.ini.sh | 31 ++++++++++++++++++++++++++- .config/themer/fuzzel.sh | 3 +++ .config/themer/gtk.sh | 3 +++ .config/themer/lock.sh | 3 +++ .config/themer/river-colors.sh | 5 ++++- .config/themer/themes/mono-light.sh | 6 ++++++ .config/themer/waylock.sh | 3 +++ .config/themer/yambar.sh | 3 +++ .gitmodules | 3 +++ 11 files changed, 60 insertions(+), 3 deletions(-) create mode 160000 .config/nvim/pack/plugins/start/paige create mode 100644 .config/themer/themes/mono-light.sh diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 4b05ea8..6942fa8 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -10,7 +10,7 @@ set updatetime=250 set termguicolors " colorscheme rose-pine -colorscheme yami +colorscheme paige " autocmd ColorScheme * highlight! Normal guibg=NONE set completeopt=menu,menuone,noselect diff --git a/.config/nvim/pack/plugins/start/paige b/.config/nvim/pack/plugins/start/paige new file mode 160000 index 0000000..0d72c38 --- /dev/null +++ b/.config/nvim/pack/plugins/start/paige @@ -0,0 +1 @@ +Subproject commit 0d72c3814da3cc01d4435deaa6168fa913c694fd diff --git a/.config/themer/foot.ini.sh b/.config/themer/foot.ini.sh index 3d0689e..4b57afc 100755 --- a/.config/themer/foot.ini.sh +++ b/.config/themer/foot.ini.sh @@ -56,7 +56,32 @@ rose_pine () { " >> ~/.config/foot/foot.ini } mono () { - echo "include = /usr/share/foot/themes/tango" >> ~/.config/foot/foot.ini + if $dark; then + echo "include = /usr/share/foot/themes/tango" >> ~/.config/foot/foot.ini + else + echo " +[colors] +foreground=000000 +background=ffffff + +regular0=ffffff # black (or white in a bright theme) +regular1=7f1010 # red +regular2=009A57 # green +regular3=813e00 # yellow +regular4=0186C7 # blue +regular5=721045 # magenta +regular6=00538b # cyan +regular7=000000 # white (or black in a bright theme) + +bright0=e4e4e4 +bright1=ff8686 +bright2=bcd2aa +bright3=989838 +bright4=00AEFF +bright5=8888CC +bright6=4FA8A8 +bright7=000000" >> ~/.config/foot/foot.ini + fi } if test "$1" = rose-pine; then @@ -69,6 +94,10 @@ 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 +elif test "$1" = mono-light; then + . ~/.config/themer/themes/mono-light.sh mono else if test -n "$1"; then diff --git a/.config/themer/fuzzel.sh b/.config/themer/fuzzel.sh index 6015db0..246fe24 100755 --- a/.config/themer/fuzzel.sh +++ b/.config/themer/fuzzel.sh @@ -38,6 +38,9 @@ elif test "$1" = rose-pine-moon; then elif test "$1" = mono; then . ~/.config/themer/themes/mono.sh mono +elif test "$1" = mono-light; then + . ~/.config/themer/themes/mono-light.sh + mono else if test -n "$1"; then echo "I don't know that theme" diff --git a/.config/themer/gtk.sh b/.config/themer/gtk.sh index 5273181..aa996c3 100755 --- a/.config/themer/gtk.sh +++ b/.config/themer/gtk.sh @@ -31,6 +31,9 @@ elif test "$1" = rose-pine-moon; then elif test "$1" = mono; then . ~/.config/themer/themes/mono.sh dark_light +elif test "$1" = mono-light; then + . ~/.config/themer/themes/mono-light.sh + dark_light else if test -n "$1"; then echo "I don't know that theme" diff --git a/.config/themer/lock.sh b/.config/themer/lock.sh index 0ae56d3..88be741 100755 --- a/.config/themer/lock.sh +++ b/.config/themer/lock.sh @@ -29,6 +29,9 @@ elif test "$1" = rose-pine-moon; then elif test "$1" = mono; then . ~/.config/themer/themes/mono.sh mono +elif test "$1" = mono-light; then + . ~/.config/themer/themes/mono-light.sh + mono else if test -n "$1"; then echo "I don't know that theme" diff --git a/.config/themer/river-colors.sh b/.config/themer/river-colors.sh index ce84e97..e8ce1a3 100755 --- a/.config/themer/river-colors.sh +++ b/.config/themer/river-colors.sh @@ -24,7 +24,7 @@ mono () { echo " export background=$background export border_focused=$foreground - export border_unfocused=$foregroundish + export border_unfocused=$backgroundish export dark=$dark " >> ~/.config/river/colors } @@ -41,6 +41,9 @@ elif test "$1" = rose-pine-moon; then elif test "$1" = mono; then . ~/.config/themer/themes/mono.sh mono +elif test "$1" = mono-light; then + . ~/.config/themer/themes/mono-light.sh + mono else if test -n "$1"; then echo "I don't know that theme" diff --git a/.config/themer/themes/mono-light.sh b/.config/themer/themes/mono-light.sh new file mode 100644 index 0000000..34f4154 --- /dev/null +++ b/.config/themer/themes/mono-light.sh @@ -0,0 +1,6 @@ +#!/bin/sh +export background=ffffff +export backgroundish=cccccc +export foreground=000000 +export foregroundish=333333 +export dark=false diff --git a/.config/themer/waylock.sh b/.config/themer/waylock.sh index c918d06..dac9930 100755 --- a/.config/themer/waylock.sh +++ b/.config/themer/waylock.sh @@ -30,6 +30,9 @@ elif test "$1" = rose-pine-moon; then elif test "$1" = mono; then . ~/.config/themer/themes/mono.sh mono +elif test "$1" = mono-light; then + . ~/.config/themer/themes/mono-light.sh + mono else if test -n "$1"; then echo "I don't know that theme" diff --git a/.config/themer/yambar.sh b/.config/themer/yambar.sh index 059fccf..7cb5740 100755 --- a/.config/themer/yambar.sh +++ b/.config/themer/yambar.sh @@ -28,6 +28,9 @@ elif test "$1" = rose-pine-moon; then elif test "$1" = mono; then . ~/.config/themer/themes/mono.sh mono +elif test "$1" = mono-light; then + . ~/.config/themer/themes/mono-light.sh + mono else if test -n "$1"; then echo "I don't know that theme" diff --git a/.gitmodules b/.gitmodules index 389650d..1439efc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -31,3 +31,6 @@ [submodule ".config/nvim/pack/plugins/start/vim-yami"] path = .config/nvim/pack/plugins/start/vim-yami url = https://github.com/danishprakash/vim-yami +[submodule ".config/nvim/pack/plugins/start/paige"] + path = .config/nvim/pack/plugins/start/paige + url = https://git.sr.ht/~leon_plickat/paige