Compare commits
2 Commits
5d677c1a2e
...
e161cc2c93
Author | SHA1 | Date | |
---|---|---|---|
e161cc2c93 | |||
590baa9850 |
@ -58,8 +58,10 @@
|
|||||||
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
console = {
|
console = {
|
||||||
font = "Lat2-Terminus16";
|
font = "ter-u24n";
|
||||||
keyMap = "de-latin1-nodeadkeys";
|
keyMap = "de-latin1-nodeadkeys";
|
||||||
|
packages = with pkgs; [ terminus_font ];
|
||||||
|
earlySetup = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
|
@ -126,13 +126,9 @@ in
|
|||||||
|
|
||||||
startup = [
|
startup = [
|
||||||
{ command = "keepassxc"; }
|
{ command = "keepassxc"; }
|
||||||
{ command = "swaymsg 'workspace 1"; }
|
|
||||||
{ command = "kitty"; }
|
{ command = "kitty"; }
|
||||||
{ command = "swaymsg 'workspace 2"; }
|
|
||||||
{ command = "element-desktop"; }
|
{ command = "element-desktop"; }
|
||||||
{ command = "swaymsg 'workspace 4"; }
|
|
||||||
{ command = "thunderbird"; }
|
{ command = "thunderbird"; }
|
||||||
{ command = "swaymsg 'workspace 5"; }
|
|
||||||
{ command = "firefox"; }
|
{ command = "firefox"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -1,19 +1,69 @@
|
|||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
wayland.windowManager.sway.config = {
|
services.kanshi = {
|
||||||
output = {
|
enable = true;
|
||||||
DP-2 = {
|
|
||||||
scale = "1.5";
|
profiles = {
|
||||||
position = "0 526";
|
home_office_left = {
|
||||||
|
outputs = [
|
||||||
|
{
|
||||||
|
criteria = "Samsung Electric Company U28E590 HTPJ404252";
|
||||||
|
scale = 1.5;
|
||||||
|
status = "enable";
|
||||||
|
position = "0,526";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "Samsung Electric Company U28E590 HTPJ300612";
|
||||||
|
scale = 1.5;
|
||||||
|
status = "enable";
|
||||||
|
position = "2560,0";
|
||||||
|
transform = "270";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "eDP-1";
|
||||||
|
status = "disable";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
exec = ''
|
||||||
|
exec swaymsg workspace 0, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
||||||
|
exec swaymsg workspace 8, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
||||||
|
exec swaymsg workspace 6, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
||||||
|
exec swaymsg workspace 4, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
||||||
|
exec swaymsg workspace 2, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
||||||
|
|
||||||
|
exec swaymsg workspace 9, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
||||||
|
exec swaymsg workspace 7, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
||||||
|
exec swaymsg workspace 5, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
||||||
|
exec swaymsg workspace 3, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
||||||
|
exec swaymsg workspace 1, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
home_office_right = {
|
||||||
|
outputs = [
|
||||||
|
{
|
||||||
|
criteria = "Samsung Electric Company SMS24A450 H4MCA12730";
|
||||||
|
scale = 1.0;
|
||||||
|
status = "enable";
|
||||||
|
position = "0,0";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "Samsung Electric Company SMS24A450 H4MCA12738";
|
||||||
|
scale = 1.0;
|
||||||
|
status = "enable";
|
||||||
|
position = "1920,0";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "eDP-1";
|
||||||
|
status = "disable";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
DP-3 = {
|
|
||||||
scale = "1.5";
|
|
||||||
position = "2560 0";
|
|
||||||
transform = "90";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wayland.windowManager.sway.config = {
|
||||||
workspaceOutputAssign = [
|
workspaceOutputAssign = [
|
||||||
{ workspace = "0"; output = "DP-2"; }
|
{ workspace = "0"; output = "DP-2"; }
|
||||||
{ workspace = "1"; output = "DP-3"; }
|
{ workspace = "1"; output = "DP-3"; }
|
||||||
|
@ -15,6 +15,41 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home_office_left = {
|
||||||
|
outputs = [
|
||||||
|
{
|
||||||
|
criteria = "Samsung Electric Company U28E590 HTPJ404252";
|
||||||
|
scale = 1.5;
|
||||||
|
status = "enable";
|
||||||
|
position = "0,526";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "Samsung Electric Company U28E590 HTPJ300612";
|
||||||
|
scale = 1.5;
|
||||||
|
status = "enable";
|
||||||
|
position = "2560,0";
|
||||||
|
transform = "270";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "eDP-1";
|
||||||
|
status = "disable";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
exec = ''
|
||||||
|
exec swaymsg workspace 0, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
||||||
|
exec swaymsg workspace 8, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
||||||
|
exec swaymsg workspace 6, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
||||||
|
exec swaymsg workspace 4, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
||||||
|
exec swaymsg workspace 2, move workspace to output "Samsung Electric Company U28E590 HTPJ300612"
|
||||||
|
|
||||||
|
exec swaymsg workspace 9, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
||||||
|
exec swaymsg workspace 7, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
||||||
|
exec swaymsg workspace 5, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
||||||
|
exec swaymsg workspace 3, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
||||||
|
exec swaymsg workspace 1, move workspace to output "Samsung Electric Company U28E590 HTPJ404252"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
home_office_right = {
|
home_office_right = {
|
||||||
outputs = [
|
outputs = [
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user