https://github.com/hanoglu/bashscriptcollection
Scripts written for various purposes
https://github.com/hanoglu/bashscriptcollection
bash bash-script linux
Last synced: about 1 month ago
JSON representation
Scripts written for various purposes
- Host: GitHub
- URL: https://github.com/hanoglu/bashscriptcollection
- Owner: hanoglu
- License: bsd-3-clause
- Created: 2022-04-17T11:19:20.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-18T12:38:23.000Z (about 4 years ago)
- Last Synced: 2025-02-01T15:45:58.269Z (over 1 year ago)
- Topics: bash, bash-script, linux
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BASHScriptCollection
Scripts written for various purposes
## StartStop.sh
Use this script to create a pause/resume button for any process by __sending STOP or CONT signal__ to active window process. Script file can be bonded with any method to __keyboard shortcut__ and can be used to pause any application including games cannot pause normally. Script __automatically detects state of process__ and sends signals according to its state, it also changes active window title to " \*\*\* Stopped \*\*\* " when paused and restores original title after it resumes.
To use;
```bash
sudo sh -c "apt install xdotool || dnf install xdotool"
chmod +x StartStop.sh
```
Then bind the script to any keyboard shortcut.
## TouchpadToggle.sh
This script toggles enabled/disabled state of touchpad device in xinput.
Can be used as;
```bash
bash TouchpadToggle.sh
```
## VoiceChanger.sh
This script changes and reflects sound to loop device.
To use;
```bash
sudo apt-get install sox libsox-fmt-pulse pavucontrol
chmod +x VoiceChanger.sh
./VoiceChanger.sh -start
./VoiceChanger.sh -anonym
```
To stop;
```bash
./VoiceChanger.sh -stop
```
To help;
```bash
./VoiceChanger.sh --help
```
## XFCEAutoHide.sh
This script enables or disables auto panel hide feature on XFCE4.
To use;
```bash
bash XFCEAutoHide.sh
```
## GentoCHROOT.sh
This script mounts Gentoo Linux partition and changes root for it.
To use;
```bash
bash GentooCHROOT.sh
```
It needs root privileges