Compare commits
2 commits
c2292de2bc
...
ef4717e6cd
Author | SHA1 | Date | |
---|---|---|---|
ef4717e6cd | |||
0f1099f5f3 |
6 changed files with 10 additions and 77 deletions
18
flake.lock
generated
18
flake.lock
generated
|
@ -8,11 +8,11 @@
|
||||||
"utils": "utils"
|
"utils": "utils"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1677621055,
|
"lastModified": 1678271387,
|
||||||
"narHash": "sha256-n3D/pZX0cYEpWKcLJSFImo5Dpk3D1RrxKVDmI6lnaIg=",
|
"narHash": "sha256-H2dv/i1LRlunRtrESirELzfPWdlG/6ElDB1ksO529H4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "ef7d316578367ed7732a21eede6c79546a36124f",
|
"rev": "36999b8d19eb6eebb41983ef017d7e0095316af2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -23,11 +23,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1677407201,
|
"lastModified": 1678201391,
|
||||||
"narHash": "sha256-3blwdI9o1BAprkvlByHvtEm5HAIRn/XPjtcfiunpY7s=",
|
"narHash": "sha256-dX4z2oSJ5UKzY5wb5HX2VaPP08DPWZ6B7EHzOJfP7GM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "7f5639fa3b68054ca0b062866dc62b22c3f11505",
|
"rev": "c707238dc262923da5a53a5a11914117caac07a2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -45,11 +45,11 @@
|
||||||
},
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1667395993,
|
"lastModified": 1676283394,
|
||||||
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
|
"narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
|
"rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -19,7 +19,6 @@ in
|
||||||
../modules/startpage
|
../modules/startpage
|
||||||
../modules/terminal
|
../modules/terminal
|
||||||
../modules/todo-txt
|
../modules/todo-txt
|
||||||
../modules/xborders
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file."./.background-image".source = theme.wallpaper;
|
home.file."./.background-image".source = theme.wallpaper;
|
||||||
|
|
|
@ -8,6 +8,7 @@ in with theme.colors; {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
playerctl # pactl comes with PulseAudio
|
playerctl # pactl comes with PulseAudio
|
||||||
wmctrl # For rofi power menu
|
wmctrl # For rofi power menu
|
||||||
|
xborders # Active window borders
|
||||||
];
|
];
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
(pkgs.callPackage ./xborders.nix {})
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
from setuptools import setup
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name='@pname@',
|
|
||||||
version='@version@',
|
|
||||||
author='deter0',
|
|
||||||
description='@desc@',
|
|
||||||
install_requires=['pycairo', 'requests', 'PyGObject'],
|
|
||||||
scripts=[
|
|
||||||
'xborders',
|
|
||||||
],
|
|
||||||
)
|
|
|
@ -1,48 +0,0 @@
|
||||||
{ lib, pkgs, ... }:
|
|
||||||
|
|
||||||
with pkgs; callPackage python3Packages.buildPythonPackage rec {
|
|
||||||
pname = "xborders";
|
|
||||||
version = "3.4"; # in version.txt
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "deter0";
|
|
||||||
repo = "xborder";
|
|
||||||
rev = "e74ae532b9555c59d195537934fa355b3fea73c5";
|
|
||||||
hash = "sha256-UKsseNkXest6npPqJKvKL0iBWeK+S7zynrDlyXIOmF4=";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
libwnck
|
|
||||||
gtk3
|
|
||||||
libnotify
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
wrapGAppsHook
|
|
||||||
gobject-introspection
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
|
||||||
pycairo
|
|
||||||
requests
|
|
||||||
pygobject3
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = let
|
|
||||||
setup = pkgs.substituteAll {
|
|
||||||
src = ./setup.py;
|
|
||||||
desc = meta.description; # "description" is reserved
|
|
||||||
inherit pname version;
|
|
||||||
};
|
|
||||||
in ''
|
|
||||||
ln -s ${setup} setup.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Active window border replacement for window managers.";
|
|
||||||
homepage = "https://github.com/deter0/xborder";
|
|
||||||
license = licenses.unlicense;
|
|
||||||
maintainers = with maintainers; [ elnudev ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue