mirror of
https://github.com/Melon-Bread/gnu-slash-dot-files
synced 2024-11-25 00:38:23 -05:00
Compare commits
No commits in common. "7b63c20df3c4307c47687c4a9df0dbee82bac623" and "a6fa4fc3369058342119289129b056e17f58de48" have entirely different histories.
7b63c20df3
...
a6fa4fc336
0
.bin/Pipgrade.sh
Executable file → Normal file
0
.bin/Pipgrade.sh
Executable file → Normal 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
1241
.bin/activate
File diff suppressed because it is too large
Load Diff
@ -1,34 +0,0 @@
|
|||||||
#!/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
BIN
.bin/hacbrewpack
Binary file not shown.
@ -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=FALSE
|
MiscMenubarDefault=TRUE
|
||||||
MiscMouseAutohide=FALSE
|
MiscMouseAutohide=FALSE
|
||||||
MiscToolbarDefault=FALSE
|
MiscToolbarDefault=FALSE
|
||||||
MiscConfirmClose=TRUE
|
MiscConfirmClose=TRUE
|
||||||
|
6
.zshrc
6
.zshrc
@ -73,6 +73,7 @@ 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
|
||||||
|
|
||||||
@ -117,7 +118,8 @@ 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"
|
||||||
|
Loading…
Reference in New Issue
Block a user