From d9267c2eeced5ed0f901ed86c6ba96771d80461f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 22 Aug 2021 20:50:00 -0400 Subject: bin/xsession: Disable text wrapping in dialogs --- (limited to 'bin') 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' && \ -- cgit v0.9.1