formatted everything with nixfmt

This commit is contained in:
Gabriella Bere 2024-10-23 21:59:06 +01:00
parent 3675fbdcc1
commit b42a379322
20 changed files with 343 additions and 240 deletions

View file

@ -10,18 +10,17 @@
systemd.enable = true;
settings = {
# Monitor config for home desk layout
monitor =
[
"eDP-2, 2560x1600@165, 0x0, auto" # main laptop monitor
"DP-2, 1920x1080@119.98, -960x-1080, auto" # left external monitor
"DP-3, 1920x1080@119.98, 960x-1080, auto" # right external monitor
];
monitor = [
"eDP-2, 2560x1600@165, 0x0, auto" # main laptop monitor
"DP-2, 1920x1080@119.98, -960x-1080, auto" # left external monitor
"DP-3, 1920x1080@119.98, 960x-1080, auto" # right external monitor
];
# Define SUPER key as mod key
"$mod" = "SUPER";
# Set keyboard layout
input = {
input = {
kb_layout = "gb";
follow_mouse = 1;
mouse_refocus = false;
@ -39,24 +38,23 @@
];
# Declare all keybinds
bind =
[
# Keybinds for starting programs
"$mod, F, exec, firefox"
"$mod, 1, exec, alacritty"
"$mod, D, exec, vesktop"
"$mod, space, exec, wofi --show drun, run"
bind = [
# Keybinds for starting programs
"$mod, F, exec, firefox"
"$mod, 1, exec, alacritty"
"$mod, D, exec, vesktop"
"$mod, space, exec, wofi --show drun, run"
# Screenshot tool
", Print, exec, grimblast copy area"
# Screenshot tool
", Print, exec, grimblast copy area"
# Screen locking tool
"$mod, l, exec, hyprlock"
# Screen locking tool
"$mod, l, exec, hyprlock"
# Window management
"$mod, x, killactive"
"$mod, tab, togglefloating"
];
# Window management
"$mod, x, killactive"
"$mod, tab, togglefloating"
];
# Prevent xwayland apps from looking pixellated, cursor scaling to compensate for this is defined in home.nix
xwayland = {