Revert "fix: firefox uses wayland by default now, no more"
This reverts commit b0aa120073
.
This commit is contained in:
parent
fa7812b21f
commit
82d88a3f23
|
@ -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
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue