remove atom re-add backup
parent
b4d1eb03cd
commit
ddab436506
|
@ -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
|
||||||
|
|
|
@ -87,7 +87,7 @@ def login():
|
||||||
|
|
||||||
if r.status_code != 200:
|
if r.status_code != 200:
|
||||||
raise RuntimeError("Cannot login to Lychee!")
|
raise RuntimeError("Cannot login to Lychee!")
|
||||||
|
|
||||||
return s
|
return s
|
||||||
|
|
||||||
def get_album_id(session, name):
|
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!")
|
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']
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue