mirror of
https://github.com/GRFreire/scripts.git
synced 2026-01-08 04:19:39 +00:00
MERGE ALL INTO MONOREPO
This commit is contained in:
parent
cdc4eb6bcf
commit
4e82074937
16
README.md
Normal file
16
README.md
Normal file
@ -0,0 +1,16 @@
|
||||
# GRFreire's scripts
|
||||
|
||||
## About
|
||||
In this repo you will find some scripts that I wrote (or found) while using and tinkering with linux. This is a WIP.
|
||||
|
||||
Most of them should work just fine in your pc with you meet the requirements (specified in each script page). Some may work in macOS as well - although I never tested.
|
||||
|
||||
## How to install
|
||||
|
||||
1. Clone this repo:
|
||||
``git clone https://github.com/GRFreire/scripts $HOME/.scripts``
|
||||
|
||||
2. Add to your path:
|
||||
``export PATH="$PATH:$HOME/.scripts/bin"``
|
||||
|
||||
3. Ready to go
|
||||
1
bin/colorscript
Symbolic link
1
bin/colorscript
Symbolic link
@ -0,0 +1 @@
|
||||
../shell-color-scripts/colorscript.sh
|
||||
1
bin/firefox-quick-keywords
Symbolic link
1
bin/firefox-quick-keywords
Symbolic link
@ -0,0 +1 @@
|
||||
../firefox-quick-keywords/firefox-quick-keywords.sh
|
||||
1
bin/simple-power-menu
Symbolic link
1
bin/simple-power-menu
Symbolic link
@ -0,0 +1 @@
|
||||
../simple-power-menu/simple-power-menu.bash
|
||||
@ -1,23 +1,5 @@
|
||||
# Firefox Quick Keywords
|
||||
dmenu or rofi launcher to open firefox bookmarks with keywords quickly
|
||||
|
||||
## Installing firefox-quick-keywords
|
||||
|
||||
> Requires [rofi](https://github.com/davatorium/rofi) or [dmenu](https://tools.suckless.org/dmenu/)
|
||||
|
||||
```sh
|
||||
git clone https://github.com/GRFreire/firefox-quick-keywords $HOME/.local/share/firefox-quick-keywords
|
||||
|
||||
ln -s $HOME/.local/share/firefox-quick-keywords/firefox-quick-keywords $HOME/.local/bin/firefox-quick-keywords
|
||||
```
|
||||
|
||||
After that, just run ```firefox-quick-keywords``` in your terminal
|
||||
|
||||
## Update
|
||||
|
||||
Go to ```$HOME/.local/share/firefox-quick-keywords``` and update the repo.
|
||||
|
||||
```sh
|
||||
cd $HOME/.local/share/firefox-quick-keywords
|
||||
git pull
|
||||
```
|
||||
## About
|
||||
a launcher to open firefox bookmarks with keywords quickly
|
||||
|
||||
@ -1,22 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2021 Guilherme Rugai Freire
|
||||
|
||||
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 OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@ -1,56 +1,9 @@
|
||||
# Shell Color Scripts
|
||||
|
||||

|
||||
|
||||
> Fork from [Derek Taylor](https://gitlab.com/dwt1) - https://gitlab.com/dwt1/shell-color-scripts
|
||||
|
||||
## About
|
||||
A collection of terminal color scripts
|
||||
|
||||
## Installing shell-color-scripts
|
||||
## Screenshot
|
||||
|
||||
```sh
|
||||
git clone https://github.com/GRFreire/shell-color-scripts $HOME/.local/share/shell-color-scripts
|
||||
|
||||
ln -s $HOME/.local/share/shell-color-scripts/colorscript.sh $HOME/.local/bin/colorscript
|
||||
```
|
||||
|
||||
Make sure that ```$HOME/.local/bin``` is set in your PATH.
|
||||
|
||||
## Update
|
||||
|
||||
Go to ```$HOME/.local/share/shell-color-scripts``` and update the repo.
|
||||
|
||||
```sh
|
||||
cd $HOME/.local/share/shell-color-scripts
|
||||
git pull
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
colorscript --help
|
||||
Description: A collection of terminal color scripts.
|
||||
|
||||
Usage: colorscript [OPTION] [SCRIPT NAME/INDEX]
|
||||
-h, --help, help Print this help.
|
||||
-l, --list, list List all color scripts.
|
||||
-r, --random, random Run a random color script.
|
||||
-e, --exec, exec Run a spesific color script by SCRIPT NAME or INDEX.
|
||||
```
|
||||
|
||||
## Auto run
|
||||
For even more fun, add the following line to your .bashrc or .zshrc and you will run a random color script each time you open a terminal:
|
||||
|
||||
```sh
|
||||
### RANDOM COLOR SCRIPT ###
|
||||
colorscript random
|
||||
```
|
||||
|
||||
## Integrated terminal emulator
|
||||
Probably you don't want colorscript to run in your Integrated terminal (i.g. your vscode terminal). So, if you pass an env variable INTEG_EMU (with any value) the script won't run.
|
||||
|
||||
Try adding this to your ```settings.json``` (VSCode):
|
||||
```json
|
||||
"terminal.integrated.env.linux": {
|
||||
"INTEG_EMU": "vscode"
|
||||
}
|
||||
```
|
||||

|
||||
|
||||
@ -1,22 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2021 Guilherme Rugai Freire
|
||||
|
||||
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 OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@ -1,24 +1,9 @@
|
||||
# Simple Power Menu
|
||||
|
||||

|
||||
|
||||
## Installing shell-color-scripts
|
||||
|
||||
> Requires [rofi](https://github.com/davatorium/rofi) or [dmenu](https://tools.suckless.org/dmenu/)
|
||||
|
||||
```sh
|
||||
git clone https://github.com/GRFreire/simple-power-menu $HOME/.local/share/simple-power-menu
|
||||
## About
|
||||
Simple power menu written in bash script using rofi
|
||||
|
||||
ln -s $HOME/.local/share/simple-power-menu/simple-power-menu $HOME/.local/bin/simple-power-menu
|
||||
```
|
||||
## Screenshot
|
||||
|
||||
After that, just run ```simple-power-menu``` in your terminal
|
||||
|
||||
## Update
|
||||
|
||||
Go to ```$HOME/.local/share/simple-power-menu``` and update the repo.
|
||||
|
||||
```sh
|
||||
cd $HOME/.local/share/simple-power-menu
|
||||
git pull
|
||||
```
|
||||

|
||||
|
||||
Loading…
Reference in New Issue
Block a user