mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
new monitor arrived
This commit is contained in:
parent
a1dc57a8de
commit
505d713001
5 changed files with 111 additions and 24 deletions
|
@ -50,6 +50,7 @@
|
|||
croc # send files anywhere
|
||||
bacula
|
||||
hcloud
|
||||
jq
|
||||
|
||||
# programming languages
|
||||
cargo
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
riverctl input pointer-2-7-SynPS/2_Synaptics_TouchPad middle-emulation enabled
|
||||
riverctl input pointer-2-7-SynPS/2_Synaptics_TouchPad accel-profile adaptive
|
||||
|
||||
riverctl spawn "${pkgs.swaybg}/bin/swaybg -i ${../../../../images/wallpaper.png}"
|
||||
riverctl spawn "${pkgs.swaybg}/bin/swaybg -i ${../../../../images/wallpaper.png} -m fill"
|
||||
|
||||
riverctl map normal Super Return spawn footclient
|
||||
riverctl map normal Super+Shift Return zoom
|
||||
|
@ -50,7 +50,7 @@
|
|||
|
||||
riverctl map-pointer normal Super BTN_RIGHT resize-view
|
||||
|
||||
riverctl map normal Alt Space spawn ${pkgs.fuzzel}/bin/fuzzel
|
||||
riverctl map normal Alt Space spawn "${pkgs.fuzzel}/bin/fuzzel -w 50"
|
||||
riverctl map normal Super Space toggle-float
|
||||
|
||||
for i in $(seq 1 9)
|
||||
|
|
|
@ -3,12 +3,46 @@
|
|||
enable = true;
|
||||
settings = {
|
||||
profile = [
|
||||
{
|
||||
# TODO home vertical
|
||||
name = "home";
|
||||
output = [
|
||||
{
|
||||
match = "eDP-1";
|
||||
enable = true;
|
||||
position = {
|
||||
x = 1920;
|
||||
y = 0;
|
||||
};
|
||||
}
|
||||
{
|
||||
match = "DP-2";
|
||||
enable = true;
|
||||
position = {
|
||||
x = 0;
|
||||
y = 0;
|
||||
};
|
||||
}
|
||||
{
|
||||
match = "HDMI-A-1";
|
||||
enable = true;
|
||||
position = {
|
||||
x = 3840;
|
||||
y = 0;
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "external-monitor-default";
|
||||
output = [
|
||||
{
|
||||
match = "eDP-1";
|
||||
enable = true;
|
||||
position = {
|
||||
x = 0;
|
||||
y = 0;
|
||||
};
|
||||
}
|
||||
{
|
||||
match = "HDMI-A-1";
|
||||
|
@ -20,12 +54,60 @@
|
|||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "external-monitor-usb-c";
|
||||
output = [
|
||||
{
|
||||
match = "eDP-1";
|
||||
enable = true;
|
||||
position = {
|
||||
x = 1920;
|
||||
y = 0;
|
||||
};
|
||||
}
|
||||
{
|
||||
match = "DP-2";
|
||||
enable = true;
|
||||
position = {
|
||||
x = 0;
|
||||
y = 0;
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
# vertical mode if on dp-3
|
||||
{
|
||||
name = "external-monitor-usb-c-vertical";
|
||||
output = [
|
||||
{
|
||||
match = "eDP-1";
|
||||
enable = true;
|
||||
position = {
|
||||
x = 1080;
|
||||
y = 840;
|
||||
};
|
||||
}
|
||||
{
|
||||
match = "DP-3";
|
||||
enable = true;
|
||||
position = {
|
||||
x = 0;
|
||||
y = 0;
|
||||
};
|
||||
transform = "270";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "builtin";
|
||||
output = [
|
||||
{
|
||||
match = "eDP-1";
|
||||
enable = true;
|
||||
position = {
|
||||
x = 0;
|
||||
y = 0;
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue