twmn and avizo

This commit is contained in:
2025-09-17 09:36:13 -06:00
parent f28948c783
commit c262042788
4 changed files with 68 additions and 9 deletions

4
flake.lock generated
View File

@@ -184,11 +184,11 @@
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-wBVLwFjGszsaibW+oPRSRFq6vzKPxSmfsh1evEQ56Ow=", "narHash": "sha256-wBVLwFjGszsaibW+oPRSRFq6vzKPxSmfsh1evEQ56Ow=",
"path": "/nix/store/287fy1a3bmc2xzhxj470ssn8xp5r183g-source/system/extras/pydev", "path": "/nix/store/6kx0paxcp4bhx4j2nm19gi978gi4wqmc-source/system/extras/pydev",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/nix/store/287fy1a3bmc2xzhxj470ssn8xp5r183g-source/system/extras/pydev", "path": "/nix/store/6kx0paxcp4bhx4j2nm19gi978gi4wqmc-source/system/extras/pydev",
"type": "path" "type": "path"
} }
}, },

View File

@@ -6,18 +6,21 @@
homeDirectory = "/home/autumn"; homeDirectory = "/home/autumn";
stateVersion = "25.11"; stateVersion = "25.11";
packages = with pkgs; [ packages = with pkgs; [
neofetch avizo
vscodium-fhs
nerd-fonts.hack
vesktop
obsidian
htop
gnumake
eza eza
fm fm
felix felix
gnumake
htop
nerd-fonts.hack
neofetch
obsidian
swaybg swaybg
tiramisu
vscodium-fhs
vesktop
uv uv
wev
]; ];
sessionVariables = { sessionVariables = {
EDITOR = "helix"; EDITOR = "helix";
@@ -50,6 +53,7 @@
../packages/helix/helix.nix ../packages/helix/helix.nix
../packages/starship/starship.nix ../packages/starship/starship.nix
../packages/thunderbird/thunderbird.nix ../packages/thunderbird/thunderbird.nix
../packages/twmn/twmn.nix
../packages/zellij/zellij.nix ../packages/zellij/zellij.nix
../packages/zoxide/zoxide.nix ../packages/zoxide/zoxide.nix
# package bundles # package bundles

View File

@@ -19,6 +19,12 @@ in
systemd.enable = true; systemd.enable = true;
settings = { settings = {
spawn = [ spawn = [
#spawn notifiers
# generic notifier
"twmnd"
# brightness/media volume notifier
"avizo-service"
#set wallpaper #set wallpaper
"~/login-wm-setup.sh" "~/login-wm-setup.sh"
# set gaps on wideriver # set gaps on wideriver
@@ -51,6 +57,13 @@ in
"Super F" = "toggle-fullscreen"; "Super F" = "toggle-fullscreen";
"Super+Shift F" = "toggle-float"; "Super+Shift F" = "toggle-float";
# avizo keys
"XF86AudioRaiseVolume" = "spawn \"volumectl -d -u up\"";
"XF86AudioLowerVolume" = "spawn \"volumectl -d -u down\"";
"XF86AudioMute" = "spawn \"volumectl -d toggle-mute\"";
"XF86MonBrightnessUp" = "spawn \"lightctl -d up\"";
"XF86MonBrightnessDown" = "spawn \"lightctl -d down\"";
#movement #movement
"Super J" = "focus-view next"; "Super J" = "focus-view next";
"Super K" = "focus-view previous"; "Super K" = "focus-view previous";
@@ -101,6 +114,14 @@ in
"Super+Shift 0" = "${tft} 2147483648"; "Super+Shift 0" = "${tft} 2147483648";
"Super+Alt 0" = "${tvt} 2147483648"; "Super+Alt 0" = "${tvt} 2147483648";
}; };
locked = {
# avizo keys
"XF86AudioRaiseVolume" = "spawn \"volumectl -d -u up\"";
"XF86AudioLowerVolume" = "spawn \"volumectl -d -u down\"";
"XF86AudioMute" = "spawn \"volumectl -d toggle-mute\"";
"XF86MonBrightnessUp" = "spawn \"lightctl -d up\"";
"XF86MonBrightnessDown" = "spawn \"lightctl -d down\"";
};
}; };
}; };
}; };

View File

@@ -0,0 +1,34 @@
{ config, pkgs, ... }:
{
services.twmn = {
enable = true;
icons = {
critical = "󰋮 ";
info = " ";
warning = " ";
};
text = {
color = "2b3339";
font = {
family = "Hack Nerd Font";
size = 11;
};
maxLength = 75;
};
window = {
position = "tc";
alwaysOnTop = true;
color = "#7fbbb3";
height = 30;
animation = {
easeIn = {
curve = 25;
duration = 750;
};
};
};
};
}