mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-16 11:52:47 +00:00
Fish: ydl4 and 72 hz functions
This commit is contained in:
parent
8bbdadc2b9
commit
bbfdec393b
6
.config/fish/functions/72.fish
Normal file
6
.config/fish/functions/72.fish
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Defined in /tmp/fish.73stHk/72.fish @ line 1
|
||||
function 72
|
||||
xrandr --newmode (cvt 1920 1080 72 | tail -n1 | cut -d' ' -f2- | tr ' ' \n | awk '$1=$1')
|
||||
xrandr --addmode (xrandr --listactivemonitors | tail -n1 | cut -d' ' -f5- | awk '$1=$1') (cvt 1920 1080 72 | tail -n1 | cut -d' ' -f2)
|
||||
xrandr --output (xrandr --listactivemonitors | tail -n1 | cut -d' ' -f5- | awk '$1=$1') --mode (cvt 1920 1080 72 | tail -n1 | cut -d' ' -f2)
|
||||
end
|
4
.config/fish/functions/ydl4.fish
Normal file
4
.config/fish/functions/ydl4.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.nB8upe/ydl4.fish @ line 2
|
||||
function ydl4 --description 'alias ydl4 ydl --format mp4'
|
||||
ydl --format mp4 $argv;
|
||||
end
|
Loading…
Reference in a new issue