Got a usb numpad and replaced sc with numbat

This commit is contained in:
Emmet 2024-03-21 19:04:08 -05:00
parent 1d568ad213
commit 372d7e4bbc
4 changed files with 23 additions and 4 deletions

View file

@ -76,7 +76,7 @@
users.users.${userSettings.username} = {
isNormalUser = true;
description = userSettings.name;
extraGroups = [ "networkmanager" "wheel" ];
extraGroups = [ "networkmanager" "wheel" "input" "dialout" ];
packages = [];
uid = 1000;
};

View file

@ -56,6 +56,7 @@
openvpn
protonmail-bridge
texliveSmall
numbat
wine
bottles

View file

@ -20,9 +20,10 @@
pandoc
hwinfo
pciutils
numbat
(pkgs.callPackage ../pkgs/smartcalc.nix { })
(pkgs.writeShellScriptBin "sc" ''smartcalc'')
(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
#(pkgs.writeShellScriptBin "sc" ''smartcalc'')
#(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })
(pkgs.writeShellScriptBin "airplane-mode" ''
#!/bin/sh

View file

@ -110,6 +110,7 @@
bindm=SUPER,mouse:273,resizewindow
bind=SUPER,T,togglefloating
bind=SUPER,G,exec,hyprworkspace 9; pegasus-fe;
bind=,code:148,exec,''+ userSettings.term + " "+''-e numbat
bind=,code:107,exec,grim -g "$(slurp)"
bind=SHIFT,code:107,exec,grim -g "$(slurp -o)"
@ -432,7 +433,7 @@
margin = "7 7 3 7";
spacing = 2;
modules-left = [ "custom/os" "custom/hyprprofile" "battery" "backlight" "pulseaudio" "cpu" "memory" ];
modules-left = [ "custom/os" "custom/hyprprofile" "battery" "backlight" "keyboard-state" "pulseaudio" "cpu" "memory" ];
modules-center = [ "hyprland/workspaces" ];
modules-right = [ "idle_inhibitor" "tray" "clock" ];
@ -447,6 +448,14 @@
"interval" = 3;
"on-click" = "hyprprofile-dmenu";
};
"keyboard-state" = {
"numlock" = true;
"format" = " {icon} ";
"format-icons" = {
"locked" = "󰎠";
"unlocked" = "󱧓";
};
};
"hyprland/workspaces" = {
"format" = "{icon}";
"format-icons" = {
@ -702,6 +711,14 @@
color: #'' + config.lib.stylix.colors.base0A + '';
}
label.numlock {
color: #'' + config.lib.stylix.colors.base04 + '';
}
label.numlock.locked {
color: #'' + config.lib.stylix.colors.base0F + '';
}
#pulseaudio {
color: #'' + config.lib.stylix.colors.base0C + '';
}