Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nate-sys/hypr-empty
https://github.com/nate-sys/hypr-empty
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nate-sys/hypr-empty
- Owner: nate-sys
- License: mit
- Created: 2023-04-04T11:32:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-09T06:02:39.000Z (4 months ago)
- Last Synced: 2024-02-10T06:35:45.317Z (4 months ago)
- Language: Rust
- Size: 13.7 KB
- Stars: 36
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-hyprland - hypr-empty
- my-awesome-stars - nate-sys/hypr-empty - (Rust)
README
# Hypr-empty
Spawn a runner when switching to an empty workspace on Hyprlandhttps://user-images.githubusercontent.com/96471299/229786216-96e08d27-ff66-4e55-a3a6-7ad376737817.mp4
## Installation
```sh
cargo install --git=https://github.com/nate-sys/hypr-empty
```## Usage
1) Create the file `~/.config/hypr-empty/config.toml`
2) Specify the commands you want to be run and the workspaces to run them in
```toml
# Each command goes under a [[components]]
[[components]]# List of workspaces hypr-empty should be active to
workspaces = [ "1", "2" ]# If you're using wofi
command = "wofi"
args = ["-S", "drun"]# If you're using rofi
command = "rofi"
args = ["-show", "drun"]# arbitrary program
command = "name_of_program"
args = ["arg1", "arg2"]# You can specify different commands with multiple [[components]]
# But only one workspaces/command/args per [[components]][[components]]
workspaces = [ "3" ]
command = "firefox"# args is optional
```
3) Add `hypr-empty` to your startup apps and make sure that `.cargo/bin` is in your path