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..."
This commit is contained in:
Sravan Balaji
2021-08-19 14:17:24 -04:00
parent 739900bf55
commit ac230e958e
3 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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
}