From 6f09103c6d4ef115e61c5d352fbd7442efc03a40 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 21 Nov 2021 12:19:20 -0300 Subject: [PATCH] themer: mono theme --- .config/nvim/init.vim | 5 +++-- .config/nvim/pack/plugins/start/vim-yami | 1 + .config/themer/foot.ini.sh | 12 +++++++++--- .config/themer/fuzzel.sh | 13 +++++++++++++ .config/themer/gtk.sh | 12 ++++++++---- .config/themer/lock.sh | 15 +++++++++++++-- .config/themer/river-colors.sh | 11 +++++++++++ .config/themer/waylock.sh | 12 ++++++++++++ .config/themer/yambar.sh | 12 +++++++++++- .gitmodules | 3 +++ 10 files changed, 84 insertions(+), 12 deletions(-) create mode 160000 .config/nvim/pack/plugins/start/vim-yami diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 3abcb3a..4b05ea8 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -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 diff --git a/.config/nvim/pack/plugins/start/vim-yami b/.config/nvim/pack/plugins/start/vim-yami new file mode 160000 index 0000000..716fe22 --- /dev/null +++ b/.config/nvim/pack/plugins/start/vim-yami @@ -0,0 +1 @@ +Subproject commit 716fe223a430a1379ef1e4bec84348a2f07430fd diff --git a/.config/themer/foot.ini.sh b/.config/themer/foot.ini.sh index 28ac177..3d0689e 100755 --- a/.config/themer/foot.ini.sh +++ b/.config/themer/foot.ini.sh @@ -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" diff --git a/.config/themer/fuzzel.sh b/.config/themer/fuzzel.sh index f6d66cb..6015db0 100755 --- a/.config/themer/fuzzel.sh +++ b/.config/themer/fuzzel.sh @@ -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" diff --git a/.config/themer/gtk.sh b/.config/themer/gtk.sh index 1f9c8df..5273181 100755 --- a/.config/themer/gtk.sh +++ b/.config/themer/gtk.sh @@ -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" diff --git a/.config/themer/lock.sh b/.config/themer/lock.sh index 888bdf2..0ae56d3 100755 --- a/.config/themer/lock.sh +++ b/.config/themer/lock.sh @@ -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" diff --git a/.config/themer/river-colors.sh b/.config/themer/river-colors.sh index ef17e2e..ce84e97 100755 --- a/.config/themer/river-colors.sh +++ b/.config/themer/river-colors.sh @@ -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" diff --git a/.config/themer/waylock.sh b/.config/themer/waylock.sh index 33840ec..c918d06 100755 --- a/.config/themer/waylock.sh +++ b/.config/themer/waylock.sh @@ -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" diff --git a/.config/themer/yambar.sh b/.config/themer/yambar.sh index 555fa13..059fccf 100755 --- a/.config/themer/yambar.sh +++ b/.config/themer/yambar.sh @@ -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" diff --git a/.gitmodules b/.gitmodules index b1685d8..389650d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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