diff options
-rwxr-xr-x | trayfreq | 9 | ||||
-rwxr-xr-x | trayfreq-set | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/trayfreq b/trayfreq new file mode 100755 index 0000000..8686b41 --- /dev/null +++ b/trayfreq @@ -0,0 +1,9 @@ +#!/usr/bin/bash + +lang=$(locale | grep LANGUAGE | cut -d= -f2 | cut -d_ -f1) + +if [ lang = "fr" ]; then + trayfreq-fr $@ +else + trayfreq-en $@ +fi diff --git a/trayfreq-set b/trayfreq-set new file mode 100755 index 0000000..f4099c6 --- /dev/null +++ b/trayfreq-set @@ -0,0 +1,9 @@ +#!/usr/bin/bash + +lang=$(locale | grep LANGUAGE | cut -d= -f2 | cut -d_ -f1) + +if [ lang = "fr" ]; then + trayfreq-set-fr $@ +else + trayfreq-set-en $@ +fi |