Many changes, but among other things:
- Use base16 colors for xmonad - No more useless fish base16 theming - Different wallpapers for each theme
This commit is contained in:
parent
493954c1e3
commit
15247fa82d
|
@ -1,11 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let base16-fish = pkgs.fetchFromGitHub {
|
|
||||||
owner = "tomyun";
|
|
||||||
repo = "base16-fish";
|
|
||||||
sha256 = "142fmqm324gy3qsv48vijm5k81v6mw85ym9mmhnvyv2q2ndg5rix";
|
|
||||||
rev = "2f6dd973a9075dabccd26f1cded09508180bf5fe";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -18,9 +11,6 @@ in
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
# Print available battery
|
# Print available battery
|
||||||
battery = "acpi";
|
battery = "acpi";
|
||||||
|
|
||||||
# Rebuild nixos
|
|
||||||
rebuild = "sudo -u adrielus nixos-rebuild switch --flake ~/Projects/nixos-config/";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins = with pkgs.fishPlugins; [
|
plugins = with pkgs.fishPlugins; [
|
||||||
|
@ -62,11 +52,6 @@ in
|
||||||
bind -e -M insert -k f10 # unbinds f10
|
bind -e -M insert -k f10 # unbinds f10
|
||||||
bind -M insert -m default -k f10 'commandline -f repaint' # Exit insert mode with <f10>
|
bind -M insert -m default -k f10 'commandline -f repaint' # Exit insert mode with <f10>
|
||||||
end
|
end
|
||||||
'' +
|
'';
|
||||||
# Theming
|
|
||||||
''
|
|
||||||
source ${config.scheme base16-fish}
|
|
||||||
''
|
|
||||||
;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,7 +74,7 @@ icon-default =
|
||||||
format = <label-state>
|
format = <label-state>
|
||||||
|
|
||||||
label-active = %icon%
|
label-active = %icon%
|
||||||
label-active-background = ${colors.base0A}
|
label-active-background = ${colors.base05}
|
||||||
label-active-foreground = ${colors.base00}
|
label-active-foreground = ${colors.base00}
|
||||||
label-active-padding = 2
|
label-active-padding = 2
|
||||||
|
|
||||||
|
@ -103,9 +103,9 @@ module-margin = 2
|
||||||
height=4%
|
height=4%
|
||||||
|
|
||||||
border-top-size = 1
|
border-top-size = 1
|
||||||
border-top-color= ${colors.base0A}
|
border-top-color= ${colors.base05}
|
||||||
|
|
||||||
background = ${colors.base00}
|
background = ${colors.base00}
|
||||||
foreground = ${colors.base0A}
|
foreground = ${colors.base05}
|
||||||
|
|
||||||
bottom = true
|
bottom = true
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 50 KiB |
|
@ -1,3 +1,10 @@
|
||||||
|
{ config, ... }:
|
||||||
|
let
|
||||||
|
wallpapers = {
|
||||||
|
"Catppuccin Latte" = ./wallpapers/wall.png;
|
||||||
|
"Catppuccin Frappe" = ./wallpapers/nix-catppuccin.png;
|
||||||
|
};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home.file.".background-image".source = ./wallpapers/wall.png;
|
home.file.".background-image".source = wallpapers.${config.scheme.scheme};
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,8 +40,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set default theme
|
# Set default theme
|
||||||
# scheme = lib.mkDefault "${inputs.catppuccin-base16}/base16/latte.yaml";
|
scheme = lib.mkDefault "${inputs.catppuccin-base16}/base16/frappe.yaml";
|
||||||
scheme = lib.mkDefault "${inputs.rosepine-base16}/rose-pine-dawn.yaml";
|
# scheme = lib.mkDefault "${inputs.rosepine-base16}/rose-pine-dawn.yaml";
|
||||||
|
|
||||||
# Set reasonable defaults for some settings
|
# Set reasonable defaults for some settings
|
||||||
home = {
|
home = {
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Configuration pieces included on all (nixos) hosts
|
# Configuration pieces included on all (nixos) hosts
|
||||||
{ inputs, outputs, ... }: {
|
{ inputs, outputs, lib, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.agenix.nixosModule
|
inputs.agenix.nixosModule
|
||||||
|
inputs.base16.nixosModule
|
||||||
# inputs.impermanence.nixosModule
|
# inputs.impermanence.nixosModule
|
||||||
|
|
||||||
./nix.nix
|
./nix.nix
|
||||||
|
@ -15,6 +16,8 @@
|
||||||
"/etc/ssh/ssh_host_ed25519_key"
|
"/etc/ssh/ssh_host_ed25519_key"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
scheme = lib.mkDefault "${inputs.catppuccin-base16}/base16/frappe.yaml";
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
# Add all overlays defined in the overlays directory
|
# Add all overlays defined in the overlays directory
|
||||||
overlays = builtins.attrValues outputs.overlays ++ [
|
overlays = builtins.attrValues outputs.overlays ++ [
|
||||||
|
|
|
@ -24,8 +24,8 @@ main =
|
||||||
terminal = myTerminal,
|
terminal = myTerminal,
|
||||||
workspaces = myWorkspaces,
|
workspaces = myWorkspaces,
|
||||||
borderWidth = 5,
|
borderWidth = 5,
|
||||||
focusedBorderColor = "#d7827e",
|
focusedBorderColor = "#{{base05-hex}}",
|
||||||
normalBorderColor = "#d7827e",
|
normalBorderColor = "#{{base05-hex}}",
|
||||||
startupHook = startup,
|
startupHook = startup,
|
||||||
layoutHook = avoidStruts myLayoutHook,
|
layoutHook = avoidStruts myLayoutHook,
|
||||||
manageHook = manageDocks <+> manageSpawn <+> manageHook def,
|
manageHook = manageDocks <+> manageSpawn <+> manageHook def,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -7,9 +7,11 @@
|
||||||
windowManager.xmonad = {
|
windowManager.xmonad = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableContribAndExtras = true;
|
enableContribAndExtras = true;
|
||||||
config = ./Main.hs;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
config = builtins.readFile (config.scheme {
|
||||||
|
template = builtins.readFile ./Main.hs;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
# Proper wallpaper zooming
|
# Proper wallpaper zooming
|
||||||
desktopManager.wallpaper.mode = "fill";
|
desktopManager.wallpaper.mode = "fill";
|
||||||
|
|
Loading…
Reference in a new issue