Compare commits

...

13 Commits

Author SHA1 Message Date
a9eef265ad Merge pull request 'master-p' (#1) from master-p into master
LGTM
2025-08-10 00:23:44 -06:00
xbazzi
abcaed51da Modify quickshell to run as bg process 2025-08-10 00:15:24 -06:00
edeb6f2672 Update README 2025-08-10 01:22:58 -04:00
4830746ac0 Update README :) 2025-08-10 01:22:17 -04:00
cf21253970 WIP 2025-08-10 01:10:08 -04:00
262f6e5fbe Perhaps 2025-08-10 01:07:46 -04:00
7a7ece771b :( 2025-08-10 01:05:22 -04:00
75f87a6b55 :( 2025-08-10 00:59:49 -04:00
13a375598a Please 2025-08-10 00:59:04 -04:00
d0254ace8c A ver 2025-08-10 00:55:15 -04:00
3086ba0d51 WIP 2025-08-10 00:48:04 -04:00
185273a9f4 Let's see if flake works 2025-08-10 00:41:06 -04:00
4bce20528c Lol 2025-08-10 00:30:42 -04:00
10 changed files with 78 additions and 36 deletions

View File

@ -1,6 +1,9 @@
.ONESHELL:
dev:
ln -s $(PWD) $(HOME)/.config/quickshell
quickshell -c default
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

View File

@ -5,12 +5,49 @@ 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
## 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.
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.
```nix
inputs = {
hyprshell.url = "git+https://gitgud.foo/thegrind/hypr-shell.git";
};
```
Then, either throw this in your `configuration.nix`:
```nix
# Enable home manager
home-manager = {
extraSpecialArgs = { inherit inputs; };
users.[your username].imports = inputs.hyprshell.homeManagerModules.default;
}
```
Or, if you load home manager in your flake:
```nix
homeConfigurations = {
modules = [
inputs.hyprshell.homeManagerModules.default
# Other files/inputs
];
};
};
```

View File

@ -1,29 +0,0 @@
import "./bars"
import QtQuick
import Quickshell
import Quickshell.Io
ShellRoot {
// PanelWindow {
// exclusiveZone: 0
// implicitWidth: 600
// implicitHeight: 300
// anchors.top: true
// Rectangle {
// anchors.fill: parent
// color: "black"
// }
// }
Variants {
model: Quickshell.screens
delegate: Component {
TopBar {
}
}
}
}

20
flake.nix Normal file
View File

@ -0,0 +1,20 @@
{
description = "Quickshell Hyprshell config";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{ self, nixpkgs }:
{
homeManagerModules.default =
{
config,
lib,
pkgs,
...
}:
{
home.file.".config/quickshell/hyprshell".source = ./hyprshell;
};
};
}

1
hyprshell/hyprshell Symbolic link
View File

@ -0,0 +1 @@
/home/xbazzi/repos/hypr-shell/hyprshell

10
hyprshell/shell.qml Normal file
View File

@ -0,0 +1,10 @@
import "./bars"
import QtQuick
import Quickshell
import Quickshell.Io
ShellRoot {
TopBar {
}
}

View File

@ -6,7 +6,7 @@ import Quickshell.Services.Pipewire
import Quickshell.Widgets
Item {
property bool showPopup: true
property bool showPopup: false
// Get the default audio sink
property var audioSink: Pipewire.defaultAudioSink