aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Wilken2023-04-29 22:53:33 +0200
committerTimo Wilken2023-10-08 15:38:00 +0200
commit52a5d876271b4c0b35a5c35baac62cb4d26723e0 (patch)
tree4ba1f9f9dd47379fedd6a6f6d905b7dba3690489
parent8f82ac69d632203638608fef34dfa808ce4df016 (diff)
Use NVIDIA driver display names
-rw-r--r--tw/home/files/i3.conf32
-rw-r--r--tw/home/lap.scm8
2 files changed, 20 insertions, 20 deletions
diff --git a/tw/home/files/i3.conf b/tw/home/files/i3.conf
index 6c8d1f88..04768d5c 100644
--- a/tw/home/files/i3.conf
+++ b/tw/home/files/i3.conf
@@ -189,24 +189,24 @@ bindsym $mod+m workspace "$ws_messaging"
bindsym $mod+shift+m move container to workspace "$ws_messaging"
# set default screens for workspaces
-# laptop: eDP-1 is the laptop screen, HDMI-1-1 is the external screen.
+# laptop: eDP-1-1 is the laptop screen, HDMI-0 is the external screen.
# work desktop: DP-1-8 is on the left, DP-2 is the wide screen on the right.
# The first workspaces listed for each output will be active at startup.
-workspace 1 output HDMI-1-1 DP-1-8
-workspace "$ws_messaging" output eDP-1 DP-2
-workspace 2 output HDMI-1-1 DP-1-8
-workspace 3 output HDMI-1-1 DP-1-8
-workspace 4 output HDMI-1-1 DP-1-8
-workspace 5 output HDMI-1-1 DP-1-8
-workspace 6 output eDP-1 DP-2
-workspace 7 output eDP-1 DP-2
-workspace 8 output eDP-1 DP-2
-workspace 9 output eDP-1 DP-2
-workspace 10 output eDP-1 DP-2
-workspace "$ws_terminal" output eDP-1 DP-1-8
-workspace "$ws_coding" output HDMI-1-1 DP-2
-workspace "$ws_games" output HDMI-1-1 DP-1-8
-workspace "$ws_music" output eDP-1 DP-1-8
+workspace 1 output HDMI-0 DP-1-8
+workspace "$ws_messaging" output eDP-1-1 DP-2
+workspace 2 output HDMI-0 DP-1-8
+workspace 3 output HDMI-0 DP-1-8
+workspace 4 output HDMI-0 DP-1-8
+workspace 5 output HDMI-0 DP-1-8
+workspace 6 output eDP-1-1 DP-2
+workspace 7 output eDP-1-1 DP-2
+workspace 8 output eDP-1-1 DP-2
+workspace 9 output eDP-1-1 DP-2
+workspace 10 output eDP-1-1 DP-2
+workspace "$ws_terminal" output eDP-1-1 DP-1-8
+workspace "$ws_coding" output HDMI-0 DP-2
+workspace "$ws_games" output HDMI-0 DP-1-8
+workspace "$ws_music" output eDP-1-1 DP-1-8
assign [class="^Franz$"] "$ws_messaging"
assign [window_role="^weechat$"] "$ws_messaging"
diff --git a/tw/home/lap.scm b/tw/home/lap.scm
index 2b034e99..5b73baa1 100644
--- a/tw/home/lap.scm
+++ b/tw/home/lap.scm
@@ -187,14 +187,14 @@
(desktop-background "~/pictures/Backgrounds/greece/IMG_20181201_104748_DRO.jpg")
(monitors
(list (home-monitor-configuration
- (name "eDP-1")
+ (name "eDP-1-1")
(xrandr-options '("--auto")))
(home-monitor-configuration
- (name "HDMI-1-1")
+ (name "HDMI-0")
;; Don't use --auto for this monitor. That configures it at 60
;; Hz, which causes it to briefly turn off every few minutes.
- (xrandr-options '("--mode" "2560x1440" "--rate" "120.00"
- "--right-of" "eDP-1")))))))
+ (xrandr-options '("--mode" "2560x1440" "--rate" "144.01"
+ "--right-of" "eDP-1-1")))))))
;; On my private machine, I want to use my private PGP key normally, and
;; my work key only for work repositories.