Let's see if flake works

This commit is contained in:
Javier Feliz 2025-08-10 00:41:06 -04:00
parent 4bce20528c
commit 185273a9f4
8 changed files with 37 additions and 30 deletions

View File

@ -1,6 +1,6 @@
dev:
ln -s $(PWD) $(HOME)/.config/quickshell
quickshell -c default
quickshell -c hyprshell
cleanup:
unlink $(HOME)/.config/quickshell

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 {
}
}
}
}

26
flake.nix Normal file
View File

@ -0,0 +1,26 @@
{
description = "Quickshell Hyprshell config";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
self,
nixpkgs,
home-manager,
...
}:
{
homeManagerModules.default =
{ config, lib, ... }:
{
xdg.configFile."quickshell/hyprshell".source = ./hyprshell;
};
};
}

10
hyprshell/shell.qml Normal file
View File

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