dotfiles
dotfiles copied to clipboard
Auto-float pinentry
This should work:
diff --git a/de.nix b/de.nix
index 573f8bc..86611f3 100644
--- a/de.nix
+++ b/de.nix
@@ -70,6 +70,7 @@ in {
"8" = [{ class = "^Slack$"; }];
"9" = [{ class = "^discord$"; }];
};
+ floating.criteria = [{ app_id = "^pinentry-qt$"; }];
};
};
However in swagmsg -t get_tree the relevant node has only this:
{
"id": 54,
"type": "con",
"orientation": "none",
"percent": 0.1968503937007874,
"urgent": false,
"marks": [],
"focused": false,
"layout": "none",
"border": "pixel",
"current_border_width": 2,
"rect": {
"x": 2050,
"y": 29,
"width": 500,
"height": 1401
},
"deco_rect": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
},
"window_rect": {
"x": 2,
"y": 2,
"width": 496,
"height": 1397
},
"geometry": {
"x": 0,
"y": 0,
"width": 458,
"height": 179
},
"name": "[95027]@alakazam",
"window": null,
"nodes": [],
"floating_nodes": [],
"focus": [],
"fullscreen_mode": 0,
"sticky": false,
"pid": 95031,
"app_id": "",
"visible": true,
"max_render_time": 0,
"shell": "xdg_shell",
"inhibit_idle": false,
"idle_inhibitors": {
"user": "none",
"application": "none"
}
}
It does work now :shrug: https://github.com/samhh/dotfiles/commit/f0464f2458053f0f89357e3801edc75b6f550538