Files
nixos/home/lukas/hyprland.nix

82 lines
1.4 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
wayland.windowManager.hyprland = {
enable = true;
settings = {
"$mod" = "ALT";
exec-once = [
"waybar"
"dunst"
"nm-applet"
"blueman-applet"
"swww-daemon"
];
binds = {
allow_workspace_cycles = true;
};
xwayland = {
force_zero_scaling = true;
};
bind = [
# terminal
"$mod, Return, exec, alacritty"
# kill current window
"$mod, Q, killactive,"
# lock screen
"$mod, L, exec, hyprlock"
# emacs
"$mod, e, exec, emacs"
# Rofi launcher
"$mod, SPACE, exec, rofi -show drun -theme ~/.config/rofi/theme.rasi"
# Toggle fullscreen
"$mod, M, fullscreen, 2"
# cycle windows
"$mod, N, cyclenext"
# cycle workspaces
"$mod, TAB, workspace, r+1"
# Switch to workspace 13
"$mod, 1, workspace, 1"
"$mod, 2, workspace, 2"
"$mod, 3, workspace, 3"
];
general = {
gaps_in = 4;
gaps_out = 8;
border_size = 0;
layout = "dwindle";
};
input = {
kb_layout = "de";
touchpad.disable_while_typing = true;
};
cursor = {
inactive_timeout = 5;
};
decoration = {
rounding = 6;
blur.enabled = false;
shadow.enabled = false;
};
};
};
}