Smol wayland fixes

This commit is contained in:
Geoffrey Frogeye 2025-05-29 19:21:19 +02:00
parent 10bb81a1e1
commit 8b9a61339e
2 changed files with 175 additions and 169 deletions

View file

@ -36,7 +36,7 @@ def main() -> None:
theme = rich.terminal_theme.TerminalTheme(
base16_color(0x0),
base16_color(0x7),
base16_color(0x0), # TODO Should be 0x7 but otherwise spacer is white
[
base16_color(0x0), # black
base16_color(0x8), # red
@ -80,6 +80,7 @@ def main() -> None:
alignment=Alignment.LEFT,
)
if dual_screen:
bar.add_provider(
frobar.providers.I3WindowTitleProvider(color=color("white")),

View file

@ -87,11 +87,11 @@ in
};
wayland = {
systemd.target = "sway-session.target";
windowManager.sway.checkConfig = false; # us_qwerty-fr is not in the testing environment
};
windowManager.sway = {
checkConfig = false; # us_qwerty-fr is not in the testing environment
config = {
# https://github.com/nix-community/home-manager/issues/5311
# Setting a compiled file is not desirable as it depends on the keyboard's, uuuh, key placement
wayland.windowManager.sway.config = {
input."*".xkb_layout = "us_qwerty-fr";
modifier = lib.mkDefault "Mod4";
fonts = {
@ -259,6 +259,11 @@ in
})
);
};
extraConfig = ''
titlebar_padding 3
'';
};
};
frogeye.desktop.i3.bindmodes = {
"[L] Vérouillage [E] Déconnexion [S] Veille [H] Hibernation [R] Redémarrage [P] Extinction" = {
bindings = {