From ac230e958ec45474ac45683f48e0d089edcaa41d Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Thu, 19 Aug 2021 14:17:24 -0400 Subject: [PATCH] Fix Rofi Staying Open Issue & Change Lock Screen Text - Fix issue where rofi would stay open after selecting a session management option (e.g. lock) which would prevent screen from locking - Change lock screen text to say "Enter password to unlock..." --- .config/betterlockscreenrc | 2 +- .scripts/session.sh | 2 +- README.org | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/betterlockscreenrc b/.config/betterlockscreenrc index 67a8031..a2e61f6 100644 --- a/.config/betterlockscreenrc +++ b/.config/betterlockscreenrc @@ -11,7 +11,7 @@ wallpaper_cmd="feh --bg-fill" loginbox=282a36ff loginshadow=282a36ff -locktext="Sravan Balaji's Laptop" +locktext="Enter password to unlock..." font="sans-serif" ringcolor=44475aff insidecolor=00000000 diff --git a/.scripts/session.sh b/.scripts/session.sh index b08357a..b1d6491 100755 --- a/.scripts/session.sh +++ b/.scripts/session.sh @@ -25,7 +25,7 @@ rofi_menu() { option=$(printf '%s\n' "${choice}" | awk '{print $NF}') if [[ "$option" != "quit" ]]; then - main "--$option" + main "--$option" && killall rofi fi } diff --git a/README.org b/README.org index fbbe1b6..7ea9e61 100644 --- a/README.org +++ b/README.org @@ -2794,7 +2794,7 @@ See [[https://github.com/phillipberndt/autorandr#hook-scripts][autorandr hook sc #+begin_src conf :tangle .config/betterlockscreenrc loginbox=282a36ff loginshadow=282a36ff - locktext="Sravan Balaji's Laptop" + locktext="Enter password to unlock..." font="sans-serif" ringcolor=44475aff insidecolor=00000000 @@ -7475,7 +7475,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator. option=$(printf '%s\n' "${choice}" | awk '{print $NF}') if [[ "$option" != "quit" ]]; then - main "--$option" + main "--$option" && killall rofi fi }