1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-08-06 14:16:33 +02:00
Files
cadmus/docs/Misc/windows.md
2020-07-24 20:57:20 +10:00

825 B

title
title
Windows

Windows

!!! note Start this with cadmus misc wa/wr

What does it do

This offers a fuzzy selection of windows just like rofi but in the terminal.

How Do I use it

!!! warning This requires wmctrl set up to index your notes directory.

Run cadmus misc wa to activate a window or cadmus misc wr to relocate a window, a dialog will popup.

Type to filter the popup and press Enter to activate that window.

When Would This Be Used

This is good for when you're looking for a window but you don't want to use rofi for one reason or another.

Example

#TODO

How does it Work

This just uses wmctrl and fzf to filter through the windows like this:

 wmctrl -R "$(wmctrl -l | cut -f 5- -d " " | fzf)"