Compare commits
2 commits
ac6de63ef2
...
5175e934a7
Author | SHA1 | Date | |
---|---|---|---|
5175e934a7 | |||
431992eff7 |
2 changed files with 6 additions and 4 deletions
|
@ -8,7 +8,7 @@ in {
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
xdg.mimeApps =
|
xdg.mimeApps =
|
||||||
let
|
let
|
||||||
browser = "brave-browser.desktop";
|
browser = "firefox.desktop";
|
||||||
|
|
||||||
mimeAppsFor =
|
mimeAppsFor =
|
||||||
value: list:
|
value: list:
|
||||||
|
@ -28,10 +28,13 @@ in {
|
||||||
"application/xhtml+xml"
|
"application/xhtml+xml"
|
||||||
"text/html"
|
"text/html"
|
||||||
"x-scheme-handler/about"
|
"x-scheme-handler/about"
|
||||||
"x-scheme-handler/chrome"
|
|
||||||
"x-scheme-handler/http"
|
"x-scheme-handler/http"
|
||||||
"x-scheme-handler/https"
|
"x-scheme-handler/https"
|
||||||
])
|
])
|
||||||
|
|
||||||
|
(mimeAppsFor "brave-browser.desktop" [
|
||||||
|
"x-scheme-handler/chrome"
|
||||||
|
])
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -46,8 +46,7 @@ in
|
||||||
systemd.user.services.xrootdatetime = {
|
systemd.user.services.xrootdatetime = {
|
||||||
script = ''
|
script = ''
|
||||||
while true; do
|
while true; do
|
||||||
micMuted=$(${getExe pkgs.pamixer} --default-source --get-mute)
|
if [[ "$(${getExe pkgs.pamixer} --default-source --get-mute)" == "true" ]]; then
|
||||||
if [[ "$micMuted" == "true" ]]; then
|
|
||||||
mutedString="Mic Muted "
|
mutedString="Mic Muted "
|
||||||
else
|
else
|
||||||
mutedString=""
|
mutedString=""
|
||||||
|
|
Loading…
Reference in a new issue