fixed capslock with modifier keys not trigger popup
This commit is contained in:
parent
06a099aeb5
commit
6f07cf2b90
5 changed files with 106 additions and 89 deletions
|
|
@ -50,12 +50,14 @@ in
|
||||||
wm.niri.enable = false;
|
wm.niri.enable = false;
|
||||||
wm.hyprland.enable = true;
|
wm.hyprland.enable = true;
|
||||||
wm.hyprland.monitors = [
|
wm.hyprland.monitors = [
|
||||||
({
|
(
|
||||||
|
{
|
||||||
output = "eDP-1";
|
output = "eDP-1";
|
||||||
mode = "1920x1200@60";
|
mode = "1920x1200@60";
|
||||||
position = "0x0";
|
position = "0x0";
|
||||||
scale = 1;
|
scale = 1;
|
||||||
} // lib.optionalAttrs ENABLE_HDR {
|
}
|
||||||
|
// lib.optionalAttrs ENABLE_HDR {
|
||||||
bitdepth = 10;
|
bitdepth = 10;
|
||||||
cm = "hdr";
|
cm = "hdr";
|
||||||
supports_wide_color = 1;
|
supports_wide_color = 1;
|
||||||
|
|
@ -72,7 +74,8 @@ in
|
||||||
max_avg_luminance = 250;
|
max_avg_luminance = 250;
|
||||||
|
|
||||||
sdr_eotf = 2;
|
sdr_eotf = 2;
|
||||||
})
|
}
|
||||||
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,15 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.asakiyuki = {
|
home-manager.users.asakiyuki = {
|
||||||
_module.args = { inherit inputs unstable osconfig custom libs; };
|
_module.args = {
|
||||||
|
inherit
|
||||||
|
inputs
|
||||||
|
unstable
|
||||||
|
osconfig
|
||||||
|
custom
|
||||||
|
libs
|
||||||
|
;
|
||||||
|
};
|
||||||
imports = [
|
imports = [
|
||||||
./modules/programs.nix
|
./modules/programs.nix
|
||||||
./modules/files.nix
|
./modules/files.nix
|
||||||
|
|
@ -42,4 +50,3 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{ unstable, ... }: {
|
{ unstable, ... }:
|
||||||
|
{
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = unstable.vscode;
|
package = unstable.vscode;
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
unzip
|
unzip
|
||||||
python3
|
python3
|
||||||
jdk25
|
jdk25
|
||||||
|
nixfmt
|
||||||
|
|
||||||
wine
|
wine
|
||||||
wine64
|
wine64
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{ osconfig, config, ... }:
|
{ osconfig, config, ... }:
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland.settings.bind = [
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
bind = [
|
||||||
"CTRL ALT, T, exec, ${osconfig.device.programs.terminal}"
|
"CTRL ALT, T, exec, ${osconfig.device.programs.terminal}"
|
||||||
|
|
||||||
"SUPER SHIFT, L, exit,"
|
"SUPER SHIFT, L, exit,"
|
||||||
|
|
@ -46,9 +47,8 @@
|
||||||
"SUPER, MOUSE_DOWN, workspace, e-1"
|
"SUPER, MOUSE_DOWN, workspace, e-1"
|
||||||
"SUPER, MOUSE_UP, workspace, e+1"
|
"SUPER, MOUSE_UP, workspace, e+1"
|
||||||
|
|
||||||
"ALT, SPACE, global, asakiyuki:launcher"
|
|
||||||
", XF86TouchpadToggle, global, asakiyuki:touchpadtoggle"
|
", XF86TouchpadToggle, global, asakiyuki:touchpadtoggle"
|
||||||
", Caps_Lock, global, asakiyuki:capslock"
|
"ALT, SPACE, global, asakiyuki:launcher"
|
||||||
|
|
||||||
",XF86MonBrightnessDown, exec, brightnessctl s 5%-"
|
",XF86MonBrightnessDown, exec, brightnessctl s 5%-"
|
||||||
",XF86MonBrightnessUp, exec, brightnessctl s +5%"
|
",XF86MonBrightnessUp, exec, brightnessctl s +5%"
|
||||||
|
|
@ -64,8 +64,13 @@
|
||||||
"SUPER SHIFT, 0, movetoworkspace, 10"
|
"SUPER SHIFT, 0, movetoworkspace, 10"
|
||||||
];
|
];
|
||||||
|
|
||||||
wayland.windowManager.hyprland.settings.bindm = [
|
bindi = [
|
||||||
|
", Caps_Lock, global, asakiyuki:capslock"
|
||||||
|
];
|
||||||
|
|
||||||
|
bindm = [
|
||||||
"SUPER, mouse:272, movewindow"
|
"SUPER, mouse:272, movewindow"
|
||||||
"SUPER, mouse:273, resizewindow"
|
"SUPER, mouse:273, resizewindow"
|
||||||
];
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue