snowflake/home/wayland/hyprland/config/general.nix

100 lines
2.7 KiB
Nix
Raw Normal View History

{pkgs, ...}: {
wayland.windowManager.hyprland = {
settings = {
monitor = [
"HDMI-A-1,1920x1080@60, 3640x560, auto, transform, 3" #right
2024-05-02 01:07:49 -04:00
"DP-3,1920x1080@60, 0x560, auto, transform, 1" #left
"DP-2,1920x1080@144, 1400x0, auto" #top
"DP-1,2560x1440@144, 1080x1080, auto" #middle
];
exec-once = [
2024-04-26 17:23:04 -04:00
"eww open bar"
2024-04-17 15:13:58 -04:00
"hyprpaper"
2024-04-17 19:32:06 -04:00
"chatterino"
2024-05-13 12:04:55 -04:00
"vesktop"
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
];
input = {
kb_layout = "us";
follow_mouse = 1;
sensitivity = "-0.5";
force_no_accel = true;
};
general = {
gaps_in = 10;
gaps_out = 20;
2024-05-27 12:07:07 -04:00
border_size = 0;
2024-04-26 17:23:04 -04:00
"col.active_border" = "rgb(7dcfff) rgb(c0caf5)";
2024-04-17 23:53:39 -04:00
"col.inactive_border" = "rgb(24283b)";
layout = "dwindle";
};
decoration = {
2024-05-27 12:07:07 -04:00
rounding = 10;
blur = {
enabled = true;
size = 6;
passes = 3;
new_optimizations = true;
};
2024-11-30 11:58:58 -05:00
shadow = {
enabled = true;
range = 60;
offset = "0 5";
render_power = 4;
color = "rgba(00000099)";
};
inactive_opacity = 1.0;
active_opacity = 1.0;
fullscreen_opacity = 1.0;
};
animations = {
enabled = true;
bezier = [
"fastBezier, 0.05, 1.1, 0.2, 1.0"
"linear, 0.0, 0.0, 1.0, 1.0"
"liner, 1, 1, 1, 1"
];
animation = [
"windows, 1, 7, fastBezier, slide"
"windowsOut, 1, 7, fastBezier, slide"
"border, 1, 10, fastBezier"
"fade, 1, 7, fastBezier"
"workspaces, 1, 6, fastBezier"
"border, 1, 1, liner"
"borderangle, 1, 40, liner, loop"
"borderangle, 1, 100, linear, loop"
];
};
dwindle = {
pseudotile = true;
preserve_split = true;
};
master = {
2024-06-22 03:22:06 -04:00
new_status = "master";
};
gestures = {
workspace_swipe = false;
};
2024-02-19 13:34:30 -05:00
device = {
name = "glorious-model-o-wireless";
sensitivity = "-0.5";
};
2024-08-10 17:06:54 -04:00
render = {
explicit_sync = 1;
explicit_sync_kms = 1;
direct_scanout = false;
};
misc = {
disable_hyprland_logo = true;
2024-05-13 12:04:55 -04:00
mouse_move_enables_dpms = true;
key_press_enables_dpms = false;
};
};
extraConfig = ''
bind =, Print, exec, grim -g "$(slurp)" - | satty -f - --fullscreen --output-filename ~/Pictures/screenshots/$(date '+%Y%m%d-%H:%M:%S').png
'';
};
}