Compare commits

...

2 commits

Author SHA1 Message Date
5175e934a7 filetypes: firefox default browser 2024-10-16 17:33:24 -07:00
431992eff7 xrootdatetime: better error handling 2024-10-16 17:28:51 -07:00
2 changed files with 6 additions and 4 deletions

View file

@ -8,7 +8,7 @@ in {
config = lib.mkIf cfg.enable {
xdg.mimeApps =
let
browser = "brave-browser.desktop";
browser = "firefox.desktop";
mimeAppsFor =
value: list:
@ -28,10 +28,13 @@ in {
"application/xhtml+xml"
"text/html"
"x-scheme-handler/about"
"x-scheme-handler/chrome"
"x-scheme-handler/http"
"x-scheme-handler/https"
])
(mimeAppsFor "brave-browser.desktop" [
"x-scheme-handler/chrome"
])
];
};

View file

@ -46,8 +46,7 @@ in
systemd.user.services.xrootdatetime = {
script = ''
while true; do
micMuted=$(${getExe pkgs.pamixer} --default-source --get-mute)
if [[ "$micMuted" == "true" ]]; then
if [[ "$(${getExe pkgs.pamixer} --default-source --get-mute)" == "true" ]]; then
mutedString="Mic Muted "
else
mutedString=""