Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to make font bigger? #2

Open
fz68 opened this issue Oct 26, 2024 · 1 comment
Open

Any way to make font bigger? #2

fz68 opened this issue Oct 26, 2024 · 1 comment

Comments

@fz68
Copy link

fz68 commented Oct 26, 2024

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
Copy link
Owner

pancsta commented Oct 28, 2024

The popup is rendered with foot, you have 3 options:

  1. Use the foot config ~/.config/foot/foot.ini and set font=Liberation Mono:size=20
  2. Edit /internal/cmds/fzf.go and change the terminal to alacritty, then ./scripts/build
shellSwitcher = `
    alacritty -o font.size=20.0 -o window.title "sway-yasm" --command sway-yasm fzf switcher
`
  1. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants