mirror of https://github.com/Phantop/dotfiles
Bin: use sh where possible
This commit is contained in:
parent
3d08b83027
commit
ca54c9a9cc
|
@ -1,4 +1,4 @@
|
|||
invid = 'www.invidious.tube'
|
||||
invid = 'invidious.fdn.fr'
|
||||
nittr = 'nitter.snopyta.org'
|
||||
|
||||
# bindings
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
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)
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/bash
|
||||
[[ "$#" -ge 1 ]] && export PATH=$@:$PATH || export PATH=$PWD:$PATH
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
for i in $(grep works/[0-9]\* $@ -o | uniq | sed 's/works\///g' | sed '/^$/d')
|
||||
do
|
||||
aria2c https://download.archiveofourown.org/downloads/$i/\*.epub
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
for i in $(lynx -dump -hiddenlinks=listonly $@ | grep '\.epub' | awk 'FNR > 2 {print$2}' | grep http)
|
||||
do
|
||||
aria2c $i
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
if [[ "$#" -ge 1 ]]; then
|
||||
rm ~/Pictures/.wallp
|
||||
ln -s ~/Pictures/Awall/$@* ~/Pictures/.wallp
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
sudo printf ''
|
||||
git pull
|
||||
./autogen.sh --prefix=/usr
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
sudo eopkg up --y
|
||||
fc-cache -f -v
|
||||
sudo sync
|
||||
|
|
|
@ -1,7 +1,2 @@
|
|||
#!/bin/bash
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
cat - | xclip -i -sel clip
|
||||
else
|
||||
echo $@ | xclip -i -sel clip
|
||||
fi
|
||||
#!/bin/sh
|
||||
[ $# -eq 0 ] && cat - | xclip -i -sel clip || echo $@ | xclip -i -sel clip
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
compare() {
|
||||
for i in *
|
||||
do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
compare() {
|
||||
for i in *
|
||||
do
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
cd ~/Videos/YouTube/
|
||||
tmux new -s 1 -d "podsync-bin --no-banner"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
echo Usage: file scale noise
|
||||
waifu2x-converter-cpp -i $1 --scale-ratio $2 --noise-level $3
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
echo Usage: file scale noise
|
||||
waifu2x-ncnn-vulkan -i $1 -o "${1%.*}"[x$2][L$3].png -s $2 -n $3
|
||||
|
|
Loading…
Reference in New Issue