some hyprland changes and nvidia drivers

This commit is contained in:
doloro
2025-09-22 22:09:28 +00:00
parent 2e94f6dac3
commit 7dde8c496d
3 changed files with 57 additions and 12 deletions

View File

@@ -1,10 +1,13 @@
{ inputs, ... }:
{ inputs, pkgs, ... }:
{
wayland.windowManager.hyprland.settings = {
monitor = [
"HDMI-A-1, 1920x1080@60, 0x0, 1"
"DP-3, 1920x1080@144, 1920x0, 1"
];
exec-once = [
"hyprctl dispatch workspace 2" # shit solution to get quickshell on the right monitor
];
env = [
"XCURSOR_SIZE,24"
"HYPRCURSOR_SIZE,24"
@@ -29,11 +32,11 @@
inactive_opacity = 1.0;
shadow = {
enable = false;
enabled = false;
};
blur = {
enable = false;
enabled = false;
};
};
animations = {
@@ -83,10 +86,10 @@
sensitivity = -0.5;
};
"$mainMod" = "SUPER";
binds = [
bind = [
"$mainMod, Q, exec, foot"
"$mainMod, C, killactive,"
"$mainMod, M, exit,"
"$mainMod, C, killactive"
"$mainMod, M, exit"
"$mainMod, E, exec, $fileManager"
"$mainMod, V, togglefloating,"
"$mainMod, R, exec, $menu"
@@ -98,15 +101,13 @@
"$mainMod, down, movefocus, d"
"$mainMod, S, exec, $screenShot"
"$mainMod, F, fullscreen"
", home, exec, $toggleSpeaker"
", end, exec, $toggleMic"
"$mainMod, mouse_down, workspace, e+1"
"$mainMod, mouse_up, workspace, e-1"
"$mainMod, mouse:272, movewindow"
"$mainMod, mouse:273, resizewindow"
", home, exec, $toggleSpeaker"
", end, exec, $toggleMic"
", F8, sendshortcut, , F8, class:^(com\.obsproject\.Studio)$"
"$mainMod, 0, workspace, 10"
"$mainMod, SHIFT, 0, movetoworkspace, 10"
"$mainMod SHIFT, 0, movetoworkspace, 10"
] ++ (
builtins.concatLists (
builtins.genList(i: let ws = i + 1; in [
@@ -116,6 +117,10 @@
) 9
)
);
bindm = [
"$mainMod, mouse:272, movewindow"
"$mainMod, mouse:273, resizewindow"
];
workspace = [
"name:2, monitor:DP-3"
];