update shell config

This commit is contained in:
2026-03-15 08:51:55 +01:00
parent e0b49d5520
commit 16d2d6faa6
10 changed files with 52 additions and 71 deletions
+8 -1
View File
@@ -1,3 +1,10 @@
#!/bin/sh
wezterm start -- fzfclip "$@"
lockfile=/tmp/fzfclip.lock
exec {LOCK_FD}>"$lockfile"
flock -n "$LOCK_FD" || {
echo "Another instance is running." >&2
exit 1
}
fzfclip "$@"
+1 -1
View File
@@ -9,7 +9,7 @@
# Constants
niri_config_file="$HOME/.config/niri/config/misc.kdl"
prefer_order=(intel nvidia)
prefer_order=(nvidia intel)
# Get vendor and path of each GPU
default_card_path="$(find /dev/dri/card* 2>/dev/null | head -n 1)"