fixed capslock with modifier keys not trigger popup

This commit is contained in:
Asaki Yuki 2026-04-13 01:29:05 +07:00
parent 06a099aeb5
commit 6f07cf2b90
5 changed files with 106 additions and 89 deletions

View file

@ -50,12 +50,14 @@ in
wm.niri.enable = false;
wm.hyprland.enable = true;
wm.hyprland.monitors = [
({
(
{
output = "eDP-1";
mode = "1920x1200@60";
position = "0x0";
scale = 1;
} // lib.optionalAttrs ENABLE_HDR {
}
// lib.optionalAttrs ENABLE_HDR {
bitdepth = 10;
cm = "hdr";
supports_wide_color = 1;
@ -72,7 +74,8 @@ in
max_avg_luminance = 250;
sdr_eotf = 2;
})
}
)
];
bluetooth.enable = true;

View file

@ -17,7 +17,15 @@ in
};
home-manager.users.asakiyuki = {
_module.args = { inherit inputs unstable osconfig custom libs; };
_module.args = {
inherit
inputs
unstable
osconfig
custom
libs
;
};
imports = [
./modules/programs.nix
./modules/files.nix
@ -42,4 +50,3 @@ in
};
};
}

View file

@ -1,4 +1,5 @@
{ unstable, ... }: {
{ unstable, ... }:
{
programs.vscode = {
enable = true;
package = unstable.vscode;

View file

@ -23,6 +23,7 @@
unzip
python3
jdk25
nixfmt
wine
wine64

View file

@ -1,6 +1,7 @@
{ osconfig, config, ... }:
{
wayland.windowManager.hyprland.settings.bind = [
wayland.windowManager.hyprland.settings = {
bind = [
"CTRL ALT, T, exec, ${osconfig.device.programs.terminal}"
"SUPER SHIFT, L, exit,"
@ -46,9 +47,8 @@
"SUPER, MOUSE_DOWN, workspace, e-1"
"SUPER, MOUSE_UP, workspace, e+1"
"ALT, SPACE, global, asakiyuki:launcher"
", XF86TouchpadToggle, global, asakiyuki:touchpadtoggle"
", Caps_Lock, global, asakiyuki:capslock"
"ALT, SPACE, global, asakiyuki:launcher"
",XF86MonBrightnessDown, exec, brightnessctl s 5%-"
",XF86MonBrightnessUp, exec, brightnessctl s +5%"
@ -64,8 +64,13 @@
"SUPER SHIFT, 0, movetoworkspace, 10"
];
wayland.windowManager.hyprland.settings.bindm = [
bindi = [
", Caps_Lock, global, asakiyuki:capslock"
];
bindm = [
"SUPER, mouse:272, movewindow"
"SUPER, mouse:273, resizewindow"
];
};
}