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:
parent
264b546155
commit
a08fba49d0
@ -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;
|
||||
|
6
dunstrc
6
dunstrc
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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;
|
||||
|
@ -5,7 +5,6 @@
|
||||
sort = yes
|
||||
indicate_hidden = yes
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ignore_newline = no
|
||||
|
@ -5,7 +5,6 @@
|
||||
sort = yes
|
||||
indicate_hidden = yes
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ignore_newline = yes
|
||||
|
@ -5,7 +5,6 @@
|
||||
sort = yes
|
||||
indicate_hidden = yes
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 60
|
||||
word_wrap = no
|
||||
ignore_newline = yes
|
||||
|
@ -5,7 +5,6 @@
|
||||
sort = yes
|
||||
indicate_hidden = yes
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ignore_newline = no
|
||||
|
@ -5,7 +5,6 @@
|
||||
sort = yes
|
||||
indicate_hidden = yes
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ignore_newline = no
|
||||
|
@ -5,7 +5,6 @@
|
||||
sort = yes
|
||||
indicate_hidden = yes
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 60
|
||||
word_wrap = no
|
||||
ignore_newline = no
|
||||
|
@ -5,7 +5,6 @@
|
||||
sort = yes
|
||||
indicate_hidden = yes
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ignore_newline = no
|
||||
|
@ -5,7 +5,6 @@
|
||||
sort = yes
|
||||
indicate_hidden = yes
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 2
|
||||
word_wrap = yes
|
||||
ignore_newline = no
|
||||
|
Loading…
x
Reference in New Issue
Block a user