fixing monitors on desktop

This commit is contained in:
Miguel Palhas
2025-09-25 09:26:16 +01:00
parent d140e4fe20
commit a0052892c8
8 changed files with 9 additions and 78 deletions
-1
View File
@@ -15,7 +15,6 @@
../common/programs/zen-browser.nix
../common/programs/hyprland
../common/programs/i3.nix
../common/programs/ghostty.nix
../common/programs/kitty.nix
../common/programs/syncthing.nix
../common/programs/unity.nix
-1
View File
@@ -1,7 +1,6 @@
{ pkgs, ... }:
{
imports = [
./firefox.nix
./darkman.nix
];
-56
View File
@@ -1,56 +0,0 @@
{ pkgs, ... }:
{
home.sessionVariables = {
BROWSER = "zen-twilight";
};
programs.firefox = {
enable = true;
package = pkgs.firefox-devedition;
policies = {
DefaultDownloadDirectory = "$HOME/downloads";
DontCheckDefaultBrowser = true;
DisableTelemetry = true;
DisablePocket = true;
DisableFirefoxStudies = true;
DisplayBookmarksToolbar = "never";
DisplayMenuBar = "never";
OverrideFirstRunPage = "";
PromptForDownloadLocation = false;
HardwareAcceleration = true;
TranslateEnabled = true;
Homepage.StartPage = "previous-session";
UserMessaging = {
SkipOnboarding = true;
};
FirefoxSuggest = {
WebSuggestions = false;
SponsoredSuggestions = false;
ImproveSuggest = false;
};
EnableTrackingProtection = {
Value = true;
Cryptomining = true;
Fingerprinting = true;
};
FirefoxHome = {
Search = true;
TopSites = true;
SponsoredTopSites = true;
Highlights = true;
Pocket = false;
SponsoredPocket = false;
Snippets = false;
};
};
};
}
-8
View File
@@ -1,8 +0,0 @@
{ config, pkgs, ... }:
{
programs.ghostty = {
enable = true;
};
xdg.configFile."ghostty/config".source = ./ghostty/config;
}
-2
View File
@@ -54,8 +54,6 @@
};
extraConfig = ''
font_size 12.0
background #1c1c1c
foreground #ddeedd
cursor #e2bbef
-1
View File
@@ -15,7 +15,6 @@
../common/programs/zen-browser.nix
../common/programs/hyprland
../common/programs/i3.nix
../common/programs/ghostty.nix
../common/programs/kitty.nix
../common/programs/syncthing.nix
../common/programs/unity.nix
+3 -3
View File
@@ -23,11 +23,11 @@ in
wayland.windowManager.hyprland.settings = {
monitor = [
# monitor, res, position, scale, transform, rotation
"HDMI-A-1, 3840x2160, 0x1620, 1.333333"
"DP-1, 3840x2160, 0x0, 1.333333"
"HDMI-A-1, 3840x2160, 0x2160, 1"
"DP-1, 3840x2160, 0x0, 1"
# 300 instead of 0 is so that 'move left' actually focuses the bottom one instead of the top one
# for some reason, that's the minimum value for which this works
"DP-2, 3840x2160, 2880x180, 1.333333, transform, 1"
"DP-2, 3840x2160, 3840x180, 1, transform, 1"
];
workspace = [
"1, monitor=DP-2"