chore: update imputs

This commit is contained in:
Moritz Böhme 2024-07-01 07:06:23 +02:00
parent 17ab5faf24
commit 891283aa43
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
5 changed files with 189 additions and 207 deletions

View file

@ -20,10 +20,7 @@ in
config = lib.mkIf cfg.enable {
hardware = {
opengl = {
enable = true;
driSupport = true;
};
opengl.enable = true;
pulseaudio.enable = false;
};
services.xserver = {

View file

@ -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 {

View file

@ -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