From c160fcbf559fd92a7e596e5e00c1afc7bb528196 Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Mon, 7 Oct 2024 13:02:29 -0400 Subject: [PATCH] small updates --- config/.bashrc | 2 ++ config/.config/mutt/muttrc | 1 + config/.profile | 2 ++ config/.scripts/n64.sh | 13 +++++++++++-- config/.scripts/nes.sh | 2 +- 5 files changed, 17 insertions(+), 3 deletions(-) diff --git a/config/.bashrc b/config/.bashrc index fd239f6..0fbae43 100644 --- a/config/.bashrc +++ b/config/.bashrc @@ -170,3 +170,5 @@ alias enter-dev='. enter-dev.sh' alias ssh='TERM="xterm-256color" ssh' export DISABLE_TELEMETRY=YES + +[ -f "/home/mikec/.ghcup/env" ] && . "/home/mikec/.ghcup/env" # ghcup-env \ No newline at end of file diff --git a/config/.config/mutt/muttrc b/config/.config/mutt/muttrc index 4bbf60c..2b913f7 100644 --- a/config/.config/mutt/muttrc +++ b/config/.config/mutt/muttrc @@ -4,3 +4,4 @@ source /home/mikec/.config/mutt/accounts/mikecchalupiak@outlook.com.muttrc macro index,pager i1 'source /home/mikec/.config/mutt/accounts/mikecchalupiak@outlook.com.muttrc!;' "switch to mikecchalupiak@outlook.com" macro index,pager i2 'source /home/mikec/.config/mutt/accounts/chalupmc@rose-hulman.edu.muttrc!;' "switch to chalupmc@rose-hulman.edu" macro index,pager i3 'source /home/mikec/.config/mutt/accounts/mikec@mchalupiak.com.muttrc!;' "switch to mikec@mchalupiak.com" +set use_threads=reverse sort=last-date diff --git a/config/.profile b/config/.profile index 9df037e..b62707c 100644 --- a/config/.profile +++ b/config/.profile @@ -11,3 +11,5 @@ export CLASSPATH="/usr/share/java/junit.jar:/usr/share/java/hamcrest/core.jar" # Added by Toolbox App export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts" + +[ -f "/home/mikec/.ghcup/env" ] && . "/home/mikec/.ghcup/env" # ghcup-env \ No newline at end of file diff --git a/config/.scripts/n64.sh b/config/.scripts/n64.sh index f1397c5..d0bc6b9 100755 --- a/config/.scripts/n64.sh +++ b/config/.scripts/n64.sh @@ -1,3 +1,12 @@ #!/bin/sh -GAMES=$(find /home/mikec/Documents/Games/ROMS/N64 -iname "*.zip" | bemenu -i --fn "Cascadia Code 12") -[ -z "$GAMES" ] || mupen64plus "$GAMES" +# MON=$(xrandr | grep ' connected' | cut -d' ' -f1 | dmenu -i) +GAMES=$(find /home/mikec/Documents/Games/ROMS/N64 -iname "*.zip" | dmenu -i -l 10) +[ -z "$GAMES" ] && exit +# GAME=$(mktemp) +# RES=$(xrandr | grep "$MON" | sed -E 's/.*connected (primary )?([0-9]*x[0-9]*).*/\2/') +# echo "$RES" +# rm -r "$GAME" +# unzip "$GAMES" -d "$GAME" +# mupen64plus --resolution "$RES" --windowed --gfx mupen64plus-video-glide64mk2 "$GAME"/* +# rm -r "$GAME" +RMG --fullscreen "$GAMES" diff --git a/config/.scripts/nes.sh b/config/.scripts/nes.sh index a9c7c26..89b50f4 100755 --- a/config/.scripts/nes.sh +++ b/config/.scripts/nes.sh @@ -1,3 +1,3 @@ #!/bin/sh -GAMES=$(find /home/mikec/Documents/Games/ROMS/NES/USA -iname "*.nes" | bemenu -i --fn "Cascadia Code 12") +GAMES=$(find /home/mikec/Documents/Games/ROMS/NES/USA -iname "*.nes" | dmenu -i) [ -z "$GAMES" ] || fceux "$GAMES"