Sort fonts and a script to run foot (for sway) using it.
This commit is contained in:
parent
23f4721ece
commit
5dedfd1262
2 changed files with 113 additions and 0 deletions
14
sortedmonofontpick.sh
Executable file
14
sortedmonofontpick.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/zsh
|
||||
MENU=mybemenu
|
||||
#PICKST=$(ls ~/bin/st* | ${MENU} )
|
||||
#PICKFOOT=
|
||||
#F=$(fc-list :spacing=mono| cut -d: -f2 | sort | uniq | rofi -dmenu -i)
|
||||
F=$(python ~/bin/fontsbyuse.py | ${MENU})
|
||||
if [[ ${F} ]]; then
|
||||
S=$(seq 24 -4 8 |sed -e '1 s/^/20\n/' | ${MENU})
|
||||
C=$(ls ~/.config/foot/ | grep -v \~ | sort --sort=random | ${MENU})
|
||||
#dmenu -l 8 -fn 'Px437_ATI_SmallW_6x8 NF:style=Book:pixelsize=16:antialias=true'`
|
||||
python ~/bin/fontsbyuse.py -i "${F}"
|
||||
foot -c ~/.config/foot/${C} -f "${F}-${S},Symbola-${S},Noto Color Emoji-${S}"
|
||||
fi
|
||||
#echo foot -c ~/.config/foot/${C} -f \"${F}-${S},Symbola-${S},Noto Color Emoji-${S}\"
|
||||
Loading…
Add table
Add a link
Reference in a new issue