Add theming to xfconf, start kitty on startup
This commit is contained in:
parent
afff6e300a
commit
309d043502
|
@ -1,10 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
catppuccin-gtk
|
||||
catppuccin-cursors.macchiatoDark
|
||||
];
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
|
||||
|
|
3
nixos/home-manager/env/bspwm.nix
vendored
3
nixos/home-manager/env/bspwm.nix
vendored
|
@ -13,5 +13,8 @@
|
|||
pointer_action2 = "resize_side";
|
||||
pointer_action3 = "resize_corner";
|
||||
};
|
||||
startupPrograms = [
|
||||
"kitty"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
31
nixos/home-manager/env/config/i3/keybindings.nix
vendored
31
nixos/home-manager/env/config/i3/keybindings.nix
vendored
|
@ -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";
|
||||
}
|
40
nixos/home-manager/env/i3.nix
vendored
40
nixos/home-manager/env/i3.nix
vendored
|
@ -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"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
8
nixos/home-manager/env/xfce.nix
vendored
8
nixos/home-manager/env/xfce.nix
vendored
|
@ -8,8 +8,16 @@
|
|||
#./polybar.nix
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
catppuccin-gtk
|
||||
catppuccin-cursors.macchiatoDark
|
||||
xfce.thunar
|
||||
ranger
|
||||
flameshot
|
||||
];
|
||||
xfconf.settings = {
|
||||
xsettings = {
|
||||
"Net/ThemeName" = "Catppuccin-Frappe-Standard-Blue-Dark";
|
||||
"Gtk/CursorThemeName" = "Catppuccin-Macchiato-Dark";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue