2022-06-26 12:42:49 +00:00
|
|
|
{ config, lib, pkgs, user, ... }:
|
|
|
|
|
|
|
|
{
|
2022-06-27 05:50:07 +00:00
|
|
|
imports = [
|
|
|
|
./i3status-rust.nix
|
|
|
|
];
|
|
|
|
|
2022-06-26 12:42:49 +00:00
|
|
|
xsession.windowManager.i3 = {
|
|
|
|
enable = true;
|
|
|
|
config = {
|
|
|
|
modifier = "Mod4";
|
|
|
|
terminal = "${pkgs.kitty}/bin/kitty";
|
|
|
|
|
|
|
|
fonts = {
|
|
|
|
names = [ "DejaVu Sans Mono" ];
|
|
|
|
size = 12.0;
|
|
|
|
};
|
|
|
|
|
|
|
|
window = {
|
|
|
|
titlebar = false;
|
|
|
|
border = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
floating = {
|
|
|
|
titlebar = false;
|
|
|
|
border = 0;
|
|
|
|
};
|
|
|
|
|
2022-06-27 16:42:10 +00:00
|
|
|
menu = "${pkgs.rofi}/bin/rofi -show drun";
|
|
|
|
|
2022-06-26 12:42:49 +00:00
|
|
|
bars = [{
|
|
|
|
mode = "hide";
|
|
|
|
position = "top";
|
|
|
|
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3status-rust/config-default.toml";
|
|
|
|
|
|
|
|
fonts = {
|
|
|
|
names = [ "DejaVu Sans Mono" ];
|
|
|
|
size = 12.0;
|
|
|
|
};
|
|
|
|
}];
|
2022-06-26 19:13:00 +00:00
|
|
|
|
|
|
|
defaultWorkspace = "workspace number 1";
|
|
|
|
|
|
|
|
startup = [
|
|
|
|
{ command = "${pkgs.kitty}/bin/kitty"; }
|
|
|
|
{ command = "${pkgs.firefox}/bin/firefox"; }
|
|
|
|
];
|
|
|
|
|
|
|
|
assigns = {
|
|
|
|
"1" = [{ class = "^kitty$"; }];
|
|
|
|
"5" = [{ class = "^firefox$"; }];
|
|
|
|
};
|
2022-06-26 12:42:49 +00:00
|
|
|
};
|
|
|
|
};
|
2022-06-26 17:02:56 +00:00
|
|
|
|
|
|
|
services.screen-locker = {
|
|
|
|
enable = true;
|
|
|
|
lockCmd = "${pkgs.i3lock}/bin/i3lock -n -c 000000";
|
|
|
|
};
|
2022-06-26 12:42:49 +00:00
|
|
|
}
|