File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,6 @@ def sendto(self):
7474 sys .exit (1 )
7575
7676# Initialisation des notifications
77- os .system ('rm /tmp/g2u* 2>/dev/null' )
77+ os .system ('rm /tmp/g2u_*_' + PID + ' 2>/dev/null' )
7878os .system ('python ' + os .path .dirname (os .path .abspath (__file__ ))+ '/librairy/osd.py ' + PID + ' &' )
7979g2u = interface ()
Original file line number Diff line number Diff line change 4545 n .show ()
4646 time .sleep (2 )
4747 n .close ()
48- os .system ('rm /tmp/g2u_* 2>/dev/null' )
48+ os .system ('rm /tmp/g2u_*_' + PID + ' 2>/dev/null' )
4949 sys .exit (1 )
5050
5151 if os .path .exists (result ) and RESULT == False :
8888 n .show ()
8989 time .sleep (1 )
9090 n .close ()
91- os .system ('rm /tmp/g2u_* 2>/dev/null' )
91+ os .system ('rm /tmp/g2u_*_' + PID + ' 2>/dev/null' )
Original file line number Diff line number Diff line change 11#! /bin/bash
22CONTENU=" $1 "
33CONTENU=$( echo $CONTENU | sed " s/ /+/g" )
4- xdg-open http://www.google.com/search ? q= " $CONTENU " &
4+ xdg-open http://fr.wikipedia.org/wiki/ " $CONTENU " &
55
66exit 0
Original file line number Diff line number Diff line change 22CONTENU=" $1 "
33CONTENU=$( echo $CONTENU | sed " s/ /+/g" )
44echo $CONTENU
5- xdg-open http://www.google .com/search ? q =" $CONTENU " &
5+ xdg-open http://www.youtube .com/results ? search_query =" $CONTENU " &
66
77exit 0
You can’t perform that action at this time.
0 commit comments