chore: update imputs
This commit is contained in:
parent
17ab5faf24
commit
891283aa43
5 changed files with 189 additions and 207 deletions
|
|
@ -20,10 +20,7 @@ in
|
|||
|
||||
config = lib.mkIf cfg.enable {
|
||||
hardware = {
|
||||
opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
};
|
||||
opengl.enable = true;
|
||||
pulseaudio.enable = false;
|
||||
};
|
||||
services.xserver = {
|
||||
|
|
|
|||
|
|
@ -24,10 +24,7 @@ in
|
|||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = ${concatStringsSep "," cfg.keyboardLayouts}
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options = grp:win_space_toggle,caps:escape
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
|
|
@ -50,9 +47,9 @@ in
|
|||
layout = dwindle
|
||||
}
|
||||
|
||||
# cursor {
|
||||
# inactive_timeout = 1
|
||||
# }
|
||||
cursor {
|
||||
inactive_timeout = 1
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
|
@ -104,7 +101,7 @@ in
|
|||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
no_gaps_when_only = true
|
||||
new_is_master = false
|
||||
new_on_top = false
|
||||
}
|
||||
|
||||
gestures {
|
||||
|
|
|
|||
|
|
@ -12,10 +12,8 @@ in
|
|||
options.my.programs.sway.enable = mkEnableOption "sway";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
};
|
||||
hardware.opengl.enable = true;
|
||||
|
||||
environment.loginShellInit = ''
|
||||
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||
exec sway
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue