gabo's collection of personal
███████╗ ██████╗██████╗ ██╗██████╗ ████████╗███████╗
██╔════╝██╔════╝██╔══██╗██║██╔══██╗╚══██╔══╝██╔════╝
███████╗██║ ██████╔╝██║██████╔╝ ██║ ███████╗
╚════██║██║ ██╔══██╗██║██╔═══╝ ██║ ╚════██║
███████║╚██████╗██║ ██║██║██║ ██║ ███████║
╚══════╝ ╚═════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝ ╚══════╝
used for GNU/Linux systems
Some bash scripts to solve my personal needs, maybe you find something useful for you!
brightness control
- xrandr wrapper to handle brightness
Usage:
bctrl
<value|value+|value->
: set brightness by exact percentage value, or by increasing/decreasing the current one;
Dependencies:
- xrandr
- dunst (+ dunstify)
- grep
- cut
- tset
- tprogbar
volume control
-
Alsa wrapper to handle volume
-
vctrl
<value|value+|value->
: set volume by exact percentage value, or by increasing/decreasing the current one;
Dependencies:
- amixer
- dunst (+ dunstify)
- tset
- tprogbar
variable setter
- Little script that handles global variables
- Let's you set, increase and decrease a variable (good for keybinds)
- Used on vctrl and bctrl
Usage:
varset
can be used with the following options:
-
-s
<variable>
<value|value+|value->
: set value for variable in exact percentage value (0 to 100), or by increasing/decreasing the current one; -
-g
<variable>
: get value from specified variable
Example:
Set specific value:
varset -s battery-progress 20
Increase in a specific amount:
varset -s battery-progress 5+
Get current value:
varset -g battery-progress # 25
- current
<variable>
value is stored on /etc/<variable>
.dat
password menu
- dmenu wrapper to copy password to clipboard
Dependencies:
- pass
- dmenu
terminal launch
- Allows you to launch a command (or a series of it) in a new terminal window
- Good for keybinds! Use it to call specific commands in a new window
Usage:
tl
'command(s)'
: get value from specified variable
Example:
tl 'sudo apt update; apt list --upgradable'
Edit Makefile to match where to install the script collection (installed into the /usr/bin namespace by default).
Afterwards, enter the following command to install all the scripts (if necessary as root):
make install
Or if you want to install an specific script, you can run:
make tl # if you want to install tl for example
To uninstall all scripts you can run:
make uninstall
- implement media control
- gbgabo/dotfiles: current dotfiles used in my system;
- TinyTools: other cool scripts I write and use;
- gbgabo/dwm: own fork of dwm, including many useful patches and own color theme;
- gbgabo/dmenu: dmenu fork with center patch and own color theme;