Stylix : Add basic config.
This commit is contained in:
parent
d2693febd9
commit
09ee745510
266
flake.lock
266
flake.lock
|
@ -1,5 +1,201 @@
|
|||
{
|
||||
"nodes": {
|
||||
"base16": {
|
||||
"inputs": {
|
||||
"fromYaml": "fromYaml"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1708890466,
|
||||
"narHash": "sha256-LlrC09LoPi8OPYOGPXegD72v+//VapgAqhbOFS3i8sc=",
|
||||
"owner": "SenchoPens",
|
||||
"repo": "base16.nix",
|
||||
"rev": "665b3c6748534eb766c777298721cece9453fdae",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "SenchoPens",
|
||||
"repo": "base16.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-alacritty": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1703982197,
|
||||
"narHash": "sha256-TNxKbwdiUXGi4Z4chT72l3mt3GSvOcz6NZsUH8bQU/k=",
|
||||
"owner": "aarowill",
|
||||
"repo": "base16-alacritty",
|
||||
"rev": "c95c200b3af739708455a03b5d185d3d2d263c6e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "aarowill",
|
||||
"repo": "base16-alacritty",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-alacritty-yaml": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1674275109,
|
||||
"narHash": "sha256-Adwx9yP70I6mJrjjODOgZJjt4OPPe8gJu7UuBboXO4M=",
|
||||
"owner": "aarowill",
|
||||
"repo": "base16-alacritty",
|
||||
"rev": "63d8ae5dfefe5db825dd4c699d0cdc2fc2c3eaf7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "aarowill",
|
||||
"repo": "base16-alacritty",
|
||||
"rev": "63d8ae5dfefe5db825dd4c699d0cdc2fc2c3eaf7",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-fish": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1622559957,
|
||||
"narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=",
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-foot": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1696725948,
|
||||
"narHash": "sha256-65bz2bUL/yzZ1c8/GQASnoiGwaF8DczlxJtzik1c0AU=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-foot",
|
||||
"rev": "eedbcfa30de0a4baa03e99f5e3ceb5535c2755ce",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-foot",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-helix": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1696727917,
|
||||
"narHash": "sha256-FVrbPk+NtMra0jtlC5oxyNchbm8FosmvXIatkRbYy1g=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-helix",
|
||||
"rev": "dbe1480d99fe80f08df7970e471fac24c05f2ddb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-helix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-kitty": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1665001328,
|
||||
"narHash": "sha256-aRaizTYPpuWEcvoYE9U+YRX+Wsc8+iG0guQJbvxEdJY=",
|
||||
"owner": "kdrag0n",
|
||||
"repo": "base16-kitty",
|
||||
"rev": "06bb401fa9a0ffb84365905ffbb959ae5bf40805",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "kdrag0n",
|
||||
"repo": "base16-kitty",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-tmux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1696725902,
|
||||
"narHash": "sha256-wDPg5elZPcQpu7Df0lI5O8Jv4A3T6jUQIVg63KDU+3Q=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-tmux",
|
||||
"rev": "c02050bebb60dbb20cb433cd4d8ce668ecc11ba7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-tmux",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-vim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1663659192,
|
||||
"narHash": "sha256-uJvaYYDMXvoo0fhBZUhN8WBXeJ87SRgof6GEK2efFT0=",
|
||||
"owner": "chriskempson",
|
||||
"repo": "base16-vim",
|
||||
"rev": "3be3cd82cd31acfcab9a41bad853d9c68d30478d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "chriskempson",
|
||||
"repo": "base16-vim",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1673956053,
|
||||
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fromYaml": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1689549921,
|
||||
"narHash": "sha256-iX0pk/uB019TdBGlaJEWvBCfydT6sRq+eDcGPifVsCM=",
|
||||
"owner": "SenchoPens",
|
||||
"repo": "fromYaml",
|
||||
"rev": "11fbbbfb32e3289d3c631e0134a23854e7865c84",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "SenchoPens",
|
||||
"repo": "fromYaml",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gnome-shell": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1698794309,
|
||||
"narHash": "sha256-/TIkZ8y5Wv3QHLFp79Poao9fINurKs5pa4z0CRe+F8s=",
|
||||
"owner": "GNOME",
|
||||
"repo": "gnome-shell",
|
||||
"rev": "a7c169c6c29cf02a4c392fa0acbbc5f5072823e7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "GNOME",
|
||||
"ref": "45.1",
|
||||
"repo": "gnome-shell",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -20,6 +216,27 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"stylix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1706001011,
|
||||
"narHash": "sha256-J7Bs9LHdZubgNHZ6+eE/7C18lZ1P6S5/zdJSdXFItI4=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "3df2a80f3f85f91ea06e5e91071fa74ba92e5084",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-formatter-pack": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -102,6 +319,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1700856099,
|
||||
"narHash": "sha256-RnEA7iJ36Ay9jI0WwP+/y4zjEhmeN6Cjs9VOFBH7eVQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "0bd59c54ef06bc34eca01e37d689f5e46b3fe2f1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nmd": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -494,7 +727,38 @@
|
|||
"nvimTree": "nvimTree",
|
||||
"nvimTreesitter": "nvimTreesitter",
|
||||
"nvimTrouble": "nvimTrouble",
|
||||
"nvimWhichKey": "nvimWhichKey"
|
||||
"nvimWhichKey": "nvimWhichKey",
|
||||
"stylix": "stylix"
|
||||
}
|
||||
},
|
||||
"stylix": {
|
||||
"inputs": {
|
||||
"base16": "base16",
|
||||
"base16-alacritty": "base16-alacritty",
|
||||
"base16-alacritty-yaml": "base16-alacritty-yaml",
|
||||
"base16-fish": "base16-fish",
|
||||
"base16-foot": "base16-foot",
|
||||
"base16-helix": "base16-helix",
|
||||
"base16-kitty": "base16-kitty",
|
||||
"base16-tmux": "base16-tmux",
|
||||
"base16-vim": "base16-vim",
|
||||
"flake-compat": "flake-compat",
|
||||
"gnome-shell": "gnome-shell",
|
||||
"home-manager": "home-manager_2",
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1711993891,
|
||||
"narHash": "sha256-YuI4Wp9gwT4n7aCwbCvOsGnBoSNXpo469r46EOId9QY=",
|
||||
"owner": "danth",
|
||||
"repo": "stylix",
|
||||
"rev": "b6dbe9ac5d57d27d5620445f20cad2c353089f86",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "danth",
|
||||
"repo": "stylix",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
55
flake.nix
55
flake.nix
|
@ -6,6 +6,7 @@
|
|||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
stylix.url = "github:danth/stylix";
|
||||
|
||||
# Android.
|
||||
nix-on-droid = {
|
||||
|
@ -97,7 +98,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nix-on-droid, home-manager, ... } @inputs: {
|
||||
outputs = { self, nixpkgs, nix-on-droid, home-manager, stylix, ... } @inputs: {
|
||||
# Constant values.
|
||||
nixosModules.const = {
|
||||
url = "git+https://git.voronind.com/voronind/nixos.git";
|
||||
|
@ -107,29 +108,15 @@
|
|||
timeZone = "Europe/Moscow";
|
||||
};
|
||||
|
||||
# Colors.
|
||||
nixosModules.color = {
|
||||
accent = "b8bb26";
|
||||
bg = "1d2021";
|
||||
bg_1 = "504945";
|
||||
bg_2 = "3c3836";
|
||||
bg_3 = "282828";
|
||||
fg = "ebdbb2";
|
||||
fg_1 = "fbf1c7";
|
||||
fg_2 = "d5c4a1";
|
||||
fg_3 = "a89984";
|
||||
negative = "cc241d";
|
||||
neutral = "458588";
|
||||
neutral_1 = "076678";
|
||||
positive = "98971a";
|
||||
positive_1 = "87af87";
|
||||
transparent = "ffffff00";
|
||||
|
||||
accent_rgb = "184;187;38";
|
||||
fg_3_rgb = "168;153;132";
|
||||
negative_rgb = "204;36;29";
|
||||
neutral_rgb = "69;133;136";
|
||||
positive_rgb = "135;175;135";
|
||||
# Wallpaper.
|
||||
wallpaper = { pkgs, ...}: let
|
||||
url = "https://4kwallpapers.com/images/wallpapers/nasa-space-3840x2160-15925.jpg";
|
||||
sha256 = "sha256-r753IGaNwWWRaFdlf9bCiU2K7v4sSKfi6P2ANYwqgKg=";
|
||||
in {
|
||||
path = pkgs.fetchurl {
|
||||
url = url;
|
||||
sha256 = sha256;
|
||||
};
|
||||
};
|
||||
|
||||
# Common modules used across all hosts.
|
||||
|
@ -139,7 +126,6 @@
|
|||
./module/common/Bootloader.nix
|
||||
./module/common/Distrobox.nix
|
||||
./module/common/Dotfiles.nix
|
||||
./module/common/Environment.nix
|
||||
./module/common/Filesystem.nix
|
||||
./module/common/Firefox.nix
|
||||
./module/common/Firewall.nix
|
||||
|
@ -154,6 +140,7 @@
|
|||
./module/common/Package.nix
|
||||
./module/common/Ssh.nix
|
||||
./module/common/Sshd.nix
|
||||
./module/common/Stylix.nix
|
||||
./module/common/Swap.nix
|
||||
./module/common/Tmux.nix
|
||||
./module/common/Users.nix
|
||||
|
@ -171,13 +158,14 @@
|
|||
{ system.stateVersion = self.nixosModules.const.stateVersion; }
|
||||
inputs.self.nixosModules.common
|
||||
home-manager.nixosModules.home-manager
|
||||
stylix.nixosModules.stylix
|
||||
] ++ modules;
|
||||
|
||||
specialArgs = {
|
||||
const = self.nixosModules.const;
|
||||
color = self.nixosModules.color;
|
||||
flake = self;
|
||||
inputs = inputs;
|
||||
const = self.nixosModules.const;
|
||||
flake = self;
|
||||
inputs = inputs;
|
||||
wallpaper = self.wallpaper { pkgs = nixpkgs.legacyPackages.${system}.pkgs; };
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -284,13 +272,14 @@
|
|||
nixOnDroidConfigurations.default = nix-on-droid.lib.nixOnDroidConfiguration {
|
||||
modules = [
|
||||
{ system.stateVersion = inputs.self.nixosModules.const.droidStateVersion; }
|
||||
stylix.homeManagerModules.stylix
|
||||
./module/NixOnDroid.nix
|
||||
];
|
||||
extraSpecialArgs = {
|
||||
const = self.nixosModules.const;
|
||||
color = self.nixosModules.color;
|
||||
flake = self;
|
||||
inputs = inputs;
|
||||
const = self.nixosModules.const;
|
||||
flake = self;
|
||||
inputs = inputs;
|
||||
wallpaper = self.nixosModules.wallpaper;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
./Foot.nix
|
||||
./Fprint.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
{ lib, pkgs, color, ... }: {
|
||||
# Foot fontSize override.
|
||||
environment.variables.FOOT_CONFIG = lib.mkForce (import ../../module/foot/Init.nix { pkgs = pkgs; fontSize = 12; color = color; }).config;
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, inputs, const, color, ... }: let
|
||||
{ pkgs, inputs, const, ... }: let
|
||||
homePath = "/data/data/com.termux.nix/files/home";
|
||||
tmuxScript = pkgs.writeShellScriptBin "tmux_script" (builtins.readFile ./common/tmux/Script.sh);
|
||||
in {
|
||||
|
@ -56,10 +56,10 @@ in {
|
|||
".termux/_font.ttf".source = pkgs.runCommandNoCC "font" {} ''
|
||||
cp ${pkgs.nerdfonts.override { fonts = [ "Terminus" ]; }}/share/fonts/truetype/NerdFonts/TerminessNerdFontMono-Regular.ttf $out
|
||||
'';
|
||||
".termux/_colors.properties".text = ''
|
||||
background=#${bg}
|
||||
foreground=#${fg}
|
||||
'';
|
||||
# ".termux/_colors.properties".text = ''
|
||||
# background=#${bg}
|
||||
# foreground=#${fg}
|
||||
# '';
|
||||
};
|
||||
home.sessionVariables = {
|
||||
BASH_PATH = ./common/bash;
|
||||
|
@ -68,14 +68,14 @@ in {
|
|||
NIXPKGS_ALLOW_UNFREE = "1";
|
||||
NIX_CURRENT_SYSTEM = "${pkgs.stdenv.system}";
|
||||
TERM = "xterm-256color";
|
||||
} // const // color;
|
||||
};
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
bashrcExtra = ''
|
||||
source $BASH_PATH/Bashrc.sh
|
||||
[[ -f ~/.termux/font.ttf ]] || {
|
||||
cp ~/.termux/_font.ttf ~/.termux/font.ttf
|
||||
cp ~/.termux/_colors.properties ~/.termux/colors.properties
|
||||
# cp ~/.termux/_colors.properties ~/.termux/colors.properties
|
||||
_warn "Termux config installed, please restart."
|
||||
};
|
||||
'';
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
{ pkgs, lib, color, ... }: let
|
||||
{ pkgs, lib, wallpaper, ... }: let
|
||||
config = pkgs.writeText "sway_config" ''
|
||||
client.focused #${color.accent} #${color.accent} #${color.fg} #${color.accent} #${color.accent}
|
||||
client.focused_inactive #${color.bg_1} #${color.bg_3} #${color.fg} #${color.bg_3} #${color.bg_3}
|
||||
client.unfocused #${color.bg_1} #${color.bg_3} #${color.fg_3} #${color.bg_3} #${color.bg_3}
|
||||
client.urgent #${color.bg_3} #${color.negative} #${color.fg_1} #${color.negative} #${color.negative}
|
||||
client.placeholder #${color.bg} #${color.bg} #${color.fg} #${color.bg} #${color.bg}
|
||||
${builtins.readFile ./sway/Config}
|
||||
output * bg ${wallpaper.path} fill
|
||||
'';
|
||||
in {
|
||||
imports = [
|
||||
|
@ -18,7 +14,6 @@ in {
|
|||
./desktop/Sound.nix
|
||||
];
|
||||
|
||||
|
||||
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
||||
environment.systemPackages = with pkgs; [
|
||||
grim slurp # Screenshot.
|
||||
|
@ -42,7 +37,6 @@ in {
|
|||
|
||||
environment = {
|
||||
variables = {
|
||||
FOOT_CONFIG = (import ./foot/Init.nix { pkgs = pkgs; fontSize = 14; color = color; }).config;
|
||||
SWAY_CONFIG = ./sway/module;
|
||||
SWAY_IWT_PATH = "${pkgs.sway-contrib.inactive-windows-transparency}/bin/inactive-windows-transparency.py";
|
||||
# PATH = [ "/etc/swaybin" ]; # NOTE: Kept as an example on PATH modification.
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{ const, color, ... }: {
|
||||
environment.variables = const // color;
|
||||
}
|
29
module/common/Stylix.nix
Normal file
29
module/common/Stylix.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ pkgs, config, wallpaper, ... }: {
|
||||
stylix = {
|
||||
image = wallpaper.path;
|
||||
autoEnable = true;
|
||||
polarity = "dark";
|
||||
# base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||
fonts = {
|
||||
sizes = {
|
||||
applications = 12;
|
||||
terminal = 12;
|
||||
popups = 12;
|
||||
desktop = 12;
|
||||
};
|
||||
# serif = {
|
||||
# package = (pkgs.callPackage ./applefont {});
|
||||
# name = "SF Pro Display Medium";
|
||||
# };
|
||||
# sansSerif = config.stylix.fonts.serif;
|
||||
monospace = {
|
||||
package = (pkgs.nerdfonts.override { fonts = [ "Terminus" ]; });
|
||||
name = "Terminess Mono";
|
||||
};
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
18
module/common/stylix/Gruvbox.yaml
Normal file
18
module/common/stylix/Gruvbox.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
scheme: "Gruvbox"
|
||||
author: "voronind"
|
||||
base00: "121212" # Background.
|
||||
base01: "212526" # Line cursor.
|
||||
base02: "38403f" # Statusline.
|
||||
base03: "47433e" # Line numbers.
|
||||
base04: "6e78a1" # Selected line number.
|
||||
base05: "b3afaf" # Foreground.
|
||||
base06: "d8a9a9" # Function.
|
||||
base07: "fcf4de" # Bright yellow.
|
||||
base08: "a74049" # Cyan.
|
||||
base09: "d35f5a" # Blue.
|
||||
base0A: "ac5d5d" # Yellow.
|
||||
base0B: "9f7b7b" # String green.
|
||||
base0C: "3a877e" # Comment green.
|
||||
base0D: "686995" # Purple.
|
||||
base0E: "84abab" # Orange.
|
||||
base0F: "9e446f" # Gray.
|
|
@ -1,13 +0,0 @@
|
|||
{ pkgs, fontSize, color, ... }: {
|
||||
config = pkgs.writeText "foot_config" ''
|
||||
font=Terminess Nerd Font Mono:size=${toString(fontSize)}
|
||||
# font-bold=Terminess Nerd Font Mono:size=${toString(fontSize)}:weight=bold
|
||||
font-italic=Terminess Nerd Font Mono:size=${toString(fontSize)}
|
||||
font-bold-italic=Terminess Nerd Font Mono:weight=bold:size=${toString(fontSize)}
|
||||
dpi-aware=yes
|
||||
|
||||
[colors]
|
||||
background=${color.bg}
|
||||
foreground=${color.fg}
|
||||
'';
|
||||
}
|
|
@ -4,6 +4,5 @@
|
|||
#
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
output * scale 1
|
||||
output * bg / fill #000000
|
||||
output "Huawei Technologies Co., Inc. ZQE-CBA 0xC080F622" mode 3440x1440@164.999Hz adaptive_sync off pos 0,1080
|
||||
output "ASUSTek COMPUTER INC ASUS VA24E R2LMTF127165" transform 180 mode 1920x1080@74.986Hz pos 780,0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Application launcher.
|
||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||
# on the original workspace that the command was run on.
|
||||
set $menu _dmenu_path_wrapped | wmenu -b -p 'Run:' -i -f "SF Pro Display Medium 14" -M $bg -S $bg -N $bg -m $accent -s $accent -n $fg | xargs swaymsg exec --
|
||||
set $menu _dmenu_path_wrapped | wmenu -b -p 'Run:' -i | xargs swaymsg exec --
|
||||
|
||||
bindsym $mod+space exec $menu
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Terminal emulator.
|
||||
set $term foot --config=$FOOT_CONFIG
|
||||
set $term foot
|
||||
|
||||
bindsym $mod+Escape exec $term -e bash -c "tmux new-session -A -s $USER; bash"
|
||||
|
|
|
@ -29,3 +29,6 @@ floating_modifier $mod normal
|
|||
|
||||
# Kill focused window.
|
||||
bindsym $mod+x kill
|
||||
|
||||
# Add gaps.
|
||||
gaps inner 10
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{ const, username, homeDir, color, ... }: let
|
||||
makoConfig = ''${builtins.readFile ./module/mako/config}
|
||||
background-color=#${color.bg}
|
||||
border-color=#${color.accent}
|
||||
text-color=#${color.fg}'';
|
||||
in {
|
||||
{ const, username, homeDir, ... }: {
|
||||
home-manager.backupFileExtension = "old";
|
||||
|
||||
home-manager.users.${username} = {
|
||||
|
@ -14,11 +9,8 @@ in {
|
|||
|
||||
home.file = {
|
||||
".config/btop".source = ./module/top/btop;
|
||||
".config/gtk-2.0".source = ./module/gtk/2;
|
||||
".config/gtk-3.0".source = ./module/gtk/3;
|
||||
".config/gtk-4.0".source = ./module/gtk/4;
|
||||
".config/htop".source = ./module/top/htop;
|
||||
".config/mako/config".text = "${makoConfig}";
|
||||
".config/mako".source = ./module/mako;
|
||||
".editorconfig".source = ./module/Editorconfig;
|
||||
".parallel/will-cite".text = "";
|
||||
"media/template".source = ./module/template;
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
[Filechooser Settings]
|
||||
LocationMode=path-bar
|
||||
ShowHidden=false
|
||||
ShowSizeColumn=true
|
||||
GeometryX=396
|
||||
GeometryY=185
|
||||
GeometryWidth=1128
|
||||
GeometryHeight=786
|
||||
SortColumn=name
|
||||
SortOrder=ascending
|
||||
StartupMode=recent
|
|
@ -1,3 +0,0 @@
|
|||
file:///storage
|
||||
file:///home/voronind/tmp
|
||||
ftp://192.168.1.2/ home ftp
|
|
@ -1,78 +0,0 @@
|
|||
@define-color accent_color #fbf1c7;
|
||||
@define-color accent_bg_color #ebdbb2;
|
||||
@define-color accent_fg_color #282828;
|
||||
@define-color destructive_color #fb4934;
|
||||
@define-color destructive_bg_color #cc241d;
|
||||
@define-color destructive_fg_color #ebdbb2;
|
||||
@define-color success_color #b8bb26;
|
||||
@define-color success_bg_color #98971a;
|
||||
@define-color success_fg_color #ebdbb2;
|
||||
@define-color warning_color #fabd2f;
|
||||
@define-color warning_bg_color #d79921;
|
||||
@define-color warning_fg_color #282828;
|
||||
@define-color error_color #fb4934;
|
||||
@define-color error_bg_color #cc241d;
|
||||
@define-color error_fg_color #ffffff;
|
||||
@define-color window_bg_color #282828;
|
||||
@define-color window_fg_color #ebdbb2;
|
||||
@define-color view_bg_color #282828;
|
||||
@define-color view_fg_color #ebdbb2;
|
||||
@define-color headerbar_bg_color #3c3836;
|
||||
@define-color headerbar_fg_color #fbf1c7;
|
||||
@define-color headerbar_border_color #fbf1c7;
|
||||
@define-color headerbar_backdrop_color @window_bg_color;
|
||||
@define-color headerbar_shade_color rgba(0, 0, 0, 0.36);
|
||||
@define-color card_bg_color #3c3836;
|
||||
@define-color card_fg_color #ebdbb2;
|
||||
@define-color card_shade_color rgba(0, 0, 0, 0.36);
|
||||
@define-color dialog_bg_color #3c3836;
|
||||
@define-color dialog_fg_color #fbf1c7;
|
||||
@define-color popover_bg_color #3c3836;
|
||||
@define-color popover_fg_color #fbf1c7;
|
||||
@define-color shade_color rgba(0,0,0,0.36);
|
||||
@define-color scrollbar_outline_color rgba(0,0,0,0.5);
|
||||
@define-color blue_1 rgb(153,193,241);
|
||||
@define-color blue_2 rgb(98,160,234);
|
||||
@define-color blue_3 rgb(53,132,228);
|
||||
@define-color blue_4 rgb(28,113,216);
|
||||
@define-color blue_5 rgb(26,95,180);
|
||||
@define-color green_1 #8ff0a4;
|
||||
@define-color green_2 #57e389;
|
||||
@define-color green_3 #33d17a;
|
||||
@define-color green_4 #2ec27e;
|
||||
@define-color green_5 #26a269;
|
||||
@define-color yellow_1 #f9f06b;
|
||||
@define-color yellow_2 #f8e45c;
|
||||
@define-color yellow_3 #f6d32d;
|
||||
@define-color yellow_4 #f5c211;
|
||||
@define-color yellow_5 #e5a50a;
|
||||
@define-color orange_1 #ffbe6f;
|
||||
@define-color orange_2 #ffa348;
|
||||
@define-color orange_3 #ff7800;
|
||||
@define-color orange_4 #e66100;
|
||||
@define-color orange_5 #c64600;
|
||||
@define-color red_1 #f66151;
|
||||
@define-color red_2 #ed333b;
|
||||
@define-color red_3 #e01b24;
|
||||
@define-color red_4 #c01c28;
|
||||
@define-color red_5 #a51d2d;
|
||||
@define-color purple_1 #dc8add;
|
||||
@define-color purple_2 #c061cb;
|
||||
@define-color purple_3 #9141ac;
|
||||
@define-color purple_4 #813d9c;
|
||||
@define-color purple_5 #613583;
|
||||
@define-color brown_1 #cdab8f;
|
||||
@define-color brown_2 #b5835a;
|
||||
@define-color brown_3 #986a44;
|
||||
@define-color brown_4 #865e3c;
|
||||
@define-color brown_5 #63452c;
|
||||
@define-color light_1 #ffffff;
|
||||
@define-color light_2 #f6f5f4;
|
||||
@define-color light_3 #deddda;
|
||||
@define-color light_4 #c0bfbc;
|
||||
@define-color light_5 #9a9996;
|
||||
@define-color dark_1 #77767b;
|
||||
@define-color dark_2 #5e5c64;
|
||||
@define-color dark_3 #3d3846;
|
||||
@define-color dark_4 #241f31;
|
||||
@define-color dark_5 #000000;
|
|
@ -1,2 +0,0 @@
|
|||
[Settings]
|
||||
gtk-application-prefer-dark-theme=1
|
|
@ -1,78 +0,0 @@
|
|||
@define-color accent_color #fbf1c7;
|
||||
@define-color accent_bg_color #ebdbb2;
|
||||
@define-color accent_fg_color #282828;
|
||||
@define-color destructive_color #fb4934;
|
||||
@define-color destructive_bg_color #cc241d;
|
||||
@define-color destructive_fg_color #ebdbb2;
|
||||
@define-color success_color #b8bb26;
|
||||
@define-color success_bg_color #98971a;
|
||||
@define-color success_fg_color #ebdbb2;
|
||||
@define-color warning_color #fabd2f;
|
||||
@define-color warning_bg_color #d79921;
|
||||
@define-color warning_fg_color #282828;
|
||||
@define-color error_color #fb4934;
|
||||
@define-color error_bg_color #cc241d;
|
||||
@define-color error_fg_color #ffffff;
|
||||
@define-color window_bg_color #282828;
|
||||
@define-color window_fg_color #ebdbb2;
|
||||
@define-color view_bg_color #282828;
|
||||
@define-color view_fg_color #ebdbb2;
|
||||
@define-color headerbar_bg_color #3c3836;
|
||||
@define-color headerbar_fg_color #fbf1c7;
|
||||
@define-color headerbar_border_color #fbf1c7;
|
||||
@define-color headerbar_backdrop_color @window_bg_color;
|
||||
@define-color headerbar_shade_color rgba(0, 0, 0, 0.36);
|
||||
@define-color card_bg_color #3c3836;
|
||||
@define-color card_fg_color #ebdbb2;
|
||||
@define-color card_shade_color rgba(0, 0, 0, 0.36);
|
||||
@define-color dialog_bg_color #3c3836;
|
||||
@define-color dialog_fg_color #fbf1c7;
|
||||
@define-color popover_bg_color #3c3836;
|
||||
@define-color popover_fg_color #fbf1c7;
|
||||
@define-color shade_color rgba(0,0,0,0.36);
|
||||
@define-color scrollbar_outline_color rgba(0,0,0,0.5);
|
||||
@define-color blue_1 rgb(153,193,241);
|
||||
@define-color blue_2 rgb(98,160,234);
|
||||
@define-color blue_3 rgb(53,132,228);
|
||||
@define-color blue_4 rgb(28,113,216);
|
||||
@define-color blue_5 rgb(26,95,180);
|
||||
@define-color green_1 #8ff0a4;
|
||||
@define-color green_2 #57e389;
|
||||
@define-color green_3 #33d17a;
|
||||
@define-color green_4 #2ec27e;
|
||||
@define-color green_5 #26a269;
|
||||
@define-color yellow_1 #f9f06b;
|
||||
@define-color yellow_2 #f8e45c;
|
||||
@define-color yellow_3 #f6d32d;
|
||||
@define-color yellow_4 #f5c211;
|
||||
@define-color yellow_5 #e5a50a;
|
||||
@define-color orange_1 #ffbe6f;
|
||||
@define-color orange_2 #ffa348;
|
||||
@define-color orange_3 #ff7800;
|
||||
@define-color orange_4 #e66100;
|
||||
@define-color orange_5 #c64600;
|
||||
@define-color red_1 #f66151;
|
||||
@define-color red_2 #ed333b;
|
||||
@define-color red_3 #e01b24;
|
||||
@define-color red_4 #c01c28;
|
||||
@define-color red_5 #a51d2d;
|
||||
@define-color purple_1 #dc8add;
|
||||
@define-color purple_2 #c061cb;
|
||||
@define-color purple_3 #9141ac;
|
||||
@define-color purple_4 #813d9c;
|
||||
@define-color purple_5 #613583;
|
||||
@define-color brown_1 #cdab8f;
|
||||
@define-color brown_2 #b5835a;
|
||||
@define-color brown_3 #986a44;
|
||||
@define-color brown_4 #865e3c;
|
||||
@define-color brown_5 #63452c;
|
||||
@define-color light_1 #ffffff;
|
||||
@define-color light_2 #f6f5f4;
|
||||
@define-color light_3 #deddda;
|
||||
@define-color light_4 #c0bfbc;
|
||||
@define-color light_5 #9a9996;
|
||||
@define-color dark_1 #77767b;
|
||||
@define-color dark_2 #5e5c64;
|
||||
@define-color dark_3 #3d3846;
|
||||
@define-color dark_4 #241f31;
|
||||
@define-color dark_5 #000000;
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xbel version="1.0"
|
||||
xmlns:bookmark="http://www.freedesktop.org/standards/desktop-bookmarks"
|
||||
xmlns:mime="http://www.freedesktop.org/standards/shared-mime-info"
|
||||
>
|
||||
</xbel>
|
|
@ -1,2 +0,0 @@
|
|||
[Settings]
|
||||
gtk-application-prefer-dark-theme=1
|
Loading…
Reference in a new issue