Add second monitor

This commit is contained in:
SebastianStork 2024-06-09 13:26:59 +02:00
parent dfed3e9f53
commit eb7250ae0a
3 changed files with 8 additions and 10 deletions

View file

@ -41,12 +41,14 @@
"Unknown-1,disable"
# North
"DP-1,2560x1440@144,0x0,1"
",preferred,auto,1,mirror,DP-1"
"HDMI-A-1,2560x1440@60,-1440x-617,1,transform,1"
# Inspiron
"eDP-1,1920x1080@60,0x0,1"
",preferred,auto,1,mirror,eDP-1"
];
workspace = [ "m[HDMI-A-1],layoutopt:orientation:top" ];
input = {
kb_layout = "de";
kb_variant = "nodeadkeys";

View file

@ -49,15 +49,10 @@
bind = SUPER SHIFT, M, togglespecialworkspace, minimize
# Switch workspace
${lib.concatMapStringsSep "\n" (n: "bind = SUPER, ${toString n}, workspace, ${toString n}") (
lib.range 1 9
)}
${lib.concatMapStringsSep "\n" (
n: "bind = SUPER SHIFT, ${toString n}, movetoworkspacesilent, ${toString n}"
) (lib.range 1 9)}
${lib.concatMapStringsSep "\n" (
n: "bind = SUPER CONTROL, ${toString n}, movetoworkspace, ${toString n}"
) (lib.range 1 9)}
${lib.concatMapStringsSep "\n" (n: ''
bind = SUPER, ${toString n}, focusworkspaceoncurrentmonitor, ${toString n}
bind = SUPER SHIFT, ${toString n}, movetoworkspacesilent, ${toString n}
'') (lib.range 1 9)}
# Scroll through workspaces
bind = SUPER, mouse_down, workspace, e-1

View file

@ -1,4 +1,5 @@
{
"output": ["DP-1", "eDP-1"],
"layer": "top",
"position": "bottom",
"spacing": 10,