non important commit
This commit is contained in:
parent
ff071d2bf4
commit
ab6b1d3975
18 changed files with 75 additions and 14 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{stdenv}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "quick_shell";
|
||||
version = "stable";
|
||||
src = ./config;
|
||||
installPhase = ''
|
||||
cp -r . $out
|
||||
'';
|
||||
}
|
||||
26
configuration/modules/dots/quick_shell/settings.nix
Normal file
26
configuration/modules/dots/quick_shell/settings.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue