mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Add second monitor
This commit is contained in:
parent
dfed3e9f53
commit
eb7250ae0a
3 changed files with 8 additions and 10 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"output": ["DP-1", "eDP-1"],
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"spacing": 10,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue