Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

nthnd/hypr-empty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hypr-empty

Spawn a runner when switching to an empty workspace on Hyprland

new-trimmed.mp4

Installation

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
# 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
  1. Add hypr-empty to your startup apps and make sure that .cargo/bin is in your path

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages