fix: firefox uses wayland by default now, no more

need to use firefox-wayland pkg
This commit is contained in:
teutat3s 2024-02-08 17:44:11 +01:00
parent 54ae646335
commit b0aa120073
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
3 changed files with 3 additions and 3 deletions

View file

@ -85,7 +85,7 @@ in {
users.users."${psCfg.user.name}".packages = with pkgs; [ users.users."${psCfg.user.name}".packages = with pkgs; [
alacritty alacritty
firefox-wayland firefox
flameshot flameshot
gnome.adwaita-icon-theme gnome.adwaita-icon-theme
gnome.eog gnome.eog

View file

@ -24,7 +24,7 @@
VISUAL = "/etc/profiles/per-user/${psCfg.user.name}/bin/nvim"; VISUAL = "/etc/profiles/per-user/${psCfg.user.name}/bin/nvim";
# fix "xdg-open fork-bomb" your preferred browser from here # fix "xdg-open fork-bomb" your preferred browser from here
BROWSER = "${pkgs.firefox-wayland}/bin/firefox"; BROWSER = "${pkgs.firefox}/bin/firefox";
# node # node
NODE_REPL_HISTORY = "${xdg.dataHome}/node_repl_history"; NODE_REPL_HISTORY = "${xdg.dataHome}/node_repl_history";

View file

@ -35,6 +35,6 @@ with self; ''
esac esac
${firefox-wayland}/bin/firefox --new-tab "$URL" ${firefox}/bin/firefox --new-tab "$URL"
${sway}/bin/swaymsg '[app_id="firefox"]' focus ${sway}/bin/swaymsg '[app_id="firefox"]' focus
'' ''