non important commit
This commit is contained in:
parent
adfd476550
commit
ae7d85c9a5
10 changed files with 2390 additions and 7 deletions
19
configuration/modules/dots/quick_shell/.direnv/bin/nix-direnv-reload
Executable file
19
configuration/modules/dots/quick_shell/.direnv/bin/nix-direnv-reload
Executable file
|
|
@ -0,0 +1,19 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
if [[ ! -d "/home/benag/.nix-config/configuration/modules/dots/quick_shell" ]]; then
|
||||||
|
echo "Cannot find source directory; Did you move it?"
|
||||||
|
echo "(Looking for "/home/benag/.nix-config/configuration/modules/dots/quick_shell")"
|
||||||
|
echo 'Cannot force reload with this script - use "direnv reload" manually and then try again'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# rebuild the cache forcefully
|
||||||
|
_nix_direnv_force_reload=1 direnv exec "/home/benag/.nix-config/configuration/modules/dots/quick_shell" true
|
||||||
|
|
||||||
|
# Update the mtime for .envrc.
|
||||||
|
# This will cause direnv to reload again - but without re-building.
|
||||||
|
touch "/home/benag/.nix-config/configuration/modules/dots/quick_shell/.envrc"
|
||||||
|
|
||||||
|
# Also update the timestamp of whatever profile_rc we have.
|
||||||
|
# This makes sure that we know we are up to date.
|
||||||
|
touch -r "/home/benag/.nix-config/configuration/modules/dots/quick_shell/.envrc" "/home/benag/.nix-config/configuration/modules/dots/quick_shell/.direnv"/*.rc
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/8pqk0a2vvk97hxpk6p3h18lq9zsvqagi-source
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/dx2qikyb4dyb6hbdfywbmsyla0z5a1h3-source
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/gqmhznl1dy1xnzzxqr6nl0mlqn6mm7rf-nix-shell-env
|
||||||
File diff suppressed because one or more lines are too long
1
configuration/modules/dots/quick_shell/.envrc
Normal file
1
configuration/modules/dots/quick_shell/.envrc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
use flake
|
||||||
27
configuration/modules/dots/quick_shell/flake.lock
generated
Normal file
27
configuration/modules/dots/quick_shell/flake.lock
generated
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1771369470,
|
||||||
|
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "0182a361324364ae3f436a63005877674cf45efb",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
16
configuration/modules/dots/quick_shell/flake.nix
Normal file
16
configuration/modules/dots/quick_shell/flake.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
|
outputs = {nixpkgs, ...}: let
|
||||||
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
qmlPackages = [
|
||||||
|
pkgs.quickshell
|
||||||
|
pkgs.kdePackages.qtdeclarative
|
||||||
|
];
|
||||||
|
in {
|
||||||
|
devShells.x86_64-linux.default = pkgs.mkShell {
|
||||||
|
packages = qmlPackages;
|
||||||
|
QML_IMPORT_PATH = pkgs.lib.makeSearchPathOutput "lib" "lib/qt-6/qml" qmlPackages;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
[General]
|
|
||||||
importPaths = "/usr/lib/qt6/qml"
|
|
||||||
|
|
@ -1,15 +1,17 @@
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import QtQuick
|
import QtQuick
|
||||||
|
|
||||||
FloatingWindow {
|
PanelWindow {
|
||||||
visible: true
|
anchors.top: true
|
||||||
width: 200
|
anchors.left: true
|
||||||
height: 100
|
anchors.right: true
|
||||||
|
implicitHeight: 30
|
||||||
|
color: "#1a1b26"
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: "haayaa"
|
text: "haayaa"
|
||||||
color: "#000000"
|
color: "#ff00ff"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue