Update todo list, make small updates to display-manage script
This commit is contained in:
@@ -74,7 +74,8 @@ done
|
|||||||
case "$OSTYPE" in
|
case "$OSTYPE" in
|
||||||
(*darwin*)
|
(*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
|
esac
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,14 @@
|
|||||||
- xresources working? use from/within theme-changing logic?
|
- xresources working? use from/within theme-changing logic?
|
||||||
- finish xlibre setup, including installing any needed packages and doing config
|
- finish xlibre setup, including installing any needed packages and doing config
|
||||||
- finished artix/dinit setup
|
- finished artix/dinit setup
|
||||||
- include figuring out wiregaurd/vpn stuff
|
- did any normal/recommended stuff, refer to wiki
|
||||||
- also include remapping ctrl, alt, and super keys as needed
|
- 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)
|
- 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)
|
- 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
|
- 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
|
## optional
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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_EXT_PORT_ID_PREFIX="DisplayPort"
|
||||||
DISPMANAGE_LAPTOP_ID="eDP"
|
DISPMANAGE_LAPTOP_ID="eDP"
|
||||||
DISPMANAGE_LAPTOP_MODE='"1920x1280_60.00"'
|
DISPMANAGE_LAPTOP_MODE='"1920x1280_60.00"'
|
||||||
@@ -33,10 +26,10 @@ solo_monitor_mode() {
|
|||||||
|
|
||||||
primary_mon_id=""
|
primary_mon_id=""
|
||||||
case "$1" in
|
case "$1" in
|
||||||
(laptop | laptop-only)
|
(l | laptop)
|
||||||
primary_mon_id="$DISPMANAGE_LAPTOP_ID"
|
primary_mon_id="$DISPMANAGE_LAPTOP_ID"
|
||||||
;;
|
;;
|
||||||
(ext | external)
|
(e | external)
|
||||||
primary_mon_id=$(
|
primary_mon_id=$(
|
||||||
xrandr |
|
xrandr |
|
||||||
grep "^$DISPMANAGE_EXT_PORT_ID_PREFIX.*\sconnected" |
|
grep "^$DISPMANAGE_EXT_PORT_ID_PREFIX.*\sconnected" |
|
||||||
@@ -44,6 +37,13 @@ case "$1" in
|
|||||||
sed -E "s/^([^ ]+).*$/\1/g"
|
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
|
esac
|
||||||
|
|
||||||
[ -z "$primary_mon_id" ] &&
|
[ -z "$primary_mon_id" ] &&
|
||||||
|
|||||||
Reference in New Issue
Block a user