Added all current configs that I see are important
This commit is contained in:
parent
7e2ddc1054
commit
d9bed25ebc
48 changed files with 4854 additions and 35 deletions
13
.config/fish/functions/swww_set_wallpaper.fish
Executable file
13
.config/fish/functions/swww_set_wallpaper.fish
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
function swww_set_wallpaper
|
||||
set wallpaper $argv[1]
|
||||
|
||||
# Start swww daemon if not running
|
||||
if not pgrep swww-daemon > /dev/null
|
||||
swww-daemon &
|
||||
sleep 1
|
||||
end
|
||||
|
||||
# Set wallpaper with animation
|
||||
swww img "$wallpaper" \
|
||||
--transition-type wipe
|
||||
end
|
||||
8
.config/fish/functions/yazi-cd.fish
Executable file
8
.config/fish/functions/yazi-cd.fish
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
function yazi-cd
|
||||
set tmpfile (mktemp)
|
||||
yazi --cwd-file="$tmpfile"
|
||||
if test -s "$tmpfile"
|
||||
cd (cat "$tmpfile")
|
||||
end
|
||||
rm -f "$tmpfile"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue