mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Add rofi, update fish cfg/scripts, update nvim cfg, update wezterm cfg
This commit is contained in:
parent
e801f0a680
commit
6e8bb638ee
24 changed files with 104 additions and 77 deletions
|
|
@ -1,6 +1,12 @@
|
|||
function ytmpv -d 'A script to help queue youtube videos on MPV'
|
||||
set -l queue ~/.ytmpv_queue
|
||||
|
||||
if command --query prime-run
|
||||
set --function --export __NV_PRIME_RENDER_OFFLOAD 1
|
||||
set --function --export __GLX_VENDOR_LIBRARY_NAME nvidia
|
||||
end
|
||||
|
||||
|
||||
if not test -f $queue
|
||||
touch $queue
|
||||
end
|
||||
|
|
@ -54,6 +60,9 @@ function ytmpv -d 'A script to help queue youtube videos on MPV'
|
|||
(cat $queue) \
|
||||
best
|
||||
break
|
||||
case dwl destroy-watch-later
|
||||
rm -r ~/.local/state/mpv/watch_later/
|
||||
break
|
||||
case '*'
|
||||
if test -z "$video"
|
||||
tmux attach -t ytmpv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue