Skip to content

Commit 4f4f20d

Browse files
committed
configured second monitor
1 parent cbca935 commit 4f4f20d

File tree

4 files changed

+40
-7
lines changed

4 files changed

+40
-7
lines changed

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{ pkgs-edge, pkgs, ... }:
2+
3+
{
4+
home.packages = [
5+
# Settings: Ctrl + Shift + X
6+
# Run as root 'sudo rpi-imager'
7+
pkgs-edge.rpi-imager
8+
9+
# Another - more generic - imager
10+
# Run as root 'sudo caligula burn <PATH>'
11+
pkgs.caligula
12+
];
13+
}

home-manager/desktop/hyprland.nix

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ in
3737

3838
monitor = [
3939
"HDMI-A-1, [email protected], 0x0, 1"
40-
"DP-2, [email protected], 3440x0, 1, transform, 1"
40+
"DP-1, [email protected], 3440x0, 1, transform, 3"
4141

4242
"Unknown-1, disable"
4343
];
@@ -118,13 +118,15 @@ in
118118
"${ctrlMod}, 4, workspace, 4"
119119
"${ctrlMod}, 5, workspace, 5"
120120
"${ctrlMod}, 6, workspace, 6"
121+
"${ctrlMod}, 7, workspace, 7"
121122

122123
"${ctrlMod} SHIFT, 1, movetoworkspace, 1"
123124
"${ctrlMod} SHIFT, 2, movetoworkspace, 2"
124125
"${ctrlMod} SHIFT, 3, movetoworkspace, 3"
125126
"${ctrlMod} SHIFT, 4, movetoworkspace, 4"
126127
"${ctrlMod} SHIFT, 5, movetoworkspace, 5"
127128
"${ctrlMod} SHIFT, 6, movetoworkspace, 6"
129+
"${ctrlMod} SHIFT, 8, movetoworkspace, 8"
128130

129131
# Window dragging
130132
"${mainMod}, mouse_down, workspace, e+1"
@@ -171,9 +173,21 @@ in
171173
"center,title:(Welcome to IntelliJ IDEA)"
172174

173175
# Folders
174-
"float,class:(org.gnome.Nautilus)"
175-
"size 1531 886,class:(org.gnome.Nautilus)"
176-
"center,class:(org.gnome.Nautilus)"
176+
# "float,class:(org.gnome.Nautilus)"
177+
# "size 1531 886,class:(org.gnome.Nautilus)"
178+
# "center,class:(org.gnome.Nautilus)"
179+
];
180+
181+
# Pin workspaces to display output
182+
workspace = [
183+
"1, monitor:HDMI-A-1"
184+
"2, monitor:HDMI-A-1"
185+
"3, monitor:HDMI-A-1"
186+
"4, monitor:HDMI-A-1"
187+
"5, monitor:HDMI-A-1"
188+
"6, monitor:HDMI-A-1"
189+
190+
"8, monitor:DP-1"
177191
];
178192

179193
layerrule = [
@@ -287,6 +301,9 @@ in
287301
layer = "top";
288302
position = "top";
289303

304+
# Display waybar only on HDMI (big screen)
305+
output = [ "HDMI-A-1" ];
306+
290307
modules-left = [
291308
"temperature"
292309
"memory"

justfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ flake-update:
2929

3030
flake-update-unstable:
3131
nix flake update nixpkgs-unstable
32+
33+
flake-update-edge:
34+
nix flake update nixpkgs-edge

0 commit comments

Comments
 (0)