Let's see if flake works
This commit is contained in:
parent
4bce20528c
commit
185273a9f4
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
|||||||
dev:
|
dev:
|
||||||
ln -s $(PWD) $(HOME)/.config/quickshell
|
ln -s $(PWD) $(HOME)/.config/quickshell
|
||||||
quickshell -c default
|
quickshell -c hyprshell
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
unlink $(HOME)/.config/quickshell
|
unlink $(HOME)/.config/quickshell
|
@ -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
26
flake.nix
Normal 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
10
hyprshell/shell.qml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import "./bars"
|
||||||
|
import QtQuick
|
||||||
|
import Quickshell
|
||||||
|
import Quickshell.Io
|
||||||
|
|
||||||
|
ShellRoot {
|
||||||
|
TopBar {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user