pkgs: Kitty
This commit is contained in:
parent
aed228da7a
commit
1922286529
@ -1,23 +0,0 @@
|
|||||||
{ lib, pkgs, ... }: {
|
|
||||||
home.packages = [ pkgs.alacritty ];
|
|
||||||
|
|
||||||
programs.alacritty = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
window = {
|
|
||||||
opacity = lib.mkDefault 0.5;
|
|
||||||
blur = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
font = lib.mkDefault {
|
|
||||||
size = 13.0;
|
|
||||||
normal = {
|
|
||||||
family = "JetBrains Mono";
|
|
||||||
style = "Bold";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
colors.primary.background = lib.mkDefault "#1d2021";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./git.nix
|
./git.nix
|
||||||
./alacritty.nix
|
./kitty.nix
|
||||||
./qt.nix
|
./qt.nix
|
||||||
./sops.nix
|
./sops.nix
|
||||||
./style.nix
|
./style.nix
|
||||||
|
14
home-manager/users/sweetbread/modules/kitty.nix
Normal file
14
home-manager/users/sweetbread/modules/kitty.nix
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{ lib, pkgs, ... }: {
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
settings = lib.mkDefault {
|
||||||
|
dynamic_background_opacity = "yes";
|
||||||
|
background_opacity = 0.5;
|
||||||
|
background_blur = true;
|
||||||
|
background = "#1d2021";
|
||||||
|
font_size = 13.0;
|
||||||
|
cursor_blink_interval = "0.5 ease-in-out";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
programs.zsh.envExtra = "TERM=xterm-256color";
|
||||||
|
}
|
@ -1,4 +1,10 @@
|
|||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: let
|
||||||
|
icon = pkgs.fetchurl {
|
||||||
|
url = "https://preview.redd.it/a2nga4jvjy291.png?width=640&crop=smart&auto=webp&s=7d1458b41101c960bc13c28a6b92c5a6ddc20210";
|
||||||
|
name = "nixos-chan.png";
|
||||||
|
sha256 = "sha256-9pleL+PiiylT8/aWw0iGve1iY3h0XohSQ7MVILzabHY=";
|
||||||
|
};
|
||||||
|
in {
|
||||||
home.packages = [ pkgs.neofetch ];
|
home.packages = [ pkgs.neofetch ];
|
||||||
xdg.configFile."neofetch/config.conf".text = ''
|
xdg.configFile."neofetch/config.conf".text = ''
|
||||||
print_info() {
|
print_info() {
|
||||||
@ -87,7 +93,7 @@ color_blocks="on"
|
|||||||
block_width=3
|
block_width=3
|
||||||
block_height=1
|
block_height=1
|
||||||
col_offset="auto"
|
col_offset="auto"
|
||||||
bar_char_elapsed="*"
|
bar_char_elapsed="="
|
||||||
bar_char_total="."
|
bar_char_total="."
|
||||||
bar_border="on"
|
bar_border="on"
|
||||||
bar_length=15
|
bar_length=15
|
||||||
@ -96,8 +102,8 @@ bar_color_total="distro"
|
|||||||
memory_display="infobar"
|
memory_display="infobar"
|
||||||
battery_display="off"
|
battery_display="off"
|
||||||
disk_display="infobar"
|
disk_display="infobar"
|
||||||
image_backend="ueberzug"
|
image_backend="kitty"
|
||||||
image_source=/home/sweetbread/Downloads/a2nga4jvjy291.png
|
image_source=${icon}
|
||||||
ascii_distro="auto"
|
ascii_distro="auto"
|
||||||
ascii_colors=(distro)
|
ascii_colors=(distro)
|
||||||
ascii_bold="on"
|
ascii_bold="on"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, lib, config, ... }: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
swww
|
swww
|
||||||
alacritty
|
kitty
|
||||||
waybar
|
waybar
|
||||||
pamixer
|
pamixer
|
||||||
wofi
|
wofi
|
||||||
@ -210,12 +210,12 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
"$mainMod, V, exec, alacritty --class clipse -e clipse "
|
"$mainMod, V, exec, kitty --class clipse -e clipse "
|
||||||
|
|
||||||
"$mainMod, Return, exec, alacritty"
|
"$mainMod, Return, exec, kitty"
|
||||||
"$mainMod, Q, killactive,"
|
"$mainMod, Q, killactive,"
|
||||||
"$mainMod, M, exit,"
|
"$mainMod, M, exit,"
|
||||||
"$mainMod, E, exec, alacritty -e sh -c yazi"
|
"$mainMod, E, exec, kitty -e sh -c yazi"
|
||||||
"$mainMod, F, togglefloating,"
|
"$mainMod, F, togglefloating,"
|
||||||
"$mainMod, D, exec, wofi --show drun"
|
"$mainMod, D, exec, wofi --show drun"
|
||||||
"$mainMod, P, pseudo, # dwindle"
|
"$mainMod, P, pseudo, # dwindle"
|
||||||
@ -284,10 +284,10 @@
|
|||||||
", XF86MonBrightnessUp, exec, brightnessctl set +5% "
|
", XF86MonBrightnessUp, exec, brightnessctl set +5% "
|
||||||
|
|
||||||
# Configuration files
|
# Configuration files
|
||||||
''$mainMod ALT, N, exec, alacritty -e sh -c "rb"''
|
''$mainMod ALT, N, exec, kitty -e sh -c "rb"''
|
||||||
''$mainMod ALT, C, exec, alacritty -e sh -c "conf"''
|
''$mainMod ALT, C, exec, kitty -e sh -c "conf"''
|
||||||
''$mainMod ALT, H, exec, alacritty -e sh -c "$EDITOR ~/nix/home-manager/modules/wms/hyprland.nix"''
|
''$mainMod ALT, H, exec, kitty -e sh -c "$EDITOR ~/nix/home-manager/modules/wms/hyprland.nix"''
|
||||||
''$mainMod ALT, W, exec, alacritty -e sh -c "$EDITOR ~/nix/home-manager/modules/wms/waybar.nix"''
|
''$mainMod ALT, W, exec, kitty -e sh -c "$EDITOR ~/nix/home-manager/modules/wms/waybar.nix"''
|
||||||
|
|
||||||
" , Print, exec, grimblast --notify copy output"
|
" , Print, exec, grimblast --notify copy output"
|
||||||
"CTRL, Print, exec, grimblast --notify copy area"
|
"CTRL, Print, exec, grimblast --notify copy area"
|
||||||
|
@ -100,7 +100,7 @@
|
|||||||
car = "";
|
car = "";
|
||||||
default = ["" "" ""];
|
default = ["" "" ""];
|
||||||
};
|
};
|
||||||
on-click = "alacritty --class pulsemixer -e pulsemixer";
|
on-click = "kitty --class pulsemixer -e pulsemixer";
|
||||||
min-length = 13;
|
min-length = 13;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -137,7 +137,7 @@
|
|||||||
tooltip-format-ethernet = "{ifname} ";
|
tooltip-format-ethernet = "{ifname} ";
|
||||||
tooltip-format-disconnected = "Disconnected";
|
tooltip-format-disconnected = "Disconnected";
|
||||||
max-length = 50;
|
max-length = 50;
|
||||||
on-click = "alacritty --class nmtui -e sh -c nmtui";
|
on-click = "kitty --class nmtui -e sh -c nmtui";
|
||||||
};
|
};
|
||||||
|
|
||||||
"backlight" = {
|
"backlight" = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user