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
This commit is contained in:
Dave Davenport 2019-01-21 18:08:11 +01:00
parent 41e15539b4
commit cac2eb1a7f
4 changed files with 5 additions and 3 deletions

View File

@ -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,
/**

View File

@ -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

View File

@ -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

View File

@ -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