Cursor
Feels like I've been using this one before but no trace.
This commit is contained in:
parent
12c176de22
commit
a9e515ab90
2 changed files with 67 additions and 24 deletions
42
hm/desktop/cursor/default.nix
Normal file
42
hm/desktop/cursor/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
# Manjaro cursor theme.
|
||||||
|
# Also known as Maia but exact same one without git history and wrong credits.
|
||||||
|
# Not a big fan of Manjaro but that cursor theme slaps.
|
||||||
|
menda = pkgs.stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "menda-cursor";
|
||||||
|
version = "2014-11-25";
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "anexation";
|
||||||
|
repo = pname;
|
||||||
|
rev = "e3503252cbac2772e800929d12341c6a3284cd15";
|
||||||
|
hash = "sha256-CR/nfydRjMADdJ4iBP00O24XENC2jbsbwNk0w63G3h4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/share/icons
|
||||||
|
mv Menda-Cursor $out/share/icons/menda-cursor
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
# Phinger is also not a bad cursor theme, more geometric, has dark/light theme,
|
||||||
|
# but overall same amount of cursor and not very green innit.
|
||||||
|
|
||||||
|
# That being said, it doesn't seem that cursor change immediately on apply,
|
||||||
|
# so my idea of dark cursor on light theme and vice-versa might not fly anyways.
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = {
|
||||||
|
home.pointerCursor = {
|
||||||
|
name = "menda-cursor";
|
||||||
|
package = menda;
|
||||||
|
size = 32;
|
||||||
|
gtk.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -10,6 +10,7 @@
|
||||||
./autorandr
|
./autorandr
|
||||||
./background
|
./background
|
||||||
./browser
|
./browser
|
||||||
|
./cursor
|
||||||
./frobar/module.nix
|
./frobar/module.nix
|
||||||
./i3.nix
|
./i3.nix
|
||||||
./lock
|
./lock
|
||||||
|
@ -20,6 +21,7 @@
|
||||||
./terminal
|
./terminal
|
||||||
];
|
];
|
||||||
config = lib.mkIf config.frogeye.desktop.xorg {
|
config = lib.mkIf config.frogeye.desktop.xorg {
|
||||||
|
|
||||||
xsession = {
|
xsession = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Not using config.xdg.configHome because it needs to be $HOME-relative paths and path manipulation is hard
|
# Not using config.xdg.configHome because it needs to be $HOME-relative paths and path manipulation is hard
|
||||||
|
@ -112,31 +114,30 @@
|
||||||
unclutter.enable = true;
|
unclutter.enable = true;
|
||||||
dunst = {
|
dunst = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings =
|
settings = with config.lib.stylix.colors.withHashtag; {
|
||||||
with config.lib.stylix.colors.withHashtag; {
|
global = {
|
||||||
global = {
|
separator_color = lib.mkForce base05;
|
||||||
separator_color = lib.mkForce base05;
|
idle_threshold = 120;
|
||||||
idle_threshold = 120;
|
markup = "full";
|
||||||
markup = "full";
|
max_icon_size = 48;
|
||||||
max_icon_size = 48;
|
|
||||||
};
|
|
||||||
|
|
||||||
urgency_low = {
|
|
||||||
background = lib.mkForce base01;
|
|
||||||
foreground = lib.mkForce base03;
|
|
||||||
frame_color = lib.mkForce base05;
|
|
||||||
};
|
|
||||||
urgency_normal = {
|
|
||||||
background = lib.mkForce base02;
|
|
||||||
foreground = lib.mkForce base05;
|
|
||||||
frame_color = lib.mkForce base05;
|
|
||||||
};
|
|
||||||
urgency_critical = {
|
|
||||||
background = lib.mkForce base08;
|
|
||||||
foreground = lib.mkForce base06;
|
|
||||||
frame_color = lib.mkForce base05;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
urgency_low = {
|
||||||
|
background = lib.mkForce base01;
|
||||||
|
foreground = lib.mkForce base03;
|
||||||
|
frame_color = lib.mkForce base05;
|
||||||
|
};
|
||||||
|
urgency_normal = {
|
||||||
|
background = lib.mkForce base02;
|
||||||
|
foreground = lib.mkForce base05;
|
||||||
|
frame_color = lib.mkForce base05;
|
||||||
|
};
|
||||||
|
urgency_critical = {
|
||||||
|
background = lib.mkForce base08;
|
||||||
|
foreground = lib.mkForce base06;
|
||||||
|
frame_color = lib.mkForce base05;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
keynav.enable = true;
|
keynav.enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue