update shell config
This commit is contained in:
@@ -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 "$@"
|
||||
|
||||
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user