mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
fix firefox wrapper script arguments
This commit is contained in:
parent
cb94b8353a
commit
b7a3ae5fce
3 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue