non important commit

This commit is contained in:
benstrb 2026-02-22 18:10:35 +01:00
parent ff071d2bf4
commit ab6b1d3975
18 changed files with 75 additions and 14 deletions

View file

@ -0,0 +1,24 @@
import Quickshell
import Quickshell.Widgets
import QtQuick
import QtQuick.Controls
ShellRoot {
PanelWindow {
anchors {
top: true
left: true
right: true
}
height: 32
color: "#1e1e2e"
Text {
anchors.centerIn: parent
text: "hello from quickshell"
color: "#cdd6f4"
font.pixelSize: 14
}
}
}

View file

@ -0,0 +1,9 @@
{stdenv}:
stdenv.mkDerivation {
pname = "quick_shell";
version = "stable";
src = ./config;
installPhase = ''
cp -r . $out
'';
}

View file

@ -0,0 +1,26 @@
{
pkgs,
inputs,
...
}: let
qs_config = pkgs.callPackage ./quick_config/quick.nix {};
quick_shell = inputs.quickshell.packages.${pkgs.system}.default;
in {
environment.systemPackages = [quick_shell];
systemd.user.services.quickshell = {
Unit = {
Description = "quickshell desktop shell";
After = ["graphical-session.target"];
PartOf = ["graphical-session.target"];
};
Install = {
WantedBy = ["graphical-session.target"];
};
Service = {
ExecStart = "${quick_shell}/bin/qs -c ${qs_config}/shell.qml";
Restart = "on-failure";
RestartSec = 3;
};
};
}