Remove bounce setting

Bounce was functionally removed in
b2883b213342c912a76329bb8f6c179ea3451ae5 during the transition from Xft
to Cairo without any mention. There is no use to keeping it in the example dunstrc
and storing the value in the code,

This commit will probably be reversed if and when bounce is
re-implemented.
This commit is contained in:
Nikos Tsipinakis 2017-07-03 07:34:53 +03:00
parent 264b546155
commit a08fba49d0
12 changed files with 0 additions and 22 deletions

View File

@ -23,7 +23,6 @@ int indicate_hidden = true; /* show count of hidden messages */
int idle_threshold = 0; /* don't timeout notifications when idle for x seconds */
int show_age_threshold = -1; /* show age of notification, when notification is older than x seconds */
enum alignment align = left; /* text alignment [left/center/right] */
float bounce_freq = 1; /* determines the bounce frequency (if activated) */
int sticky_history = true;
int history_length = 20; /* max amount of notifications kept in history */
int show_indicators = true;

View File

@ -82,12 +82,6 @@
# Set to 0 to disable.
idle_threshold = 120
# The frequency with which text that is longer than the notification
# window allows bounces back and forth.
# This option conflicts with "word_wrap".
# Set to 0 to disable.
bounce_freq = 0
### Text ###
font = Monospace 8

View File

@ -225,12 +225,6 @@ void load_settings(char *cmdline_config_path)
"Define height of the window"
);
settings.bounce_freq = option_get_double(
"global",
"bounce_freq", "-bounce_freq", bounce_freq,
"Make long text bounce from side to side"
);
{
char *c = option_get_string(
"global",

View File

@ -41,7 +41,6 @@ typedef struct _settings {
int idle_threshold;
int show_age_threshold;
enum alignment align;
float bounce_freq;
int sticky_history;
int history_length;
int show_indicators;

View File

@ -5,7 +5,6 @@
sort = yes
indicate_hidden = yes
alignment = left
bounce_freq = 0
show_age_threshold = 60
word_wrap = yes
ignore_newline = no

View File

@ -5,7 +5,6 @@
sort = yes
indicate_hidden = yes
alignment = left
bounce_freq = 0
show_age_threshold = 60
word_wrap = yes
ignore_newline = yes

View File

@ -5,7 +5,6 @@
sort = yes
indicate_hidden = yes
alignment = left
bounce_freq = 0
show_age_threshold = 60
word_wrap = no
ignore_newline = yes

View File

@ -5,7 +5,6 @@
sort = yes
indicate_hidden = yes
alignment = left
bounce_freq = 0
show_age_threshold = 60
word_wrap = yes
ignore_newline = no

View File

@ -5,7 +5,6 @@
sort = yes
indicate_hidden = yes
alignment = left
bounce_freq = 0
show_age_threshold = 60
word_wrap = yes
ignore_newline = no

View File

@ -5,7 +5,6 @@
sort = yes
indicate_hidden = yes
alignment = left
bounce_freq = 0
show_age_threshold = 60
word_wrap = no
ignore_newline = no

View File

@ -5,7 +5,6 @@
sort = yes
indicate_hidden = yes
alignment = left
bounce_freq = 0
show_age_threshold = 60
word_wrap = yes
ignore_newline = no

View File

@ -5,7 +5,6 @@
sort = yes
indicate_hidden = yes
alignment = left
bounce_freq = 0
show_age_threshold = 2
word_wrap = yes
ignore_newline = no