migrating all my scripts to zsh
This commit is contained in:
parent
3020a3007a
commit
d7ca2cf1ee
@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/zsh
|
||||||
sudo nmap minecraft.youdieifyou.work -PN -n -sV -p minecraft
|
sudo nmap minecraft.youdieifyou.work -PN -n -sV -p minecraft
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
BATTERY_PATH="/sys/class/power_supply/BAT1"
|
BATTERY_PATH="/sys/class/power_supply/BAT1"
|
||||||
watch -tn 1 "cat $BATTERY_PATH/status && cat $BATTERY_PATH/capacity"
|
watch -tn 1 "cat $BATTERY_PATH/status && cat $BATTERY_PATH/capacity"
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
highlight -O ansi $1 | less -R
|
highlight -O ansi $1 | less -R
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
#xrdb -merge ~/.Xresources.green
|
#xrdb -merge ~/.Xresources.green
|
||||||
urxvt -fn xft:inconsolata-26:hinting=false -letsp 1 -im none -b 26 &
|
urxvt -fn xft:inconsolata-26:hinting=false -letsp 1 -im none -b 26 &
|
||||||
#xrdb -merge ~/.Xresources
|
#xrdb -merge ~/.Xresources
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
newgrp no-internet
|
newgrp no-internet
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
xinput --float `xinput | grep "$1" | grep -o 'id=[[:digit:]]\+' | cut -d'=' -f2`
|
xinput --float `xinput | grep "$1" | grep -o 'id=[[:digit:]]\+' | cut -d'=' -f2`
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
age -d gitlab.lain.la.token.encrypted | oathtool -b --totp -
|
age -d gitlab.lain.la.token.encrypted | oathtool -b --totp -
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
ruby -run -e httpd . -p 8080 --bind-address=192.168.1.2
|
ruby -run -e httpd . -p 8080 --bind-address=192.168.1.2
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
exec mpv https://lainchan.org:8080/hls/stream.m3u8
|
exec mpv https://lainchan.org:8080/hls/stream.m3u8
|
||||||
|
2
weather
2
weather
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
curl wttr.in/`echo $* | sed 's/ /%20/g'`
|
curl wttr.in/`echo $* | sed 's/ /%20/g'`
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
yt-dlp --extract-audio --audio-format mp3 -f best -o "%(playlist_index)s - %(title)s.%(ext)s" $1
|
yt-dlp --extract-audio --audio-format mp3 -f best -o "%(playlist_index)s - %(title)s.%(ext)s" $1
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/zsh
|
||||||
yt-dlp --extract-audio --split-chapters --audio-format mp3 -f best -o "chapter:%(section_number)s - %(section_title)s.%(ext)s" $1
|
yt-dlp --extract-audio --split-chapters --audio-format mp3 -f best -o "chapter:%(section_number)s - %(section_title)s.%(ext)s" $1
|
||||||
|
Loading…
Reference in New Issue
Block a user