fix firefox wrapper script arguments

This commit is contained in:
willemml 2023-04-14 15:32:37 -07:00
parent cb94b8353a
commit b7a3ae5fce
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
3 changed files with 4 additions and 2 deletions

View file

@ -377,6 +377,8 @@ Opens in new window otherwise opens in current window."
(global-set-key (kbd "C-c n a") 'org-agenda)
(setq org-agenda-start-on-weekday nil)
(define-key org-mode-map (kbd "C-c C-o") 'my/follow-org-link)
(define-key org-mode-map (kbd "C-c C-y") 'my/indent-org-block-automatically)
(define-key org-mode-map (kbd "C-c ]") 'org-cite-insert)

View file

@ -44,7 +44,7 @@
cat <<EOF>>$out/bin/firefox
#! ${pkgs.bash}/bin/bash -e
exec "$out/Applications/Firefox.app/Contents/MacOS/Firefox" "$@"
exec "$out/Applications/Firefox.app/Contents/MacOS/Firefox" "\$@"
EOF
chmod +x $out/bin/firefox

View file

@ -88,7 +88,7 @@
spotify = "${web} https://open.spotify.com/";
ubc = "cd ${config.home.sessionVariables.UBCDIR} ";
ubcmail = "${web} https://webmail.student.ubc.ca";
web = "${pkgs.coreutils-full}/bin/nohup ${config.programs.firefox.package}/bin/firefox &> ${config.home.homeDirectory}/.firefox.log";
web = "${config.programs.firefox.package}/bin/firefox";
}
// (
if pkgs.stdenv.isLinux