commit 2252c7f
hovercats
·
2023-02-21 17:25:53 +0000 UTC
parent eb63cf8
start porting scripts to rc
M
README
+3,
-15
1@@ -2,19 +2,7 @@ Scripts
2 -------
3
4 A repo containing some scripts I use.
5-Please read all scrips before using them.
6-I may not be the original author of every script here,but Ive chosen to add them
7-regardless, as Ive likely made some changes to them to fit my system.
8-Original author is likely listed if this is the case.
9+Most scripts should be POSIX, and pass shellcheck.
10+That is, unless they... dont.
11
12-All scripts should pass shellcheck, and be posix. if not, I have probably not
13-gotten around to it yet. That is, unless its intentional.
14-
15-The following scripts require(/is used with) wmutils[0]:
16- - groups
17- - workspace
18- - fullscreen
19- - focus
20- - tile
21-
22-[0] https://github.com/wmutils/core
23+Theres also some scripts written in rc, inside rc/ dir.
A
rc/batt
+6,
-0
1@@ -0,0 +1,6 @@
2+#!/bin/rc
3+
4+DIR=/sys/class/power_supply/BAT1
5+
6+cat $DIR/capacity
7+cat $DIR/status
A
rc/cg
+3,
-0
1@@ -0,0 +1,3 @@
2+#!/bin/rc
3+
4+st -e catgirl -h irc.libera.chat
A
rc/holup
+6,
-0
1@@ -0,0 +1,6 @@
2+#!/bin/rc
3+
4+# just wait a bit
5+while () {
6+ wait $pid
7+}
A
rc/smus
+3,
-0
1@@ -0,0 +1,3 @@
2+#!/bin/rc
3+
4+st -e cmus
+3,
-0
1@@ -0,0 +1,3 @@
2+#!/bin/rc
3+
4+st -e ytdl -p