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
#!/usr/bin/env bash | |
# selectfile | |
# Use rofi to select file or folder until file is selected, then print it. | |
# Arguments | |
# $1=directory to start, defaults to "." (specified in variable default_dir) | |
# Source directory with systems folders. | |
default_dir="." |
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/sh | |
# Execute Windows programs with Proton from Steams installation folder, without | |
# starting Steam client. | |
# | |
# 1. Create a directory for Proton environment to run in. As an example make a | |
# folder "proton" in your home directory. This folder must exist in order | |
# to make Proton work. | |
# | |
# 2. Point the variable "env_dir" in this script to that folder or... |
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 | |
# Usage: | |
# qforceupdate | |
# qforceupdate checkupdates | |
if [ "${#}" == 0 ] | |
then | |
# requires ln -s ~/.cache/qtile/qtilesocket.\:0 ~/.cache/qtile/qtilesocket.\:0.0 | |
qtile cmd-obj -o cmd -f list_widgets \ |
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/bash | |
# RetroArch playlist key extractor | |
# Dirty way of reading and printing values from .lpl playlist files. | |
# | |
# EXAMPLES: | |
# lplpath | |
# lplpath "~/.config/retroarch/playlists/Nintendo - Game Boy.lpl" | |
KEY=path |
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 |
NewerOlder