Some new and updated utilities.

- arm-nm: print function size inside arm-none-eabi ELFs
- do-not: do something and send notification when it's done
- lessg: require calling doas/sudo to launch it
- speak_time: execline implementation
- dis: equivalent to lnch, uses only execline
This commit is contained in:
Érico Rolim 2020-09-01 00:59:37 -03:00
parent a87bc728ef
commit fde98dee72
5 changed files with 18 additions and 6 deletions

2
embedded/.local/bin/arm-nm Executable file
View File

@ -0,0 +1,2 @@
#!/bin/execlineb -S1
arm-none-eabi-nm --print-size --size-sort --radix=d $@

5
linux-utils/.local/bin/do-not Executable file
View File

@ -0,0 +1,5 @@
#!/bin/execlineb -S1
foreground
{ $@ }
notify-send "Done with: $@"
# do and notify it's done

View File

@ -1,6 +1,4 @@
#!/bin/execlineb -P
foreground
{ doas true }
pipeline
{ doas dmesg --color=always }
{ dmesg --color=always }
less -R

View File

@ -1,3 +1,5 @@
#!/bin/sh
mimic_time "$(date +'%H:%M')"
#!/bin/execlineb -P
backtick -n TIME
{ date +"%H:%M" }
importas TIME TIME
mimic_time $TIME

5
utils/.local/bin/dis Executable file
View File

@ -0,0 +1,5 @@
#!/bin/execlineb -S1
background
{ $@ }
exit
# disowns something