Skip to content

Latest commit

 

History

History
46 lines (46 loc) · 1.43 KB

README.md

File metadata and controls

46 lines (46 loc) · 1.43 KB

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;

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 TouchpadToggle.sh

VoiceChanger.sh

This script changes and reflects sound to loop device.
To use;

sudo apt-get install sox libsox-fmt-pulse pavucontrol
chmod +x VoiceChanger.sh
./VoiceChanger.sh -start
./VoiceChanger.sh -anonym

To stop;

./VoiceChanger.sh -stop

To help;

./VoiceChanger.sh --help

XFCEAutoHide.sh

This script enables or disables auto panel hide feature on XFCE4.
To use;

bash XFCEAutoHide.sh

GentoCHROOT.sh

This script mounts Gentoo Linux partition and changes root for it.
To use;

bash GentooCHROOT.sh

It needs root privileges