theme experiment - try a window wobble/jiggle when focused

try and highlight focus better with a window wobble to make it easier
to know what is focused. it's fairly small and unobtrusive but a hint
as to what just got focused when alt-tabbing around etc.
This commit is contained in:
Carsten Haitzler 2023-01-12 08:05:03 +00:00 committed by Christopher Michael
parent 5929cd7fa9
commit b3e3fb12c4
1 changed files with 43 additions and 0 deletions

View File

@ -271,6 +271,12 @@ group { name: "e/comp/frame/default";
clip_to: "focus-clipper";
description { state: "default" 0.0;
rel.to: "shower";
}
description { state: "active" 0.0;
inherit: "default" 0.0;
offscale;
rel1.offset: -5 -5;
rel2.offset: 4 4;
}
}
spacer { "gspacer";
@ -326,6 +332,21 @@ group { name: "e/comp/frame/default";
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
targets: "focus-clipper" "focus-shadow";
}
program { name: "focusbounce";
signal: "e,state,focused"; source: "e";
action: STATE_SET "active" 0.0;
target: "e.swallow.content";
sequence {
action: STATE_SET "default" 0.0;
target: "e.swallow.content";
transition: SPRING 0.3 0.2 3 USE_DURATION_FACTOR 1;
}
}
program { name: "focusbounceoff";
signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.swallow.content";
}
/*
program { name: "urgent1";
signal: "e,state,urgent"; source: "e";
@ -394,6 +415,12 @@ group { name: "e/comp/frame/rotate";
target: "e.swallow.content";
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
}
program { name: "focusbounce";
signal: "xxx";
}
program { name: "focusbounceoff";
signal: "xxx";
}
}
}
@ -432,6 +459,14 @@ group { name: "e/comp/frame/popup";
}
}
}
programs {
program { name: "focusbounce";
signal: "xxx";
}
program { name: "focusbounceoff";
signal: "xxx";
}
}
}
group { name: "e/comp/frame/none";
@ -462,6 +497,14 @@ group { name: "e/comp/frame/still";
}
}
}
programs {
program { name: "focusbounce";
signal: "xxx";
}
program { name: "focusbounceoff";
signal: "xxx";
}
}
}
group { name: "e/comp/frame/menu";