From 595d04451b8b5af008dae29450a295300b1b01bf Mon Sep 17 00:00:00 2001 From: Chris Lee <@klee93> Date: Sun, 29 Jul 2018 22:25:42 +0000 Subject: [PATCH] Replace notify-send with xmessage for minimalist setups --- doc/tint2.md | 2 +- themes/horizontal-dark-transparent.tint2rc | 2 +- themes/horizontal-light-opaque.tint2rc | 2 +- themes/horizontal-light-transparent.tint2rc | 2 +- themes/tint2rc | 2 +- themes/vertical-dark-opaque.tint2rc | 2 +- themes/vertical-dark-transparent.tint2rc | 2 +- themes/vertical-light-opaque.tint2rc | 2 +- themes/vertical-light-transparent.tint2rc | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/tint2.md b/doc/tint2.md index fa3f950..c1490df 100644 --- a/doc/tint2.md +++ b/doc/tint2.md @@ -547,7 +547,7 @@ The action semantics: * `battery_low_status = integer`: At what battery percentage the low command is executed. - * `battery_low_cmd = notify-send "battery low"` : Command to execute when the battery is low. + * `battery_low_cmd = xmessage 'tint2: Battery low!'` : Command to execute when the battery is low. * `battery_full_cmd = notify-send "battery full"` : Command to execute when the battery is full. diff --git a/themes/horizontal-dark-transparent.tint2rc b/themes/horizontal-dark-transparent.tint2rc index 4767308..a2f4569 100644 --- a/themes/horizontal-dark-transparent.tint2rc +++ b/themes/horizontal-dark-transparent.tint2rc @@ -201,7 +201,7 @@ clock_dwheel_command = # Battery battery_tooltip = 1 battery_low_status = 10 -battery_low_cmd = notify-send "battery low" +battery_low_cmd = xmessage 'tint2: Battery low!' battery_full_cmd = bat1_font = sans 8 bat2_font = sans 6 diff --git a/themes/horizontal-light-opaque.tint2rc b/themes/horizontal-light-opaque.tint2rc index 22be24b..67b8bfd 100644 --- a/themes/horizontal-light-opaque.tint2rc +++ b/themes/horizontal-light-opaque.tint2rc @@ -212,7 +212,7 @@ clock_dwheel_command = # Battery battery_tooltip = 1 battery_low_status = 10 -battery_low_cmd = notify-send "battery low" +battery_low_cmd = xmessage 'tint2: Battery low!' battery_full_cmd = bat1_font = sans 8 bat2_font = sans 6 diff --git a/themes/horizontal-light-transparent.tint2rc b/themes/horizontal-light-transparent.tint2rc index 62e6be3..67c4b13 100644 --- a/themes/horizontal-light-transparent.tint2rc +++ b/themes/horizontal-light-transparent.tint2rc @@ -201,7 +201,7 @@ clock_dwheel_command = # Battery battery_tooltip = 1 battery_low_status = 10 -battery_low_cmd = notify-send "battery low" +battery_low_cmd = xmessage 'tint2: Battery low!' battery_full_cmd = bat1_font = sans 8 bat2_font = sans 6 diff --git a/themes/tint2rc b/themes/tint2rc index 6deb996..d2176cb 100644 --- a/themes/tint2rc +++ b/themes/tint2rc @@ -175,7 +175,7 @@ clock_dwheel_command = # Battery battery_tooltip = 1 battery_low_status = 10 -battery_low_cmd = notify-send "battery low" +battery_low_cmd = xmessage 'tint2: Battery low!' battery_full_cmd = battery_font_color = #ffffff 100 bat1_format = diff --git a/themes/vertical-dark-opaque.tint2rc b/themes/vertical-dark-opaque.tint2rc index 82bdbac..b0d1a89 100644 --- a/themes/vertical-dark-opaque.tint2rc +++ b/themes/vertical-dark-opaque.tint2rc @@ -201,7 +201,7 @@ clock_dwheel_command = # Battery battery_tooltip = 1 battery_low_status = 10 -battery_low_cmd = notify-send "battery low" +battery_low_cmd = xmessage 'tint2: Battery low!' battery_full_cmd = bat1_font = sans 8 bat2_font = sans 6 diff --git a/themes/vertical-dark-transparent.tint2rc b/themes/vertical-dark-transparent.tint2rc index 2020d53..b29ee85 100644 --- a/themes/vertical-dark-transparent.tint2rc +++ b/themes/vertical-dark-transparent.tint2rc @@ -201,7 +201,7 @@ clock_dwheel_command = # Battery battery_tooltip = 1 battery_low_status = 10 -battery_low_cmd = notify-send "battery low" +battery_low_cmd = xmessage 'tint2: Battery low!' battery_full_cmd = bat1_font = sans 8 bat2_font = sans 6 diff --git a/themes/vertical-light-opaque.tint2rc b/themes/vertical-light-opaque.tint2rc index ce53c4d..87aa030 100644 --- a/themes/vertical-light-opaque.tint2rc +++ b/themes/vertical-light-opaque.tint2rc @@ -212,7 +212,7 @@ clock_dwheel_command = # Battery battery_tooltip = 1 battery_low_status = 10 -battery_low_cmd = notify-send "battery low" +battery_low_cmd = xmessage 'tint2: Battery low!' battery_full_cmd = bat1_font = sans 8 bat2_font = sans 6 diff --git a/themes/vertical-light-transparent.tint2rc b/themes/vertical-light-transparent.tint2rc index 70cdbd6..75c0256 100644 --- a/themes/vertical-light-transparent.tint2rc +++ b/themes/vertical-light-transparent.tint2rc @@ -201,7 +201,7 @@ clock_dwheel_command = # Battery battery_tooltip = 1 battery_low_status = 10 -battery_low_cmd = notify-send "battery low" +battery_low_cmd = xmessage 'tint2: Battery low!' battery_full_cmd = bat1_font = sans 8 bat2_font = sans 6