From 95f90cd50ec9dba498e86e2ee39d561b02c090cd Mon Sep 17 00:00:00 2001 From: david Date: Sat, 17 Jan 2026 01:34:44 -0600 Subject: [PATCH] Update todo list, make small updates to display-manage script --- copy_dotfiles.sh | 3 ++- docs/todo.md | 7 +++++-- src_files/.local/scripts/display-manage | 18 +++++++++--------- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/copy_dotfiles.sh b/copy_dotfiles.sh index 783e109..9a614eb 100755 --- a/copy_dotfiles.sh +++ b/copy_dotfiles.sh @@ -74,7 +74,8 @@ done case "$OSTYPE" in (*darwin*) ;; - (*) copy_file src_files/etc/47-elogind.conf /etc/elogind/logind.conf.d --sudo + (*) + copy_file src_files/etc/47-elogind.conf /etc/elogind/logind.conf.d --sudo ;; esac diff --git a/docs/todo.md b/docs/todo.md index 8f72e1f..9592ed6 100644 --- a/docs/todo.md +++ b/docs/todo.md @@ -8,11 +8,14 @@ - xresources working? use from/within theme-changing logic? - finish xlibre setup, including installing any needed packages and doing config - finished artix/dinit setup - - include figuring out wiregaurd/vpn stuff - - also include remapping ctrl, alt, and super keys as needed + - did any normal/recommended stuff, refer to wiki + - figured out wiregaurd/vpn stuff + - remapped ctrl, alt, and super keys as needed + - adjusted keyrepeat speed, trackpad/mouse speed, etc - web browsers config and install (primary: qutebrowser, alt1: brave, alt2: tor) - config for mpd, and client(s), (mpd clients to consider: mpc, ncmpcpp, ncmpc, inori) - get find, xargs, and awk (use nawk) as unified as i can across system types +- adjusted tmux so that n goes next/down and N goes prev/up in search results ## optional diff --git a/src_files/.local/scripts/display-manage b/src_files/.local/scripts/display-manage index 8ebb3af..f1f5fae 100755 --- a/src_files/.local/scripts/display-manage +++ b/src_files/.local/scripts/display-manage @@ -1,12 +1,5 @@ #!/bin/sh -# NOTE: just use this for recurring cases; if i'm doing a one-off case such presenting at -# an event or temporarily using more than one external monitor, then i probably -# would be better off just writing a one-time script in prep for that case; -# example where one external is DisplayPort-1, another is HDMI-1, and laptop is eDP: -# xrandr --query # to get devices and status -# xrandr --output DisplayPort-1 --primary --auto --output HDMI-1 --auto --output eDP --auto - DISPMANAGE_EXT_PORT_ID_PREFIX="DisplayPort" DISPMANAGE_LAPTOP_ID="eDP" DISPMANAGE_LAPTOP_MODE='"1920x1280_60.00"' @@ -33,10 +26,10 @@ solo_monitor_mode() { primary_mon_id="" case "$1" in - (laptop | laptop-only) + (l | laptop) primary_mon_id="$DISPMANAGE_LAPTOP_ID" ;; - (ext | external) + (e | external) primary_mon_id=$( xrandr | grep "^$DISPMANAGE_EXT_PORT_ID_PREFIX.*\sconnected" | @@ -44,6 +37,13 @@ case "$1" in sed -E "s/^([^ ]+).*$/\1/g" ) ;; + # for one-off/special cases; just set things explicitly here and exit + # (c1 | case1) + # xrandr --output DisplayPort-1 --primary --auto \ + # --output HDMI-1 --auto \ + # --output eDP --auto --same-as DisplayPort-1 + # exit 0 + # ;; esac [ -z "$primary_mon_id" ] &&