Add postrandr script as autorandr hook

This commit is contained in:
ItsDrike 2022-08-25 11:56:32 +02:00
parent 88977fbde0
commit 5741d663f9
No known key found for this signature in database
GPG key ID: B014E761034AF742
4 changed files with 47 additions and 6 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
postrandr

View file

@ -0,0 +1,3 @@
#!/bin/sh
postrandr

View file

@ -3,8 +3,6 @@
# This file runs when a DM logs you into a graphical session
# if you use startx/xinit this file should also be soruced.
# Set monitor order
xrandr --output HDMI-1 --auto --output eDP-1 --right-of HDMI-1 --auto &
# Start xsecurelock lockscreen with xss-lock
~/.local/bin/scripts/lockscreen start &
@ -24,10 +22,6 @@ dunst &
# Run network manager applet to show connectivity
nm-applet &
# Run trayer-srg for systemtray bar
# if installed normally, command will be `trayer`, not `trayer-srg` command
trayer --monitor 0 --edge top --align right --widthtype request --padding 0 --transparent true --tint 0x282c34 --alpha 0 --height 23 &
# Start flameshot in background
flameshot &