feat: switch to swayfx and employ autotiling-rs
This commit is contained in:
parent
02891ad33e
commit
de4ebd8519
2 changed files with 25 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
programs.sway.enable = true;
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
package = pkgs.swayfx.overrideAttrs (_: {passthru.providedSessions = ["sway"];});
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
|
|
@ -8,6 +8,7 @@ in {
|
|||
home-manager.users.buffet = {
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
package = pkgs.swayfx.overrideAttrs (_: {passthru.providedSessions = ["sway"];});
|
||||
systemd.enable = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
|
||||
|
@ -182,6 +183,10 @@ in {
|
|||
extraConfig = ''
|
||||
for_window [title="."] title_format ""
|
||||
for_window [title="^oyster$"] floating enable
|
||||
|
||||
corner_radius 8
|
||||
smart_corner_radius enable
|
||||
shadows enable
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -206,5 +211,21 @@ in {
|
|||
ring-wrong-color = bright.white;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services = {
|
||||
autotile-rs = {
|
||||
Unit = {
|
||||
Description = "Autotiling for sway (and possibly i3)";
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.autotiling-rs}/bin/autotiling-rs";
|
||||
};
|
||||
|
||||
Install = {
|
||||
WantedBy = ["sway-session.target"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue