More sway fixes

This commit is contained in:
Geoffrey Frogeye 2025-05-30 11:13:34 +02:00
parent 577129cb1c
commit 5a572d5d68
2 changed files with 6 additions and 4 deletions

View file

@ -7,9 +7,6 @@
{
config = lib.mkIf config.frogeye.desktop.xorg {
wayland.windowManager.sway.config.bars = [ ];
programs.autorandr.hooks.postswitch = {
frobar = "${pkgs.systemd}/bin/systemctl --user restart frobar";
};
systemd.user.services.frobar = {
Unit = {
Description = "frobar";

View file

@ -214,7 +214,7 @@ in
) modes
);
window = {
hideEdgeBorders = "both";
hideEdgeBorders = "--i3 both";
titlebar = false; # So that single-container screens are basically almost fullscreen
commands = [
# switch to workspace with urgent window automatically
@ -234,6 +234,11 @@ in
};
seat."*".hide_cursor = "5000";
startup = [
{
# https://github.com/emersion/kanshi/issues/43
command = "${pkgs.systemd}/bin/systemctl --user restart kanshi";
always = true;
}
{
command = "${
pkgs.writeShellApplication {