Skip to content

Commit 834069a

Browse files
Sven PüschelSven Püschel
Sven Püschel
authored and
Sven Püschel
committed
Remove trailing whitespaces
Remove trailing whitespaces, except for the generated wayland code.
1 parent f6ba641 commit 834069a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

completions/dunst.bashcomp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ _dunst() {
22
local opts cur prev split=false
33
_get_comp_words_by_ref cur prev
44
COMPREPLY=()
5-
opts='-v -version --version -verbosity -conf -config -print --print -startup_notification --startup_notification -h -help --help'
5+
opts='-v -version --version -verbosity -conf -config -print --print -startup_notification --startup_notification -h -help --help'
66

77
case "$prev" in
8-
-verbosity) COMPREPLY=( $( compgen -W 'crit warn mesg info debug' -- "$cur") )
8+
-verbosity) COMPREPLY=( $( compgen -W 'crit warn mesg info debug' -- "$cur") )
99
return ;;
1010
-conf|--config) _filedir
1111
return ;;

contrib/notification-history.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tests() {
1010
history_json="$(dunstctl history)"
1111
history_items="$(printf '%s' "$history_json" | jq -r '.data[0][] | .appname.data , (.timestamp.data | tostring) , .summary.data | gsub("[\\n]"; "\\n")')" # the gsub is to really ensure no escaped new lines in the data lead us to print new lines. New lines in data have to be escaped. (Because) Actual newlines are the field separator essential to the logic of the while loop below, and rofi further down.
1212

13-
#history_items ends up looking like arrays with an order with this meaning:
13+
#history_items ends up looking like arrays with an order with this meaning:
1414
#appname (newline) timestamp (newline) summary (newline)
1515
#
1616
#NetworkManager

src/input.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55

66
/**
77
* Handle incoming mouse click events
8-
*
8+
*
99
* @param button code, A linux input event code
1010
* @param button_down State of the button
1111
* @param mouse_x X-position of the mouse, relative to the window
1212
* @param mouse_y Y-position of the mouse, relative to the window
1313
*
1414
*/
1515
void input_handle_click(unsigned int button, bool button_down, int mouse_x, int mouse_y);
16-
16+
1717
#endif
1818
/* vim: set ft=c tabstop=8 shiftwidth=8 expandtab textwidth=0: */

0 commit comments

Comments
 (0)