A work n progress!
A command line tool to switch the active window using the keyboard, displays an overlay on dekstops to select a window, mostly used for tiling window managers. Tested on i3, awesome and qtile...
Requirements:
A Windows manager compositor (compiz and picom tested), I am working on fake transparency, but all this X stuff is new to me. Tested with i2, awsome and qtile.
Build requirements:
-
lib XCB-dev/
-
lib XCB-util (for ewmh)
-
lib freetype2.0-dev/
-
lib gtk3.0-dev/
-
lib Cairo-dev
-
Clone the repo:/
-
cd winswitch/
-
make/
-
Copy winswitch somewhere in your path/
-
Bind a keyboard shortcut to winswitch (see your tiling window manger documentation) example for i3:/
-
bindsym
$mod+s exec "$ {HOME}/.local/bin/switcher"/
For support & all other kinds of questions open an issue ticket.
winswitch 1.0 Usage: winswitch [OPTION] A command line tool to switch the active window using the keyboard, displays an overlay on the visible dekstop(s) to select window, mostly used for tiling window managers and multi screen setup.Get help: --help Actions: --timeout Set timeout period in seconds to quit, 0 for no timeout, default 10s. --fontsize Set the font size in pixels, default 64 pixels --font Set the ttf or otf font path name --fontcolor Set the font color format is hex color RRGGBBAA the alpha value will be used to indicate selctcted characters --boxcolor Set the box color format is hex color RRGGBBAA the alpha value will be used to indicate selctcted characters --winalpha Set the window alpha must be between 0.0 and 1.0, default 0.1 --nosticky Ignore sti wwcky windows, some applications (docks) do not set properly its window property --label A string of characters used to label the windows must be at least 2 character long, and more than the number of active desktops, characters must be not repeated or behavior behavior of the app is undefined example: winswitch -timeout 10 -boxcolor 3B3C35FF -fontcolor FDFFFFFF -label fhdjsksla -h --help for this listing Author, current maintainer: Philippe Charest