feat: add p330 config

This commit is contained in:
Michael Mandl 2022-07-07 15:33:38 +02:00
parent e7711fe634
commit 0efab4c6bd
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
10 changed files with 146 additions and 12 deletions

View file

@ -1,5 +1,10 @@
{ config, lib, pkgs, user, ... }:
let
cfg = config.xsession.windowManager.i3;
font.name = "DejaVu Sans Mono";
font.size = 12.0;
in
{
imports = [
./i3status-rust.nix
@ -19,8 +24,8 @@
terminal = "${pkgs.kitty}/bin/kitty";
fonts = {
names = [ "DejaVu Sans Mono" ];
size = 12.0;
names = [ font.name ];
size = font.size;
};
window = {
@ -41,13 +46,17 @@
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3status-rust/config-default.toml";
fonts = {
names = [ "DejaVu Sans Mono" ];
size = 12.0;
names = [ font.name ];
size = font.size;
};
}];
defaultWorkspace = "workspace number 1";
keybindings = lib.mkOptionDefault {
"${cfg.config.modifier}+Shift+o" = "exec xdg-open \"zoommtg://zoom.us/join?action=join&confno=4861587170&pwd=ZVk3aHphcWppY21ONjZOMVh6STN6dz09\"";
};
startup = [
{ command = "i3-msg 'workspace 1; append_layout ~/.config/i3/workspaces/workspace-1.json'"; }
{ command = "i3-msg 'workspace 2; append_layout ~/.config/i3/workspaces/workspace-2.json'"; }
@ -63,10 +72,11 @@
{ command = "telegram-desktop"; notification = false; }
{ command = "thunderbird"; notification = false; }
{ command = "whatsapp-for-linux"; notification = false; }
{ command = "zoom"; notification = false; }
];
assigns = {
"6" = [{ class = "^zoom$"; }];
"6" = [{ class = "^\.zoom $"; }];
};
};
};