Compare commits
7 commits
6f3228661a
...
798ffc60b8
Author | SHA1 | Date | |
---|---|---|---|
798ffc60b8 | |||
500723766f | |||
39f3139242 | |||
54b5c1310c | |||
030e21e651 | |||
a520698042 | |||
3d692cf6f3 |
16 changed files with 185 additions and 10 deletions
102
.config/fontconfig/fonts.conf
Normal file
102
.config/fontconfig/fonts.conf
Normal 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>
|
|
@ -10,7 +10,7 @@ set updatetime=250
|
||||||
|
|
||||||
set termguicolors
|
set termguicolors
|
||||||
" colorscheme rose-pine
|
" colorscheme rose-pine
|
||||||
colorscheme yami
|
colorscheme paige
|
||||||
" autocmd ColorScheme * highlight! Normal guibg=NONE
|
" autocmd ColorScheme * highlight! Normal guibg=NONE
|
||||||
|
|
||||||
set completeopt=menu,menuone,noselect
|
set completeopt=menu,menuone,noselect
|
||||||
|
|
1
.config/nvim/pack/plugins/start/paige
Submodule
1
.config/nvim/pack/plugins/start/paige
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 0d72c3814da3cc01d4435deaa6168fa913c694fd
|
BIN
.config/river/boyfriends-ships.png
Normal file
BIN
.config/river/boyfriends-ships.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 157 KiB |
|
@ -31,5 +31,5 @@ riverctl float-filter-add title "Firefox — Sharing Indicator"
|
||||||
|
|
||||||
~/.config/river/keys
|
~/.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
|
riverctl default-layout rivertile
|
||||||
|
|
|
@ -6,3 +6,7 @@ riverctl border-color-focused 0x$border_focused
|
||||||
riverctl border-color-unfocused 0x$border_unfocused
|
riverctl border-color-unfocused 0x$border_unfocused
|
||||||
riverctl border-width 2
|
riverctl border-width 2
|
||||||
riverctl spawn 'killall yambar ; yambar'
|
riverctl spawn 'killall yambar ; yambar'
|
||||||
|
|
||||||
|
if test -n "$bg"; then
|
||||||
|
riverctl spawn "killall swaybg ; swaybg --image $bg"
|
||||||
|
fi
|
||||||
|
|
|
@ -7,13 +7,15 @@ echo "# Autogenerated by ~/.config/themer/foot.ini.sh
|
||||||
[scrollback]
|
[scrollback]
|
||||||
lines = 10000
|
lines = 10000
|
||||||
|
|
||||||
[main]
|
[mouse]
|
||||||
font=Hack:pixelsize=15
|
hide-when-typing=yes
|
||||||
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
|
[main]
|
||||||
|
font=monospace:size=10
|
||||||
|
line-height=16
|
||||||
|
vertical-letter-offset=2
|
||||||
|
|
||||||
|
pad=5x5 center
|
||||||
" > ~/.config/foot/foot.ini
|
" > ~/.config/foot/foot.ini
|
||||||
|
|
||||||
rose_pine () {
|
rose_pine () {
|
||||||
|
@ -56,7 +58,32 @@ rose_pine () {
|
||||||
" >> ~/.config/foot/foot.ini
|
" >> ~/.config/foot/foot.ini
|
||||||
}
|
}
|
||||||
mono () {
|
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
|
if test "$1" = rose-pine; then
|
||||||
|
@ -69,6 +96,10 @@ elif test "$1" = rose-pine-moon; then
|
||||||
. ~/.config/themer/themes/rose-pine-moon.sh
|
. ~/.config/themer/themes/rose-pine-moon.sh
|
||||||
rose_pine
|
rose_pine
|
||||||
elif test "$1" = mono; 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
|
mono
|
||||||
else
|
else
|
||||||
if test -n "$1"; then
|
if test -n "$1"; then
|
||||||
|
|
|
@ -38,6 +38,9 @@ elif test "$1" = rose-pine-moon; then
|
||||||
elif test "$1" = mono; then
|
elif test "$1" = mono; then
|
||||||
. ~/.config/themer/themes/mono.sh
|
. ~/.config/themer/themes/mono.sh
|
||||||
mono
|
mono
|
||||||
|
elif test "$1" = mono-light; then
|
||||||
|
. ~/.config/themer/themes/mono-light.sh
|
||||||
|
mono
|
||||||
else
|
else
|
||||||
if test -n "$1"; then
|
if test -n "$1"; then
|
||||||
echo "I don't know that theme"
|
echo "I don't know that theme"
|
||||||
|
|
|
@ -31,6 +31,9 @@ elif test "$1" = rose-pine-moon; then
|
||||||
elif test "$1" = mono; then
|
elif test "$1" = mono; then
|
||||||
. ~/.config/themer/themes/mono.sh
|
. ~/.config/themer/themes/mono.sh
|
||||||
dark_light
|
dark_light
|
||||||
|
elif test "$1" = mono-light; then
|
||||||
|
. ~/.config/themer/themes/mono-light.sh
|
||||||
|
dark_light
|
||||||
else
|
else
|
||||||
if test -n "$1"; then
|
if test -n "$1"; then
|
||||||
echo "I don't know that theme"
|
echo "I don't know that theme"
|
||||||
|
|
|
@ -29,6 +29,9 @@ elif test "$1" = rose-pine-moon; then
|
||||||
elif test "$1" = mono; then
|
elif test "$1" = mono; then
|
||||||
. ~/.config/themer/themes/mono.sh
|
. ~/.config/themer/themes/mono.sh
|
||||||
mono
|
mono
|
||||||
|
elif test "$1" = mono-light; then
|
||||||
|
. ~/.config/themer/themes/mono-light.sh
|
||||||
|
mono
|
||||||
else
|
else
|
||||||
if test -n "$1"; then
|
if test -n "$1"; then
|
||||||
echo "I don't know that theme"
|
echo "I don't know that theme"
|
||||||
|
|
|
@ -21,11 +21,15 @@ rose_pine () {
|
||||||
" >> ~/.config/river/colors
|
" >> ~/.config/river/colors
|
||||||
}
|
}
|
||||||
mono () {
|
mono () {
|
||||||
|
if test "$dark" = false; then
|
||||||
|
bg="export bg=~/.config/river/boyfriends-ships.png"
|
||||||
|
fi
|
||||||
echo "
|
echo "
|
||||||
export background=$background
|
export background=$background
|
||||||
export border_focused=$foreground
|
export border_focused=$foreground
|
||||||
export border_unfocused=$foregroundish
|
export border_unfocused=$backgroundish
|
||||||
export dark=$dark
|
export dark=$dark
|
||||||
|
$bg
|
||||||
" >> ~/.config/river/colors
|
" >> ~/.config/river/colors
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,6 +45,9 @@ elif test "$1" = rose-pine-moon; then
|
||||||
elif test "$1" = mono; then
|
elif test "$1" = mono; then
|
||||||
. ~/.config/themer/themes/mono.sh
|
. ~/.config/themer/themes/mono.sh
|
||||||
mono
|
mono
|
||||||
|
elif test "$1" = mono-light; then
|
||||||
|
. ~/.config/themer/themes/mono-light.sh
|
||||||
|
mono
|
||||||
else
|
else
|
||||||
if test -n "$1"; then
|
if test -n "$1"; then
|
||||||
echo "I don't know that theme"
|
echo "I don't know that theme"
|
||||||
|
|
6
.config/themer/themes/mono-light.sh
Normal file
6
.config/themer/themes/mono-light.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
export background=ffffff
|
||||||
|
export backgroundish=cccccc
|
||||||
|
export foreground=000000
|
||||||
|
export foregroundish=333333
|
||||||
|
export dark=false
|
6
.config/themer/themes/mono.sh
Normal file
6
.config/themer/themes/mono.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
export background=000000
|
||||||
|
export backgroundish=333333
|
||||||
|
export foreground=bbbbbb
|
||||||
|
export foregroundish=777777
|
||||||
|
export dark=true
|
|
@ -30,6 +30,9 @@ elif test "$1" = rose-pine-moon; then
|
||||||
elif test "$1" = mono; then
|
elif test "$1" = mono; then
|
||||||
. ~/.config/themer/themes/mono.sh
|
. ~/.config/themer/themes/mono.sh
|
||||||
mono
|
mono
|
||||||
|
elif test "$1" = mono-light; then
|
||||||
|
. ~/.config/themer/themes/mono-light.sh
|
||||||
|
mono
|
||||||
else
|
else
|
||||||
if test -n "$1"; then
|
if test -n "$1"; then
|
||||||
echo "I don't know that theme"
|
echo "I don't know that theme"
|
||||||
|
|
|
@ -28,6 +28,9 @@ elif test "$1" = rose-pine-moon; then
|
||||||
elif test "$1" = mono; then
|
elif test "$1" = mono; then
|
||||||
. ~/.config/themer/themes/mono.sh
|
. ~/.config/themer/themes/mono.sh
|
||||||
mono
|
mono
|
||||||
|
elif test "$1" = mono-light; then
|
||||||
|
. ~/.config/themer/themes/mono-light.sh
|
||||||
|
mono
|
||||||
else
|
else
|
||||||
if test -n "$1"; then
|
if test -n "$1"; then
|
||||||
echo "I don't know that theme"
|
echo "I don't know that theme"
|
||||||
|
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -31,3 +31,6 @@
|
||||||
[submodule ".config/nvim/pack/plugins/start/vim-yami"]
|
[submodule ".config/nvim/pack/plugins/start/vim-yami"]
|
||||||
path = .config/nvim/pack/plugins/start/vim-yami
|
path = .config/nvim/pack/plugins/start/vim-yami
|
||||||
url = https://github.com/danishprakash/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
|
||||||
|
|
Loading…
Reference in a new issue