commit 933fb5798ab838b539a9af4416430a624458cfa4
parent 899f71c63e1a364d37df6f3043617a7114388611
Author: tongong <tongong@gmx.net>
Date: Sun, 6 Jun 2021 15:11:24 +0200
added sxiv handling
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/timetracker b/timetracker
@@ -30,6 +30,7 @@ xprop -spy -root _NET_ACTIVE_WINDOW
if [[ "$program" == "" && "$title" =~ "Anki" ]]; then program="anki"; fi
if [[ "$program" =~ "gimp" ]]; then program="gimp"; fi
if [[ "$program" == "" && "$title" =~ "" ]]; then program="dwm"; fi
+ if [[ "$program" == "" && "$title" = "sxiv" ]]; then program="sxiv"; fi
if [[ "$program" == "oosplash" ]]; then program="libreoffice"; fi
if [[ "$program" == "sofficebin" ]]; then program="libreoffice"; fi