mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Got a usb numpad and replaced sc with numbat
This commit is contained in:
parent
1d568ad213
commit
372d7e4bbc
|
@ -76,7 +76,7 @@
|
||||||
users.users.${userSettings.username} = {
|
users.users.${userSettings.username} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = userSettings.name;
|
description = userSettings.name;
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" "input" "dialout" ];
|
||||||
packages = [];
|
packages = [];
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
};
|
};
|
||||||
|
|
|
@ -56,6 +56,7 @@
|
||||||
openvpn
|
openvpn
|
||||||
protonmail-bridge
|
protonmail-bridge
|
||||||
texliveSmall
|
texliveSmall
|
||||||
|
numbat
|
||||||
|
|
||||||
wine
|
wine
|
||||||
bottles
|
bottles
|
||||||
|
|
|
@ -20,9 +20,10 @@
|
||||||
pandoc
|
pandoc
|
||||||
hwinfo
|
hwinfo
|
||||||
pciutils
|
pciutils
|
||||||
|
numbat
|
||||||
(pkgs.callPackage ../pkgs/smartcalc.nix { })
|
(pkgs.callPackage ../pkgs/smartcalc.nix { })
|
||||||
(pkgs.writeShellScriptBin "sc" ''smartcalc'')
|
#(pkgs.writeShellScriptBin "sc" ''smartcalc'')
|
||||||
(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
|
#(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
|
||||||
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })
|
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })
|
||||||
(pkgs.writeShellScriptBin "airplane-mode" ''
|
(pkgs.writeShellScriptBin "airplane-mode" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
|
@ -110,6 +110,7 @@
|
||||||
bindm=SUPER,mouse:273,resizewindow
|
bindm=SUPER,mouse:273,resizewindow
|
||||||
bind=SUPER,T,togglefloating
|
bind=SUPER,T,togglefloating
|
||||||
bind=SUPER,G,exec,hyprworkspace 9; pegasus-fe;
|
bind=SUPER,G,exec,hyprworkspace 9; pegasus-fe;
|
||||||
|
bind=,code:148,exec,''+ userSettings.term + " "+''-e numbat
|
||||||
|
|
||||||
bind=,code:107,exec,grim -g "$(slurp)"
|
bind=,code:107,exec,grim -g "$(slurp)"
|
||||||
bind=SHIFT,code:107,exec,grim -g "$(slurp -o)"
|
bind=SHIFT,code:107,exec,grim -g "$(slurp -o)"
|
||||||
|
@ -432,7 +433,7 @@
|
||||||
margin = "7 7 3 7";
|
margin = "7 7 3 7";
|
||||||
spacing = 2;
|
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-center = [ "hyprland/workspaces" ];
|
||||||
modules-right = [ "idle_inhibitor" "tray" "clock" ];
|
modules-right = [ "idle_inhibitor" "tray" "clock" ];
|
||||||
|
|
||||||
|
@ -447,6 +448,14 @@
|
||||||
"interval" = 3;
|
"interval" = 3;
|
||||||
"on-click" = "hyprprofile-dmenu";
|
"on-click" = "hyprprofile-dmenu";
|
||||||
};
|
};
|
||||||
|
"keyboard-state" = {
|
||||||
|
"numlock" = true;
|
||||||
|
"format" = " {icon} ";
|
||||||
|
"format-icons" = {
|
||||||
|
"locked" = "";
|
||||||
|
"unlocked" = "";
|
||||||
|
};
|
||||||
|
};
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
"format" = "{icon}";
|
"format" = "{icon}";
|
||||||
"format-icons" = {
|
"format-icons" = {
|
||||||
|
@ -702,6 +711,14 @@
|
||||||
color: #'' + config.lib.stylix.colors.base0A + '';
|
color: #'' + config.lib.stylix.colors.base0A + '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
label.numlock {
|
||||||
|
color: #'' + config.lib.stylix.colors.base04 + '';
|
||||||
|
}
|
||||||
|
|
||||||
|
label.numlock.locked {
|
||||||
|
color: #'' + config.lib.stylix.colors.base0F + '';
|
||||||
|
}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
color: #'' + config.lib.stylix.colors.base0C + '';
|
color: #'' + config.lib.stylix.colors.base0C + '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue