diff --git a/.config/doom-emacs b/.config/doom-emacs index c2f8476..94a4a7a 160000 --- a/.config/doom-emacs +++ b/.config/doom-emacs @@ -1 +1 @@ -Subproject commit c2f8476c8641fcc9a1371d873ed3b5924952a059 +Subproject commit 94a4a7a58be28df3a9e5e04a897679fd548e1b0b diff --git a/.config/dwm-flexipatch b/.config/dwm-flexipatch index 9b997a8..782b565 160000 --- a/.config/dwm-flexipatch +++ b/.config/dwm-flexipatch @@ -1 +1 @@ -Subproject commit 9b997a8dc3e8f6081e1eea37e064dbec3e0a3b99 +Subproject commit 782b5650b2f4f1c6739f7a041660f323d006195f diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 7358a30..df7c4c7 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -292,7 +292,7 @@ backend = "glx"; # Enable/disable VSync. # vsync = false -vsync = true +vsync = false # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # dbus = false @@ -323,7 +323,7 @@ detect-client-opacity = true; # try detecting this with X RandR extension. # # refresh-rate = 60 -refresh-rate = 144 +refresh-rate = 0 # Limit picom to repaint at most once every 1 / 'refresh_rate' second to # boost performance. This should not be used with diff --git a/.config/rofi/themes/centertab-dracula.rasi b/.config/rofi/themes/centertab-dracula.rasi index 0bddb9b..d185261 100644 --- a/.config/rofi/themes/centertab-dracula.rasi +++ b/.config/rofi/themes/centertab-dracula.rasi @@ -41,7 +41,7 @@ window { location: south west; anchor: south west; - height: 1035; + height: calc(100% - 45px); width: 700; x-offset: 10; y-offset: -10; diff --git a/.scripts/monitor_setup.sh b/.scripts/monitor_setup.sh new file mode 100755 index 0000000..109af36 --- /dev/null +++ b/.scripts/monitor_setup.sh @@ -0,0 +1,5 @@ +#!/bin/bash +xrandr \ + --output DP-0 --primary --mode 2560x1440 --pos 0x0 --rate 164.96 \ + --output HDMI-0 --mode 2560x1440 --pos 2560x0 --rate 143.93 \ + --output eDP-1-1 --mode 1920x1080 --pos 5120x1440 --rate 144.00 diff --git a/.themes/dracula-gtk b/.themes/dracula-gtk index 87d2e6e..6c7f14e 160000 --- a/.themes/dracula-gtk +++ b/.themes/dracula-gtk @@ -1 +1 @@ -Subproject commit 87d2e6e5c4c80d131f2b61254d0b5e3dcd3a6772 +Subproject commit 6c7f14e8784db3feeafcdbd9a84e0559f584a5e5 diff --git a/README.org b/README.org index 5c37447..fabad98 100644 --- a/README.org +++ b/README.org @@ -33,6 +33,7 @@ - [[#themes][Themes]] - [[#greenclip-clipboard-manager][Greenclip Clipboard Manager]] - [[#display-configuration--effects][Display Configuration & Effects]] + - [[#monitor-setup][Monitor Setup]] - [[#autorandr][Autorandr]] - [[#post-switch][Post Switch]] - [[#compositor][Compositor]] @@ -1631,7 +1632,7 @@ configuration { window { location: south west; anchor: south west; - height: 1035; + height: calc(100% - 45px); width: 700; x-offset: 10; y-offset: -10; @@ -2310,6 +2311,27 @@ Config { * Display Configuration & Effects +** Monitor Setup + +Below is an example script for setting up displays using ~xrandr~ with desired resolution, position, and refresh rate. + +Use ~xrandr~ command to see available displays, resolutions, and refresh rates + +| Flag | Description | +|-----------+--------------------------------------------------------------------------------------------------------------------------| +| ~--output~ | Specify which display to configure | +| ~--primary~ | Indicate which display is the primary display | +| ~--mode~ | Set display resolution (get available options from ~xrandr~ command) | +| ~--pos~ | Set display position (0x0 is top left, so 5120x1440 is an x-offset of 5120px to the right and a y-offset of 1440px down) | +| ~--rate~ | Set display refresh rate (get available options from ~xrandr~ command) | + +#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/monitor_setup.sh +xrandr \ + --output DP-0 --primary --mode 2560x1440 --pos 0x0 --rate 164.96 \ + --output HDMI-0 --mode 2560x1440 --pos 2560x0 --rate 143.93 \ + --output eDP-1-1 --mode 1920x1080 --pos 5120x1440 --rate 144.00 +#+END_SRC + ** Autorandr See [[https://github.com/phillipberndt/autorandr#hook-scripts][autorandr hook scripts]] for more information. @@ -2645,7 +2667,7 @@ backend = "glx"; # Enable/disable VSync. # vsync = false -vsync = true +vsync = false # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # dbus = false @@ -2676,7 +2698,7 @@ detect-client-opacity = true; # try detecting this with X RandR extension. # # refresh-rate = 60 -refresh-rate = 144 +refresh-rate = 0 # Limit picom to repaint at most once every 1 / 'refresh_rate' second to # boost performance. This should not be used with