Compare commits

...

7 commits

Author SHA1 Message Date
798ffc60b8 Agregar fontconfig, usar en foot 2021-11-22 12:28:35 -03:00
500723766f mono-light: fondo 2021-11-22 12:26:51 -03:00
39f3139242 Revert "Revert "river: desactivar CSD""
This reverts commit 54b5c1310c.
2021-11-22 12:25:07 -03:00
54b5c1310c Revert "river: desactivar CSD"
This reverts commit fb981bc85f.
2021-11-21 19:10:49 -03:00
030e21e651 foot: ocultar mouse cuando tipeas 2021-11-21 19:10:33 -03:00
a520698042 Supongo que me olvidé de mono 2021-11-21 19:10:12 -03:00
3d692cf6f3 mono-light 2021-11-21 19:10:05 -03:00
16 changed files with 185 additions and 10 deletions

View file

@ -0,0 +1,102 @@
<?xml version="1.0"?>
<!-- From https://git.sr.ht/~leon_plickat/river-config/tree/master/item/fontconfig/fonts.conf -->
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Anti-aliasing -->
<match target="pattern">
<edit name="antialias" mode="assign"><bool>true</bool></edit>
</match>
<!-- Hintingstyle -->
<match target="pattern">
<edit name="force_hintstyle" mode="assign"><string>hintslight</string></edit>
</match>
<!-- Force autohint, except for well hinted fonts -->
<match target="pattern">
<edit name="force_autohint" mode="assign"><bool>false</bool></edit>
</match>
<!-- No font smoothing -->
<match target="pattern">
<edit name="force_bw" mode="assign"><bool>false</bool></edit>
</match>
<match target="pattern">
<edit name="force_bw_monospace" mode="assign"><bool>false</bool></edit>
</match>
<!-- LCD filter -->
<match target="pattern">
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
</match>
<!-- Sub-pixel order -->
<match target="pattern">
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
<!-- Embedded bitmap -->
<match target="font">
<edit name="embeddedbitmap" mode="assign"><bool>false</bool></edit>
</match>
<match target="font">
<test name="lang" compare="contains"><string>ja</string></test>
<edit name="embeddedbitmap" mode="assign"><bool>true</bool></edit>
</match>
<match target="font">
<test name="lang" compare="contains"><string>ko</string></test>
<edit name="embeddedbitmap" mode="assign"><bool>true</bool></edit>
</match>
<match target="font">
<test name="lang" compare="contains"><string>zh-CN</string></test>
<edit name="embeddedbitmap" mode="assign"><bool>true</bool></edit>
</match>
<match target="font">
<test name="lang" compare="contains"><string>zh-TW</string></test>
<edit name="embeddedbitmap" mode="assign"><bool>true</bool></edit>
</match>
<match target="font">
<test name="lang" compare="contains"><string>zh-HK</string></test>
<edit name="embeddedbitmap" mode="assign"><bool>true</bool></edit>
</match>
<match target="font">
<test name="lang" compare="contains"><string>zh-SG</string></test>
<edit name="embeddedbitmap" mode="assign"><bool>true</bool></edit>
</match>
<!-- Metric compatible families -->
<match target="pattern">
<edit name="search_metric_aliases" mode="assign"><bool>true</bool></edit>
</match>
<!-- TODO configure some metric aliases -->
<!-- Set default monospace font -->
<alias>
<family>monospace</family>
<prefer><family>IBM Plex Mono</family></prefer>
</alias>
<alias>
<family>IBM Plex Mono</family>
<default><family>monospace</family></default>
</alias>
<!-- Set default sans-serif font -->
<alias>
<family>sans-serif</family>
<prefer><family>Inter</family></prefer>
</alias>
<alias>
<family>Inter</family>
<default><family>sans-serif</family></default>
</alias>
</fontconfig>

View file

@ -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

@ -0,0 +1 @@
Subproject commit 0d72c3814da3cc01d4435deaa6168fa913c694fd

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

View file

@ -31,5 +31,5 @@ riverctl float-filter-add title "Firefox — Sharing Indicator"
~/.config/river/keys
riverctl spawn "pgrep -x rivertile || rivertile"
riverctl spawn "pgrep -x rivertile || rivertile -view-padding 0 -outer-padding 0"
riverctl default-layout rivertile

View file

@ -6,3 +6,7 @@ riverctl border-color-focused 0x$border_focused
riverctl border-color-unfocused 0x$border_unfocused
riverctl border-width 2
riverctl spawn 'killall yambar ; yambar'
if test -n "$bg"; then
riverctl spawn "killall swaybg ; swaybg --image $bg"
fi

View file

@ -7,13 +7,15 @@ 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
[mouse]
hide-when-typing=yes
pad=5x5
[main]
font=monospace:size=10
line-height=16
vertical-letter-offset=2
pad=5x5 center
" > ~/.config/foot/foot.ini
rose_pine () {
@ -56,7 +58,32 @@ rose_pine () {
" >> ~/.config/foot/foot.ini
}
mono () {
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 +96,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

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -21,11 +21,15 @@ rose_pine () {
" >> ~/.config/river/colors
}
mono () {
if test "$dark" = false; then
bg="export bg=~/.config/river/boyfriends-ships.png"
fi
echo "
export background=$background
export border_focused=$foreground
export border_unfocused=$foregroundish
export border_unfocused=$backgroundish
export dark=$dark
$bg
" >> ~/.config/river/colors
}
@ -41,6 +45,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"

View file

@ -0,0 +1,6 @@
#!/bin/sh
export background=ffffff
export backgroundish=cccccc
export foreground=000000
export foregroundish=333333
export dark=false

View file

@ -0,0 +1,6 @@
#!/bin/sh
export background=000000
export backgroundish=333333
export foreground=bbbbbb
export foregroundish=777777
export dark=true

View file

@ -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"

View file

@ -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"

3
.gitmodules vendored
View file

@ -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