Any way to make font bigger?
fz68 opened this issue · 1 comments
fz68 commented
I try this in sway config, it works.
bindsym $mod+d exec alacritty -o font.size=20.0 -o window.title='Launcher' --class 'launcher' --command bash -c 'compgen -c | sort -u | fzf --layout=reverse | xargs -r swaymsg -t command exec'
for_window [app_id="^launcher$"] floating enable, sticky enable, resize set 30 ppt 60 ppt, border pixel 10, move center`
pancsta commented
The popup is rendered with foot
, you have 3 options:
- Use the foot config
~/.config/foot/foot.ini
and setfont=Liberation Mono:size=20
- Edit
/internal/cmds/fzf.go
and change the terminal toalacritty
, then./scripts/build
shellSwitcher = `
alacritty -o font.size=20.0 -o window.title "sway-yasm" --command sway-yasm fzf switcher
`
- Keep using foot, but point to non-default config
shellSwitcher = `
foot --config ~/.config/foot/sway-yasm.ini --title "sway-yasm" sway-yasm fzf switcher
`
You can PR the 3rd one, as it seems the most reasonable.