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
|
||||
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
|
||||
|
|
|
@ -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']
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue