From 51d2fd1316f9845a633431c2fd914448b3ab78bb Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Fri, 27 Dec 2024 01:04:37 +0100 Subject: [PATCH] create profile --- config.nix | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/config.nix b/config.nix index 1d52cbf..94f1fc8 100644 --- a/config.nix +++ b/config.nix @@ -78,8 +78,6 @@ in extraConfig = '' set $ws1 c3nav default_border none - exec swaymsg "workspace $ws1;exec firefox-esr --name=c3nav --no-remote -P "terminal" https://c3nav.de; workspace $ws2; exec firefox-esr --name=fahrplan --no-remote -P "default" https://fahrplan.events.ccc.de/congress/2024/fahrplan/schedule/" - include /etc/sway/config.d/* ''; }; @@ -87,18 +85,11 @@ in firefox = { enable = true; package = pkgs.firefox-esr; - policies = { - SupportMenu = { - Title = "Config"; - URL = "https://git.hamburg.ccc.de/jopejoe1/c3terminal"; - }; - Preferences = { - "browser.ssb.enabled" = lock true; - #"ui.osk.detected_physical_keyboard" = lock false; - #"browser.gesture.pinch.in" = lock false; - #"browser.gesture.pinch.out" = lock false; - "zoom.maxPercent" = lock 100; - "zoom.minPercent" = lock 100; + profiles = { + default = { + id = 0; + isDefault = true; + name = "default"; }; }; };