summaryrefslogtreecommitdiff
path: root/home/cez/modules/wayland.nix
blob: 1d63f76fffb4fd2215e9e4a31798d32b6e463d12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs, ... }:
let
  wayland-scripts = pkgs.callPackage ../../wayland/pkgs/wayland-scripts { };
  freezshot = "${wayland-scripts}/bin/freezshot";
in
{
  wayland.windowManager.sway.settings = {
    # vendor hardcoded screenshot key
    bindsym."mod4+shift+s" = "exec ${freezshot}";

    output = {
      "eDP-1".scale = 1.6;
      "HDMI-A-1".scale = 1.6;
    };
  };

  programs.bemenu.settings.line-height = 25;
}