added xwayland-satellite to niri
This commit is contained in:
parent
6e7c7f9827
commit
0d6234f458
1 changed files with 40 additions and 23 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
SCRIPTS = "$XDG_CONFIG_HOME/desktop-utils/scripts";
|
SCRIPTS = "$XDG_CONFIG_HOME/desktop-utils/scripts";
|
||||||
in
|
in
|
||||||
|
@ -7,9 +7,48 @@ in
|
||||||
programs.niri.enable = true;
|
programs.niri.enable = true;
|
||||||
|
|
||||||
home-manager.users.willifan = {
|
home-manager.users.willifan = {
|
||||||
|
|
||||||
|
home.packages = [
|
||||||
|
pkgs.xwayland-satellite
|
||||||
|
];
|
||||||
|
|
||||||
programs.niri.settings = {
|
programs.niri.settings = {
|
||||||
outputs."eDP-1".scale = 1.6;
|
outputs."eDP-1".scale = 1.6;
|
||||||
|
|
||||||
|
spawn-at-startup = [
|
||||||
|
{
|
||||||
|
command = [ "xwayland-satellite" ":0" ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
hotkey-overlay.skip-at-startup = true;
|
||||||
|
prefer-no-csd = true;
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
DISPLAY = ":0";
|
||||||
|
};
|
||||||
|
|
||||||
|
input = {
|
||||||
|
keyboard.xkb = {
|
||||||
|
layout = "us(euro)";
|
||||||
|
options = "compose:menu";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
window-rules = [
|
||||||
|
{
|
||||||
|
geometry-corner-radius = {
|
||||||
|
top-right = 12.0;
|
||||||
|
top-left = 12.0;
|
||||||
|
bottom-right = 12.0;
|
||||||
|
bottom-left = 12.0;
|
||||||
|
};
|
||||||
|
clip-to-geometry = true;
|
||||||
|
|
||||||
|
open-maximized = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
binds = {
|
binds = {
|
||||||
|
|
||||||
"Mod+H".action.focus-column-or-monitor-left = { };
|
"Mod+H".action.focus-column-or-monitor-left = { };
|
||||||
|
@ -36,28 +75,6 @@ in
|
||||||
"Print".action.screenshot = { };
|
"Print".action.screenshot = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
hotkey-overlay.skip-at-startup = true;
|
|
||||||
prefer-no-csd = true;
|
|
||||||
|
|
||||||
input = {
|
|
||||||
keyboard.xkb = {
|
|
||||||
layout = "us(euro)";
|
|
||||||
options = "compose:menu";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
window-rules = [
|
|
||||||
{
|
|
||||||
geometry-corner-radius = {
|
|
||||||
top-right = 12.0;
|
|
||||||
top-left = 12.0;
|
|
||||||
bottom-right = 12.0;
|
|
||||||
bottom-left = 12.0;
|
|
||||||
};
|
|
||||||
clip-to-geometry = true;
|
|
||||||
|
|
||||||
open-maximized = true;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue