https://github.com/xatuke/csearch
A simple utility to automate some searches.
https://github.com/xatuke/csearch
Last synced: 6 months ago
JSON representation
A simple utility to automate some searches.
- Host: GitHub
- URL: https://github.com/xatuke/csearch
- Owner: xatuke
- License: mit
- Created: 2020-05-20T16:12:54.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-20T20:26:58.000Z (about 6 years ago)
- Last Synced: 2025-08-02T12:50:44.998Z (12 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# csearch
Basically csearch will help you search whatever you have on your clipboard using the keyboard shortcut you want.
## Prerequisites
- [Python 3](https://www.python.org/downloads/)
- [pip3](https://pip.pypa.io/en/stable/)
- [wget](https://www.gnu.org/software/wget/)
- Linux Operating System
## Setup
```
wget https://raw.githubusercontent.com/crowded-geek/csearch/master/setup.sh
chmod +x setup.sh
sudo ./setup.sh
```
## Keyboard shortcut setup
- Go to keyboard shortcuts in your settings
- Add a new keyboard shortcut with following details:
```
Name:
Command: /usr/bin/python3 /usr/local/bin/csearch/copysearch.py
Shortcut: or Alt+s
```
### If you want to use DuckDuckGo as your search engine:
```
Name:
Command: /usr/bin/python3 /usr/local/bin/csearch/copysearch.py ddg
Shortcut: or Alt+s
```
### Why run the script as root?
> It needs to create it's folder in `/usr/local/bin` to install itself.