summaryrefslogtreecommitdiffstats
path: root/hyprland/hyprland.nix
blob: f44a62ad73eca9d6fad56def6054010be77800d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{ config, pkgs, ... }:

{
	
imports = [ 
	./binds.nix
];
  wayland.windowManager.hyprland = {
    enable = true;
    settings = {
      monitor = [
        "DP-3,2560x1440@180.00,0x0,1"
        "DP-2,1920x1080@165.00,2560x360,1"
      ];
      input = {
        kb_layout = "us";
        kb_options = "caps:escape,altwin:swap_lalt_lwin";

        numlock_by_default = true;

      };

      workspace = [
        "1, monitor:DP-3"
        "2, monitor:DP-3"
        "3, monitor:DP-3"
        "4, monitor:DP-3"
        "5, monitor:DP-3"
        "6, monitor:DP-2"
        "7, monitor:DP-2"
        "8, monitor:DP-2"
        "9, monitor:DP-2"
        "0, monitor:DP-2"
      ];
      exec-once = [
        "xrandr --output DP-3 --primary"
        "[workspace 1 silent] ghostty"
        "[workspace 2 silent] ghostty -e rmpc"
        "[workspace 3 silent] obsidian"
        "[workspace 6 silent] brave"
        "[workspace 7 silent] discord"
        "[workspace 8 silent] steam"
      ];
      windowrule = [
        "workspace 7 silent, class:(discord)"
        "workspace 8 silent, class:(steam)"
      ];
    };
  };

}