Skip to main content

polybar-reload

Signals polybar to reload when screen resolution has changed. Especially useful when running in a vm, when screen resizes can occur often.

Currently supports one screen.

Installation

Enable interprocess communication for each bar you would like to reload:

Edit ~/.config/polybar/config:

[bar/myBar1]
enable-ipc = true
...


[bar/myBar2]
enable-ipc = true

Install polybar-reload via pip:

pip install --user polybar-reload

Run polybar-reload. This can be done in a number of places. If you don't use any of the tools mentioned below, you can run polybar-reload in whatever script you use to start polybar.

for i3 users:

Add the following to your ~/.config/i3/config

exec_always --no-startup-id ~/.local/bin/polybar-reload

This will load polybar on startup, but not on "reload i3" (commonly bound to Mod+Shift+r)

Upgrading

pip install --upgrade --user polybar-reload

If polybar-reload doesn't update to the newest version you can uninstall and reinstall. Make sure to bypass local cache.

pip uninstall polybar-reload && pip install --user --no-cache-dir polybar-reload

Release files for polybar-reload 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polybar-reload 0.1.7
File Size Uploaded
polybar-reload-0.1.7.tar.gz 2.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polybar-reload 0.1.7
File Interpreter ABI Platform
polybar_reload-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / polybar-reload-0.1.7.tar.gz

Download URL polybar-reload-0.1.7.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b0a21243c07b1b24ce781b828253dc5d450b219dc583e467a0434099a76165ea
BLAKE2b-256 checksum
How to use checksums
0e3a663023cb7385ed15f687a6947802f7220659df770ceaf1f8898f53b7e64b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / polybar_reload-0.1.7-py3-none-any.whl

Download URL polybar_reload-0.1.7-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6b4a7b62689467ad7d64b0757a161266e1ba73a2e1b39c996594c5ee8117b53
BLAKE2b-256 checksum
How to use checksums
14f095596c83e06af404ab900121042163a9b3cf88aeec87903a27d4781960cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page