https://github.com/httpanimation/weblauncher
A python3 script to auto make web shortcuts in Linux
https://github.com/httpanimation/weblauncher
Last synced: 11 months ago
JSON representation
A python3 script to auto make web shortcuts in Linux
- Host: GitHub
- URL: https://github.com/httpanimation/weblauncher
- Owner: HttpAnimation
- Created: 2023-11-29T22:33:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T22:40:28.000Z (about 2 years ago)
- Last Synced: 2025-01-07T23:29:51.549Z (about 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebLauncher
WebLauncher is a simple script that allows you to create a desktop icon to open a specified URL in the default web browser.
## How to Use
### Run the Script
Open your terminal and run the following command:
```bash
python3 -c "$(curl -fsSL https://raw.githubusercontent.com/HttpAnimation/WebLauncher/main/script.py)"
```
This command fetches the script directly from the GitHub repository and executes it using Python.
### Options
```
-p
-h
```
-p will have the script ask for place to but the .desktop file.
-h will put the .desktop file in the same place as the terminal is opened to.
### Follow the Prompts
1. Enter the URL: Provide the URL you want to open.
2. Enter the name for the desktop icon: Choose a name for the desktop icon.
### Desktop Icon
A `.desktop` file will be created on your desktop with the specified name. Double-clicking this icon will open the provided URL in your default web browser.
## Requirements
- Python 3
## Note
Make sure you have Python 3 installed on your system before running the script.