Fix -a for emacsclient (set class as "emacs")

master
Fox Kiester 5 years ago
parent 59c426dfc0
commit 24d61bd266
No known key found for this signature in database
GPG Key ID: 316E205D6017DBFF

@ -373,8 +373,10 @@ decoration_settings() {
} }
set_class() { set_class() {
if [[ -z "$class" ]]; then if [[ -z $class ]]; then
if [[ $program =~ ^google-chrome ]]; then if [[ $program =~ ^emacsclient ]]; then
class=emacs
elif [[ $program =~ ^google-chrome ]]; then
class=google-chrome class=google-chrome
elif [[ $program == st ]]; then elif [[ $program == st ]]; then
class=st-256color class=st-256color

Loading…
Cancel
Save