forked from pub-solar/os
fix: firefox uses wayland by default now, no more
need to use firefox-wayland pkg
This commit is contained in:
parent
54ae646335
commit
b0aa120073
|
@ -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
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue