Modify quickshell to run as bg process
This commit is contained in:
parent
edeb6f2672
commit
abcaed51da
9
Makefile
9
Makefile
@ -1,6 +1,9 @@
|
||||
.ONESHELL:
|
||||
|
||||
dev:
|
||||
ln -s $(PWD) $(HOME)/.config/quickshell
|
||||
quickshell -c hyprshell
|
||||
ln -s $(PWD)/hyprshell $(HOME)/.config/quickshell/hyprshell-dev
|
||||
quickshell -c hyprshell-dev &
|
||||
|
||||
cleanup:
|
||||
unlink $(HOME)/.config/quickshell
|
||||
pkill quickshell
|
||||
unlink $(HOME)/.config/quickshell/hyprshell-dev
|
21
README.md
21
README.md
@ -5,16 +5,21 @@ A future starter shell for HyprLand.
|
||||
## Testing and Development
|
||||
|
||||
1. Clone the repository and cd into it
|
||||
2. `make dev`
|
||||
2. `make dev` to get a working quickshell
|
||||
3. `make cleanup` to stop the `quickshell` process and unlink the directories
|
||||
|
||||
This will symlink the repo to `~/.config/quickshell` and start the quickshell process. You'll be able to see your
|
||||
changes as you work.
|
||||
|
||||
## Installation
|
||||
|
||||
### Touch Grass Method
|
||||
|
||||
To install it permanently, you just have to copy the contents of the repo
|
||||
to `~/.config/quickshell`. Do that how you must.
|
||||
|
||||
After it's installed, just add `quickshell -c hyprshell &` to your hyprland `exec-once` block.
|
||||
|
||||
### Nix Flake (The Real Cool Way)
|
||||
|
||||
Add this to your `flake.nix`. Make sure you have the home manager module.
|
||||
@ -25,7 +30,7 @@ hyprshell.url = "git+https://gitgud.foo/thegrind/hypr-shell.git";
|
||||
};
|
||||
```
|
||||
|
||||
Then in your `configuration.nix`
|
||||
Then, either throw this in your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
# Enable home manager
|
||||
@ -35,4 +40,14 @@ home-manager = {
|
||||
}
|
||||
```
|
||||
|
||||
After it's installed just add `quickshell -c hyprshell` to your hyprland `exec-once` block.
|
||||
Or, if you load home manager in your flake:
|
||||
|
||||
```nix
|
||||
homeConfigurations = {
|
||||
modules = [
|
||||
inputs.hyprshell.homeManagerModules.default
|
||||
# Other files/inputs
|
||||
];
|
||||
};
|
||||
};
|
||||
```
|
1
hyprshell/hyprshell
Symbolic link
1
hyprshell/hyprshell
Symbolic link
@ -0,0 +1 @@
|
||||
/home/xbazzi/repos/hypr-shell/hyprshell
|
Loading…
x
Reference in New Issue
Block a user