mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:46:11 +01:00
picom and minor tmux fix
This commit is contained in:
@@ -35,7 +35,8 @@ in {
|
|||||||
[[ ! -f ${./p10k.zsh} ]] || source ${./p10k.zsh}
|
[[ ! -f ${./p10k.zsh} ]] || source ${./p10k.zsh}
|
||||||
eval "$(zoxide init --cmd cd zsh)"
|
eval "$(zoxide init --cmd cd zsh)"
|
||||||
if [ -x "$(command -v tmux)" ] && [ -n "$DISPLAY" ] && [ -z "$TMUX" ]; then
|
if [ -x "$(command -v tmux)" ] && [ -n "$DISPLAY" ] && [ -z "$TMUX" ]; then
|
||||||
exec tmux new-session -A -s $USER >/dev/null 2>&1
|
# exec tmux new-session -A -s $USER >/dev/null 2>&1
|
||||||
|
exec tmux new-session -s $USER >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -37,5 +37,8 @@
|
|||||||
".zprofile" = {
|
".zprofile" = {
|
||||||
source = ./.zprofile;
|
source = ./.zprofile;
|
||||||
};
|
};
|
||||||
|
".config/picom/black_to_transparent.frag" = {
|
||||||
|
source = ./black_to_transparent.frag;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,17 @@
|
|||||||
vSync = true;
|
vSync = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
shadow = {
|
||||||
|
radius = 3;
|
||||||
|
};
|
||||||
|
|
||||||
corner-radius = 9;
|
corner-radius = 9;
|
||||||
|
rounder-corners-exclude = [
|
||||||
|
"window_type = 'dock'"
|
||||||
|
"window_type = 'desktop'"
|
||||||
|
"class_g = 'Dunst'"
|
||||||
|
];
|
||||||
|
|
||||||
blur = {
|
blur = {
|
||||||
method = "dual_kawase";
|
method = "dual_kawase";
|
||||||
strength = 10;
|
strength = 10;
|
||||||
@@ -41,6 +51,49 @@
|
|||||||
background-frame = false;
|
background-frame = false;
|
||||||
background-fixed = false;
|
background-fixed = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
blur-kern = "3x3box";
|
||||||
|
|
||||||
|
# xprop | grep -i 'class'
|
||||||
|
opacity-rule = [
|
||||||
|
"90:class_g = 'neovide'"
|
||||||
|
"90:class_g = 'code-oss'"
|
||||||
|
"90:class_g = 'discord'"
|
||||||
|
"90:class_g = 'Emacs'"
|
||||||
|
"90:class_g = 'TelegramDesktop'"
|
||||||
|
"90:class_g = 'Spotify'"
|
||||||
|
"90:class_g = 'easyeffects'"
|
||||||
|
"90:class_g = 'kitty'"
|
||||||
|
"90:class_g = 'Nemo'"
|
||||||
|
"97:class_g = 'firefox'"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Exclude conditions for background blur.
|
||||||
|
# blur-background-exclude = []
|
||||||
|
blur-background-exclude = [
|
||||||
|
"window_type = 'dock'"
|
||||||
|
"window_type = 'desktop'"
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
detect-client-opacity = true;
|
||||||
|
unredir-if-possible = false;
|
||||||
|
detect-transient = true;
|
||||||
|
detect-client-leader = true;
|
||||||
|
use-damage = true;
|
||||||
|
|
||||||
|
window-shader-fg-rule = [
|
||||||
|
# "black_to_transparent.frag:class_g = 'stalonetray'",
|
||||||
|
# "black_to_transparent.frag:class_g = 'Minecraft 1.7.10'",
|
||||||
|
# "black_to_transparent.frag:class_g = 'i3lock'"
|
||||||
|
# "black_to_transparent.frag:focused = true",
|
||||||
|
# "black_to_transparent.frag:focused != true",
|
||||||
|
#"sphere.glsl:focused != true"
|
||||||
|
#"nordify.glsl:class_g = 'miru'"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user