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
{ | |
"version": "1.5", | |
"default_core_path": "/home/tuncay/.config/retroarch/cores/fbneo_libretro.so", | |
"default_core_name": "Arcade (FinalBurn Neo)", | |
"base_content_directory": "/home/tuncay/Emulation/Roms", | |
"label_display_mode": 0, | |
"right_thumbnail_mode": 2, | |
"left_thumbnail_mode": 0, | |
"sort_mode": 0, | |
"items": [ |
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
#!/bin/sh | |
# Default values. | |
quality='bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' | |
limit='4.8' | |
metaextras='--add-metadata --write-description --write-info-json --write-sub' | |
OPTIND=1 | |
while getopts ':hbp:s:M' OPTION; do | |
case "$OPTION" in |
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
#!/bin/sh | |
# echo -e ' \thello world ' | trim | |
sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' |
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 | |
# Show info and run flatpak apps with fzf | |
# flatapp [arguments] | |
flatpak_preview() { | |
app="$(echo "${1}" | awk -F'\t' '{print $2}')" | |
flatpak info "${app}" | |
} | |
export -f flatpak_preview |
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
'L' Of A Day | |
005 | |
007: GoldenEye | |
025D2 | |
025K2 | |
025R2 | |
1 on 1 Government | |
10 Jeux Interactifs / Jeux Pour Filles | |
10 X 10 | |
100 in 1 |
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
#!/bin/env bash | |
yay_preview() { | |
yay -Qqil "${1}" | |
} | |
export -f yay_preview | |
yay_preview_output() { | |
yay_preview "${1}" | less |
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 | |
# Run a command n-times or infinite times. | |
# by Tuncay D. (thingsiplay) | |
# | |
# Usage: loop [N] COMMAND | |
# | |
# If the first argument N is a number, then it will run the command that many | |
# times. If N is not a number, then it will be interpreted as part of the | |
# actual command and run indefinitely. |
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
#!/bin/env bash | |
# Check Updates List | |
# Report and notify only when specific packages needs an update on Archlinux. | |
# | |
# Usage: | |
# checkupdateslist [package]... | |
# | |
# Example: | |
# $ checkupdateslist |
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
#!/bin/env bash | |
# Lookup section meaning in `man man`. | |
sections='1,8,6,5,7' | |
show_manual () { | |
man -- "${1%% *}" 2> /dev/null | |
} | |
export -f show_manual |
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
# save - Capture and reuse output of command | |
# A Bash function | |
# | |
# usage: save [file] | |
# | |
# On start of the Bash session a new temporary file is created that lives as | |
# long as this terminal session lives. This is the default file. It's path can | |
# be looked up in the environmental variable $SAVE. Anytime `save` runs, it | |
# will lookup this variable. The first argument to `save` is a file path that | |
# will be used as $SAVE file. A manual set file won't be deleted automatically. |
NewerOlder