mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-29 12:10:42 +00:00
Add postrandr script as autorandr hook
This commit is contained in:
parent
88977fbde0
commit
5741d663f9
4 changed files with 47 additions and 6 deletions
3
home/.config/autorandr/docked/postswitch
Executable file
3
home/.config/autorandr/docked/postswitch
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
postrandr
|
3
home/.config/autorandr/undocked/postswitch
Executable file
3
home/.config/autorandr/undocked/postswitch
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
postrandr
|
|
@ -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 &
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue