From 8d6b94c5bb3f497cfcfff89458b4d290b61fba89 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Tue, 30 May 2023 23:27:30 -0400 Subject: removed firefox from nix, changed sway config Turns out the firefox nix package had no HW accel due to a limitation in Nix user packages. Using the flatpak for the time being until I can figure out why xdg-portals doesn't work for the official package. Works fine with flatpak, but im not happy i lose that package declaration --- home-config/nix-home-manager/home.nix | 7 ------- home-config/sway/config | 6 +++--- 2 files changed, 3 insertions(+), 10 deletions(-) (limited to 'home-config') diff --git a/home-config/nix-home-manager/home.nix b/home-config/nix-home-manager/home.nix index d883f04..5ee8d22 100644 --- a/home-config/nix-home-manager/home.nix +++ b/home-config/nix-home-manager/home.nix @@ -27,13 +27,6 @@ # # Adds the 'hello' command to your environment. It prints a friendly # # "Hello, world!" when run. # pkgs.hello - firefox - dejavu_fonts - cantarell-fonts - liberation_ttf - noto-fonts - noto-fonts-cjk - noto-fonts-emoji yt-dlp # # It is sometimes useful to fine-tune packages, for example, by applying diff --git a/home-config/sway/config b/home-config/sway/config index fdc56e0..2cecb72 100644 --- a/home-config/sway/config +++ b/home-config/sway/config @@ -314,10 +314,10 @@ exec syncthing serve --no-browser # Force various windows to be floating # Firefox PIP YT Player -for_window [app_id="firefox-default" title="^Picture-in-Picture$"] floating enable, resize set 578 326, border none, sticky enable +for_window [app_id="firefox" title="^Picture-in-Picture$"] floating enable, resize set 578 326, border none, sticky enable # Duo 2FA -for_window [app_id="firefox-default" title="^Activate Security Key — Mozilla Firefox$"] floating enable -for_window [app_id="firefox-default" title="^Nightly — Sharing Indicator$"] floating enable, resize set 18 52, border none, move position center, move y 0px +for_window [app_id="firefox" title="^Activate Security Key — Mozilla Firefox$"] floating enable +for_window [app_id="firefox" title="^Firefox — Sharing Indicator$"] floating enable, resize set 18 52, border none, move position center, move y 0px # Qjackctl for_window [app_id="qjackctl"] floating enable # Weather Window -- cgit v1.2.3