Browse Source

migrating all my scripts to zsh

master
whiteline 1 year ago
parent
commit
d7ca2cf1ee
12 changed files with 12 additions and 12 deletions
  1. +1
    -1
      N33R_status.sh
  2. +1
    -1
      battery_monitor.sh
  3. +1
    -1
      browse_source.sh
  4. +1
    -1
      coding-terminal
  5. +1
    -1
      disable_internet.sh
  6. +1
    -1
      float_xinput_device.sh
  7. +1
    -1
      gitlab.lain.la.auth.sh
  8. +1
    -1
      host-cwd.sh
  9. +1
    -1
      lainstream
  10. +1
    -1
      weather
  11. +1
    -1
      youtube-mp3
  12. +1
    -1
      youtube-mp3-album

+ 1
- 1
N33R_status.sh View File

@@ -1,2 +1,2 @@
#!/bin/bash
#!/bin/zsh
sudo nmap minecraft.youdieifyou.work -PN -n -sV -p minecraft

+ 1
- 1
battery_monitor.sh View File

@@ -1,3 +1,3 @@
#!/bin/sh
#!/bin/zsh
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/zsh
highlight -O ansi $1 | less -R

+ 1
- 1
coding-terminal View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/zsh
#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/zsh
newgrp no-internet

+ 1
- 1
float_xinput_device.sh View File

@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/zsh
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/zsh
age -d gitlab.lain.la.token.encrypted | oathtool -b --totp -

+ 1
- 1
host-cwd.sh View File

@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/zsh
ruby -run -e httpd . -p 8080 --bind-address=192.168.1.2

+ 1
- 1
lainstream View File

@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/zsh
exec mpv https://lainchan.org:8080/hls/stream.m3u8

+ 1
- 1
weather View File

@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/zsh
curl wttr.in/`echo $* | sed 's/ /%20/g'`

+ 1
- 1
youtube-mp3 View File

@@ -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

+ 1
- 1
youtube-mp3-album View File

@@ -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

Loading…
Cancel
Save