remove atom re-add backup

master
Quentin Duchemin 2020-12-10 09:58:56 +01:00
parent b4d1eb03cd
commit ddab436506
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
3 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,6 @@ exec --no-startup-id amixer -D hw:PCH -M sset Master 50%
# standard apps for working # standard apps for working
exec standardnotes-desktop exec standardnotes-desktop
exec --no-startup-id i3-msg 'workspace 2; exec atom'
exec --no-startup-id i3-msg 'workspace 3; exec firefox' exec --no-startup-id i3-msg 'workspace 3; exec firefox'
exec thunderbird exec thunderbird
exec signal-desktop exec signal-desktop

View File

@ -96,6 +96,7 @@ def get_album_id(session, name):
raise RuntimeError("API call didn't return a JSON object!") raise RuntimeError("API call didn't return a JSON object!")
albums = r.json() albums = r.json()
print(albums)
for album in albums['albums']: for album in albums['albums']:
if album['title'] == name: if album['title'] == name:
return album['id'] return album['id']

View File

@ -1,7 +1,7 @@
#/bin/sh #/bin/sh
icons=(  ) icons=(  )
parts=(/ /mnt/data) parts=(/ /mnt/data /mnt/backup)
output="" output=""
for i in "${!parts[@]}"; do for i in "${!parts[@]}"; do
avail=$(df -h ${parts[$i]} | tail -1 | tr -s ' ' | cut -d' ' -f4) avail=$(df -h ${parts[$i]} | tail -1 | tr -s ' ' | cut -d' ' -f4)