My desktop uses VGA and display port for it's outputs, distinct from the Laptops outputs. Hence we can setup all xrandr records in one go and be fine for the ride.
29 lines
528 B
Bash
29 lines
528 B
Bash
#!/bin/sh
|
|
|
|
killall picom;
|
|
killall sxhkd;
|
|
|
|
sh .xprofile;
|
|
xset s 1800;
|
|
|
|
xrandr --auto --output HDMI1 --primary;
|
|
xrandr --auto --output eDP1 --right-of HDMI1;
|
|
xrandr --auto --output VGA1 --primary --left-of DP2;
|
|
xrandr --auto --output DP2 --rotate left;
|
|
|
|
$(xss-lock --transfer-sleep-lock -- lock) &
|
|
$HOME/.local/scripts/background &
|
|
|
|
eval `ssh-agent` &
|
|
systemctl --user start emacs &
|
|
$HOME/.local/scripts/status/music_update_bar &
|
|
dunst &
|
|
picom &
|
|
sxhkd &
|
|
dwmblocks &
|
|
|
|
# $HOME/.config/bspwm/bspwmrc
|
|
while :; do
|
|
ssh-agent dwm
|
|
done
|