mirror of
https://github.com/lbonn/rofi
synced 2024-11-26 22:00:20 +00:00
Add xdg-terminal to list
This commit is contained in:
parent
b454791ccd
commit
d01afc5303
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
# We welcome patches that add distribution-specific mechanisms to find the
|
||||
# preferred terminal emulator. On Debian, there is the x-terminal-emulator
|
||||
# symlink for example.
|
||||
for terminal in $TERMINAL x-terminal-emulator termite urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal termite lxterminal; do
|
||||
for terminal in $TERMINAL xdg-terminal x-terminal-emulator termite urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal termite lxterminal; do
|
||||
if command -v $terminal > /dev/null 2>&1; then
|
||||
exec $terminal "$@"
|
||||
fi
|
||||
|
|
|
@ -979,7 +979,7 @@ static void menu_resize ( MenuState *state )
|
|||
h -= state->line_height + config.line_margin;
|
||||
}
|
||||
if ( h < 0 ) {
|
||||
fprintf ( stderr, "Current padding %d (on each side) does not fit within visible window %d.\n", config.padding, state->h );
|
||||
fprintf ( stderr, "Current padding %u (on each side) does not fit within visible window %u.\n", config.padding, state->h );
|
||||
h = ( state->h - state->top_offset - state->h / 3 );
|
||||
if ( config.sidebar_mode == TRUE ) {
|
||||
h -= state->line_height + config.line_margin;
|
||||
|
|
Loading…
Reference in a new issue