Add theming to xfconf, start kitty on startup

This commit is contained in:
Evie Litherland-Smith 2023-04-05 08:45:58 +01:00
parent afff6e300a
commit 309d043502
5 changed files with 12 additions and 77 deletions

View file

@ -1,10 +1,5 @@
{ pkgs, ... }: { ... }:
{ {
environment.systemPackages = with pkgs; [
catppuccin-gtk
catppuccin-cursors.macchiatoDark
];
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;

View file

@ -13,5 +13,8 @@
pointer_action2 = "resize_side"; pointer_action2 = "resize_side";
pointer_action3 = "resize_corner"; pointer_action3 = "resize_corner";
}; };
startupPrograms = [
"kitty"
];
}; };
} }

View file

@ -1,31 +0,0 @@
let
mod = "Mod4";
in
{
"${mod}+Tab" = "workspace next";
"${mod}+Shift+Tab" = "workspace prev";
#
"${mod}+Return" = "exec kitty";
#"${mod}+Shift+Return" = "exec xfce4-terminal --drop-down";
"${mod}+q" = "kill";
#
"${mod}+Shift+c" = "reload";
"${mod}+Shift+r" = "restart";
#
"${mod}+h" = "focus left";
"${mod}+Shift+h" = "move left";
"${mod}+Left" = "focus left";
"${mod}+Shift+Left" = "move left";
"${mod}+j" = "focus down";
"${mod}+Shift+j" = "move down";
"${mod}+Down" = "focus down";
"${mod}+Shift+Down" = "move down";
"${mod}+k" = "focus up";
"${mod}+Shift+k" = "move up";
"${mod}+Up" = "focus up";
"${mod}+Shift+Up" = "move up";
"${mod}+l" = "focus right";
"${mod}+Shift+l" = "move right";
"${mod}+Right" = "focus right";
"${mod}+Shift+Right" = "move right";
}

View file

@ -1,40 +0,0 @@
{ config, lib, pkgs, ... }:
let
mod = "Mod4";
in
{
imports = [
./dunst.nix
./rofi.nix
];
home.packages = with pkgs; [
xfce.thunar
scrot
dex
nitrogen
i3blocks
];
xsession.windowManager.i3 = {
enable = true;
config = {
modifier = mod;
floating = {
modifier = mod;
};
fonts = {
names = [ "Noto Sans Regular" "DejaVu Sans Mono" ];
style = "Regular";
size = 12.0;
};
gaps = {
inner = 6;
outer = 3;
};
keybindings = import ./config/i3/keybindings.nix;
startup = [
{ command = "$HOME/.screenlayout/default.sh"; }
{ command = "nitrogen --restore"; }
];
};
};
}

View file

@ -8,8 +8,16 @@
#./polybar.nix #./polybar.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
catppuccin-gtk
catppuccin-cursors.macchiatoDark
xfce.thunar xfce.thunar
ranger ranger
flameshot flameshot
]; ];
xfconf.settings = {
xsettings = {
"Net/ThemeName" = "Catppuccin-Frappe-Standard-Blue-Dark";
"Gtk/CursorThemeName" = "Catppuccin-Macchiato-Dark";
};
};
} }