twmn and avizo
This commit is contained in:
@@ -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\"";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
34
home-manager/packages/twmn/twmn.nix
Normal file
34
home-manager/packages/twmn/twmn.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user