Arch linux fonts powerline

Arch Linux User Repository

Package Details: powerline-fonts-git r202.e80e3eb-1

Package Actions

Git Clone URL: https://aur.archlinux.org/powerline-fonts-git.git (read-only, click to copy)
Package Base: powerline-fonts-git
Description: Patched fonts for Powerline users
Upstream URL: https://github.com/powerline/fonts
Licenses: CPL
Conflicts: otf-droid-sans-mono-powerline-git, otf-fura-mono-powerline-git, otf-inconsolata-dz-powerline-git, otf-inconsolata-g-powerline-git, otf-inconsolata-powerline-git, otf-sauce-code-powerline-git, powerline-fonts, terminess-powerline-font-git, ttf-anonymice-powerline-git, ttf-dejavu-sans-mono-powerline-git, ttf-droid-sans-mono-dotted-powerline-git, ttf-droid-sans-mono-slashed-powerline-git, ttf-hack, ttf-hack-powerline-git, ttf-literation-mono-powerline-git, ttf-monofur-powerline-git, ttf-ubuntu-mono-derivative-powerline-git
Provides: powerline-fonts, ttf-hack
Submitter: quixoten
Maintainer: ava1ar
Last Packager: ava1ar
Votes: 156
Popularity: 0.000280
First Submitted: 2013-06-17 17:51 (UTC)
Last Updated: 2020-07-25 15:14 (UTC)

Dependencies (3)

Required by (24)

  • all-repository-fonts (requires ttf-hack)
  • all-repository-fonts (requires powerline-fonts)
  • auto-st (requires ttf-hack)
  • casile (requires ttf-hack)
  • casile-git (requires ttf-hack)
  • glr-dmenu-git (requires ttf-hack)
  • glr-st-git (requires ttf-hack)
  • i3status-rust-full-git (requires powerline-fonts) (optional)
  • i3status-rust-git (requires powerline-fonts) (optional)
  • lsd-git (requires powerline-fonts) (optional)
  • orbitfight (requires ttf-hack)
  • orbitfight-git (requires ttf-hack)
  • passman++-lts (requires ttf-hack)
  • plasma-integration-git (requires ttf-hack)
  • powerline-go (requires powerline-fonts) (optional)
  • powerline-go-bin (requires powerline-fonts) (optional)
  • powerline-i3-git (requires powerline-fonts)
  • sile-git (requires ttf-hack) (optional)
  • sile-luajit (requires ttf-hack) (optional)
  • sile-luajit-git (requires ttf-hack) (optional)
  • Show 4 more.

Sources (1)

Latest Comments

commented on 2014-01-26 19:12 (UTC)

Please alter the version numbering in your package. https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines#Git The fourth may prove best in this case. This is just to ensure pkgver is monotonically increasing, as it should be.

fridsun commented on 2013-10-14 18:26 (UTC)

Nice package, but since powerline has now a official AUR package I have to remove this due to the fontconfig conflict.

Читайте также:  Что такое linux backtrack

quixoten commented on 2013-07-02 17:49 (UTC)

DaveCode commented on 2013-06-29 00:30 (UTC)

Voted, thanks. Appreciate the console bitmap fonts — wish more existed. One small detail. OTF fonts should drop to /usr/share/fonts/OTF not TTF. So Powerline fonts belong in fonts/OTF. Compare Libertine, Biolinum, Lato. Also add Powerline’s symbol minifont to make the package really complete, «/usr/share/fonts/OTF/Powerline Symbols.otf» «/etc/fonts/conf.avail/10-powerline-symbols.conf» That drop does not activate the filter, but makes it available. The end user can activate it by symlink per font protocols in Arch Linux.

Copyright © 2004-2023 aurweb Development Team.

AUR packages are user produced content. Any use of the provided files is at your own risk.

Источник

Powerline

Powerline is a statusline plugin for Vim, and provides statuslines and prompts for several other applications, including zsh, bash, fish, tmux, IPython, Awesome, i3 and Qtile.

Installation

Note: Installing powerline-fonts does not provide any of the patched fonts from powerline-fonts-git AUR

