set monitors to max refresh rate, set custom xwayland scaling back to 1 as discord is too big now

This commit is contained in:
Gabriella Bere 2024-08-23 18:22:43 +01:00
parent e5dd402fdb
commit f474f59eba
2 changed files with 38 additions and 32 deletions

View file

@ -33,7 +33,7 @@
./modules/environment.nix ./modules/environment.nix
./modules/waydroid.nix ./modules/waydroid.nix
home-manager.nixosModules.default home-manager.nixosModules.default
inputs.anyrun.homeManagerModules.default # inputs.anyrun.homeManagerModules.default
]; ];
}; };
}; };

View file

@ -95,14 +95,20 @@
# Monitor settings # Monitor settings
monitor = eDP-2, 2560x1600@165, 0x0, auto # main laptop monitor monitor = eDP-2, 2560x1600@165, 0x0, auto # main laptop monitor
monitor = DP-3, 1920x1080@60, -1280x-1080, auto # left external monitor monitor = DP-3, 1920x1080@144, -1280x-1080, auto # left external monitor
monitor = DP-2, 1920x1080@60, 640x-1080, auto # right external monitor monitor = DP-2, 1920x1080@144, 640x-1080, auto # right external monitor
debug:disable_logs = false debug:disable_logs = false
# Move/resize windows with mainMod + LMB/RMB and dragging # Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mod, mouse:272, movewindow bindm = $mod, mouse:272, movewindow
bindm = $mod, mouse:273, resizewindow bindm = $mod, mouse:273, resizewindow
xwayland {
force_zero_scaling = true
}
env = GDK_SCALE,1
env = XCUERSOR_SIZE,32
''; '';
}; };
# Hyprland configuration # Hyprland configuration
@ -237,40 +243,40 @@
}; };
}; };
programs.anyrun = { # programs.anyrun = {
enable = true; # enable = true;
config = { # config = {
plugins = [ # plugins = [
# An array of all the plugins you want, which either can be paths to the .so files, or their packages # An array of all the plugins you want, which either can be paths to the .so files, or their packages
# inputs.anyrun.packages.${pkgs.system}.applications # inputs.anyrun.packages.${pkgs.system}.applications
# ./some_plugin.so # ./some_plugin.so
# "${inputs.anyrun.packages.${pkgs.system}.anyrun-with-all-plugins}/lib/kidex" # "${inputs.anyrun.packages.${pkgs.system}.anyrun-with-all-plugins}/lib/kidex"
]; # ];
x = { fraction = 0.5; }; # x = { fraction = 0.5; };
y = { fraction = 0.3; }; # y = { fraction = 0.3; };
width = { fraction = 0.3; }; # width = { fraction = 0.3; };
hideIcons = false; # hideIcons = false;
ignoreExclusiveZones = false; # ignoreExclusiveZones = false;
layer = "overlay"; # layer = "overlay";
hidePluginInfo = false; # hidePluginInfo = false;
closeOnClick = false; # closeOnClick = false;
showResultsImmediately = false; # showResultsImmediately = false;
maxEntries = null; # maxEntries = null;
}; # };
extraCss = '' # extraCss = ''
.some_class { # .some_class {
background: red; # background: red;
} # }
''; # '';
extraConfigFiles."some-plugin.ron".text = '' # extraConfigFiles."some-plugin.ron".text = ''
Config( # Config(
// for any other plugin # // for any other plugin
// this file will be put in ~/.config/anyrun/some-plugin.ron # // this file will be put in ~/.config/anyrun/some-plugin.ron
// refer to docs of xdg.configFile for available options # // refer to docs of xdg.configFile for available options
) # )
''; # '';
}; # };
services.blueman-applet.enable = true; services.blueman-applet.enable = true;
} }