feat: improve monitor support

This commit is contained in:
2024-04-30 10:18:08 +02:00
parent f8cf5b8ec8
commit 9f4d27711d
2 changed files with 5 additions and 5 deletions

View File

@@ -41,10 +41,6 @@
bind = import ./keybinds.nix;
bindm = import ./mousebinds.nix;
bindr = [ "SUPER,SUPER_L,exec,pkill anyrun || anyrun" ];
monitor = [
"DP-1,highrr,0x0,1"
"DP-1,addreserved,250,0,0,0"
];
workspace = [
"special:calc,border:false,gapsout:200,on-created-empty:[noanim;silent] kitty -e qalc"
];

View File

@@ -1,5 +1,4 @@
{
pkgs,
lib,
config,
username,
@@ -20,6 +19,11 @@ in
hardware.gbmonctl.enable = true;
boot.kernelParams = [ "video=3840x2160@144" ];
home-manager.users.${username}.wayland.windowManager.hyprland.settings.monitor = [
"DP-1,highrr,0x0,1"
"DP-1,addreserved,300,0,0,0"
];
programs.steam.gamescopeSession = {
env = {
SCREEN_WIDTH = "3840";