Usage

Bash

Add the following to your bashrc:

powerline-daemon -q POWERLINE_BASH_CONTINUATION=1 POWERLINE_BASH_SELECT=1 . /usr/share/powerline/bindings/bash/powerline.sh

Close and reopen your terminal and it should be working. If not, check the Powerline bash prompt usage instructions to ensure that it has not changed.

Zsh

Add the following to your zshrc:

powerline-daemon -q . /usr/share/powerline/bindings/zsh/powerline.zsh

Note: If you are using oh-my-zsh, you should delete or comment out the ZSH_THEME=oh-my-zsh theme» line in your ~/.zshrc . Similarly if you are using grml-zsh-config , do not forget to insert prompt off before the above addition.

Fish

Add the following to your config.fish:

set fish_function_path $fish_function_path "/usr/share/powerline/bindings/fish" source /usr/share/powerline/bindings/fish/powerline-setup.fish powerline-setup

Restart your terminal emulator and it must work.

Tmux

Add the following to your tmux.conf:

source /usr/share/powerline/bindings/tmux/powerline.conf
  • It is sufficient to just add this to the tmux configuration: adding anything to your shell configuration is not necessary.
  • Watch out for interfering styles in the tmux configuration (i.e. window-status-format ).

Vim

Note: If you have more than one version of python installed, add let g:powerline_pycmd=»py3″ or let g:powerline_pycmd=»py» to your .vimrc .

  • By default, the statusline (and therefore Powerline) only appears when there are multiple windows open. To show it all the time, use :set laststatus=2
  • This package installs Powerline to /usr/share/vim/vimfiles/plugin , which vim is configured to check by default, meaning this will install Powerline in vim for all users and may require additional configuration. If this is not intended, consider either using a vim plugin manager, or installing the powerline package and adding set rtp+=/usr/share/powerline/bindings/vim to your .vimrc .
Читайте также:  Выставить время в линуксе

Detailed usage

For detailed usage instructions, such as configuring your system to use Powerline with other shells, window manager widgets, etc., please refer to the Usage section of the Powerline documentation.

Customizing

The official Powerline documentation refers to powerline_root , which for Arch Linux is the following:

/usr/lib/python3.x/site-packages/powerline

To customize Powerline, copy a default configuration to $XDG_CONFIG_HOME/powerline/. . Then edit the file to your liking.

Example to customize Powerline for tmux:

$ mkdir -p ~/.config/powerline/themes/tmux/ $ cp /usr/lib/python3.x/site-packages/powerline/config_files/themes/tmux/default.json ~/.config/powerline/themes/tmux/default.json

Tips and tricks

Alternative installation

Using python-pip

Using a vim plugin manager

There are many vim plugin managers available which are able to install and update Powerline, assuming you are using a version of vim with Python support or you install python . For example, using vim-plug AUR , add the following to your .vimrc file:

call plug#begin('path/to/vim/plugins/directory') Plug 'powerline/powerline' call plug#end()

Substitute path/to/vim/plugins/directory with the actual directory, such as ~/.vim/plugged , and run the vim-plug command :PlugInstall within vim. This will download Powerline from the Powerline GitHub page to the specified plugin directory and add it to vim.

Alternative fonts

A reduced set of fonts for the text console are available in powerline-console-fonts AUR .

Alternative package

There is currently one known alternative to Powerline — Vim-airline. It is a part of vim-plugins and can be installed separately as vim-airline . Optionally, install vim-airline-themes .

Note: In vim-airline , showing the current git branch relies on vim-fugitive . vim-fugitive v2.4 made a change that broke this feature. Upstream will not tag a new release with the single commit that fixes compatibility with vim-fugitive v2.4. Until then, if you want to see the current git branch, you have to: use vim-airline-git AUR ; downgrade vim-fugitive to v2.3; or make your own vim-airline v0.9.0, cherry-picking upstream’s fixing commit. If you decide to cherry-pick, it does not apply cleanly, so you will need to fix that too.

Читайте также:  Astra linux как подключить телефон

