laptop: pink 🌸
This commit is contained in:
parent
4e22cce60e
commit
c713b1810e
12
flake.lock
12
flake.lock
|
@ -369,16 +369,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1661663669,
|
"lastModified": 1661762682,
|
||||||
"narHash": "sha256-TsVDHYX9boTJPsgzGrQLZN5hv5V96pUVL5RgK5yLKPY=",
|
"narHash": "sha256-/i8xAhsX8MwiEucLIX+t7rNcsddFzbEOr/BROFSLeo4=",
|
||||||
"owner": "NixOS",
|
"owner": "NULLx76",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6cae4be2a768154ae9815d8238f00b03a89ea21f",
|
"rev": "fab092ddd75ec258d0b46611ba1730f33d041b10",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NULLx76",
|
||||||
"ref": "nixos-unstable-small",
|
"ref": "vscode-catppuccin",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# * https://git.voidcorp.nl/j00lz/nixos-configs/src/branch/main/flake.nix
|
# * https://git.voidcorp.nl/j00lz/nixos-configs/src/branch/main/flake.nix
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
nixpkgs.url = "github:NULLx76/nixpkgs/vscode-catppuccin";
|
||||||
|
|
||||||
colmena.url = "github:zhaofengli/colmena";
|
colmena.url = "github:zhaofengli/colmena";
|
||||||
colmena.inputs.nixpkgs.follows = "nixpkgs";
|
colmena.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
{ config, pkgs, lib, fetchFromGithub, ... }:
|
{ config, pkgs, lib, fetchFromGithub, ... }:
|
||||||
let
|
|
||||||
rofi = fetchTarball {
|
|
||||||
url = "https://github.com/adi1090x/rofi/archive/refs/heads/master.zip";
|
|
||||||
sha256 = "0wq8v758gnk1wjdqyqmda5rlxlpv33l3sdf3rb3nx834vc5hr1rn";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
home.username = "victor";
|
home.username = "victor";
|
||||||
|
@ -34,19 +28,41 @@ in
|
||||||
retroarchFull
|
retroarchFull
|
||||||
python3
|
python3
|
||||||
element-desktop-wayland
|
element-desktop-wayland
|
||||||
|
|
||||||
gnome.gnome-font-viewer
|
gnome.gnome-font-viewer
|
||||||
|
|
||||||
wofi # Wayland rofi
|
wofi # Wayland rofi
|
||||||
grim # Screenshot tool
|
grim # Screenshot tool
|
||||||
wf-recorder # Screenrecorder
|
wf-recorder # Screenrecorder
|
||||||
wl-clipboard # Clipboard manager
|
wl-clipboard # Clipboard manager
|
||||||
networkmanager_dmenu
|
networkmanager_dmenu
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
libnotify
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.alacritty = {
|
programs.foot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# Note, pink and blue are switched
|
||||||
|
settings.colors = {
|
||||||
|
foreground = "c6d0f5"; # Text
|
||||||
|
background = "303446"; # Base
|
||||||
|
regular0 = "51576d"; # Surface 1
|
||||||
|
regular1 = "e78284"; # red
|
||||||
|
regular2 = "a6d189"; # green
|
||||||
|
regular3 = "e5c890"; # yellow
|
||||||
|
regular4 = "f4b8e4"; # pink
|
||||||
|
regular5 = "8caaee"; # blue
|
||||||
|
regular6 = "81c8be"; # teal
|
||||||
|
regular7 = "b5bfe2"; # Subtext 1
|
||||||
|
bright0 = "626880"; # Surface 2
|
||||||
|
bright1 = "e78284"; # red
|
||||||
|
bright2 = "a6d189"; # green
|
||||||
|
bright3 = "e5c890"; # yellow
|
||||||
|
bright4 = "f4b8e4"; # pink
|
||||||
|
bright5 = "8caaee"; # blue
|
||||||
|
bright6 = "81c8be"; # teal
|
||||||
|
bright7 = "a5adce"; # Subtext 0
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
|
@ -56,6 +72,14 @@ in
|
||||||
userEmail = "victor@xirion.net";
|
userEmail = "victor@xirion.net";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.mako = {
|
||||||
|
enable = true;
|
||||||
|
backgroundColor = "#292c3c";
|
||||||
|
borderRadius = 5;
|
||||||
|
borderColor = "#f4b8e4";
|
||||||
|
textColor = "#c6d0f5";
|
||||||
|
};
|
||||||
|
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shortcut = "b";
|
shortcut = "b";
|
||||||
|
@ -72,10 +96,11 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.vscode;
|
package = pkgs.vscode;
|
||||||
extensions = with pkgs.vscode-extensions; [
|
extensions = with pkgs.vscode-extensions; [
|
||||||
|
catppuccin.catppuccin-vsc
|
||||||
|
james-yu.latex-workshop
|
||||||
|
jnoortheen.nix-ide
|
||||||
matklad.rust-analyzer
|
matklad.rust-analyzer
|
||||||
mkhl.direnv
|
mkhl.direnv
|
||||||
jnoortheen.nix-ide
|
|
||||||
james-yu.latex-workshop
|
|
||||||
valentjn.vscode-ltex
|
valentjn.vscode-ltex
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -99,11 +124,16 @@ in
|
||||||
name = "Arc";
|
name = "Arc";
|
||||||
package = pkgs.arc-icon-theme;
|
package = pkgs.arc-icon-theme;
|
||||||
};
|
};
|
||||||
|
cursorTheme = {
|
||||||
|
name = "Catppuccin-Frappe-Pink-Cursors";
|
||||||
|
package = pkgs.catppuccin.cursors;
|
||||||
|
size = 32;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.syncthing.enable = true;
|
services.syncthing.enable = true;
|
||||||
|
|
||||||
home.file.".config/networkmanager-dmenu/config.ini".text = ''
|
home.file.".config/networkmanager-dmenu/config.ini".text = ''
|
||||||
[dmenu]
|
[dmenu]
|
||||||
dmenu_command = wofi --dmenu -i
|
dmenu_command = wofi --dmenu -i
|
||||||
# # Note that dmenu_command can contain arguments as well like:
|
# # Note that dmenu_command can contain arguments as well like:
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
exec-once=${pkgs.hyprpaper}/bin/hyprpaper
|
exec-once=${pkgs.hyprpaper}/bin/hyprpaper
|
||||||
|
exec-once=hyprctl setcursor Catppuccin-Frappe-Pink-Cursors 32
|
||||||
exec-once=eww daemon
|
exec-once=eww daemon
|
||||||
exec-once=eww open bar
|
exec-once=eww open bar
|
||||||
|
|
||||||
|
@ -18,6 +19,7 @@
|
||||||
|
|
||||||
general {
|
general {
|
||||||
layout = dwindle
|
layout = dwindle
|
||||||
|
col.active_border = 0xfff4b8e4
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
@ -41,7 +43,7 @@
|
||||||
pseudotile=true
|
pseudotile=true
|
||||||
}
|
}
|
||||||
|
|
||||||
bind=SUPER,RETURN,exec,alacritty
|
bind=SUPER,RETURN,exec,foot
|
||||||
bind=SUPER,f,exec,firefox-devedition
|
bind=SUPER,f,exec,firefox-devedition
|
||||||
bind=SUPER,d,exec,wofi --show run,drun
|
bind=SUPER,d,exec,wofi --show run,drun
|
||||||
|
|
||||||
|
@ -86,7 +88,6 @@
|
||||||
|
|
||||||
# Firefox notifications
|
# Firefox notifications
|
||||||
windowrule=float,title:^(\s*)$
|
windowrule=float,title:^(\s*)$
|
||||||
windowrule=nofocus,title:^(\s*)$
|
|
||||||
windowrule=move 1569 0,title:^(\s*)$
|
windowrule=move 1569 0,title:^(\s*)$
|
||||||
windowrule=opacity 0.8,title:^(\s*)$
|
windowrule=opacity 0.8,title:^(\s*)$
|
||||||
windowrule=rounding 3,title:^(\s*)$
|
windowrule=rounding 3,title:^(\s*)$
|
||||||
|
|
29
nixos/pkgs/catppuccin/cursors/default.nix
Normal file
29
nixos/pkgs/catppuccin/cursors/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub, xorg, inkscape }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "catppuccin-cursors";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "cursors";
|
||||||
|
rev = "3d3023606939471c45cff7b643bffc5d5d4ff29c";
|
||||||
|
sha256 = "sha256-0wb84q1VtD1myIRxrfQMn9n6w1gFzMA1rHkPqXuXLP0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
xorg.xcursorgen
|
||||||
|
inkscape
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
PREFIX="/" DESTDIR=$out make install
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Soothing pastel mouse cursors";
|
||||||
|
homepage = "https://github.com/catppuccin/cursors";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -10,6 +10,8 @@ final: prev: {
|
||||||
|
|
||||||
vmagent = prev.callPackage ./vmagent { };
|
vmagent = prev.callPackage ./vmagent { };
|
||||||
|
|
||||||
|
catppuccin.cursors = prev.callPackage ./catppuccin/cursors { };
|
||||||
|
|
||||||
v = {
|
v = {
|
||||||
unbound = prev.unbound.override {
|
unbound = prev.unbound.override {
|
||||||
withSystemd = true;
|
withSystemd = true;
|
||||||
|
|
Loading…
Reference in a new issue