File bl-exit.diff of Package bunsen-exit
diff --git a/bin/bl-exit b/bin/bl-exit
index a05de3a..c67274b 100755
--- a/bin/bl-exit
+++ b/bin/bl-exit
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# bl-exit: Bunsenlabs exit dialog, offering various exit options
@@ -478,7 +478,7 @@ if display:
sleepDelay=BlexitThemeDetail(0.003, False, 'float'),
overallOpacity=BlexitThemeDetail(100, False, 'int'),
buttonSpacing=BlexitThemeDetail(10, False, 'int'),
- iconpath=BlexitThemeDetail('/usr/share/images/bunsen/exit', True, 'string'),
+ iconpath=BlexitThemeDetail('/usr/share/bunsen-exit', True, 'string'),
buttonImageCancel=BlexitThemeDetail('cancel.png', False, 'string'),
buttonImagePowerOff=BlexitThemeDetail('poweroff.png', False, 'string'),
buttonImageReboot=BlexitThemeDetail('reboot.png', False, 'string'),
@@ -724,7 +724,7 @@ def get_options():
def get_config_file():
"""Determine config directory: first try the environment variable
XDG_CONFIG_HOME according to XDG specification and as a fallback
- use ~/.config/bl-exit. Use /etc/bl-exit/bl-exitrc as a last
+ use ~/.config/bl-exit. Use /etc/xdg/bl-exit/bl-exitrc as a last
resort."""
config_file = None
config_dirs = []
@@ -739,7 +739,7 @@ def get_config_file():
except OSError as e:
print_message(e)
pass
- config_dirs.append('/etc')
+ config_dirs.append('/etc/xdg')
for config_dir in config_dirs:
config_dir = config_dir + '/bl-exit'
if os.path.isdir(config_dir):
diff --git a/bl-exitrc b/bl-exitrc
index a5639f8..934ef37 100644
--- a/bl-exitrc
+++ b/bl-exitrc
@@ -68,7 +68,7 @@ overallOpacity=90
#Space between Buttons
buttonSpacing=10
# path to icon files
-iconpath=/usr/share/images/bunsen/exit/light
+iconpath=/usr/share/bunsen-exit/light
#Button textures (i.e. the images on them)
buttonImageCancel=cancel-sm.png
buttonImagePoweroff=poweroff-sm.png
@@ -92,7 +92,7 @@ overallOpacity=80
#Space between Buttons
buttonSpacing=0
# path to icon files
-iconpath=/usr/share/images/bunsen/exit/dark
+iconpath=/usr/share/bunsen-exit/dark
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePowerOff=poweroff.png
@@ -116,7 +116,7 @@ overallOpacity=100
#Space between Buttons
buttonSpacing=5
# path to icon files
-iconpath=/usr/share/images/bunsen/exit/dark
+iconpath=/usr/share/bunsen-exit/dark
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePoweroff=poweroff.png
@@ -140,7 +140,7 @@ overallOpacity=100
#Space between Buttons
buttonSpacing=5
# path to icon files
-iconpath=/usr/share/images/bunsen/exit/light
+iconpath=/usr/share/bunsen-exit/light
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePoweroff=poweroff.png
@@ -160,7 +160,7 @@ sleepDelay=0.003
#OverallOpacity of the dialog (0-100)
overallOpacity=75
# path to icon files
-iconpath=/usr/share/images/bunsen/exit/light
+iconpath=/usr/share/bunsen-exit/light
#Button textures (i.e. the images on them)
buttonImageCancel=cancel.png
buttonImagePowerOff=poweroff.png