Compare commits

...

2 commits

3 changed files with 15 additions and 15 deletions

View file

@ -69,11 +69,15 @@ export const Overview = Window({
let active = ''; let active = '';
if (app.address == Hyprland.active.client.address) { if (app.address == Hyprland.active.client.address) {
active = 'active'; active = 'active';
print(app.at[0])
print(app.at[1])
} }
if (app.size[0] === 0) { if (app.size[0] === 0) {
app.size[0] = 1524; app.size[0] = 1524;
app.size[1] = 908; app.size[1] = 908;
app.at[0] = 197;
app.at[1] = 170;
} }
fixed.put( fixed.put(
@ -108,6 +112,7 @@ export const Overview = Window({
childI = 1; childI = 1;
} }
// TODO: make this a revealer so no awkward jump
box.children[childI].centerWidget.add( box.children[childI].centerWidget.add(
Box({ Box({
properties: [['id', ws.id]], properties: [['id', ws.id]],

View file

@ -4,14 +4,13 @@
.workspace .window { .workspace .window {
border-radius: 10px; border-radius: 10px;
margin: 0 10px;
} }
.normal { .normal {
margin-bottom: 5px; margin-bottom: 5px;
.workspace { .workspace {
margin: 0 10px;
.window { .window {
border: 2px solid #411C6C; border: 2px solid #411C6C;
@ -25,7 +24,6 @@
.special { .special {
.workspace { .workspace {
margin: 0 5px;
.window { .window {
border: 2px solid lighten($color: black, $amount: 20); border: 2px solid lighten($color: black, $amount: 20);

View file

@ -669,18 +669,15 @@ calendar:indeterminate {
min-height: 1px; min-height: 1px;
min-width: 1px; } min-width: 1px; }
.overview .workspace .window { .overview .workspace .window {
border-radius: 10px; } border-radius: 10px;
margin: 0 10px; }
.overview .normal { .overview .normal {
margin-bottom: 5px; } margin-bottom: 5px; }
.overview .normal .workspace { .overview .normal .workspace .window {
margin: 0 10px; } border: 2px solid #411C6C; }
.overview .normal .workspace .window { .overview .normal .workspace .window.active {
border: 2px solid #411C6C; }
.overview .normal .workspace .window.active {
border: 2px solid purple; }
.overview .special .workspace {
margin: 0 5px; }
.overview .special .workspace .window {
border: 2px solid #333333; }
.overview .special .workspace .window.active {
border: 2px solid purple; } border: 2px solid purple; }
.overview .special .workspace .window {
border: 2px solid #333333; }
.overview .special .workspace .window.active {
border: 2px solid purple; }