From 52a5d876271b4c0b35a5c35baac62cb4d26723e0 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sat, 29 Apr 2023 22:53:33 +0200 Subject: Use NVIDIA driver display names --- tw/home/files/i3.conf | 32 ++++++++++++++++---------------- tw/home/lap.scm | 8 ++++---- 2 files changed, 20 insertions(+), 20 deletions(-) (limited to 'tw') 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. -- cgit v1.2.3