From 9f0b1743039c2cac15a63d723968290cddf07841 Mon Sep 17 00:00:00 2001 From: blahai Date: Sun, 13 Oct 2024 02:08:10 +0300 Subject: [PATCH] more cli stuff --- .../home-manager/cli/alacritty/default.nix | 11 +++ modules/home-manager/cli/fastfetch.nix | 87 +++++++++++++++++++ modules/home-manager/default.nix | 7 ++ 3 files changed, 105 insertions(+) create mode 100644 modules/home-manager/cli/alacritty/default.nix create mode 100644 modules/home-manager/cli/fastfetch.nix create mode 100644 modules/home-manager/default.nix diff --git a/modules/home-manager/cli/alacritty/default.nix b/modules/home-manager/cli/alacritty/default.nix new file mode 100644 index 0000000..de18d45 --- /dev/null +++ b/modules/home-manager/cli/alacritty/default.nix @@ -0,0 +1,11 @@ +{ pkgs, lib, config } : +{ + programs.alacritty = { + enable = true; + + settings = { + window.opacity = 0.9; + padding = { x = 5; y = 5; }; + }; + }; +} diff --git a/modules/home-manager/cli/fastfetch.nix b/modules/home-manager/cli/fastfetch.nix new file mode 100644 index 0000000..a841aec --- /dev/null +++ b/modules/home-manager/cli/fastfetch.nix @@ -0,0 +1,87 @@ +{ pkgs, lib, config, ... }: +{ + programs.fastfetch = { + enable = true; + settings = { + logo = { + type = "sixel"; + source = "~/Pictures/nix-Wallpaper.png"; + width = 32; + }; + + display = { + separator = "  "; + }; + + modules = [ + { + type = "custom"; + format = "┌─────────── \u001b[1mHardware Information\u001b[0m ───────────┐"; + } + { + type = "cpu"; + key = " "; + } + { + type = "gpu"; + key = " ﬙"; + } + { + type = "memory"; + key = " 󰑭"; + } + { + type = "swap"; + key = " 󰓡"; + } + { + type = "custom"; + format = "├─────────── \u001b[1mSoftware Information\u001b[0m ───────────┤"; + } + { + type = "title"; + key = " "; + format = "{1}@{2}"; + } + { + type = "os"; + key = " "; + } + { + type = "kernel"; + key = " "; + format = "{1} {2}"; + } + { + type = "wm"; + key = ""; + } + { + type = "shell"; + key = " "; + } + { + type = "terminal"; + key = " "; + } + { + type = "uptime"; + key = " 󰅐"; + } + { + type = "media",; + key = " 󰝚"; + } + { + type = "custom"; + format = "└────────────────────────────────────────────┘"; + } + { + type = "colors"; + paddingLeft = 2; + symbol = "circle"; + } + ]; + }; + }; +} diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix new file mode 100644 index 0000000..58db128 --- /dev/null +++ b/modules/home-manager/default.nix @@ -0,0 +1,7 @@ +{ config, lib, ... }: { + imports = [ + ./cli/default.nix + ./hypr/default.nix + ./ags/default.nix + ]; +}