Rofi: A window switcher, application launcher and dmenu replacement
Go to file
Daniel Hahler ea8c9923d5 Display desktop number with the pattern in window mode
This is merged from the original upstream at:
https://github.com/seanpringle/simpleswitcher/blob/master/simpleswitcher.c
2014-03-02 10:33:27 +01:00
config Rename simpleswitcher to rofi. 2014-03-01 17:27:52 +01:00
doc Rename simpleswitcher to rofi. 2014-03-01 17:27:52 +01:00
include cleanups 2014-02-03 23:07:04 +01:00
source Display desktop number with the pattern in window mode 2014-03-02 10:33:27 +01:00
.gitignore Restructure a bit. 2014-01-19 14:18:42 +01:00
LICENSE Detect i3bar at a more convenient place. 2014-01-09 23:55:23 +01:00
Makefile Rename simpleswitcher to rofi. 2014-03-01 17:27:52 +01:00
README.md Rename simpleswitcher to rofi. 2014-03-01 17:27:52 +01:00

README.md

Rofi

A popup window switcher roughly based on superswitcher, requiring only xlib and xft. This version is based on the version from Sean Pringle. All credit for this great tool should go to him.

  • Switcher centered on screen (or monitor for multi-head).

  • Vertical list with two columns:

    1. Window class.
    2. Window title.
  • Controls like dmenu:

    • Type to filter windows.
    • Tokonized filter. Type any word in any order to filter.
    • Arrows to highlight selections.
    • Return to select.
  • Rudimentary run dialog

    • Type to filter.
    • Tokonized filter. Type any word in any order to filter.
    • Arrows to highlight selections.
    • Return to select.
    • Shift-Return to run in terminal.
  • Runs in background or once-off.

If compiled with I3 support, it should autodetect if I3 window manager is running.

Usage

e.g.

bindsym $mod+Tab exec rofi -now -font "snap-10" -fg "#505050" -bg "#000000" -hlfg "#ffb964" -hlbg "#000000" -o 85

Switching Between Modi

Type '?' (enter) to switch from Window list mode to Run mode and back.

Compilation

Type make I3= to disable compiling with i3 support. If during compilation it complains about not finding i3/ipc.h either disable i3 support or install the headers.

Type make PREFIX=<path> install to install in a different prefix.

Archlinux

This version of rofi has been made available on the AUR by 1ace.