Simple focus animations for tiling window managers
Project description
# flashfocus
Simple focus animations for tiling window managers.
![Demo gif](demo/demo.gif)
<br>
When the focused window changes, flashfocus briefly decreases the window
opacity then slowly fades the window back to full opacity to create a flash
effect.
Compatible with all X based window managers (i3, bspwm, awesome-wm, xmonad...).
## Installation
An active window compositor is required for the effects of flashfocus to be
noticeable. If you don't have one setup already, I recommend
[compton](https://github.com/chjj/compton).
### Arch
Install from the Arch User Repository: `flashfocus-git`
### Ubuntu/Debian
```
sudo apt-get install libxcb-render0-dev;
pip install flashfocus
```
## Configuration
Flashfocus should be added to your startup programs. E.g for i3 put the
following in your config:
```
exec_always --no-startup-id flashfocus
```
Flashfocus also includes the `flash_window` script for flashing the current window in response to a keybinding. E.g if you'd like to bind to mod+n in i3:
```
bindsym $mod+n exec --no-startup-id flash_window
```
See `flashfocus --help` for extra configuration options.
### Tabbed containers in i3
The animations don't work well out of the box for i3 tabs. You'll need to add
the following to your compton config:
```
opacity-rule = [
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
```
Simple focus animations for tiling window managers.
![Demo gif](demo/demo.gif)
<br>
When the focused window changes, flashfocus briefly decreases the window
opacity then slowly fades the window back to full opacity to create a flash
effect.
Compatible with all X based window managers (i3, bspwm, awesome-wm, xmonad...).
## Installation
An active window compositor is required for the effects of flashfocus to be
noticeable. If you don't have one setup already, I recommend
[compton](https://github.com/chjj/compton).
### Arch
Install from the Arch User Repository: `flashfocus-git`
### Ubuntu/Debian
```
sudo apt-get install libxcb-render0-dev;
pip install flashfocus
```
## Configuration
Flashfocus should be added to your startup programs. E.g for i3 put the
following in your config:
```
exec_always --no-startup-id flashfocus
```
Flashfocus also includes the `flash_window` script for flashing the current window in response to a keybinding. E.g if you'd like to bind to mod+n in i3:
```
bindsym $mod+n exec --no-startup-id flash_window
```
See `flashfocus --help` for extra configuration options.
### Tabbed containers in i3
The animations don't work well out of the box for i3 tabs. You'll need to add
the following to your compton config:
```
opacity-rule = [
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flashfocus-0.2.0.tar.gz
(9.0 MB
view hashes)
Built Distribution
Close
Hashes for flashfocus-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | beac98f789f4eb0f27622f821806a87bc735e1ca042416bc9f1c3c2afdf50f2f |
|
MD5 | 465fea19eea67ff177c47ac9b925d40e |
|
BLAKE2b-256 | 0e4792970d7f26399ab4812b90afb5cdb154931927146890f3e97c23629c7b43 |