mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-10 10:14:20 +02:00
xsession: use autorandr to setup X server
This commit is contained in:
parent
2c5b0fead8
commit
76a2ce3511
1 changed files with 1 additions and 11 deletions
12
xsession
12
xsession
|
@ -21,22 +21,12 @@ export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||||
|
|
||||||
systemctl --user import-environment
|
systemctl --user import-environment
|
||||||
|
|
||||||
case "$(hostname)" in
|
autorandr --change
|
||||||
neo)
|
|
||||||
xrandr --output DisplayPort-0 --auto --primary --output HDMI-A-0 --auto --right-of DisplayPort-0 --dpi 192
|
|
||||||
;;
|
|
||||||
zoro)
|
|
||||||
xrandr --output eDP1 --auto --dpi 144
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
. ~/.config/awesome/bin/xsettingsd-setup
|
. ~/.config/awesome/bin/xsettingsd-setup
|
||||||
~/.config/awesome/bin/xss-lock start &
|
~/.config/awesome/bin/xss-lock start &
|
||||||
xiccd --edid &
|
xiccd --edid &
|
||||||
setxkbmap us
|
setxkbmap us
|
||||||
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
|
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
|
||||||
nmcli radio all off
|
|
||||||
rfkill block all 2> /dev/null
|
|
||||||
redshift -l 2.35:48.87 -t 6500:3900 2> /dev/null &
|
redshift -l 2.35:48.87 -t 6500:3900 2> /dev/null &
|
||||||
systemd-run -q --scope --user tmux start-server
|
systemd-run -q --scope --user tmux start-server
|
||||||
compton --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay &
|
compton --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay &
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue