This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
whiteline
/
Scripts
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
migrating all my scripts to zsh
master
whiteline
1 year ago
parent
3020a3007a
commit
d7ca2cf1ee
12 changed files
with
12 additions
and
12 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
N33R_status.sh
+1
-1
battery_monitor.sh
+1
-1
browse_source.sh
+1
-1
coding-terminal
+1
-1
disable_internet.sh
+1
-1
float_xinput_device.sh
+1
-1
gitlab.lain.la.auth.sh
+1
-1
host-cwd.sh
+1
-1
lainstream
+1
-1
weather
+1
-1
youtube-mp3
+1
-1
youtube-mp3-album
+ 1
- 1
N33R_status.sh
View File
@@ -1,2 +1,2 @@
#!/bin/
ba
sh
#!/bin/
z
sh
sudo nmap minecraft.youdieifyou.work -PN -n -sV -p minecraft
+ 1
- 1
battery_monitor.sh
View File
@@ -1,3 +1,3 @@
#!/bin/sh
#!/bin/
z
sh
BATTERY_PATH="/sys/class/power_supply/BAT1"
watch -tn 1 "cat $BATTERY_PATH/status && cat $BATTERY_PATH/capacity"
+ 1
- 1
browse_source.sh
View File
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
highlight -O ansi $1 | less -R
+ 1
- 1
coding-terminal
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/
z
sh
#xrdb -merge ~/.Xresources.green
urxvt -fn xft:inconsolata-26:hinting=false -letsp 1 -im none -b 26 &
#xrdb -merge ~/.Xresources
+ 1
- 1
disable_internet.sh
View File
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
newgrp no-internet
+ 1
- 1
float_xinput_device.sh
View File
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
xinput --float `xinput | grep "$1" | grep -o 'id=[[:digit:]]\+' | cut -d'=' -f2`
+ 1
- 1
gitlab.lain.la.auth.sh
View File
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
age -d gitlab.lain.la.token.encrypted | oathtool -b --totp -
+ 1
- 1
host-cwd.sh
View File
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
ruby -run -e httpd . -p 8080 --bind-address=192.168.1.2
+ 1
- 1
lainstream
View File
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
exec mpv https://lainchan.org:8080/hls/stream.m3u8
+ 1
- 1
weather
View File
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
curl wttr.in/`echo $* | sed 's/ /%20/g'`
+ 1
- 1
youtube-mp3
View File
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
yt-dlp --extract-audio --audio-format mp3 -f best -o "%(playlist_index)s - %(title)s.%(ext)s" $1
+ 1
- 1
youtube-mp3-album
View File
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
yt-dlp --extract-audio --split-chapters --audio-format mp3 -f best -o "chapter:%(section_number)s - %(section_title)s.%(ext)s" $1
Write
Preview
Loading…
Cancel
Save