https://github.com/meelkor/polybar-i3-windows
https://github.com/meelkor/polybar-i3-windows
i3 i3wm polybar polybar-scripts windows
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/meelkor/polybar-i3-windows
- Owner: meelkor
- Created: 2019-04-29T01:19:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-11T15:12:05.000Z (almost 3 years ago)
- Last Synced: 2024-11-15T01:33:06.607Z (6 months ago)
- Topics: i3, i3wm, polybar, polybar-scripts, windows
- Language: Python
- Size: 4.88 KB
- Stars: 52
- Watchers: 2
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Polybar - i3 Windows
README
# Polybar i3 windows script
Miss windows-like list of all windows in your taskbar?
The `window class => icon` map is pretty much empty, set it up the way you like it so it works for your font and apps.
## Features
* Focus workspace and window on left mouse button click
* Highlight urgent windows
* Remove unnecessary text from window titles like " - Chromium" for chromium windows to make them shorter
* Overflow the polybar when there is too many windows open :^)### Planned improvements
* limit to some number of windows / characters to somehow solve the overflowing issue
* Visually group together workspaces
* Configurability
* Make the window title formatting automatic (e.g. always removing ` - [app name]`)## Example config
```ini
[module/i3-windows]
type = custom/script
exec = ~/projects/polybar-i3-windows/module.py
tail = true
```The scripts expects font-2 to be the font that should be used for icons. You probably want it to have higher size than your regular font. Example:
```ini
font-0 = NotoSans Nerd Font:size=10;2
font-1 = siji:pixelsize=16;1
font-2 = NotoSans Nerd Font:size=16;4
```