Smol wayland fixes
This commit is contained in:
parent
10bb81a1e1
commit
8b9a61339e
2 changed files with 175 additions and 169 deletions
|
@ -36,7 +36,7 @@ def main() -> None:
|
||||||
|
|
||||||
theme = rich.terminal_theme.TerminalTheme(
|
theme = rich.terminal_theme.TerminalTheme(
|
||||||
base16_color(0x0),
|
base16_color(0x0),
|
||||||
base16_color(0x7),
|
base16_color(0x0), # TODO Should be 0x7 but otherwise spacer is white
|
||||||
[
|
[
|
||||||
base16_color(0x0), # black
|
base16_color(0x0), # black
|
||||||
base16_color(0x8), # red
|
base16_color(0x8), # red
|
||||||
|
@ -80,6 +80,7 @@ def main() -> None:
|
||||||
alignment=Alignment.LEFT,
|
alignment=Alignment.LEFT,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if dual_screen:
|
if dual_screen:
|
||||||
bar.add_provider(
|
bar.add_provider(
|
||||||
frobar.providers.I3WindowTitleProvider(color=color("white")),
|
frobar.providers.I3WindowTitleProvider(color=color("white")),
|
||||||
|
|
|
@ -87,11 +87,11 @@ in
|
||||||
};
|
};
|
||||||
wayland = {
|
wayland = {
|
||||||
systemd.target = "sway-session.target";
|
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
|
# 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
|
# 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";
|
input."*".xkb_layout = "us_qwerty-fr";
|
||||||
modifier = lib.mkDefault "Mod4";
|
modifier = lib.mkDefault "Mod4";
|
||||||
fonts = {
|
fonts = {
|
||||||
|
@ -259,6 +259,11 @@ in
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
titlebar_padding 3
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
frogeye.desktop.i3.bindmodes = {
|
frogeye.desktop.i3.bindmodes = {
|
||||||
"[L] Vérouillage [E] Déconnexion [S] Veille [H] Hibernation [R] Redémarrage [P] Extinction" = {
|
"[L] Vérouillage [E] Déconnexion [S] Veille [H] Hibernation [R] Redémarrage [P] Extinction" = {
|
||||||
bindings = {
|
bindings = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue