summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2019-01-21 18:08:11 +0100
committerDave Davenport <qball@gmpclient.org>2019-01-21 18:09:34 +0100
commitcac2eb1a7fec8238379526d5195cd0d3bad1620a (patch)
tree33630daf1d3ae28d179fb535871335903e5b268d
parent41e15539b4cb030eeff65ccd74b4278e26ed7251 (diff)
change default alt. window command to bring to current desktop.
Xkill is duplicate of shift-del (build in close). This is more useful. Fix test-case. Fixes: #902
-rw-r--r--config/config.c2
-rw-r--r--doc/rofi.12
-rw-r--r--doc/rofi.1.markdown2
-rw-r--r--doc/test_xr.txt2
4 files changed, 5 insertions, 3 deletions
diff --git a/config/config.c b/config/config.c
index 56053b04..855dacdc 100644
--- a/config/config.c
+++ b/config/config.c
@@ -66,7 +66,7 @@ Settings config = {
/** Command executed when running application in terminal */
.run_shell_command = "{terminal} -e {cmd}",
/** Command executed on accep-entry-custom for window modus */
- .window_command = "xkill -id {window}",
+ .window_command = "wmctrl -i -R {window}",
/** No default icon theme, we search Adwaita and gnome as fallback */
.icon_theme = NULL,
/**
diff --git a/doc/rofi.1 b/doc/rofi.1
index eab9603c..7eba77e0 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -856,7 +856,7 @@ default: {w} {c} {t}
Set command to execute on selected window for a custom action\. See \fIPATTERN\fR\.
.
.P
-Default: \fI"xkill \-id {window}"\fR
+Default: \fI"wmctrl \-i \-R {window}"\fR
.
.SS "Combi settings"
\fB\-combi\-modi\fR \fImode1,mode2\fR
diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown
index 1b4fb82e..675ae06d 100644
--- a/doc/rofi.1.markdown
+++ b/doc/rofi.1.markdown
@@ -487,7 +487,7 @@ default: {w} {c} {t}
Set command to execute on selected window for a custom action.
See *PATTERN*.
-Default: *"xkill -id {window}"*
+Default: *"wmctrl -i -R {window}"*
### Combi settings
diff --git a/doc/test_xr.txt b/doc/test_xr.txt
index dc1453eb..a07b73e3 100644
--- a/doc/test_xr.txt
+++ b/doc/test_xr.txt
@@ -48,6 +48,8 @@ rofi.window-command: xkill -id {window}
! rofi.drun-display-format: {name} [<span weight='light' size='small'><i>({generic})</i></span>]
! "Disable history in run/ssh" Set from: File
rofi.disable-history: false
+! "Programs ignored for history" Set from: Default
+! rofi.ignored-prefixes:
! "Use sorting" Set from: Default
! rofi.sort: false
! "Choose the strategy used for sorting: normal (levenshtein) or fzf." Set from: Default