1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

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 */ /** Command executed when running application in terminal */
.run_shell_command = "{terminal} -e {cmd}", .run_shell_command = "{terminal} -e {cmd}",
/** Command executed on accep-entry-custom for window modus */ /** 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 */ /** No default icon theme, we search Adwaita and gnome as fallback */
.icon_theme = NULL, .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\. Set command to execute on selected window for a custom action\. See \fIPATTERN\fR\.
. .
.P .P
Default: \fI"xkill \-id {window}"\fR Default: \fI"wmctrl \-i \-R {window}"\fR
. .
.SS "Combi settings" .SS "Combi settings"
\fB\-combi\-modi\fR \fImode1,mode2\fR \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. Set command to execute on selected window for a custom action.
See *PATTERN*. See *PATTERN*.
Default: *"xkill -id {window}"* Default: *"wmctrl -i -R {window}"*
### Combi settings ### 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>] ! rofi.drun-display-format: {name} [<span weight='light' size='small'><i>({generic})</i></span>]
! "Disable history in run/ssh" Set from: File ! "Disable history in run/ssh" Set from: File
rofi.disable-history: false rofi.disable-history: false
! "Programs ignored for history" Set from: Default
! rofi.ignored-prefixes:
! "Use sorting" Set from: Default ! "Use sorting" Set from: Default
! rofi.sort: false ! rofi.sort: false
! "Choose the strategy used for sorting: normal (levenshtein) or fzf." Set from: Default ! "Choose the strategy used for sorting: normal (levenshtein) or fzf." Set from: Default