1
0
mirror of https://github.com/Melon-Bread/gnu-slash-dot-files synced 2024-11-24 16:28:23 -05:00

Compare commits

...

2 Commits

Author SHA1 Message Date
7b63c20df3 updated configs 2019-10-26 16:17:18 -04:00
83d5339170 updated scripts 2019-10-26 16:16:12 -04:00
9 changed files with 1282 additions and 9 deletions

0
.bin/Pipgrade.sh Normal file → Executable file
View File

View File

@ -6,7 +6,7 @@ yay -S retroarch-git --noconfirm
echo 'Updating Cores....' echo 'Updating Cores....'
python ~/Documents/Projects/RetroUFO/RetroUFO.py python ~/Documents/Projects/RetroUFO/RetroUFO.py
echo 'Updating Thumbnails' #echo 'Updating Thumbnails'
cd "~/.config/retroarch/thumbnails/" #cd "~/.config/retroarch/thumbnails/"
git pull --recurse-submodules #git pull --recurse-submodules
git submodule update --remote --recursive #git submodule update --remote --recursive

1241
.bin/activate Executable file

File diff suppressed because it is too large Load Diff

BIN
.bin/efwt Executable file

Binary file not shown.

34
.bin/ff2mpv.py Executable file
View File

@ -0,0 +1,34 @@
#!/usr/bin/env python3
import sys, struct, json
from subprocess import Popen, DEVNULL
def main():
message = get_message()
url = message.get('url')
args = ['mpv', '--no-terminal', '--', url]
Popen(args, stdin=DEVNULL, stdout=DEVNULL, stderr=DEVNULL)
# Need to respond something to avoid "Error: An unexpected error occurred"
# in Browser Console.
send_message('ok')
# https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_messaging#App_side
def get_message():
raw_length = sys.stdin.buffer.read(4)
if not raw_length:
return {}
length = struct.unpack('@I', raw_length)[0]
message = sys.stdin.buffer.read(length).decode('utf-8')
return json.loads(message)
def send_message(message):
content = json.dumps(message).encode('utf-8')
length = struct.pack('@I', len(content))
sys.stdout.buffer.write(length)
sys.stdout.buffer.write(content)
sys.stdout.buffer.flush()
if __name__ == '__main__':
main()

BIN
.bin/hacbrewpack Executable file

Binary file not shown.

BIN
.bin/mkfw Executable file

Binary file not shown.

View File

@ -6,7 +6,7 @@ MiscCursorBlinks=FALSE
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
MiscDefaultGeometry=80x24 MiscDefaultGeometry=80x24
MiscInheritGeometry=FALSE MiscInheritGeometry=FALSE
MiscMenubarDefault=TRUE MiscMenubarDefault=FALSE
MiscMouseAutohide=FALSE MiscMouseAutohide=FALSE
MiscToolbarDefault=FALSE MiscToolbarDefault=FALSE
MiscConfirmClose=TRUE MiscConfirmClose=TRUE

6
.zshrc
View File

@ -73,7 +73,6 @@ plugins=(
zsh-autosuggestions zsh-autosuggestions
zsh-syntax-highlighting zsh-syntax-highlighting
history-substring-search history-substring-search
yadm-zsh
) )
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
@ -118,8 +117,7 @@ export PATH="$PATH:$HOME/go/bin"
export PATH="$PATH:$HOME/.bin/" export PATH="$PATH:$HOME/.bin/"
export PATH="$PATH:$HOME/.local/bin" export PATH="$PATH:$HOME/.local/bin"
export PATH="$HOME/.node_modules/bin:$PATH" export PATH="$HOME/.node_modules/bin:$PATH"
export IDF_PATH="~/Documents/esp-idf-v3.1-odroid"
export PATH="$PATH:$HOME/Documents/xtensa-esp32-elf/bin:$HOME/Documents/xtensa-esp32-elf/bin"
neofetch neofetch
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="/home/melon/.sdkman"
[[ -s "/home/melon/.sdkman/bin/sdkman-init.sh" ]] && source "/home/melon/.sdkman/bin/sdkman-init.sh"