summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README.md6
-rw-r--r--config/config.c2
-rw-r--r--doc/rofi.1 (renamed from doc/simpleswitcher.1)67
-rw-r--r--source/dmenu-dialog.c2
-rw-r--r--source/profile-dialog.c2
-rw-r--r--source/run-dialog.c2
-rw-r--r--source/simpleswitcher.c2
-rw-r--r--source/ssh-dialog.c2
-rw-r--r--source/xrmoptions.c4
10 files changed, 46 insertions, 45 deletions
diff --git a/Makefile b/Makefile
index e5a85a64..260cc134 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ QUIET?=@
CFLAGS?=-Wall -Wextra -O3 -g
VERSION?=0.14.2
-PROGRAM=simpleswitcher
+PROGRAM=rofi
PREFIX?=$(DESTDIR)/usr
diff --git a/README.md b/README.md
index 5d02d9fd..e4ba4ebf 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# simpleswitcher
+# Rofi
A popup window switcher roughly based on [superswitcher](http://code.google.com/p/superswitcher/), requiring only xlib and xft.
This version is based on the version from [Sean
@@ -32,7 +32,7 @@ Usage
e.g.
- bindsym $mod+Tab exec simpleswitcher -now -font "snap-10" -fg "#505050" -bg "#000000" -hlfg "#ffb964" -hlbg "#000000" -o 85
+ bindsym $mod+Tab exec rofi -now -font "snap-10" -fg "#505050" -bg "#000000" -hlfg "#ffb964" -hlbg "#000000" -o 85
Switching Between Modi
----------------------
@@ -51,5 +51,5 @@ Type `make PREFIX=<path> install` to install in a different prefix.
Archlinux
---------
-This version of simpleswitcher has been made available on the
+This version of rofi has been made available on the
[AUR](https://aur.archlinux.org/packages/simpleswitcher-dd-git/) by 1ace.
diff --git a/config/config.c b/config/config.c
index 424fec9e..854cebff 100644
--- a/config/config.c
+++ b/config/config.c
@@ -1,5 +1,5 @@
/**
- * simpleswitcher
+ * rofi
*
* MIT/X11 License
* Modified 2013-2014 Qball Cow <qball@gmpclient.org>
diff --git a/doc/simpleswitcher.1 b/doc/rofi.1
index 60addb7a..ee019ccc 100644
--- a/doc/simpleswitcher.1
+++ b/doc/rofi.1
@@ -1,8 +1,8 @@
-.TH SIMPLESWITCHER 1 simpleswitcher
+.TH ROFI 1 rofi
.SH NAME
-simpleswitcher \- a simple EWMH window switcher
+rofi \- a simple EWMH window switcher
.SH SYNOPSIS
-.B simpleswitcher
+.B rofi
.RB [ \-width
.IR pct_scr ]
.RB [ \-lines
@@ -36,7 +36,7 @@ simpleswitcher \- a simple EWMH window switcher
.IR padding ]
.SH DESCRIPTION
-.I simpleswitcher
+.I rofi
is an X11 popup window switcher. A list is displayed center-screen showing open window titles, WM_CLASS, and desktop number. The user may filter the list by typing, navigate with Up/Down or Tab keys, and select a window with Return (Enter). Escape cancels.
.P
License: MIT/X11
@@ -54,33 +54,33 @@ Show run-dialog.
Change the key combination to display all windows (default: F12).
.P
.RS
-simpleswitcher -key F12
+rofi -key F12
.br
-simpleswitcher -key control+shift+s
+rofi -key control+shift+s
.br
-simpleswitcher -key mod1+Tab
+rofi -key mod1+Tab
.RE
.TP
.B -rkey
Change the key combination to display the run dialog (default: mod1-F2).
.P
.RS
-simpleswitcher -rkey F11
+rofi -rkey F11
.br
-simpleswitcher -rkey control+shift+d
+rofi -rkey control+shift+d
.br
-simpleswitcher -rkey mod1+grave (grave=backtick)
+rofi -rkey mod1+grave (grave=backtick)
.RE
.TP
.B -skey
Change the key combination to display the ssh dialog (default: Alt-F3).
.P
.RS
-simpleswitcher -skey F10
+rofi -skey F10
.br
-simpleswitcher -skey control+shift+s
+rofi -skey control+shift+s
.br
-simpleswitcher -skey mod1+grave (grave=backtick)
+rofi -skey mod1+grave (grave=backtick)
.RE
.TP
.B -mkey
@@ -88,97 +88,97 @@ Change the key combination to display the mark dialog (default: Alt-F5)
(only if i3 support is enabled).
.P
.RS
-simpleswitcher -mkey Alt-F2
+rofi -mkey Alt-F2
.RE
.TP
.B -now
-Run simpleswitcher in all-windows mode once then exit. Does not bind any keys.
+Run rofi in all-windows mode once then exit. Does not bind any keys.
.TP
.B -rnow
-Run simpleswitcher in run-dialog mode once then exit. Does not bind any keys.
+Run rofi in run-dialog mode once then exit. Does not bind any keys.
.TP
.B -snow
-Run simpleswitcher in ssh mode once then exit. Does not bind any keys.
+Run rofi in ssh mode once then exit. Does not bind any keys.
.TP
.B -mnow
-Run simpleswitcher in mark mode once then exit. Does not bind any keys (only if i3 support is
+Run rofi in mark mode once then exit. Does not bind any keys (only if i3 support is
enabled).
.TP
.B -bg
Set the background text color (X11 named color or hex #rrggbb) for the menu (default: #222222).
.P
.RS
-simpleswitcher -fg "#222222"
+rofi -fg "#222222"
.RE
.TP
.B -bc
Set the border color (X11 named color or hex #rrggbb) for the menu (default: #000000).
.P
.RS
-simpleswitcher -bc black
+rofi -bc black
.RE
.TP
.B -bw
Set the border width in pixels (default: 1).
.P
.RS
-simpleswitcher -bw 1
+rofi -bw 1
.RE
.TP
.B -fg
Set the foreground text color (X11 named color or hex #rrggbb) for the menu (default: #cccccc).
.P
.RS
-simpleswitcher -fg "#cccccc"
+rofi -fg "#cccccc"
.RE
.TP
.B -font
Xft font name for use by the menu (default: mono-14).
.P
.RS
-simpleswitcher -font monospace-14:medium
+rofi -font monospace-14:medium
.RE
.TP
.B -hlbg
Set the background text color (X11 named color or hex #rrggbb) for the highlighted item in the menu (default: #005577).
.P
.RS
-simpleswitcher -fg "#005577"
+rofi -fg "#005577"
.RE
.TP
.B -hlfg
Set the foreground text color (X11 named color or hex #rrggbb) for the highlighted item in the menu (default: #ffffff).
.P
.RS
-simpleswitcher -fg "#ffffff"
+rofi -fg "#ffffff"
.RE
.TP
.B -o
Set the window opacity (0-100).
.P
.RS
-simpleswitcher -o "75"
+rofi -o "75"
.RE
.TP
.B -lines
Maximum number of entries the menu may show before scrolling (default: 25).
.P
.RS
-simpleswitcher -lines 25
+rofi -lines 25
.RE
.TP
.B -width
Set the width of the menu as a percentage of the screen width (default: 60).
.P
.RS
-simpleswitcher -width 60
+rofi -width 60
.RE
.TP
.B -term
Specify what terminal to start (default x-terminal-emulator)
.P
.RS
-simpleswitcher -term xterm
+rofi -term xterm
.RE
.TP
.B -loc
@@ -201,14 +201,15 @@ option.
.B -padding
Define the inner margin of the window. Default is 5 pixels.
.RS
-To make simpleswitcher look like dmenu:
+To make rofi look like dmenu:
.TP
-simpleswitcher -hmode -padding 0
+rofi -hmode -padding 0
.RE
.SH Switch between modi
Type '?'<enter> to switch between window list and run mode.
.SH SEE ALSO
-.BR simpleswitcher (1)
+.BR rofi (1)
.SH AUTHOR
-Sean Pringle <sean.pringle@gmail.com>
Qball Cow <qball@gmpclient.org>
+.br
+Original code based on work by: Sean Pringle <sean.pringle@gmail.com>
diff --git a/source/dmenu-dialog.c b/source/dmenu-dialog.c
index e5216994..08bfa924 100644
--- a/source/dmenu-dialog.c
+++ b/source/dmenu-dialog.c
@@ -1,5 +1,5 @@
/**
- * simpleswitcher
+ * rofi
*
* MIT/X11 License
* Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
diff --git a/source/profile-dialog.c b/source/profile-dialog.c
index 8c4e2273..23c4ddcd 100644
--- a/source/profile-dialog.c
+++ b/source/profile-dialog.c
@@ -1,5 +1,5 @@
/**
- * simpleswitcher
+ * rofi
*
* MIT/X11 License
* Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
diff --git a/source/run-dialog.c b/source/run-dialog.c
index 0c54926b..88b9bae8 100644
--- a/source/run-dialog.c
+++ b/source/run-dialog.c
@@ -1,5 +1,5 @@
/**
- * simpleswitcher
+ * rofi
*
* MIT/X11 License
* Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
diff --git a/source/simpleswitcher.c b/source/simpleswitcher.c
index bcda8a3a..535f02ab 100644
--- a/source/simpleswitcher.c
+++ b/source/simpleswitcher.c
@@ -1,5 +1,5 @@
/**
- * simpleswitcher
+ * rofi
*
* MIT/X11 License
* Copyright (c) 2012 Sean Pringle <sean.pringle@gmail.com>
diff --git a/source/ssh-dialog.c b/source/ssh-dialog.c
index 94339585..b6f98dba 100644
--- a/source/ssh-dialog.c
+++ b/source/ssh-dialog.c
@@ -1,5 +1,5 @@
/**
- * simpleswitcher
+ * rofi
*
* MIT/X11 License
* Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index c996172f..38e0153c 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -1,5 +1,5 @@
/**
- * simpleswitcher
+ * rofi
*
* MIT/X11 License
* Copyright 2013-2014 Qball Cow <qball@gmpclient.org>
@@ -75,7 +75,7 @@ void parse_xresource_options( Display *display )
char * xrmType;
XrmValue xrmValue;
// TODO: update when we have new name.
- const char * namePrefix = "simpleswitcher";
+ const char * namePrefix = "rofi";
const char * classPrefix = "Simpleswitcher";
for ( unsigned int i = 0; i < sizeof ( xrmOptions ) / sizeof ( *xrmOptions ); ++i ) {