From cbfb008c16c567b3832567d80111bca05c4d4389 Mon Sep 17 00:00:00 2001 From: mintycube <90507714+mintycube@users.noreply.github.com> Date: Mon, 20 May 2024 16:11:42 +0500 Subject: [PATCH] move picom to dwm autostart --- .config/suckless/dwm/config.h | 1 + .config/x11/xprofile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/suckless/dwm/config.h b/.config/suckless/dwm/config.h index 3c3b7a1..feb390b 100644 --- a/.config/suckless/dwm/config.h +++ b/.config/suckless/dwm/config.h @@ -86,6 +86,7 @@ static const char *const autostart[] = { // "st", NULL, "dwmblocks", NULL, "pipewire", NULL, + "picom", NULL, NULL /* terminate */ }; diff --git a/.config/x11/xprofile b/.config/x11/xprofile index a5088cb..6b9839a 100755 --- a/.config/x11/xprofile +++ b/.config/x11/xprofile @@ -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" &