diff options
| author | --global <ik.boikov.public@protonmail.com> | 2021-12-19 12:03:01 +0100 |
|---|---|---|
| committer | --global <ik.boikov.public@protonmail.com> | 2021-12-19 12:03:01 +0100 |
| commit | 25b613f755424edad38ab7616365bb618237b9fe (patch) | |
| tree | 46a18fb58fe6ae487be7568da93c813d7268e30e /x11/.xinitrc | |
| parent | 6c02d1695a7d31e4a660f25df848f938f5f08da4 (diff) | |
migration to dwm; home cleanup
Diffstat (limited to 'x11/.xinitrc')
| -rwxr-xr-x[l---------] | x11/.xinitrc | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/x11/.xinitrc b/x11/.xinitrc index 518bb5d..17c5c88 120000..100755 --- a/x11/.xinitrc +++ b/x11/.xinitrc @@ -1 +1,30 @@ -.config/x11/xinitrc
\ No newline at end of file +#!/bin/sh + +# xinitrc runs automatically when you run startx. + +# There are some small but important commands that need to be run when we start +# the graphical environment. There is a link to this file in ~/.xprofile +# because that file is run automatically if someone uses a display manager +# (login screen) and so they are needed there. To prevent doubling up commands, +# I source them here with the line below. + +if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then + . "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" +else + . "$HOME/.xprofile" +fi + +setbg & + +picom & +firefox & +# delay thunderbird to allow protonmail initialize and avoid thunderbirds' "no connection to 127.0.0.1" +protonmail-bridge --no-window & ( sleep 5 && thunderbird & ) +signal-desktop & +telegram-desktop & +redshift -l40:2 & +syncthing & +xfce4-power-manager & + + +/usr/bin/dwm |
