feat: added kitty

This commit is contained in:
Julien Malka 2023-04-01 23:56:11 +02:00
parent b9ab646462
commit ad3bc4581c
Signed by: Luj
GPG key ID: 6FC74C847011FD83
4 changed files with 20 additions and 3 deletions

View file

@ -32,7 +32,6 @@ with lib;
kb_variant = mac
follow_mouse = 1
touchpad {
disable_while_typing = false
natural_scroll = true
tap-to-click = true
}
@ -164,7 +163,7 @@ with lib;
$launcher = ${menu}
# Apps
bind = SUPER, RETURN, exec, $term
bind = SUPER, RETURN, exec, MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 kitty
bind = SUPER SHIFT, E, exec, $editor
bind = SUPER SHIFT, F, exec, $files
bind = SUPER SHIFT, B, exec, $browser

View file

@ -0,0 +1,17 @@
{ config, pkgs, lib, ... }:
let
cfg = config.luj.programs.kitty;
in
with lib;
{
options.luj.programs.kitty = {
enable = mkEnableOption "Enable SwayWM";
};
config = mkIf cfg.enable {
programs.kitty = {
enable = true;
};
};
}

View file

@ -14,7 +14,7 @@ with lib;
settings = {
mainBar = {
layer = "top";
modules-left = [ "custom/arch" "wlr/workspaces" ];
modules-left = [ "custom/nixos" "wlr/workspaces" ];
modules-center = [ "clock" ];
modules-right = [ "backlight" "network" "battery" ];
"custom/nixos" = {

View file

@ -27,6 +27,7 @@
luj.programs.alacritty.enable = true;
luj.programs.hyprland.enable = true;
luj.programs.waybar.enable = true;
luj.programs.kitty.enable = true;
programs.rofi = {
enable = true;