package sddm themes
This commit is contained in:
parent
aba1b552d9
commit
2d67934e29
4 changed files with 84 additions and 16 deletions
24
packages/sddm-theme/corners.nix
Executable file
24
packages/sddm-theme/corners.nix
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
{pkgs}:
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "sddm-theme-corners";
|
||||
version = "1.0.0";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/sddm/themes
|
||||
cp -ar $src/corners $out/share/sddm/themes/
|
||||
'';
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "aczw";
|
||||
repo = "sddm-theme-corners";
|
||||
rev = "6ff0ff455261badcae36cd7d151a34479f157a3c";
|
||||
sha256 = "0iiasrbl7ciyhq3z02la636as915zk9ph063ac7vm5iwny8vgwh8";
|
||||
};
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
libsForQt5.qt5.qtgraphicaleffects
|
||||
];
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
qt5.wrapQtAppsHook
|
||||
];
|
||||
}
|
||||
35
packages/sddm-theme/sugar-dark.nix
Executable file
35
packages/sddm-theme/sugar-dark.nix
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
{ pkgs }:
|
||||
|
||||
let
|
||||
#image = pkgs.fetchurl {
|
||||
# url = "https://";
|
||||
# sha256 = "";
|
||||
#};
|
||||
in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "sddm-theme";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "MarianArlt";
|
||||
repo = "sddm-sugar-dark";
|
||||
rev = "ceb2c455663429be03ba62d9f898c571650ef7fe";
|
||||
sha256 = "0153z1kylbhc9d12nxy9vpn0spxgrhgy36wy37pk6ysq7akaqlvy";
|
||||
};
|
||||
# dependencies
|
||||
buildInputs = with pkgs.libsForQt5; [
|
||||
qt5.qtbase
|
||||
qt5.qtx11extras
|
||||
qt5.qtquickcontrols2
|
||||
qt5.qtgraphicaleffects
|
||||
qt5.wrapQtAppsHook
|
||||
#libsForQt5.qt5.qtquickcontrols2
|
||||
#libsForQt5.qt5.qtgraphicaleffects
|
||||
];
|
||||
installPhase = ''
|
||||
# move necessary files
|
||||
mkdir -p $out
|
||||
cp -R ./* $out/
|
||||
'';
|
||||
# set background
|
||||
#rm $out/Background.jpg
|
||||
#mv ${image} $out/Background.jpg
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue