Compare commits

...

3 Commits

Author SHA1 Message Date
Noah Masur
e6644ab7b9
add unused calendar application placeholder 2024-08-18 16:42:39 -04:00
Noah Masur
e43f6cf000
use alt-t for new wezterm tab on linux 2024-08-18 16:41:31 -04:00
Noah Masur
a9cdf6ac38
remove keyboard section from polybar
no longer needed after switching from keyd to kanata
2024-08-18 16:37:33 -04:00
4 changed files with 40 additions and 2 deletions

View File

@ -169,7 +169,7 @@
-- super-t open new tab in new dir
{
key = 't',
mods = 'SUPER',
mods = ${if pkgs.stdenv.isDarwin then "'SUPER'" else "'ALT'"},
action = wezterm.action.SpawnCommandInNewTab {
cwd = wezterm.home_dir,
},

View File

@ -0,0 +1,37 @@
{
config,
pkgs,
lib,
...
}:
{
options = {
calendar = {
enable = lib.mkEnableOption {
description = "Enable calendar.";
default = false;
};
};
};
config = lib.mkIf (config.gui.enable && config.calendar.enable) {
home-manager.users.${config.user} = {
accounts.calendar.accounts.default = {
basePath = "other/calendars"; # Where to save calendars in ~ directory
name = "personal";
local.type = "filesystem";
primary = true;
remote = {
passwordCommand = [ "" ];
type = "caldav";
url = "https://${config.hostnames.content}/remote.php/dav/principals/users/${config.user}";
userName = config.user;
};
};
home.packages = with pkgs; [ gnome-calendar ];
};
};
}

View File

@ -2,6 +2,7 @@
{
imports = [
./calendar.nix
./calibre.nix
./nautilus.nix
];

View File

@ -42,7 +42,7 @@
module-margin = 1;
modules-left = "i3";
modules-center = "xwindow";
modules-right = "mailcount network pulseaudio date keyboard power";
modules-right = "mailcount network pulseaudio date power";
cursor-click = "pointer";
cursor-scroll = "ns-resize";
enable-ipc = true;