diff options
author | Elrondo46 | 2018-05-04 14:51:16 +0200 |
---|---|---|
committer | Elrondo46 | 2018-05-04 14:51:16 +0200 |
commit | cef41ab0d8cf94ad15ffb8405526a4cee48e4a4c (patch) | |
tree | b2c023b43bbcf9a94661ebfb712118d3fa94e08e /amar.py | |
parent | 097833a7105236b111b163bedafcd5f5cf451c54 (diff) | |
download | aur-cef41ab0d8cf94ad15ffb8405526a4cee48e4a4c.tar.gz |
refix python script
Diffstat (limited to 'amar.py')
-rw-r--r-- | amar.py | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -20,16 +20,7 @@ if sys.version_info[0] == 3: else: import tkMessageBox as messagebox -if os.getuid() != 0: - #correction de l'erreur de lancement - os.system("xrdb -all -query|sed -e 's#[A-Z_]*BACKGROUND# gray90#' \ - -e 's#[A-Z_]*FOREGROUND# Black#' \ - -e 's#[A-Z_]*HIGHLIGHT# White#' \ - -e 's#[A-Z_]*LOWLIGHT# Black#'|xrdb -merge") - - #os.system ("sudo -H python /usr/bin/amar.py") - #print("Utiliser le script en tant qu'administrateur, lancer le avec 'gksudo -s python amar.py'") - #sys.exit(1) +os.system("xrdb -load /dev/null") #chargement des données avec xrdb pacmanfichier = "/etc/pacman.conf" |