From ddab4365066dc51124db1c52b799e7375338e378 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Thu, 10 Dec 2020 09:58:56 +0100 Subject: [PATCH] remove atom re-add backup --- .config/i3/config_common | 1 - .config/i3/scripts/screenshot.py | 3 ++- .config/polybar/scripts/filesystem.sh.desk | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/i3/config_common b/.config/i3/config_common index 9765975..85f1cca 100644 --- a/.config/i3/config_common +++ b/.config/i3/config_common @@ -71,7 +71,6 @@ exec --no-startup-id amixer -D hw:PCH -M sset Master 50% # standard apps for working exec standardnotes-desktop -exec --no-startup-id i3-msg 'workspace 2; exec atom' exec --no-startup-id i3-msg 'workspace 3; exec firefox' exec thunderbird exec signal-desktop diff --git a/.config/i3/scripts/screenshot.py b/.config/i3/scripts/screenshot.py index a70dcbe..96f47df 100755 --- a/.config/i3/scripts/screenshot.py +++ b/.config/i3/scripts/screenshot.py @@ -87,7 +87,7 @@ def login(): if r.status_code != 200: raise RuntimeError("Cannot login to Lychee!") - + return s def get_album_id(session, name): @@ -96,6 +96,7 @@ def get_album_id(session, name): raise RuntimeError("API call didn't return a JSON object!") albums = r.json() + print(albums) for album in albums['albums']: if album['title'] == name: return album['id'] diff --git a/.config/polybar/scripts/filesystem.sh.desk b/.config/polybar/scripts/filesystem.sh.desk index 6fa9290..dfec00a 100755 --- a/.config/polybar/scripts/filesystem.sh.desk +++ b/.config/polybar/scripts/filesystem.sh.desk @@ -1,7 +1,7 @@ #/bin/sh -icons=(  ) -parts=(/ /mnt/data) +icons=(  ) +parts=(/ /mnt/data /mnt/backup) output="" for i in "${!parts[@]}"; do avail=$(df -h ${parts[$i]} | tail -1 | tr -s ' ' | cut -d' ' -f4)