about summary refs log tree commit diff stats
path: root/pkgs/by-name/no/notify-run/update.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--]pkgs/by-name/no/notify-run/update.sh (renamed from modules/home.legacy/conf/alacritty/toml/mouse_bindings.toml)7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/home.legacy/conf/alacritty/toml/mouse_bindings.toml b/pkgs/by-name/no/notify-run/update.sh
index e566a452..23d90a86 100644..100755
--- a/modules/home.legacy/conf/alacritty/toml/mouse_bindings.toml
+++ b/pkgs/by-name/no/notify-run/update.sh
@@ -1,3 +1,5 @@
+#!/usr/bin/env sh
+
 # nixos-config - My current NixOS configuration
 #
 # Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
@@ -8,6 +10,5 @@
 # You should have received a copy of the License along with this program.
 # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
 
-[[mouse.bindings]]
-action = "Copy"
-mouse = "Middle"
+[ "$1" = "upgrade" ] && cargo upgrade
+cargo update