updates for hyprland

This commit is contained in:
Chris Cochrun 2023-01-10 09:39:27 -06:00
parent 8adb361b82
commit 7863e720c3
4 changed files with 213 additions and 176 deletions

18
scripts/ncsyncchk.sh Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/env bash
folders=( 0 1 2 3 4 5 6 )
# while [ 1 ];
# do
echo "" > /tmp/ncsync
syncing=$(cat /tmp/ncsync)
for folder in ${folders[@]}
do
name=$(qdbus com.nextcloudgmbh.Nextcloud /com/nextcloudgmbh/Nextcloud/Folder/$folder org.freedesktop.CloudProviders.Account.Name)
fullstatus=$(qdbus com.nextcloudgmbh.Nextcloud /com/nextcloudgmbh/Nextcloud/Folder/$folder org.freedesktop.CloudProviders.Account.StatusDetails)
status=$(echo $fullstatus | awk '{print $3}' | sed 's/,//')
echo $name - $fullstatus >> /tmp/ncsync
done
# sleep 3
# done