diff --git a/home/programs/firefox.nix b/home/programs/firefox.nix index 8b181bb..20ca739 100644 --- a/home/programs/firefox.nix +++ b/home/programs/firefox.nix @@ -159,6 +159,15 @@ }; userContent = pkgs.lib.fileContents ./firefox/userContent.css; }; + phone = { + name = "phone"; + id = 3; + isDefault = false; + userChrome = pkgs.lib.fileContents ./firefox/kioskLikeUserChrome.css; + settings = { + "toolkit.legacyUserProfileCustomizations.stylesheets" = true; + }; + }; toggl = { name = "toggl"; id = 1; diff --git a/home/windowManager/i3.nix b/home/windowManager/i3.nix index 06b6cfa..8d20ec8 100644 --- a/home/windowManager/i3.nix +++ b/home/windowManager/i3.nix @@ -157,6 +157,7 @@ in { "3:💬" = [ { class = "^chat$"; } { class = "^Signal$"; } + { class = "^phone$"; } ]; "4:✉️" = [ { class = "^Thunderbird$"; } diff --git a/home/xdg.nix b/home/xdg.nix index cf3f837..ce8a21d 100644 --- a/home/xdg.nix +++ b/home/xdg.nix @@ -92,6 +92,11 @@ type = "Application"; exec = "${pkgs.chromium}/bin/chromium --class=\"chat\" --new-window --new-window --app=https://jitsi.werkraum-media.de/codappix"; }; + phone = { + name = "Phone"; + type = "Application"; + exec = "${pkgs.firefox}/bin/firefox --class=\"phone\" --new-instance -P phone https://app.sipgate.com/w3/phone/phone"; + }; toggl = { name = "Toggl Time Tracking"; type = "Application";