1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Change rules with i3 opening some windows as floating

This commit is contained in:
2016-08-03 17:08:38 +01:00
parent 4d1f3e77cb
commit e4d8cc3c8b
3 changed files with 10 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import os
button = os.environ.get('BLOCK_BUTTON')
if button == '1':
os.system("i3-sensible-terminal -e 'pacaur -Syu'")
os.system("i3-sensible-terminal -r i3blocks-update-term -e 'pacaur -Syu'")
updates = commands.getstatusoutput("/usr/bin/checkupdates | wc -l")[1]
if updates and updates != '0':