- Latest version of noto color emoji ( You can get at [https://github.com/googlefonts/noto-emoji/releases] )
- fontconfig
- Noto sans ( https://www.google.com/get/noto/ )
- Noto sans serif ( https://www.google.com/get/noto/ )
- Noto serif ( https://www.google.com/get/noto/ )
- Noto mono ( https://www.google.com/get/noto/ )
- Twemoji ( [https://github.com/twitter/twemoji] )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
term.setCursorPos(1,1) | |
local firmwareName = "BunnyOS" | |
local author = "TheKillerBunny" | |
local firmwareVersion = "0.1" | |
term.clear() | |
print("Welcome to "..firmwareName.." version "..firmwareVersion) | |
print("This firmware was made by "..author) | |
function password() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If it's an interactive shell, run bashrc | |
if [ -f $HOME/.bashrc ] | |
then | |
if [[ $- == *i* ]] | |
then | |
source $HOME/.bashrc | |
fi | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -z $2 ] | |
then | |
exec alacritty $1 | |
else | |
exec alacritty --command $2 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("X?") | |
x = tonumber(read()) | |
print("Y?") | |
y = tonumber(read()) | |
print("Z?") | |
z = tonumber(read()) | |
file = fs.open("/startup.lua", "w") | |
file.write('shell.run("gps", "host", ' .. x .. ', ' .. y .. ', ' .. z .. ')') | |
file.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
mkdir -p "$HOME/.remote-mount" | |
if mountpoint -q "$HOME/.remote-mount" | |
then | |
umount "$HOME/.remote-mount" | |
fi | |
if [ ! -z "$(ls -A "$HOME/.remote-mount")" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
exec 3>&1; | |
result=$(dialog --radiolist "Power Options" 0 0 2>&1 1>&3 5 "Shut Down" 1 "on" "Restart" 2 "off" "Suspend" 3 "off" "Hibernate" 4 "off" "Hybrid Sleep" 5 "off") | |
exec 3>&-; | |
if [[ "$result" = "Shut Down" ]] | |
then | |
systemctl poweroff | |
elif [[ "$result" = "Restart" ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* * | |
* @name Square Corners | |
* @author TheKillerBunny | |
* @description Squares off corners | |
* @version 1.0 | |
* @license MIT | |
* @source https://gist.github.com/TheBunnyMan123/6315b2b6db6096ae8485736b4ebbceff | |
*/ | |
nav[class*="guilds"] * { | |
border-radius: 0; |