From e315b90497d49ae1714961516bc08b807c605c5a Mon Sep 17 00:00:00 2001 From: pyrschtjag Date: Tue, 24 Feb 2026 18:42:54 +0400 Subject: [PATCH] update_0.8 --- i3/config | 2 +- i3/exec | 4 ---- i3/scripts/i3-sc-full.sh | 4 +++- picom/blur-exclude.conf | 4 ++-- picom/corners-exclude.conf | 2 ++ picom/corners.conf | 4 ---- picom/fading.conf | 2 +- picom/general.conf | 4 ++-- picom/opacity-rule.conf | 4 ++-- 9 files changed, 13 insertions(+), 17 deletions(-) diff --git a/i3/config b/i3/config index 9d60575..b3cb5e2 100644 --- a/i3/config +++ b/i3/config @@ -4,4 +4,4 @@ include set include main include exec include bind -include color \ No newline at end of file +include color diff --git a/i3/exec b/i3/exec index 020c1e4..d9bd2f6 100644 --- a/i3/exec +++ b/i3/exec @@ -1,8 +1,4 @@ -exec --no-startup-id dex --autostart --environment i3 -exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork -exec --no-startup-id nm-applet exec --no-startup-id picom -exec --no-startup-id clipmenud exec --no-startup-id greenclip daemon exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer 600 "~/.config/i3/scripts/i3-lock.sh" "" --timer 900 "systemctl suspend" "" exec_always --no-startup-id bash ~/.config/i3/scripts/i3-lang-layout.sh diff --git a/i3/scripts/i3-sc-full.sh b/i3/scripts/i3-sc-full.sh index 7791061..85a0a2b 100755 --- a/i3/scripts/i3-sc-full.sh +++ b/i3/scripts/i3-sc-full.sh @@ -2,10 +2,12 @@ eval $(xdotool getmouselocation --shell) data=$(i3-msg -t get_outputs | jq -r ".[] | select(.active == true and $X >= .rect.x and $X < (.rect.x + .rect.width) and $Y >= .rect.y and $Y < (.rect.y + .rect.height)) | \"\(.name)\t\(.rect.width)x\(.rect.height)+\(.rect.x)+\(.rect.y)\"") +echo $data name=$(echo "$data" | cut -f1) +echo $name geometry=$(echo "$data" | cut -f2) +echo $geometry temp_file="/tmp/i3-sc-full.png" maim -g "$geometry" "$temp_file" echo "file://$temp_file" | xclip -selection clipboard -t text/uri-list notify-send "Screenshot" "Captured display: $name" -i camera-photo -rm "$temp_file" \ No newline at end of file diff --git a/picom/blur-exclude.conf b/picom/blur-exclude.conf index fb7065f..cb0e2b5 100644 --- a/picom/blur-exclude.conf +++ b/picom/blur-exclude.conf @@ -6,5 +6,5 @@ blur-background-exclude = [ "window_type = 'popup_menu'", "window_type = 'tooltip'", "class_g = 'slop'", - "_GTK_FRAME_EXTENTS@:c" -]; \ No newline at end of file + "_GTK_FRAME_EXTENTS" +]; diff --git a/picom/corners-exclude.conf b/picom/corners-exclude.conf index 016efc2..20e7f78 100644 --- a/picom/corners-exclude.conf +++ b/picom/corners-exclude.conf @@ -1,4 +1,6 @@ rounded-corners-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", "window_type = 'menu'", "window_type = 'dropdown_menu'", "window_type = 'popup_menu'", diff --git a/picom/corners.conf b/picom/corners.conf index d2219f8..6460f01 100644 --- a/picom/corners.conf +++ b/picom/corners.conf @@ -1,6 +1,2 @@ corner-radius = 8; round-borders = 1; -rounded-corners-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'" -]; diff --git a/picom/fading.conf b/picom/fading.conf index f9a083c..c02e0fc 100644 --- a/picom/fading.conf +++ b/picom/fading.conf @@ -2,4 +2,4 @@ fading = true; fade-in-step = 0.03; fade-out-step = 0.03; fade-delta = 5; -no-fading-openclose = false +no-fading-openclose = false; diff --git a/picom/general.conf b/picom/general.conf index beccee5..1da5451 100644 --- a/picom/general.conf +++ b/picom/general.conf @@ -7,7 +7,7 @@ use-ewmh-active-win = true; unredir-if-possible = false; detect-transient = true; use-damage = false; -window-shader-fg = "default"; +#window-shader-fg = "default"; transparent-clipping = false; log-level = "warn"; -log-file = "/var/log/picom.log" +log-file = "/home/pyrschtjag/.cache/picom.log"; diff --git a/picom/opacity-rule.conf b/picom/opacity-rule.conf index aad32f4..e154bd6 100644 --- a/picom/opacity-rule.conf +++ b/picom/opacity-rule.conf @@ -9,10 +9,10 @@ opacity-rule = [ "100:window_type = 'dropdown_menu'", "100:window_type = 'popup_menu'", "100:window_type = 'tooltip'", - "100:window_role = 'PictureInPicture'", + "100:WM_WINDOW_ROLE = 'PictureInPicture'", "100:name *= 'Picture-in-Picture'", "100:name *= '- YouTube'", "100:name *= 'Twitch'", "100:name *= 'rofi'", "100:class_g = 'slop'" -]; \ No newline at end of file +];