style: update waybar style

This commit is contained in:
DACHXY 2025-01-15 01:02:38 +08:00
parent 69e41c6e05
commit 984bc4c5d8
27 changed files with 275 additions and 103 deletions

View file

@ -14,6 +14,7 @@
./neovim.nix
./bin.nix
./desktops.nix
./direnv.nix
inputs.hyprland.homeManagerModules.default
];

13
home/user/direnv.nix Normal file
View file

@ -0,0 +1,13 @@
{
programs = {
direnv = {
enable = true;
enableBashIntegration = true;
nix-direnv.enable = true;
};
};
home.sessionVariables = {
DIRENV_LOG_FORMAT = ""; # Stop direnv log
};
}

View file

@ -31,11 +31,22 @@ let
song_info=$(playerctl metadata --format '{{title}} 󰎆 {{artist}}')
echo "$song_info"
'';
ewwWayland = pkgs.eww.overrideAttrs (oldAttrs: {
cargoBuildFlags = [
"--no-default-features"
"--features=wayland"
"--bin"
"eww"
];
});
in
{
home.packages = with pkgs; [
hyprpaper
hyprcursor
ewwWayland
];
systemd.user.targets.hyprland-session.Unit.Wants = [

View file

@ -47,7 +47,6 @@ in
prettierd
javascript-typescript-langserver
marksman
tailwindcss-language-server
ruff
ruff-lsp
pyright

View file

@ -2,7 +2,8 @@
pkgs,
lib,
...
}: let
}:
let
vesktop = pkgs.vesktop.overrideAttrs (oldAttrs: {
desktopItems = lib.optional pkgs.stdenv.hostPlatform.isLinux (
(lib.head oldAttrs.desktopItems).override {
@ -11,15 +12,18 @@
}
);
});
in {
in
{
home.packages =
(with pkgs; [
# Dev stuff
gcc
go
nodePackages.pnpm
(python3.withPackages
(python-pkgs: [python-pkgs.pip python-pkgs.requests]))
(python3.withPackages (python-pkgs: [
python-pkgs.pip
python-pkgs.requests
]))
rustup
pkgsCross.mingwW64.stdenv.cc
pkgsCross.mingwW64.windows.pthreads
@ -44,6 +48,7 @@ in {
catppuccin-gtk
cava
papirus-folders
inkscape
])
++ [
vesktop # discord

View file

@ -1,5 +1,6 @@
# config from https://github.com/shub39/dotfiles
{...}: {
{ ... }:
{
services.swaync = {
enable = true;