Skip to content

Commit

Permalink
Update linux-app-logger and scripts a bit
Browse files Browse the repository at this point in the history
Add a bit more aux scripts
  • Loading branch information
LeonidBeynenson committed Aug 23, 2022
1 parent 3361f65 commit c4173e3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __wingettotalresttime4.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import yaml

def DEFAULT_TARGET_TIME_IN_HOURS():
return 5.5 # hours
return 6.0 # hours

def print_table(list_of_rows):
tab = tt.Texttable(max_width = 0)
Expand Down
2 changes: 1 addition & 1 deletion generate_time_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
for i in range(delta.days + 1):
cur_date = sdate + timedelta(days=i)
weekday = cur_date.strftime('%a')
target_time_in_hours = 5.5 if weekday not in ('Sat', 'Sun') else 0.0
target_time_in_hours = 6.0 if weekday not in ('Sat', 'Sun') else 0.0
print(f"'{cur_date}': {target_time_in_hours}")
1 change: 1 addition & 0 deletions gnome_screensaver_dbus_monitor.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver'"
2 changes: 1 addition & 1 deletion linux-app-logger
Submodule linux-app-logger updated 1 files
+30 −7 logger.py
6 changes: 6 additions & 0 deletions videos_ffprobe.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
while read a; do
echo "==="
echo $a
ffprobe $a
echo "=="
done

0 comments on commit c4173e3

Please sign in to comment.