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

View File

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

View File

@@ -19,6 +19,12 @@ in
systemd.enable = true;
settings = {
spawn = [
#spawn notifiers
# generic notifier
"twmnd"
# brightness/media volume notifier
"avizo-service"
#set wallpaper
"~/login-wm-setup.sh"
# set gaps on wideriver
@@ -51,6 +57,13 @@ in
"Super F" = "toggle-fullscreen";
"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
"Super J" = "focus-view next";
"Super K" = "focus-view previous";
@@ -101,6 +114,14 @@ in
"Super+Shift 0" = "${tft} 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;
};
};
};
};
}