Remove duplicated shebang from scripts
This commit is contained in:
parent
4faded02aa
commit
4e9d01e2b3
|
@ -23,8 +23,6 @@
|
||||||
];
|
];
|
||||||
home.packages = [
|
home.packages = [
|
||||||
(pkgs.writeShellScriptBin "protonmail-setup-bridge" ''
|
(pkgs.writeShellScriptBin "protonmail-setup-bridge" ''
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
pkill -9 -f protonmail-bridge
|
pkill -9 -f protonmail-bridge
|
||||||
${pkgs.protonmail-bridge}/bin/protonmail-bridge -c
|
${pkgs.protonmail-bridge}/bin/protonmail-bridge -c
|
||||||
${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl dispatch exec "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"
|
${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl dispatch exec "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
git -C "$HOME/.emacs/" pull --ff-only
|
git -C "$HOME/.emacs/" pull --ff-only
|
||||||
|
|
||||||
for DIRECTORY in $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
|
for DIRECTORY in $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
sudo nixos-rebuild switch --flake flake:nixos --refresh
|
sudo nixos-rebuild switch --flake flake:nixos --refresh
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
HOST=$1
|
HOST=$1
|
||||||
for TARGET in bat git zellij starship.toml; do
|
for TARGET in bat git zellij starship.toml; do
|
||||||
SOURCE="$HOME/.config/$TARGET"
|
SOURCE="$HOME/.config/$TARGET"
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
FILETYPE=$(xdg-mime query filetype $@)
|
FILETYPE=$(xdg-mime query filetype $@)
|
||||||
DEFAULT=$(xdg-mime query default $FILETYPE)
|
DEFAULT=$(xdg-mime query default $FILETYPE)
|
||||||
echo "$FILETYPE -> $DEFAULT"
|
echo "$FILETYPE -> $DEFAULT"
|
||||||
|
|
Loading…
Reference in a new issue