move picom to dwm autostart

This commit is contained in:
mintycube 2024-05-20 16:11:42 +05:00
parent e7ff053161
commit cbfb008c16
2 changed files with 3 additions and 1 deletions

View File

@ -86,6 +86,7 @@ static const char *const autostart[] = {
// "st", NULL,
"dwmblocks", NULL,
"pipewire", NULL,
"picom", NULL,
NULL /* terminate */
};

View File

@ -5,10 +5,11 @@
xrandr --dpi 96 # Set DPI. User may want to use a larger number for larger screens.
setbg & # set the background with the `setbg` script
nvim --headless "+Lazy! load all" +qa &
xrdb "${XDG_CONFIG_HOME:-$HOME/.config}"/x11/xresources &
xrdbpid=$! # Uncomment to use Xresources colors/settings on startup
autostart="mpd dunst unclutter remapd clipmenud picom"
autostart="mpd dunst unclutter remapd clipmenud"
for program in $autostart; do
pidof -sx "$program" || "$program" &