Troubleshooting

Fonts: glyphs missing

If you installed powerline-fonts but you notice missing glyphs, make sure your locale is set. Restart your session to see the changes.

Источник

Arch Linux User Repository

Package Details: powerline-fonts-git r202.e80e3eb-1

Package Actions

Git Clone URL: https://aur.archlinux.org/powerline-fonts-git.git (read-only, click to copy)
Package Base: powerline-fonts-git
Description: Patched fonts for Powerline users
Upstream URL: https://github.com/powerline/fonts
Licenses: CPL
Conflicts: otf-droid-sans-mono-powerline-git, otf-fura-mono-powerline-git, otf-inconsolata-dz-powerline-git, otf-inconsolata-g-powerline-git, otf-inconsolata-powerline-git, otf-sauce-code-powerline-git, powerline-fonts, terminess-powerline-font-git, ttf-anonymice-powerline-git, ttf-dejavu-sans-mono-powerline-git, ttf-droid-sans-mono-dotted-powerline-git, ttf-droid-sans-mono-slashed-powerline-git, ttf-hack, ttf-hack-powerline-git, ttf-literation-mono-powerline-git, ttf-monofur-powerline-git, ttf-ubuntu-mono-derivative-powerline-git
Provides: powerline-fonts, ttf-hack
Submitter: quixoten
Maintainer: ava1ar
Last Packager: ava1ar
Votes: 156
Popularity: 0.000280
First Submitted: 2013-06-17 17:51 (UTC)
Last Updated: 2020-07-25 15:14 (UTC)

Dependencies (3)

Required by (24)

  • all-repository-fonts (requires powerline-fonts)
  • all-repository-fonts (requires ttf-hack)
  • auto-st (requires ttf-hack)
  • casile (requires ttf-hack)
  • casile-git (requires ttf-hack)
  • glr-dmenu-git (requires ttf-hack)
  • glr-st-git (requires ttf-hack)
  • i3status-rust-full-git (requires powerline-fonts) (optional)
  • i3status-rust-git (requires powerline-fonts) (optional)
  • lsd-git (requires powerline-fonts) (optional)
  • orbitfight (requires ttf-hack)
  • orbitfight-git (requires ttf-hack)
  • passman++-lts (requires ttf-hack)
  • plasma-integration-git (requires ttf-hack)
  • powerline-go (requires powerline-fonts) (optional)
  • powerline-go-bin (requires powerline-fonts) (optional)
  • powerline-i3-git (requires powerline-fonts)
  • sile-git (requires ttf-hack) (optional)
  • sile-luajit (requires ttf-hack) (optional)
  • sile-luajit-git (requires ttf-hack) (optional)
  • Show 4 more.

Sources (1)

Latest Comments

Sleipnir commented on 2022-04-19 11:49 (UTC)

You should add ttf-spacemono as a conflicting package.

ava1ar commented on 2020-07-25 15:21 (UTC)

I adopted the package and made following changes: — replaced xorg-font-utils with xorg-mkfontscale — cleaned non-existing packages from conflicts list — added powerline-fonts to the provides list Let me know if there are any suggestions for PKGBUILD.

agorg_louk commented on 2020-06-29 21:00 (UTC)

Package xorg-font-utils is now removed from Arch repositories, please replace with xorg-mkfontscale.

jadenPete commented on 2019-03-16 18:08 (UTC)

Could you make this package provide the fonts it replaces?

jeancf commented on 2019-02-13 14:51 (UTC)

I am trying to remove this package but I get error: failed to prepare transaction (could not satisfy dependencies) :: plasma-integration: removing powerline-fonts-git breaks dependency ‘ttf-hack’

pemb commented on 2017-06-08 04:49 (UTC)

Conflicts with ttf-google-fonts-git, the Space Mono fonts, specifically. There are non-powerline files for that font, apparently? PTAL.

zombiemeat commented on 2016-10-06 19:13 (UTC)

failed when plasma-integration tried to install ttf-hack, probably add provides directives? provides=( ttf-hack )

Источник

Оцените статью
Adblock
detector