home · contact · privacy
Set up w530 multi-monitor configuration.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 2 Aug 2023 21:23:13 +0000 (23:23 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 2 Aug 2023 21:23:13 +0000 (23:23 +0200)
bookworm/home_files/user/.config/i3/config
bookworm/home_files/user/.xinitrc
bookworm/home_files/w530/.config/i3/config_bonus [new file with mode: 0644]
bookworm/home_files/w530/.xinitrc [new file with mode: 0644]
bookworm/home_files/w530/.xinitrc_bonus [new file with mode: 0644]

index 07332f3e0ff59552da93517b27179a4d320377e0..7e4af3478659090bc9afef99a820e1759ec584bd 100644 (file)
@@ -82,3 +82,5 @@ bar {
   tray_output none
   status_command i3status
 }
+
+include ~/.config/i3/config_bonus
index c7a0a6641108e1690f153979655e23f3a283c101..e1cbd6ab139a3023d0997840c4a7ade2189ee1d4 100644 (file)
@@ -13,5 +13,7 @@ xrdb -merge ~/.Xresources
 # Redshift to Berlin, Germany.
 redshift -rl 53:13 &
 
+sh .xinitrc_bonus
+
 # Launch window manager.
 i3
diff --git a/bookworm/home_files/w530/.config/i3/config_bonus b/bookworm/home_files/w530/.config/i3/config_bonus
new file mode 100644 (file)
index 0000000..a2a4b3b
--- /dev/null
@@ -0,0 +1,12 @@
+workspace 1 output LVDS-1
+workspace 2 output LVDS-1
+workspace 3 output LVDS-1
+workspace 4 output LVDS-1
+workspace 5 output LVDS-1
+workspace 6 output LVDS-1 
+workspace 7 output HDMI-1-0 
+workspace 8 output HDMI-1-0 
+workspace 9 output HDMI-1-0 
+workspace 10 output HDMI-1-0 
+
+exec "i3-msg 'workspace 7'"
diff --git a/bookworm/home_files/w530/.xinitrc b/bookworm/home_files/w530/.xinitrc
new file mode 100644 (file)
index 0000000..b61d612
--- /dev/null
@@ -0,0 +1,19 @@
+# X init configuration
+
+# Set keymap.
+setxkbmap de
+
+# Map CapsLock to Compose key.
+xmodmap -e "clear Lock"
+xmodmap -e "keycode 66 = Multi_key"
+
+# Load xterm settings
+xrdb -merge ~/.Xresources
+
+# Redshift to Berlin, Germany.
+redshift -rl 53:13 &
+
+xrandr --output LVDS-1 --mode 1280x720 --output HDMI-1-0 --auto --right-of LVDS-1
+
+# Launch window manager.
+i3
diff --git a/bookworm/home_files/w530/.xinitrc_bonus b/bookworm/home_files/w530/.xinitrc_bonus
new file mode 100644 (file)
index 0000000..aa6e5f3
--- /dev/null
@@ -0,0 +1 @@
+xrandr --output LVDS-1 --mode 1280x720 --output HDMI-1-0 --auto --right-of LVDS-1