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:
@@ -11,7 +11,7 @@ wallpaper_cmd="feh --bg-fill"
|
|||||||
|
|
||||||
loginbox=282a36ff
|
loginbox=282a36ff
|
||||||
loginshadow=282a36ff
|
loginshadow=282a36ff
|
||||||
locktext="Sravan Balaji's Laptop"
|
locktext="Enter password to unlock..."
|
||||||
font="sans-serif"
|
font="sans-serif"
|
||||||
ringcolor=44475aff
|
ringcolor=44475aff
|
||||||
insidecolor=00000000
|
insidecolor=00000000
|
||||||
|
@@ -25,7 +25,7 @@ rofi_menu() {
|
|||||||
option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
|
option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
|
||||||
|
|
||||||
if [[ "$option" != "quit" ]]; then
|
if [[ "$option" != "quit" ]]; then
|
||||||
main "--$option"
|
main "--$option" && killall rofi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2794,7 +2794,7 @@ See [[https://github.com/phillipberndt/autorandr#hook-scripts][autorandr hook sc
|
|||||||
#+begin_src conf :tangle .config/betterlockscreenrc
|
#+begin_src conf :tangle .config/betterlockscreenrc
|
||||||
loginbox=282a36ff
|
loginbox=282a36ff
|
||||||
loginshadow=282a36ff
|
loginshadow=282a36ff
|
||||||
locktext="Sravan Balaji's Laptop"
|
locktext="Enter password to unlock..."
|
||||||
font="sans-serif"
|
font="sans-serif"
|
||||||
ringcolor=44475aff
|
ringcolor=44475aff
|
||||||
insidecolor=00000000
|
insidecolor=00000000
|
||||||
@@ -7475,7 +7475,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|||||||
option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
|
option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
|
||||||
|
|
||||||
if [[ "$option" != "quit" ]]; then
|
if [[ "$option" != "quit" ]]; then
|
||||||
main "--$option"
|
main "--$option" && killall rofi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user