From b97eff00bbd6e73b830791066e80c19e298ec5d2 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Wed, 24 Apr 2024 13:30:03 -0600 Subject: [PATCH] New backup 2024-04-24 13:30:03 --- de/home/.config/sway/scripts/.directory | 6 ++++++ de/home/.config/sway/scripts/global_shortcuts/weather | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 de/home/.config/sway/scripts/.directory diff --git a/de/home/.config/sway/scripts/.directory b/de/home/.config/sway/scripts/.directory new file mode 100644 index 0000000..45e2cc6 --- /dev/null +++ b/de/home/.config/sway/scripts/.directory @@ -0,0 +1,6 @@ +[Dolphin] +Timestamp=2024,4,24,13,20,40.875 +Version=4 + +[Settings] +HiddenFilesShown=true diff --git a/de/home/.config/sway/scripts/global_shortcuts/weather b/de/home/.config/sway/scripts/global_shortcuts/weather index 857c0cc..3ee2557 100755 --- a/de/home/.config/sway/scripts/global_shortcuts/weather +++ b/de/home/.config/sway/scripts/global_shortcuts/weather @@ -1,6 +1,6 @@ #!/bin/bash -jweather=$( curl wttr.in/?format=j1 ) +jweather=$( curl --silent wttr.in/?format=j1 ) current_f=$( jq -r '.current_condition.[].FeelsLikeF' <<< ${jweather} ) high_f=$( jq -r '.weather.[0].maxtempF' <<< ${jweather} )