blob: 6dfafc286f7a54a0419b9eb5a97a70cabdb94a8a (
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
|
{ pkgs, ... }:
let
wayland-scripts = pkgs.callPackage ../../wayland/pkgs/wayland-scripts { };
freezshot = "${wayland-scripts}/bin/freezshot";
scale = 1.6;
laptop_screen_y = 2560;
monitor_position_y = (1 / scale) * laptop_screen_y;
in
{
wayland.windowManager.sway.settings = {
# vendor hardcoded screenshot key
bindsym."mod4+shift+s" = "exec ${freezshot}";
output = {
"eDP-1" = {
inherit scale;
position = "0 0";
};
"HDMI-A-1" = {
inherit scale;
position = "${builtins.toString (builtins.ceil monitor_position_y)} 0";
};
};
};
programs.bemenu.settings.line-height = 25;
}
|