From 0f963442aac5e50c06157c26d0998fc32fe27507 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Tue, 30 Oct 2018 14:59:09 +0100 Subject: [PATCH] updated i3 for 4k screen --- i3/.Xresources.desktop | 1 - i3/.config/i3/config.desktop | 14 ++++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/i3/.Xresources.desktop b/i3/.Xresources.desktop index 9972b8f..8afabd0 100644 --- a/i3/.Xresources.desktop +++ b/i3/.Xresources.desktop @@ -2,7 +2,6 @@ ! Xft settings !------------------------------------------------------------------------------- -Xft.dpi: 96 Xft.antialias: false Xft.rgba: rgb Xft.hinting: true diff --git a/i3/.config/i3/config.desktop b/i3/.config/i3/config.desktop index 4bd9a7a..e9b5728 100644 --- a/i3/.config/i3/config.desktop +++ b/i3/.config/i3/config.desktop @@ -11,7 +11,8 @@ set $mod Mod4 # #---Start External Scripts---# # # Align monitors -exec_always --no-startup-id xrandr --output DP-1 --mode 2560x1440 --dpi 96 --primary --output HDMI-1 --mode 1920x1200 --right-of DP-1 --rotate left +exec_always --no-startup-id xrandr --newmode "2560x1440_40" 201.00 2560 2720 2984 3408 1440 1443 1448 1476 -hsync +vsync && xrandr --addmode HDMI-2 2560x1440_40 && xrandr --output DP-1 --mode 3840x2160 --primary --output HDMI-2 --mode 2560x1440_40 --left-of DP-1 --rotate left + # Polybar exec_always --no-startup-id $HOME/.config/polybar/launch-desktop.sh # Composite manager @@ -146,7 +147,16 @@ bindsym $mod+Shift+8 move container to workspace $workspace8 bindsym $mod+Shift+9 move container to workspace $workspace9 bindsym $mod+Shift+0 move container to workspace $workspace10 -workspace $workspace7 output HDMI-1 +workspace $workspace1 output DP-1 +workspace $workspace2 output DP-1 +workspace $workspace3 output DP-1 +workspace $workspace4 output DP-1 +workspace $workspace5 output DP-1 +workspace $workspace6 output DP-1 +workspace $workspace7 output HDMI-2 +workspace $workspace8 output DP-1 +workspace $workspace9 output DP-1 +workspace $workspace0 output DP-1 # enable floating for apps for_window [title="Screen Layout Editor"] floating enable