update_0.8
This commit is contained in:
@@ -4,4 +4,4 @@ include set
|
|||||||
include main
|
include main
|
||||||
include exec
|
include exec
|
||||||
include bind
|
include bind
|
||||||
include color
|
include color
|
||||||
|
|||||||
@@ -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 picom
|
||||||
exec --no-startup-id clipmenud
|
|
||||||
exec --no-startup-id greenclip daemon
|
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 --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
|
exec_always --no-startup-id bash ~/.config/i3/scripts/i3-lang-layout.sh
|
||||||
|
|||||||
@@ -2,10 +2,12 @@
|
|||||||
|
|
||||||
eval $(xdotool getmouselocation --shell)
|
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)\"")
|
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)
|
name=$(echo "$data" | cut -f1)
|
||||||
|
echo $name
|
||||||
geometry=$(echo "$data" | cut -f2)
|
geometry=$(echo "$data" | cut -f2)
|
||||||
|
echo $geometry
|
||||||
temp_file="/tmp/i3-sc-full.png"
|
temp_file="/tmp/i3-sc-full.png"
|
||||||
maim -g "$geometry" "$temp_file"
|
maim -g "$geometry" "$temp_file"
|
||||||
echo "file://$temp_file" | xclip -selection clipboard -t text/uri-list
|
echo "file://$temp_file" | xclip -selection clipboard -t text/uri-list
|
||||||
notify-send "Screenshot" "Captured display: $name" -i camera-photo
|
notify-send "Screenshot" "Captured display: $name" -i camera-photo
|
||||||
rm "$temp_file"
|
|
||||||
@@ -6,5 +6,5 @@ blur-background-exclude = [
|
|||||||
"window_type = 'popup_menu'",
|
"window_type = 'popup_menu'",
|
||||||
"window_type = 'tooltip'",
|
"window_type = 'tooltip'",
|
||||||
"class_g = 'slop'",
|
"class_g = 'slop'",
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
"_GTK_FRAME_EXTENTS"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
rounded-corners-exclude = [
|
rounded-corners-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'",
|
||||||
"window_type = 'menu'",
|
"window_type = 'menu'",
|
||||||
"window_type = 'dropdown_menu'",
|
"window_type = 'dropdown_menu'",
|
||||||
"window_type = 'popup_menu'",
|
"window_type = 'popup_menu'",
|
||||||
|
|||||||
@@ -1,6 +1,2 @@
|
|||||||
corner-radius = 8;
|
corner-radius = 8;
|
||||||
round-borders = 1;
|
round-borders = 1;
|
||||||
rounded-corners-exclude = [
|
|
||||||
"window_type = 'dock'",
|
|
||||||
"window_type = 'desktop'"
|
|
||||||
];
|
|
||||||
|
|||||||
+1
-1
@@ -2,4 +2,4 @@ fading = true;
|
|||||||
fade-in-step = 0.03;
|
fade-in-step = 0.03;
|
||||||
fade-out-step = 0.03;
|
fade-out-step = 0.03;
|
||||||
fade-delta = 5;
|
fade-delta = 5;
|
||||||
no-fading-openclose = false
|
no-fading-openclose = false;
|
||||||
|
|||||||
+2
-2
@@ -7,7 +7,7 @@ use-ewmh-active-win = true;
|
|||||||
unredir-if-possible = false;
|
unredir-if-possible = false;
|
||||||
detect-transient = true;
|
detect-transient = true;
|
||||||
use-damage = false;
|
use-damage = false;
|
||||||
window-shader-fg = "default";
|
#window-shader-fg = "default";
|
||||||
transparent-clipping = false;
|
transparent-clipping = false;
|
||||||
log-level = "warn";
|
log-level = "warn";
|
||||||
log-file = "/var/log/picom.log"
|
log-file = "/home/pyrschtjag/.cache/picom.log";
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ opacity-rule = [
|
|||||||
"100:window_type = 'dropdown_menu'",
|
"100:window_type = 'dropdown_menu'",
|
||||||
"100:window_type = 'popup_menu'",
|
"100:window_type = 'popup_menu'",
|
||||||
"100:window_type = 'tooltip'",
|
"100:window_type = 'tooltip'",
|
||||||
"100:window_role = 'PictureInPicture'",
|
"100:WM_WINDOW_ROLE = 'PictureInPicture'",
|
||||||
"100:name *= 'Picture-in-Picture'",
|
"100:name *= 'Picture-in-Picture'",
|
||||||
"100:name *= '- YouTube'",
|
"100:name *= '- YouTube'",
|
||||||
"100:name *= 'Twitch'",
|
"100:name *= 'Twitch'",
|
||||||
"100:name *= 'rofi'",
|
"100:name *= 'rofi'",
|
||||||
"100:class_g = 'slop'"
|
"100:class_g = 'slop'"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user