Add picom & dunst configs

This commit is contained in:
2024-06-03 13:39:25 +01:00
parent 79333fb84f
commit 6a7ec5a9df
5 changed files with 2541 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,61 @@
backend = "glx";
glx-no-stencil = true;
glx-copy-from-front = false;
# Opacity
active-opacity = 1;
inactive-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
blur-background = true;
blur-background-exclude = [
"window_type = 'dock'",
]
blur-method = "dual_kawase"
blur-strength = 8;
# Fading
fading = false;
fade-delta = 2;
no-fading-openclose = false;
fade-exclude = [ ];
# Other
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
vsync = true;
dbe = false;
unredir-if-possible = false;
focus-exclude = [ ];
detect-transient = true;
detect-client-leader = true;
# Window type settings
wintypes:
{
dock = {
shadow = false;
};
};
# Window transparency
opacity-rule = [
#"90:class_g = 'st'",
];
shadow = false;
shadow-radius = 12;
shadow-offset-x = -5;
shadow-offset-y = -5;
shadow-opacity = 0.5;
shadow-green = 1.0;
shadow-exclude = [ ];
corner-radius = 0;
xrender-sync-fence = true;

View File

@@ -1,3 +1,5 @@
slstatus &
picom &
dunst &
exec dwm

View File

@@ -449,8 +449,7 @@ if [[ ${main_menu[@]} =~ 0 ]]; then # Install Dotfiles
fi
if [[ ${main_menu[@]} =~ 1 ]]; then # DWM
sudo nala install libx11-dev libxft-dev libxinerama-dev build-essential libxrandr-dev
sudo nala install libx11-dev libxft-dev libxinerama-dev build-essential libxrandr-dev dunst
compile() {
cd suckless/$1
sudo rm -rf config.h

View File

@@ -4,7 +4,7 @@
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
"monospace:size=10"
"JetBrainsMono NF:size=20"
};
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {