This file contains hidden or 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 | |
# This shell script, given a file or directory, attempts to find | |
# the package it belongs to (if any) and opens that package | |
# Function to display usage information and exit | |
Usage () | |
{ | |
cat << EOF >&2 | |
usage: $(basename "${0}") <file|dir> | |
EOF |
This file contains hidden or 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 | |
# credits: https://stackoverflow.com/questions/10639914/is-there-a-way-to-get-bings-photo-of-the-day | |
preferred_location=${HOME} # this is where is stored the downloaded wallpaper, edit to your preferred location | |
# background's preflet app signature | |
app_sig="x-vnd.Haiku-Backgrounds" |
This file contains hidden or 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 | |
### the unique window title prefix for our terminal session | |
terminalKeyword="QuakeTerm" | |
### optionally set the location of a custom terminal profile to be used | |
### it must contain whatever is used as the terminalKeyword at the beginning of the "Window title" | |
### for example: "Window title" , "QuakeTerm %i: %t" | |
# terminalProfile="/boot/home/config/non-packaged/apps/MyCustomTerminal" |
This file contains hidden or 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/bash | |
# The MIT License (MIT) | |
# Copyright © 2024 Michele Frau aka zuMi | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT |