Revert "fix: firefox uses wayland by default now, no more"

This reverts commit b0aa120073.
This commit is contained in:
teutat3s 2024-03-06 18:45:20 +01:00
parent fa7812b21f
commit 82d88a3f23
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 firefox-wayland
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}/bin/firefox"; BROWSER = "${pkgs.firefox-wayland}/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}/bin/firefox --new-tab "$URL" ${firefox-wayland}/bin/firefox --new-tab "$URL"
${sway}/bin/swaymsg '[app_id="firefox"]' focus ${sway}/bin/swaymsg '[app_id="firefox"]' focus
'' ''