diff options
| author | Josh Rahm <rahm@google.com> | 2021-11-02 00:41:08 -0600 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2021-11-02 00:41:08 -0600 |
| commit | 0d13796f6cb360ec8c00bf84651d68df5a108a33 (patch) | |
| tree | 7d8eb4f25a8d53f2f33508e29e918ecf4f416156 /startup | |
| parent | 1e38cda801d91f39ffe0eeb9808afb32f300098d (diff) | |
| download | rde-0d13796f6cb360ec8c00bf84651d68df5a108a33.tar.gz rde-0d13796f6cb360ec8c00bf84651d68df5a108a33.tar.bz2 rde-0d13796f6cb360ec8c00bf84651d68df5a108a33.zip | |
Big powerpill added to my XMonad and XMobar.
Diffstat (limited to 'startup')
| -rwxr-xr-x | startup | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -11,14 +11,18 @@ hostname_rahm1() { xinput set-prop "TPPS/2 Elan TrackPoint" "Coordinate Transformation Matrix" 3 0 0 0 3 0 0 0 1 xinput set-prop "SYNA8004:00 06CB:CD8B Touchpad" "Coordinate Transformation Matrix" 3 0 0 0 3 0 0 0 1 - feh --bg-scale "/home/rahm/.xmonad/assets/Death-Valley-desert-USA_3840x2160.jpg" + if [ -z "$(ps aux | grep compton | grep -v grep)" ] ; then + __GL_SYNC_TO_VBLANK=1 nohup compton --backend=glx &>/dev/null & + fi + + feh --bg-scale "$HOME/wp.jpg" } hostname_photon() { # Startup commands specific to my desktop. - if [ ! -z "$(ps aux | grep compton | grep -v grep)" ] ; then - nohup compton --backend xrender & > /dev/null + if [ -z "$(ps aux | grep compton | grep -v grep)" ] ; then + __GL_SYNC_TO_VBLANK=1 nohup compton --backend=glx &>/dev/null & fi xrandr --output DVI-I-1 --right-of DP-5 --mode 2560x1440 feh --bg-scale "/home/rahm/.xmonad/wallpaper.jpg" |