From 5d789b25d1ac985c70609cd790039b66dff71cab Mon Sep 17 00:00:00 2001 From: lelgenio Date: Thu, 17 Oct 2019 00:44:35 -0300 Subject: [PATCH] fix weather --- code/.config/Code - OSS/User/keybindings.json | 3 +++ waybar/.config/waybar/custom/weather | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/code/.config/Code - OSS/User/keybindings.json b/code/.config/Code - OSS/User/keybindings.json index 5f2642b..dd58c93 100644 --- a/code/.config/Code - OSS/User/keybindings.json +++ b/code/.config/Code - OSS/User/keybindings.json @@ -12,5 +12,8 @@ },{ "key": "ctrl+b", "command":"workbench.action.toggleSidebarVisibility" + },{ + "key": "ctrl+n", + "command":"notifications.clearAll" } ] \ No newline at end of file diff --git a/waybar/.config/waybar/custom/weather b/waybar/.config/waybar/custom/weather index 240955d..df8e023 100755 --- a/waybar/.config/waybar/custom/weather +++ b/waybar/.config/waybar/custom/weather @@ -8,7 +8,7 @@ OUTPUT=$(http get http://api.openweathermap.org/data/2.5/weather\?APPID\=${APPID # echo $APPID # echo $OUTPUT -if [ $? ] +if [ $? -ne 0 ] then exit 1 fi