While I am waiting for a built in feature, which will work on my Windows 10 Mobile too, I guess this userscript
I just made will do for now, running on Chrome on my desktop.
Note, I have only tested it on SO/Meta SO, though it should work other SE sites as well
Updated per ᴉʞuǝ suggestion/comment
// ==UserScript==
// @name Fixed top menu + Inbox notification + Achievement notification
// @author LGSon (Fork of Cameron Bernhardt's (AstroCB) "Fixed Stack Exchange Top Bar")
// @version 1.0
// @description Fixes the top bar of Stack Exchange sites so that it remains at the top
// while scrolling and add inbox notification to title bar
// @match *://*.askubuntu.com/*
// @match *://*.mathoverflow.net/*
// @match *://*.serverfault.com/*
// @match *://*.stackapps.com/*
// @match *://*.stackexchange.com/*
// @match *://*.stackoverflow.com/*
// @match *://*.superuser.com/*
// @exclude *://api.stackexchange.com/*
// @exclude *://blog.stackexchange.com/*
// @exclude *://blog.stackoverflow.com/*
// @exclude *://chat.stackexchange.com/*
// @exclude *://chat.stackoverflow.com/*
// @exclude *://data.stackexchange.com/*
// @exclude *://elections.stackexchange.com/*
// @exclude *://stackexchange.com/*
// ==/UserScript==
/* fix top menu while scroll */
var bar = document.getElementsByClassName("topbar")[0];
bar.style.position = "fixed";
bar.style.backgroundColor = "black";
bar.style.zIndex = "12345";
document.getElementById("header").style.paddingTop = "34px";
/* add input notification to title bar */
(function(title,inbox_counter,reps_counter,inbox_value,reps_value) {
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
var pe = mutation.target.parentElement;
var isInbox = ((' ' + pe.className + ' ').indexOf(' unread-count ') > -1) ?
((' ' + pe.parentElement.className + ' ').indexOf(' icon-inbox ') > -1) :
((' ' + pe.className + ' ').indexOf(' icon-inbox ') > -1) ;
if (mutation.type.toLowerCase() == 'attributes' && window.getComputedStyle(mutation.target,null).getPropertyValue("display") == 'none') {
if (isInbox) {
inbox_value = '';
} else {
reps_value = '';
}
} else {
if (isInbox) {
inbox_value = '(' + mutation.target.textContent + ') ';
} else {
reps_value = '(' + mutation.target.textContent + ') ';
}
}
document.title = inbox_value + reps_value + title;
/*
var beep = document.createElement('audio');
beep.src = 'http://www.soundjay.com/button/beep-24.mp3';
beep.play();
delete beep;
*/
});
});
observer.observe(inbox_counter, { attributes: true, childList: true, characterData: true, subtree: true });
observer.observe(reps_counter, { attributes: true, childList: true, characterData: true, subtree: true });
//observer.disconnect();
})(document.title,document.querySelector('.icon-inbox .unread-count'),document.querySelector('.icon-achievements .unread-count'),'','');
<s>
subtle</s>
annoying sound along with a notification when something happens, and the sound alone is enough to know I can investigate.