summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-08-22 20:50:00 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-08-22 20:50:00 (EDT)
commitd9267c2eeced5ed0f901ed86c6ba96771d80461f (patch)
treea51d1efe9ddcf07ad02838bb59e226972aab3f2d /bin
parentb1c5b70f0676e320cc150c33325c46d8668bdf44 (diff)
downloadfluxbox-d9267c2eeced5ed0f901ed86c6ba96771d80461f.zip
fluxbox-d9267c2eeced5ed0f901ed86c6ba96771d80461f.tar.gz
fluxbox-d9267c2eeced5ed0f901ed86c6ba96771d80461f.tar.bz2
bin/xsession: Disable text wrapping in dialogs
Diffstat (limited to 'bin')
-rwxr-xr-xbin/xsession10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/xsession b/bin/xsession
index 8f95481..f32ffbf 100755
--- a/bin/xsession
+++ b/bin/xsession
@@ -27,7 +27,7 @@ awk_who='
do_logout()
{
- zenity --question --title='Log Out' \
+ zenity --no-wrap --question --title='Log Out' \
--window-icon="${actions_icons}/system-log-out.png" \
--text='Are you sure you want to log out?' \
--ok-label='Log Out' --cancel-label='Cancel' && \
@@ -38,7 +38,7 @@ do_logout()
do_shutdown()
{
- zenity --question --title='Shut Down' \
+ zenity --no-wrap --question --title='Shut Down' \
--window-icon="${actions_icons}/system-shutdown.png" \
--text="Are you sure you want to shut down this system?$(\
who -H | awk -v "display=${DISPLAY}" "${awk_who}")" \
@@ -50,7 +50,7 @@ do_shutdown()
do_reboot()
{
- zenity --question --title='Reboot' \
+ zenity --no-wrap --question --title='Reboot' \
--window-icon="${actions_icons}/system-shutdown.png" \
--text="Are you sure you want to reboot this system?$(\
who -H | awk -v "display=${DISPLAY}" "${awk_who}")" \
@@ -62,7 +62,7 @@ do_reboot()
do_s2mem()
{
- zenity --question --title='Suspend' \
+ zenity --no-wrap --question --title='Suspend' \
--window-icon="${actions_icons}/media-playback-pause.png" \
--text='Are you sure you want to suspend this system?' \
--ok-label='Suspend' --cancel-label='Cancel' && \
@@ -75,7 +75,7 @@ do_s2mem()
do_s2disk()
{
- zenity --question --title='Hibernate' \
+ zenity --no-wrap --question --title='Hibernate' \
--window-icon="${actions_icons}/media-playback-pause.png" \
--text='Are you sure you want to hibernate this system?' \
--ok-label='Hibernate' --cancel-label='Cancel' && \