stuff
This commit is contained in:
BIN
WE-Lake.png
Normal file
BIN
WE-Lake.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 303 KiB |
@@ -11,11 +11,13 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
|
boot.loader.grub.devices = ["nodev"];
|
||||||
|
boot.loader.grub.useOSProber = true;
|
||||||
|
boot.loader.grub.efiSupport = true;
|
||||||
boot.initrd.systemd.enable = true;
|
boot.initrd.systemd.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.kernelParams = ["quiet"];
|
boot.kernelParams = ["quiet"];
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages; [ hid-tmff2 ];
|
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
nssmdns4 = true;
|
||||||
@@ -27,7 +29,6 @@
|
|||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
@@ -36,6 +37,10 @@
|
|||||||
amdvlk
|
amdvlk
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"electron-31.7.7"
|
||||||
|
];
|
||||||
|
|
||||||
environment.variables.AMD_VULKAN_ICD = "RADV";
|
environment.variables.AMD_VULKAN_ICD = "RADV";
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
@@ -66,11 +71,11 @@
|
|||||||
|
|
||||||
# Enable the GNOME Desktop Environment.
|
# Enable the GNOME Desktop Environment.
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
services.desktopManager.plasma6.enable = true;
|
services.desktopManager.plasma6.enable = false;
|
||||||
services.displayManager.sddm.enable = false;
|
services.displayManager.sddm.enable = false;
|
||||||
services.displayManager.cosmic-greeter.enable = false;
|
services.displayManager.cosmic-greeter.enable = false;
|
||||||
services.desktopManager.cosmic.enable = true;
|
services.desktopManager.cosmic.enable = false;
|
||||||
security.pam.services.hyprlock = {};
|
#security.pam.services.hyprlock = {};
|
||||||
|
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -82,7 +87,11 @@
|
|||||||
default_session = initial_session;
|
default_session = initial_session;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
# Polkit
|
||||||
|
|
||||||
|
security.polkit.enable = true;
|
||||||
|
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
@@ -94,16 +103,16 @@
|
|||||||
|
|
||||||
# Enable Swap
|
# Enable Swap
|
||||||
|
|
||||||
swapDevices = [ {
|
/*swapDevices = [ {
|
||||||
device = "/var/lib/swapfile";
|
device = "/var/lib/swapfile";
|
||||||
size = 16*1024;
|
size = 16*1024;
|
||||||
}];
|
}];*/
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
hardware.pulseaudio.enable = false;
|
services.pulseaudio.enable = false;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -131,6 +140,8 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix.optimise.automatic = true;
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
@@ -149,16 +160,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
fileSystems."/mnt/Skyrim" = {
|
|
||||||
device = "/dev/sdb1";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = [
|
|
||||||
"users"
|
|
||||||
"nofail"
|
|
||||||
"x-gvfs-show"
|
|
||||||
"exec"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -167,7 +168,8 @@
|
|||||||
fira-code
|
fira-code
|
||||||
fira-code-symbols
|
fira-code-symbols
|
||||||
roboto
|
roboto
|
||||||
(nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" ]; })
|
nerd-fonts.fira-code
|
||||||
|
nerd-fonts.jetbrains-mono
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -176,12 +178,14 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
feishin
|
feishin
|
||||||
blueman
|
bibata-cursors
|
||||||
|
blender
|
||||||
rustc
|
rustc
|
||||||
winetricks
|
winetricks
|
||||||
cowsay
|
cowsay
|
||||||
pfetch
|
pfetch
|
||||||
ryujinx
|
ryujinx
|
||||||
|
hyprpolkitagent
|
||||||
gomatrix
|
gomatrix
|
||||||
pavucontrol
|
pavucontrol
|
||||||
gnomeExtensions.tray-icons-reloaded
|
gnomeExtensions.tray-icons-reloaded
|
||||||
@@ -190,17 +194,18 @@
|
|||||||
gnomeExtensions.open-bar
|
gnomeExtensions.open-bar
|
||||||
just
|
just
|
||||||
steamtinkerlaunch
|
steamtinkerlaunch
|
||||||
|
grub2
|
||||||
lunar-client
|
lunar-client
|
||||||
cargo
|
cargo
|
||||||
btop
|
btop
|
||||||
kdePackages.kalk
|
kdePackages.kalk
|
||||||
inputs.zen-browser.packages."${system}".specific
|
inputs.zen-browser.packages."${system}".default
|
||||||
kdePackages.kdenlive
|
kdePackages.kdenlive
|
||||||
fuse
|
fuse
|
||||||
|
linux-wallpaperengine
|
||||||
ntfs3g
|
ntfs3g
|
||||||
lapce
|
lapce
|
||||||
prismlauncher
|
prismlauncher
|
||||||
modrinth-app
|
|
||||||
kdePackages.elisa
|
kdePackages.elisa
|
||||||
glaxnimate
|
glaxnimate
|
||||||
librewolf
|
librewolf
|
||||||
@@ -219,7 +224,7 @@
|
|||||||
wine
|
wine
|
||||||
alvr
|
alvr
|
||||||
bottles
|
bottles
|
||||||
cava
|
#cava
|
||||||
pop-icon-theme
|
pop-icon-theme
|
||||||
pop-launcher
|
pop-launcher
|
||||||
gnome-tweaks
|
gnome-tweaks
|
||||||
|
|||||||
236
flake.lock
generated
236
flake.lock
generated
@@ -2,23 +2,48 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"ags": {
|
"ags": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs",
|
"astal": "astal",
|
||||||
"systems": "systems"
|
"nixpkgs": [
|
||||||
|
"hyprpanel",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728326430,
|
"lastModified": 1736090999,
|
||||||
"narHash": "sha256-tV1ABHuA1HItMdCTuNdA8fMB+qw7LpjvI945VwMSABI=",
|
"narHash": "sha256-B5CJuHqfJrzPa7tObK0H9669/EClSHpa/P7B9EuvElU=",
|
||||||
"owner": "Aylur",
|
"owner": "aylur",
|
||||||
"repo": "ags",
|
"repo": "ags",
|
||||||
"rev": "60180a184cfb32b61a1d871c058b31a3b9b0743d",
|
"rev": "5527c3c07d92c11e04e7fd99d58429493dba7e3c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "Aylur",
|
"owner": "aylur",
|
||||||
"repo": "ags",
|
"repo": "ags",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"astal": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"hyprpanel",
|
||||||
|
"ags",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1735172721,
|
||||||
|
"narHash": "sha256-rtEAwGsHSppnkR3Qg3eRJ6Xh/F84IY9CrBBLzYabalY=",
|
||||||
|
"owner": "aylur",
|
||||||
|
"repo": "astal",
|
||||||
|
"rev": "6c84b64efc736e039a8a10774a4a1bf772c37aa2",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "aylur",
|
||||||
|
"repo": "astal",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"devshell": {
|
"devshell": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -27,11 +52,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728330715,
|
"lastModified": 1735644329,
|
||||||
"narHash": "sha256-xRJ2nPOXb//u1jaBnDP56M7v5ldavjbtR6lfGqSvcKg=",
|
"narHash": "sha256-tO3HrHriyLvipc4xr+Ewtdlo7wM1OjXNjlWRgmM7peY=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "devshell",
|
"repo": "devshell",
|
||||||
"rev": "dd6b80932022cea34a019e2bb32f6fa9e494dfef",
|
"rev": "f7795ede5b02664b57035b3b757876703e2c3eac",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -58,12 +83,12 @@
|
|||||||
},
|
},
|
||||||
"flake-compat_2": {
|
"flake-compat_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696426674,
|
"lastModified": 1733328505,
|
||||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
|
||||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
|
||||||
"revCount": 57,
|
"revCount": 69,
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz"
|
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
@@ -78,11 +103,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730504689,
|
"lastModified": 1738453229,
|
||||||
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
|
"narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
|
"rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -93,14 +118,14 @@
|
|||||||
},
|
},
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems_2"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726560853,
|
"lastModified": 1731533236,
|
||||||
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -119,18 +144,14 @@
|
|||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixvim",
|
"nixvim",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
|
||||||
"nixpkgs-stable": [
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730814269,
|
"lastModified": 1737465171,
|
||||||
"narHash": "sha256-fWPHyhYE6xvMI1eGY3pwBTq85wcy1YXqdzTZF+06nOg=",
|
"narHash": "sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "d70155fdc00df4628446352fc58adc640cd705c2",
|
"rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -168,11 +189,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730837930,
|
"lastModified": 1738878603,
|
||||||
"narHash": "sha256-0kZL4m+bKBJUBQse0HanewWO0g8hDdCvBhudzxgehqc=",
|
"narHash": "sha256-fmhq8B3MvQLawLbMO+LWLcdC2ftLMmwSk+P29icJ3tE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "2f607e07f3ac7e53541120536708e824acccfaa8",
|
"rev": "433799271274c9f2ab520a49527ebfe2992dcfbd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -189,11 +210,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730837930,
|
"lastModified": 1738841109,
|
||||||
"narHash": "sha256-0kZL4m+bKBJUBQse0HanewWO0g8hDdCvBhudzxgehqc=",
|
"narHash": "sha256-sEgE3nifaRU5gfAx33ds0tx/j+qM0/5/bHopv/w6c0c=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "2f607e07f3ac7e53541120536708e824acccfaa8",
|
"rev": "f99c704fe3a4cf8d72b2d568ec80bc38be1a9407",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -205,14 +226,14 @@
|
|||||||
"hyprpanel": {
|
"hyprpanel": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"ags": "ags",
|
"ags": "ags",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731881415,
|
"lastModified": 1738836920,
|
||||||
"narHash": "sha256-OeweFCPQ5QaJvZKARJJ9AsP7R3KDP+celSXzV2Jc5lQ=",
|
"narHash": "sha256-1zCjMuRrxrsFgl8FH/pjwyM9dxoiQDc3SgrjGqOGv/c=",
|
||||||
"owner": "Jas-SinghFSU",
|
"owner": "Jas-SinghFSU",
|
||||||
"repo": "HyprPanel",
|
"repo": "HyprPanel",
|
||||||
"rev": "0555a84b302957695aa1f369e4f404835343b60a",
|
"rev": "6b846b97097ba6cae627630ead88774b15af887e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -251,11 +272,11 @@
|
|||||||
},
|
},
|
||||||
"master": {
|
"master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731168639,
|
"lastModified": 1738886059,
|
||||||
"narHash": "sha256-iSjFu7x07YCjY0d5TbTFF5PGalnoapxUzw1jXMNfy2I=",
|
"narHash": "sha256-DYkVeNwjNtcZfx37AfvDUQVtwfS98ES27iTI76LnG8A=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b35c45a2c17458a108d03f2a780d8a2f17c16b6e",
|
"rev": "12a098d8424a90f882687f08d5c1b0be46249699",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -273,11 +294,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731153869,
|
"lastModified": 1738743987,
|
||||||
"narHash": "sha256-3Ftf9oqOypcEyyrWJ0baVkRpvQqroK/SVBFLvU3nPuc=",
|
"narHash": "sha256-O3bnAfsObto6l2tQOmQlrO6Z2kD6yKwOWfs7pA0CpOc=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "5c74ab862c8070cbf6400128a1b56abb213656da",
|
"rev": "ae406c04577ff9a64087018c79b4fdc02468c87c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -292,15 +313,14 @@
|
|||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nixpkgs-stable": "nixpkgs-stable",
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
"rust-overlay": "rust-overlay"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731116135,
|
"lastModified": 1738876009,
|
||||||
"narHash": "sha256-IJ7SViFR2APiuV3k+8v6NIMI1K7oP0Q3cNNfrdlbefU=",
|
"narHash": "sha256-NWOsGZshqmErypjw62LnzOfZZ3kiclMisF1f1JaKpgc=",
|
||||||
"owner": "lilyinstarlight",
|
"owner": "lilyinstarlight",
|
||||||
"repo": "nixos-cosmic",
|
"repo": "nixos-cosmic",
|
||||||
"rev": "c74c207183e32f23a94b4bb8b69bc5064db98894",
|
"rev": "af0ad2ecf0a6229f07cd29f1e083243ff3f7fc55",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -311,15 +331,15 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725634671,
|
"lastModified": 1736344531,
|
||||||
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
|
"narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
|
"rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
@@ -327,43 +347,27 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730883749,
|
"lastModified": 1738702386,
|
||||||
"narHash": "sha256-mwrFF0vElHJP8X3pFCByJR365Q2463ATp2qGIrDUdlE=",
|
"narHash": "sha256-nJj8f78AYAxl/zqLiFGXn5Im1qjFKU8yBPKoWEeZN5M=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "dba414932936fde69f0606b4f1d87c5bc0003ede",
|
"rev": "030ba1976b7c0e1a67d9716b17308ccdab5b381e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-24.05",
|
"ref": "nixos-24.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731676054,
|
"lastModified": 1738680400,
|
||||||
"narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=",
|
"narHash": "sha256-ooLh+XW8jfa+91F1nhf9OF7qhuA/y1ChLx6lXDNeY5U=",
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1730785428,
|
|
||||||
"narHash": "sha256-Zwl8YgTVJTEum+L+0zVAWvXAGbWAuXHax3KzuejaDyo=",
|
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4aa36568d413aca0ea84a1684d2d46f55dbabad7",
|
"rev": "799ba5bffed04ced7067a91798353d360788b30d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -372,13 +376,13 @@
|
|||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1727348695,
|
"lastModified": 1735471104,
|
||||||
"narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=",
|
"narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784",
|
"rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -403,11 +407,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731155487,
|
"lastModified": 1738844060,
|
||||||
"narHash": "sha256-+D57j7BcV5O3XH9za3c3XXVLHr+F+enThAN2EeF6H/M=",
|
"narHash": "sha256-N5aqp83tNnX6X+28CYhieUTHJjNTWyXCMUB4xyvMSO8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "31364af1990067d5529846a2ebf17a42c5ab22ff",
|
"rev": "5024ef216f0e5d84adf1da703445de4ca1f8f9fb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -426,11 +430,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731060242,
|
"lastModified": 1738508923,
|
||||||
"narHash": "sha256-43yLsOm/wxBbfYSNDWVJeVv5Ij+23X3BIjFUfsdx/6M=",
|
"narHash": "sha256-4DaDrQDAIxlWhTjH6h/+xfG05jt3qDZrZE/7zDLQaS4=",
|
||||||
"owner": "NuschtOS",
|
"owner": "NuschtOS",
|
||||||
"repo": "search",
|
"repo": "search",
|
||||||
"rev": "ef493352f9e1f051e01a55c062731503a6b36b4e",
|
"rev": "86e2038290859006e05ca7201425ea5b5de4aecb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -445,48 +449,12 @@
|
|||||||
"hyprpanel": "hyprpanel",
|
"hyprpanel": "hyprpanel",
|
||||||
"master": "master",
|
"master": "master",
|
||||||
"nixos-cosmic": "nixos-cosmic",
|
"nixos-cosmic": "nixos-cosmic",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"zen-browser": "zen-browser"
|
"zen-browser": "zen-browser"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixos-cosmic",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731032894,
|
|
||||||
"narHash": "sha256-dQSyYPmrQiPr+PGEd+K8038rubFGz7G/dNXVeaGWE0w=",
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"rev": "d52f2a4c103a0acf09ded857b9e2519ae2360e59",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
|
||||||
"lastModified": 1689347949,
|
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems_2": {
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
@@ -509,11 +477,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730321837,
|
"lastModified": 1738680491,
|
||||||
"narHash": "sha256-vK+a09qq19QNu2MlLcvN4qcRctJbqWkX7ahgPZ/+maI=",
|
"narHash": "sha256-8X7tR3kFGkE7WEF5EXVkt4apgaN85oHZdoTGutCFs6I=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "746901bb8dba96d154b66492a29f5db0693dbfcc",
|
"rev": "64dbb922d51a42c0ced6a7668ca008dded61c483",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -524,18 +492,18 @@
|
|||||||
},
|
},
|
||||||
"zen-browser": {
|
"zen-browser": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1727721329,
|
"lastModified": 1738880187,
|
||||||
"narHash": "sha256-QYlWZwUSwrM7BuO+dXclZIwoPvBIuJr6GpFKv9XKFPI=",
|
"narHash": "sha256-1RieTOf8k5WQDMUpk2y24jmCUGS5Z8vyVb1xOaZu6cc=",
|
||||||
"owner": "MarceColl",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "e6ab73f405e9a2896cce5956c549a9cc359e5fcc",
|
"rev": "6449d5cd3ddd3e21650ed2b80c59acfbb196fb2b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "MarceColl",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
url = "github:lilyinstarlight/nixos-cosmic";
|
url = "github:lilyinstarlight/nixos-cosmic";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
zen-browser.url = "github:MarceColl/zen-browser-flake";
|
zen-browser.url = "github:0xc000022070/zen-browser-flake";
|
||||||
master.url = "github:NixOS/nixpkgs/master";
|
master.url = "github:NixOS/nixpkgs/master";
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
||||||
|
|||||||
@@ -3,11 +3,14 @@ autogenerated = 0 # remove this line to remove the warning
|
|||||||
source=~/.config/hypr/rose-pine.conf
|
source=~/.config/hypr/rose-pine.conf
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
monitor = HDMI-A-1, 3840x2160@60, 0x0, 2
|
monitor = HDMI-A-1, 2560x1440@60, 0x0, 1
|
||||||
exec-once = hyprctl dispatch workspace 1
|
exec-once = hyprctl dispatch workspace 1
|
||||||
exec-once = swaybg -i ~/Pictures/Wallpaper/wallhaven-z85eoy.jpg
|
#exec-once = swaybg -i ~/Pictures/Wallpaper/wallhaven-z85eoy.jpg
|
||||||
|
exec-once = linux-wallpaperengine --screen-root HDMI-A-1 --silent --fps 60 3351251525
|
||||||
exec-once = hyprlock
|
exec-once = hyprlock
|
||||||
exec-once = waybar
|
# exec-once = waybar
|
||||||
|
exec-once = hyprpanel
|
||||||
|
exec-once = sunshine
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
# Execute your favorite apps at launch
|
||||||
@@ -32,6 +35,7 @@ input {
|
|||||||
kb_model =
|
kb_model =
|
||||||
kb_options =
|
kb_options =
|
||||||
kb_rules =
|
kb_rules =
|
||||||
|
accel_profile = flat
|
||||||
|
|
||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
|
|
||||||
@@ -69,11 +73,6 @@ decoration {
|
|||||||
ignore_opacity = on
|
ignore_opacity = on
|
||||||
xray = false
|
xray = false
|
||||||
}
|
}
|
||||||
|
|
||||||
drop_shadow = yes
|
|
||||||
shadow_range = 4
|
|
||||||
shadow_render_power = 3
|
|
||||||
col.shadow = rgba(1a1a1aee)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
path = ~/Pictures/Wallpaper/wallhaven-z85eoy.jpg
|
path = ~/NixOS-Configs/WE-Lake.png
|
||||||
|
|
||||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||||
blur_passes = 3 # 0 disables blurring
|
blur_passes = 3 # 0 disables blurring
|
||||||
|
|||||||
465
gruvbox_modules/hyprpanel/options.json
Normal file
465
gruvbox_modules/hyprpanel/options.json
Normal file
@@ -0,0 +1,465 @@
|
|||||||
|
{
|
||||||
|
"bar.customModules.updates.pollingInterval": 1440000,
|
||||||
|
"menus.transition": "none",
|
||||||
|
"theme.bar.menus.monochrome": false,
|
||||||
|
"theme.bar.menus.menu.notifications.scrollbar.color": "#83a598",
|
||||||
|
"theme.bar.menus.menu.notifications.pager.label": "#a89984",
|
||||||
|
"theme.bar.menus.menu.notifications.pager.button": "#83a598",
|
||||||
|
"theme.bar.menus.menu.notifications.pager.background": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.notifications.switch.puck": "#504945",
|
||||||
|
"theme.bar.menus.menu.notifications.switch.disabled": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.notifications.switch.enabled": "#83a598",
|
||||||
|
"theme.bar.menus.menu.notifications.clear": "#83a598",
|
||||||
|
"theme.bar.menus.menu.notifications.switch_divider": "#504945",
|
||||||
|
"theme.bar.menus.menu.notifications.border": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.notifications.card": "#282828",
|
||||||
|
"theme.bar.menus.menu.notifications.background": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.notifications.no_notifications_label": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.notifications.label": "#83a598",
|
||||||
|
"theme.bar.menus.menu.power.buttons.sleep.icon": "#32302f",
|
||||||
|
"theme.bar.menus.menu.power.buttons.sleep.text": "#83a598",
|
||||||
|
"theme.bar.menus.menu.power.buttons.sleep.icon_background": "#83a598",
|
||||||
|
"theme.bar.menus.menu.power.buttons.sleep.background": "#282828",
|
||||||
|
"theme.bar.menus.menu.power.buttons.logout.icon": "#32302f",
|
||||||
|
"theme.bar.menus.menu.power.buttons.logout.text": "#b8bb26",
|
||||||
|
"theme.bar.menus.menu.power.buttons.logout.icon_background": "#b8bb26",
|
||||||
|
"theme.bar.menus.menu.power.buttons.logout.background": "#282828",
|
||||||
|
"theme.bar.menus.menu.power.buttons.restart.icon": "#32302f",
|
||||||
|
"theme.bar.menus.menu.power.buttons.restart.text": "#fe8019",
|
||||||
|
"theme.bar.menus.menu.power.buttons.restart.icon_background": "#fe8019",
|
||||||
|
"theme.bar.menus.menu.power.buttons.restart.background": "#282828",
|
||||||
|
"theme.bar.menus.menu.power.buttons.shutdown.icon": "#32302f",
|
||||||
|
"theme.bar.menus.menu.power.buttons.shutdown.text": "#cc241d",
|
||||||
|
"theme.bar.menus.menu.power.buttons.shutdown.icon_background": "#cc241d",
|
||||||
|
"theme.bar.menus.menu.power.buttons.shutdown.background": "#282828",
|
||||||
|
"theme.bar.menus.menu.power.border.color": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.power.background.color": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.disk.label": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.disk.bar": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.disk.icon": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.gpu.label": "#b8bb26",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.gpu.bar": "#b8bb26",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.gpu.icon": "#b8bb26",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.ram.label": "#fabd2f",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.ram.bar": "#fabd2f",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.ram.icon": "#fabd2f",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.cpu.label": "#fb4934",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.cpu.bar": "#fb4934",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.cpu.icon": "#fb4934",
|
||||||
|
"theme.bar.menus.menu.dashboard.monitors.bar_background": "#504945",
|
||||||
|
"theme.bar.menus.menu.dashboard.directories.right.bottom.color": "#83a598",
|
||||||
|
"theme.bar.menus.menu.dashboard.directories.right.middle.color": "#b16286",
|
||||||
|
"theme.bar.menus.menu.dashboard.directories.right.top.color": "#8ec07c",
|
||||||
|
"theme.bar.menus.menu.dashboard.directories.left.bottom.color": "#fb4934",
|
||||||
|
"theme.bar.menus.menu.dashboard.directories.left.middle.color": "#fabd2f",
|
||||||
|
"theme.bar.menus.menu.dashboard.directories.left.top.color": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.dashboard.controls.input.text": "#32302f",
|
||||||
|
"theme.bar.menus.menu.dashboard.controls.input.background": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.dashboard.controls.volume.text": "#32302f",
|
||||||
|
"theme.bar.menus.menu.dashboard.controls.volume.background": "#fb4934",
|
||||||
|
"theme.bar.menus.menu.dashboard.controls.notifications.text": "#32302f",
|
||||||
|
"theme.bar.menus.menu.dashboard.controls.notifications.background": "#fabd2f",
|
||||||
|
"theme.bar.menus.menu.dashboard.controls.bluetooth.text": "#32302f",
|
||||||
|
"theme.bar.menus.menu.dashboard.controls.bluetooth.background": "#83a598",
|
||||||
|
"theme.bar.menus.menu.dashboard.controls.wifi.text": "#32302f",
|
||||||
|
"theme.bar.menus.menu.dashboard.controls.wifi.background": "#b16286",
|
||||||
|
"theme.bar.menus.menu.dashboard.controls.disabled": "#665c54",
|
||||||
|
"theme.bar.menus.menu.dashboard.shortcuts.recording": "#b8bb26",
|
||||||
|
"theme.bar.menus.menu.dashboard.shortcuts.text": "#32302f",
|
||||||
|
"theme.bar.menus.menu.dashboard.shortcuts.background": "#83a598",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.confirmation.button_text": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.confirmation.deny": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.confirmation.confirm": "#8ec07b",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.confirmation.body": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.confirmation.label": "#83a598",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.confirmation.border": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.confirmation.background": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.confirmation.card": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.sleep": "#83a598",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.logout": "#b8bb26",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.restart": "#fe8019",
|
||||||
|
"theme.bar.menus.menu.dashboard.powermenu.shutdown": "#cc241d",
|
||||||
|
"theme.bar.menus.menu.dashboard.profile.name": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.dashboard.border.color": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.dashboard.background.color": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.dashboard.card.color": "#282828",
|
||||||
|
"theme.bar.menus.menu.clock.weather.hourly.temperature": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.clock.weather.hourly.icon": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.clock.weather.hourly.time": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.clock.weather.thermometer.extremelycold": "#83a598",
|
||||||
|
"theme.bar.menus.menu.clock.weather.thermometer.cold": "#458588",
|
||||||
|
"theme.bar.menus.menu.clock.weather.thermometer.moderate": "#83a598",
|
||||||
|
"theme.bar.menus.menu.clock.weather.thermometer.hot": "#fe8019",
|
||||||
|
"theme.bar.menus.menu.clock.weather.thermometer.extremelyhot": "#cc241d",
|
||||||
|
"theme.bar.menus.menu.clock.weather.stats": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.clock.weather.status": "#8ec07c",
|
||||||
|
"theme.bar.menus.menu.clock.weather.temperature": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.clock.weather.icon": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.clock.calendar.contextdays": "#665c54",
|
||||||
|
"theme.bar.menus.menu.clock.calendar.days": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.clock.calendar.currentday": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.clock.calendar.paginator": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.clock.calendar.weekdays": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.clock.calendar.yearmonth": "#8ec07c",
|
||||||
|
"theme.bar.menus.menu.clock.time.timeperiod": "#8ec07c",
|
||||||
|
"theme.bar.menus.menu.clock.time.time": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.clock.text": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.clock.border.color": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.clock.background.color": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.clock.card.color": "#282828",
|
||||||
|
"theme.bar.menus.menu.battery.slider.puck": "#7c6f64",
|
||||||
|
"theme.bar.menus.menu.battery.slider.backgroundhover": "#504945",
|
||||||
|
"theme.bar.menus.menu.battery.slider.background": "#665c54",
|
||||||
|
"theme.bar.menus.menu.battery.slider.primary": "#fabd2f",
|
||||||
|
"theme.bar.menus.menu.battery.icons.active": "#fabd2f",
|
||||||
|
"theme.bar.menus.menu.battery.icons.passive": "#a89984",
|
||||||
|
"theme.bar.menus.menu.battery.listitems.active": "#fabd2f",
|
||||||
|
"theme.bar.menus.menu.battery.listitems.passive": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.battery.text": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.battery.label.color": "#fabd2f",
|
||||||
|
"theme.bar.menus.menu.battery.border.color": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.battery.background.color": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.battery.card.color": "#282828",
|
||||||
|
"theme.bar.menus.menu.systray.dropdownmenu.divider": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.systray.dropdownmenu.text": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.systray.dropdownmenu.background": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.bluetooth.iconbutton.active": "#83a598",
|
||||||
|
"theme.bar.menus.menu.bluetooth.iconbutton.passive": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.bluetooth.icons.active": "#83a598",
|
||||||
|
"theme.bar.menus.menu.bluetooth.icons.passive": "#a89984",
|
||||||
|
"theme.bar.menus.menu.bluetooth.listitems.active": "#83a598",
|
||||||
|
"theme.bar.menus.menu.bluetooth.listitems.passive": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.bluetooth.switch.puck": "#504945",
|
||||||
|
"theme.bar.menus.menu.bluetooth.switch.disabled": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.bluetooth.switch.enabled": "#83a598",
|
||||||
|
"theme.bar.menus.menu.bluetooth.switch_divider": "#504945",
|
||||||
|
"theme.bar.menus.menu.bluetooth.status": "#7c6f64",
|
||||||
|
"theme.bar.menus.menu.bluetooth.text": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.bluetooth.label.color": "#83a598",
|
||||||
|
"theme.bar.menus.menu.bluetooth.border.color": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.bluetooth.background.color": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.bluetooth.card.color": "#282828",
|
||||||
|
"theme.bar.menus.menu.network.iconbuttons.active": "#b16286",
|
||||||
|
"theme.bar.menus.menu.network.iconbuttons.passive": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.network.icons.active": "#b16286",
|
||||||
|
"theme.bar.menus.menu.network.icons.passive": "#a89984",
|
||||||
|
"theme.bar.menus.menu.network.listitems.active": "#b16286",
|
||||||
|
"theme.bar.menus.menu.network.listitems.passive": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.network.status.color": "#7c6f64",
|
||||||
|
"theme.bar.menus.menu.network.text": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.network.label.color": "#b16286",
|
||||||
|
"theme.bar.menus.menu.network.border.color": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.network.background.color": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.network.card.color": "#282828",
|
||||||
|
"theme.bar.menus.menu.volume.input_slider.puck": "#665c54",
|
||||||
|
"theme.bar.menus.menu.volume.input_slider.backgroundhover": "#504945",
|
||||||
|
"theme.bar.menus.menu.volume.input_slider.background": "#665c54",
|
||||||
|
"theme.bar.menus.menu.volume.input_slider.primary": "#fe8018",
|
||||||
|
"theme.bar.menus.menu.volume.audio_slider.puck": "#665c54",
|
||||||
|
"theme.bar.menus.menu.volume.audio_slider.backgroundhover": "#504945",
|
||||||
|
"theme.bar.menus.menu.volume.audio_slider.background": "#665c54",
|
||||||
|
"theme.bar.menus.menu.volume.audio_slider.primary": "#fe8018",
|
||||||
|
"theme.bar.menus.menu.volume.icons.active": "#fe8018",
|
||||||
|
"theme.bar.menus.menu.volume.icons.passive": "#a89984",
|
||||||
|
"theme.bar.menus.menu.volume.iconbutton.active": "#fe8018",
|
||||||
|
"theme.bar.menus.menu.volume.iconbutton.passive": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.volume.listitems.active": "#fe8018",
|
||||||
|
"theme.bar.menus.menu.volume.listitems.passive": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.volume.text": "#ebdbb2",
|
||||||
|
"theme.bar.menus.menu.volume.label.color": "#fe8018",
|
||||||
|
"theme.bar.menus.menu.volume.border.color": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.volume.background.color": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.volume.card.color": "#282828",
|
||||||
|
"theme.bar.menus.menu.media.slider.puck": "#7c6f64",
|
||||||
|
"theme.bar.menus.menu.media.slider.backgroundhover": "#504945",
|
||||||
|
"theme.bar.menus.menu.media.slider.background": "#665c54",
|
||||||
|
"theme.bar.menus.menu.media.slider.primary": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.media.buttons.text": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.media.buttons.background": "#83a598",
|
||||||
|
"theme.bar.menus.menu.media.buttons.enabled": "#8ec07c",
|
||||||
|
"theme.bar.menus.menu.media.buttons.inactive": "#665c54",
|
||||||
|
"theme.bar.menus.menu.media.border.color": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.media.card.color": "#282828",
|
||||||
|
"theme.bar.menus.menu.media.background.color": "#1d2021",
|
||||||
|
"theme.bar.menus.menu.media.album": "#d3869b",
|
||||||
|
"theme.bar.menus.menu.media.artist": "#8ec07c",
|
||||||
|
"theme.bar.menus.menu.media.song": "#83a598",
|
||||||
|
"theme.bar.menus.tooltip.text": "#ebdbb2",
|
||||||
|
"theme.bar.menus.tooltip.background": "#1d2021",
|
||||||
|
"theme.bar.menus.dropdownmenu.divider": "#1d2021",
|
||||||
|
"theme.bar.menus.dropdownmenu.text": "#ebdbb2",
|
||||||
|
"theme.bar.menus.dropdownmenu.background": "#1d2021",
|
||||||
|
"theme.bar.menus.slider.puck": "#7c6f64",
|
||||||
|
"theme.bar.menus.slider.backgroundhover": "#504945",
|
||||||
|
"theme.bar.menus.slider.background": "#665c54",
|
||||||
|
"theme.bar.menus.slider.primary": "#83a598",
|
||||||
|
"theme.bar.menus.progressbar.background": "#504945",
|
||||||
|
"theme.bar.menus.progressbar.foreground": "#83a598",
|
||||||
|
"theme.bar.menus.iconbuttons.active": "#83a598",
|
||||||
|
"theme.bar.menus.iconbuttons.passive": "#ebdbb2",
|
||||||
|
"theme.bar.menus.buttons.text": "#32302f",
|
||||||
|
"theme.bar.menus.buttons.disabled": "#665c54",
|
||||||
|
"theme.bar.menus.buttons.active": "#d3869b",
|
||||||
|
"theme.bar.menus.buttons.default": "#83a598",
|
||||||
|
"theme.bar.menus.check_radio_button.active": "#83a598",
|
||||||
|
"theme.bar.menus.check_radio_button.background": "#3c3836",
|
||||||
|
"theme.bar.menus.switch.puck": "#504945",
|
||||||
|
"theme.bar.menus.switch.disabled": "#3c3836",
|
||||||
|
"theme.bar.menus.switch.enabled": "#83a598",
|
||||||
|
"theme.bar.menus.icons.active": "#83a598",
|
||||||
|
"theme.bar.menus.icons.passive": "#665c54",
|
||||||
|
"theme.bar.menus.listitems.active": "#83a598",
|
||||||
|
"theme.bar.menus.listitems.passive": "#ebdbb2",
|
||||||
|
"theme.bar.menus.popover.border": "#32302f",
|
||||||
|
"theme.bar.menus.popover.background": "#32302f",
|
||||||
|
"theme.bar.menus.popover.text": "#83a598",
|
||||||
|
"theme.bar.menus.label": "#83a598",
|
||||||
|
"theme.bar.menus.feinttext": "#3c3836",
|
||||||
|
"theme.bar.menus.dimtext": "#665c54",
|
||||||
|
"theme.bar.menus.text": "#ebdbb2",
|
||||||
|
"theme.bar.menus.border.color": "#3c3836",
|
||||||
|
"theme.bar.menus.cards": "#1d2021",
|
||||||
|
"theme.bar.menus.background": "#1d2021",
|
||||||
|
"theme.bar.buttons.modules.power.icon_background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.power.icon": "#cc241d",
|
||||||
|
"theme.bar.buttons.modules.power.background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.weather.icon_background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.weather.icon": "#fe8017",
|
||||||
|
"theme.bar.buttons.modules.weather.text": "#fe8017",
|
||||||
|
"theme.bar.buttons.modules.weather.background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.updates.icon_background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.updates.icon": "#b16286",
|
||||||
|
"theme.bar.buttons.modules.updates.text": "#b16286",
|
||||||
|
"theme.bar.buttons.modules.updates.background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.kbLayout.icon_background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.kbLayout.icon": "#83a598",
|
||||||
|
"theme.bar.buttons.modules.kbLayout.text": "#83a598",
|
||||||
|
"theme.bar.buttons.modules.kbLayout.background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.netstat.icon_background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.netstat.icon": "#b8bb26",
|
||||||
|
"theme.bar.buttons.modules.netstat.text": "#b8bb26",
|
||||||
|
"theme.bar.buttons.modules.netstat.background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.storage.icon_background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.storage.icon": "#83a598",
|
||||||
|
"theme.bar.buttons.modules.storage.text": "#83a598",
|
||||||
|
"theme.bar.buttons.modules.storage.background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.cpu.icon_background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.cpu.icon": "#d3869b",
|
||||||
|
"theme.bar.buttons.modules.cpu.text": "#d3869b",
|
||||||
|
"theme.bar.buttons.modules.cpu.background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.ram.icon_background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.ram.icon": "#fabd2f",
|
||||||
|
"theme.bar.buttons.modules.ram.text": "#fabd2f",
|
||||||
|
"theme.bar.buttons.modules.ram.background": "#282828",
|
||||||
|
"theme.bar.buttons.notifications.total": "#83a598",
|
||||||
|
"theme.bar.buttons.notifications.icon_background": "#83a598",
|
||||||
|
"theme.bar.buttons.notifications.icon": "#83a598",
|
||||||
|
"theme.bar.buttons.notifications.background": "#3c3836",
|
||||||
|
"theme.bar.buttons.clock.icon_background": "#d3869b",
|
||||||
|
"theme.bar.buttons.clock.icon": "#d3869b",
|
||||||
|
"theme.bar.buttons.clock.text": "#d3869b",
|
||||||
|
"theme.bar.buttons.clock.background": "#3c3836",
|
||||||
|
"theme.bar.buttons.battery.icon_background": "#fabd2f",
|
||||||
|
"theme.bar.buttons.battery.icon": "#fabd2f",
|
||||||
|
"theme.bar.buttons.battery.text": "#fabd2f",
|
||||||
|
"theme.bar.buttons.battery.background": "#282828",
|
||||||
|
"theme.bar.buttons.systray.background": "#3c3836",
|
||||||
|
"theme.bar.buttons.bluetooth.icon_background": "#83a598",
|
||||||
|
"theme.bar.buttons.bluetooth.icon": "#83a598",
|
||||||
|
"theme.bar.buttons.bluetooth.text": "#83a598",
|
||||||
|
"theme.bar.buttons.bluetooth.background": "#3c3836",
|
||||||
|
"theme.bar.buttons.network.icon_background": "#b16286",
|
||||||
|
"theme.bar.buttons.network.icon": "#b16286",
|
||||||
|
"theme.bar.buttons.network.text": "#b16286",
|
||||||
|
"theme.bar.buttons.network.background": "#3c3836",
|
||||||
|
"theme.bar.buttons.volume.icon_background": "#fe8018",
|
||||||
|
"theme.bar.buttons.volume.icon": "#fe8018",
|
||||||
|
"theme.bar.buttons.volume.text": "#fe8018",
|
||||||
|
"theme.bar.buttons.volume.background": "#3c3836",
|
||||||
|
"theme.bar.buttons.media.icon_background": "#83a598",
|
||||||
|
"theme.bar.buttons.media.icon": "#83a598",
|
||||||
|
"theme.bar.buttons.media.text": "#83a598",
|
||||||
|
"theme.bar.buttons.media.background": "#3c3836",
|
||||||
|
"theme.bar.buttons.windowtitle.icon_background": "#d3869b",
|
||||||
|
"theme.bar.buttons.windowtitle.icon": "#d3869b",
|
||||||
|
"theme.bar.buttons.windowtitle.text": "#d3869b",
|
||||||
|
"theme.bar.buttons.windowtitle.background": "#3c3836",
|
||||||
|
"theme.bar.buttons.workspaces.numbered_active_underline_color": "#ffffff",
|
||||||
|
"theme.bar.buttons.workspaces.numbered_active_highlighted_text_color": "#21252b",
|
||||||
|
"theme.bar.buttons.workspaces.active": "#d3869b",
|
||||||
|
"theme.bar.buttons.workspaces.occupied": "#fb4934",
|
||||||
|
"theme.bar.buttons.workspaces.available": "#83a598",
|
||||||
|
"theme.bar.buttons.workspaces.hover": "#504945",
|
||||||
|
"theme.bar.buttons.workspaces.background": "#3c3836",
|
||||||
|
"theme.bar.buttons.dashboard.icon": "#fabd2f",
|
||||||
|
"theme.bar.buttons.dashboard.background": "#3c3836",
|
||||||
|
"theme.bar.buttons.icon": "#83a598",
|
||||||
|
"theme.bar.buttons.text": "#83a598",
|
||||||
|
"theme.bar.buttons.hover": "#504945",
|
||||||
|
"theme.bar.buttons.icon_background": "#242438",
|
||||||
|
"theme.bar.buttons.background": "#3c3836",
|
||||||
|
"theme.bar.buttons.style": "default",
|
||||||
|
"theme.bar.background": "#282828",
|
||||||
|
"theme.osd.label": "#83a598",
|
||||||
|
"theme.osd.icon": "#1d2021",
|
||||||
|
"theme.osd.bar_overflow_color": "#cc241d",
|
||||||
|
"theme.osd.bar_empty_color": "#3c3836",
|
||||||
|
"theme.osd.bar_color": "#83a598",
|
||||||
|
"theme.osd.icon_container": "#83a598",
|
||||||
|
"theme.osd.bar_container": "#1d2021",
|
||||||
|
"theme.notification.close_button.label": "#1d2021",
|
||||||
|
"theme.notification.close_button.background": "#83a598",
|
||||||
|
"theme.notification.labelicon": "#83a598",
|
||||||
|
"theme.notification.text": "#ebdbb2",
|
||||||
|
"theme.notification.time": "#928374",
|
||||||
|
"theme.notification.border": "#3c3836",
|
||||||
|
"theme.notification.label": "#83a598",
|
||||||
|
"theme.notification.actions.text": "#32302f",
|
||||||
|
"theme.notification.actions.background": "#83a598",
|
||||||
|
"theme.notification.background": "#32302f",
|
||||||
|
"theme.bar.buttons.modules.power.border": "#282828",
|
||||||
|
"theme.bar.buttons.modules.weather.border": "#fe8017",
|
||||||
|
"theme.bar.buttons.modules.updates.border": "#b16286",
|
||||||
|
"theme.bar.buttons.modules.kbLayout.border": "#83a598",
|
||||||
|
"theme.bar.buttons.modules.netstat.border": "#b8bb26",
|
||||||
|
"theme.bar.buttons.modules.storage.border": "#83a598",
|
||||||
|
"theme.bar.buttons.modules.cpu.border": "#d3869b",
|
||||||
|
"theme.bar.buttons.modules.ram.border": "#fabd2f",
|
||||||
|
"theme.bar.buttons.notifications.border": "#83a598",
|
||||||
|
"theme.bar.buttons.clock.border": "#d3869b",
|
||||||
|
"theme.bar.buttons.battery.border": "#fabd2f",
|
||||||
|
"theme.bar.buttons.systray.border": "#504945",
|
||||||
|
"theme.bar.buttons.bluetooth.border": "#83a598",
|
||||||
|
"theme.bar.buttons.network.border": "#b16286",
|
||||||
|
"theme.bar.buttons.volume.border": "#fe8018",
|
||||||
|
"theme.bar.buttons.media.border": "#83a598",
|
||||||
|
"theme.bar.buttons.windowtitle.border": "#d3869b",
|
||||||
|
"theme.bar.buttons.workspaces.border": "#ffffff",
|
||||||
|
"theme.bar.buttons.dashboard.border": "#fabd2f",
|
||||||
|
"theme.bar.buttons.modules.submap.background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.submap.text": "#8ec07c",
|
||||||
|
"theme.bar.buttons.modules.submap.border": "#8ec07c",
|
||||||
|
"theme.bar.buttons.modules.submap.icon": "#8ec07c",
|
||||||
|
"theme.bar.buttons.modules.submap.icon_background": "#282828",
|
||||||
|
"theme.bar.menus.menu.network.switch.enabled": "#b16286",
|
||||||
|
"theme.bar.menus.menu.network.switch.disabled": "#3c3836",
|
||||||
|
"theme.bar.menus.menu.network.switch.puck": "#504945",
|
||||||
|
"theme.bar.buttons.systray.customIcon": "#ebdbb2",
|
||||||
|
"theme.bar.border.color": "#83a598",
|
||||||
|
"theme.bar.menus.menu.media.timestamp": "#ebdbb2",
|
||||||
|
"theme.bar.buttons.borderColor": "#83a598",
|
||||||
|
"theme.bar.buttons.modules.hyprsunset.icon": "#fabd2f",
|
||||||
|
"theme.bar.buttons.modules.hyprsunset.background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.hyprsunset.icon_background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.hyprsunset.text": "#fabd2f",
|
||||||
|
"theme.bar.buttons.modules.hyprsunset.border": "#fabd2f",
|
||||||
|
"theme.bar.buttons.modules.hypridle.icon": "#83a598",
|
||||||
|
"theme.bar.buttons.modules.hypridle.background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.hypridle.icon_background": "#282828",
|
||||||
|
"theme.bar.buttons.modules.hypridle.text": "#83a598",
|
||||||
|
"theme.bar.buttons.modules.hypridle.border": "#83a598",
|
||||||
|
"theme.bar.transparent": false,
|
||||||
|
"theme.bar.menus.card_radius": "0.4em",
|
||||||
|
"theme.bar.menus.border.radius": "0.7em",
|
||||||
|
"theme.bar.menus.border.size": "5px",
|
||||||
|
"theme.bar.floating": true,
|
||||||
|
"theme.bar.outer_spacing": "1px",
|
||||||
|
"theme.bar.border.location": "none",
|
||||||
|
"theme.bar.location": "top",
|
||||||
|
"theme.bar.buttons.enableBorders": false,
|
||||||
|
"menus.clock.time.military": true,
|
||||||
|
"menus.clock.time.hideSeconds": true,
|
||||||
|
"menus.clock.weather.location": "Cedar Hill",
|
||||||
|
"theme.bar.border_radius": "10px",
|
||||||
|
"theme.bar.buttons.workspaces.enableBorder": false,
|
||||||
|
"theme.bar.buttons.radius": "10px",
|
||||||
|
"theme.bar.buttons.padding_y": "0.2rem",
|
||||||
|
"theme.bar.buttons.padding_x": "0.7rem",
|
||||||
|
"theme.bar.margin_sides": "0.5em",
|
||||||
|
"bar.launcher.autoDetectIcon": true,
|
||||||
|
"menus.dashboard.powermenu.avatar.image": "/home/joshuaelm/NixOS-Configs/pfp.jpg",
|
||||||
|
"menus.dashboard.powermenu.avatar.name": "Joshua Elmasri",
|
||||||
|
"theme.bar.menus.menu.dashboard.profile.radius": "100px",
|
||||||
|
"menus.dashboard.powermenu.logout": "hyprlock",
|
||||||
|
"menus.dashboard.controls.enabled": false,
|
||||||
|
"menus.dashboard.stats.enabled": true,
|
||||||
|
"menus.dashboard.shortcuts.enabled": false,
|
||||||
|
"menus.dashboard.directories.enabled": false,
|
||||||
|
"menus.dashboard.stats.enable_gpu": false,
|
||||||
|
"menus.bluetooth.showBattery": true,
|
||||||
|
"theme.font.name": "Roboto",
|
||||||
|
"scalingPriority": "hyprland",
|
||||||
|
"bar.customModules.netstat.dynamicIcon": false,
|
||||||
|
"theme.bar.buttons.modules.netstat.enableBorder": false,
|
||||||
|
"theme.bar.buttons.modules.power.enableBorder": false,
|
||||||
|
"menus.media.hideAuthor": false,
|
||||||
|
"menus.media.displayTimeTooltip": false,
|
||||||
|
"menus.media.displayTime": true,
|
||||||
|
"menus.volume.raiseMaximumVolume": false,
|
||||||
|
"bar.volume.label": true,
|
||||||
|
"bar.network.label": true,
|
||||||
|
"bar.network.truncation": true,
|
||||||
|
"bar.media.format": "{title}",
|
||||||
|
"bar.media.show_active_only": true,
|
||||||
|
"bar.media.truncation_size": 100,
|
||||||
|
"bar.clock.format": "%R",
|
||||||
|
"bar.clock.icon": "",
|
||||||
|
"bar.layouts": {
|
||||||
|
"0": {
|
||||||
|
"left": [
|
||||||
|
"dashboard",
|
||||||
|
"workspaces"
|
||||||
|
],
|
||||||
|
"middle": [
|
||||||
|
"media"
|
||||||
|
],
|
||||||
|
"right": [
|
||||||
|
"volume",
|
||||||
|
"network",
|
||||||
|
"bluetooth",
|
||||||
|
"battery",
|
||||||
|
"systray",
|
||||||
|
"clock",
|
||||||
|
"notifications"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"1": {
|
||||||
|
"left": [
|
||||||
|
"dashboard",
|
||||||
|
"workspaces",
|
||||||
|
"windowtitle"
|
||||||
|
],
|
||||||
|
"middle": [
|
||||||
|
"media"
|
||||||
|
],
|
||||||
|
"right": [
|
||||||
|
"volume",
|
||||||
|
"clock",
|
||||||
|
"notifications"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"2": {
|
||||||
|
"left": [
|
||||||
|
"dashboard",
|
||||||
|
"workspaces",
|
||||||
|
"windowtitle"
|
||||||
|
],
|
||||||
|
"middle": [
|
||||||
|
"media"
|
||||||
|
],
|
||||||
|
"right": [
|
||||||
|
"volume",
|
||||||
|
"clock",
|
||||||
|
"notifications"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"theme.bar.buttons.workspaces.fontSize": "1.2em",
|
||||||
|
"bar.workspaces.show_numbered": false,
|
||||||
|
"theme.bar.buttons.workspaces.smartHighlight": true,
|
||||||
|
"bar.workspaces.show_icons": true,
|
||||||
|
"bar.workspaces.icons.occupied": "",
|
||||||
|
"theme.bar.opacity": 100,
|
||||||
|
"theme.bar.buttons.monochrome": false,
|
||||||
|
"theme.bar.buttons.notifications.enableBorder": false
|
||||||
|
}
|
||||||
@@ -8,9 +8,9 @@
|
|||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
@@ -32,6 +32,7 @@
|
|||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp3s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp3s0.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.vboxnet0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|||||||
10
home.nix
10
home.nix
@@ -29,6 +29,16 @@
|
|||||||
xdg.configFile.dunst.source = ./modules/dunst;
|
xdg.configFile.dunst.source = ./modules/dunst;
|
||||||
home.file.".cache/ags/hyprpanel/options.json".source = ./modules/hyprpanel/options.json;
|
home.file.".cache/ags/hyprpanel/options.json".source = ./modules/hyprpanel/options.json;
|
||||||
|
|
||||||
|
xdg.configFile.hypr.force = true;
|
||||||
|
xdg.configFile.waybar.force = true;
|
||||||
|
xdg.configFile.cava.force = true;
|
||||||
|
xdg.configFile.kitty.force = true;
|
||||||
|
xdg.configFile.rofi.force = true;
|
||||||
|
xdg.configFile.dunst.force = true;
|
||||||
|
home.file.".cache/ags/hyprpanel/options.json".force = true;
|
||||||
|
|
||||||
|
home.file.".icons/default".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic";
|
||||||
|
|
||||||
services.mpd-mpris.enable = true;
|
services.mpd-mpris.enable = true;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,11 +4,15 @@ source=~/.config/hypr/rose-pine.conf
|
|||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
monitor = HDMI-A-1, 2560x1440@60, 0x0, 1
|
monitor = HDMI-A-1, 2560x1440@60, 0x0, 1
|
||||||
|
#monitor = HDMI-A-1, disable
|
||||||
|
#monitor = sunshine, highres@highrr, 0x0, 1
|
||||||
exec-once = hyprctl dispatch workspace 1
|
exec-once = hyprctl dispatch workspace 1
|
||||||
exec-once = swaybg -i ~/Pictures/Wallpaper/wallhaven-z85eoy.jpg
|
exec-once = swaybg -i ~/NixOS-Configs/Wallpaper/sDpJ0mPGhn4FnbWOsOI4HoiYUvnyKjJck4RJnPZo-3609584059.jpg
|
||||||
|
#exec-once = linux-wallpaperengine --screen-root HDMI-A-1 --silent --fps 60 3000562427
|
||||||
exec-once = hyprlock
|
exec-once = hyprlock
|
||||||
# exec-once = waybar
|
# exec-once = waybar
|
||||||
exec-once = hyprpanel
|
exec-once = hyprpanel
|
||||||
|
exec-once = systemctl --user start hyprpolkitagent
|
||||||
exec-once = sunshine
|
exec-once = sunshine
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
|
||||||
@@ -51,8 +55,8 @@ general {
|
|||||||
gaps_in = 5
|
gaps_in = 5
|
||||||
gaps_out = 5
|
gaps_out = 5
|
||||||
border_size = 2
|
border_size = 2
|
||||||
col.active_border = rgb(1d2021)
|
col.active_border = rgb(3d59a1)
|
||||||
col.inactive_border = rgb(1d2021)
|
col.inactive_border = rgb(787c99)
|
||||||
layout = dwindle
|
layout = dwindle
|
||||||
|
|
||||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||||
@@ -73,10 +77,11 @@ decoration {
|
|||||||
xray = false
|
xray = false
|
||||||
}
|
}
|
||||||
|
|
||||||
drop_shadow = yes
|
shadow {
|
||||||
shadow_range = 4
|
enabled = true
|
||||||
shadow_render_power = 3
|
offset = 3, 3
|
||||||
col.shadow = rgba(1a1a1aee)
|
color = rgba(323232cc)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
@@ -100,6 +105,7 @@ dwindle {
|
|||||||
preserve_split = yes # you probably want this
|
preserve_split = yes # you probably want this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
layerrule = unset, overlay
|
||||||
|
|
||||||
gestures {
|
gestures {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
path = ~/Pictures/Wallpaper/wallhaven-z85eoy.jpg
|
path = ~/NixOS-Configs/WE-Lake.png
|
||||||
|
|
||||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||||
blur_passes = 3 # 0 disables blurring
|
blur_passes = 3 # 0 disables blurring
|
||||||
@@ -18,7 +18,7 @@ image {
|
|||||||
border_size = 2
|
border_size = 2
|
||||||
border_color = rgba(255, 255, 255, 0)
|
border_color = rgba(255, 255, 255, 0)
|
||||||
size = 130
|
size = 130
|
||||||
rounding = -1
|
rounding = 100
|
||||||
rotate = 0
|
rotate = 0
|
||||||
reload_time = -1
|
reload_time = -1
|
||||||
reload_cmd =
|
reload_cmd =
|
||||||
@@ -30,7 +30,7 @@ image {
|
|||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = cmd[update:1000] echo -e "$(date +"%A, %B %d")"
|
text = cmd[update:1000] echo -e "$(date +"%A, %B %d")"
|
||||||
color = rgba(235, 219, 178, 0.70)
|
color = rgba(122, 162, 247, 0.70)
|
||||||
font_size = 25
|
font_size = 25
|
||||||
font_family = Roboto Bold
|
font_family = Roboto Bold
|
||||||
position = 0, 350
|
position = 0, 350
|
||||||
@@ -41,7 +41,7 @@ label {
|
|||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"
|
text = cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"
|
||||||
color = rgba(235, 219, 178, 0.70)
|
color = rgba(122, 162, 247, 0.70)
|
||||||
font_size = 120
|
font_size = 120
|
||||||
font_family = Roboto Bold
|
font_family = Roboto Bold
|
||||||
position = 0, 250
|
position = 0, 250
|
||||||
@@ -53,7 +53,7 @@ label {
|
|||||||
monitor =
|
monitor =
|
||||||
text = Joshua Elmasri
|
text = Joshua Elmasri
|
||||||
text_align = center # center/right or any value for default left. multi-line text alignment inside label container
|
text_align = center # center/right or any value for default left. multi-line text alignment inside label container
|
||||||
color = rgba(235, 219, 178, 1.0)
|
color = rgba(122, 162, 247, 1.0)
|
||||||
font_size = 30
|
font_size = 30
|
||||||
font_family = Roboto Bold
|
font_family = Roboto Bold
|
||||||
rotate = 0 # degrees, counter-clockwise
|
rotate = 0 # degrees, counter-clockwise
|
||||||
@@ -73,7 +73,7 @@ input-field {
|
|||||||
dots_fade_time = 0
|
dots_fade_time = 0
|
||||||
outer_color = rgba(0, 0, 0, 0)
|
outer_color = rgba(0, 0, 0, 0)
|
||||||
inner_color = rgba(255, 255, 255, 0.1)
|
inner_color = rgba(255, 255, 255, 0.1)
|
||||||
font_color = rgb(235, 219, 178)
|
font_color = rgb(169, 177, 214)
|
||||||
fade_on_empty = false
|
fade_on_empty = false
|
||||||
font_family = Roboto
|
font_family = Roboto
|
||||||
placeholder_text = Password
|
placeholder_text = Password
|
||||||
|
|||||||
@@ -2,362 +2,6 @@
|
|||||||
"bar.customModules.updates.pollingInterval": 1440000,
|
"bar.customModules.updates.pollingInterval": 1440000,
|
||||||
"menus.transition": "none",
|
"menus.transition": "none",
|
||||||
"theme.bar.menus.monochrome": false,
|
"theme.bar.menus.monochrome": false,
|
||||||
"theme.bar.menus.menu.notifications.scrollbar.color": "#83a598",
|
|
||||||
"theme.bar.menus.menu.notifications.pager.label": "#a89984",
|
|
||||||
"theme.bar.menus.menu.notifications.pager.button": "#83a598",
|
|
||||||
"theme.bar.menus.menu.notifications.pager.background": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.notifications.switch.puck": "#504945",
|
|
||||||
"theme.bar.menus.menu.notifications.switch.disabled": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.notifications.switch.enabled": "#83a598",
|
|
||||||
"theme.bar.menus.menu.notifications.clear": "#83a598",
|
|
||||||
"theme.bar.menus.menu.notifications.switch_divider": "#504945",
|
|
||||||
"theme.bar.menus.menu.notifications.border": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.notifications.card": "#282828",
|
|
||||||
"theme.bar.menus.menu.notifications.background": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.notifications.no_notifications_label": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.notifications.label": "#83a598",
|
|
||||||
"theme.bar.menus.menu.power.buttons.sleep.icon": "#32302f",
|
|
||||||
"theme.bar.menus.menu.power.buttons.sleep.text": "#83a598",
|
|
||||||
"theme.bar.menus.menu.power.buttons.sleep.icon_background": "#83a598",
|
|
||||||
"theme.bar.menus.menu.power.buttons.sleep.background": "#282828",
|
|
||||||
"theme.bar.menus.menu.power.buttons.logout.icon": "#32302f",
|
|
||||||
"theme.bar.menus.menu.power.buttons.logout.text": "#b8bb26",
|
|
||||||
"theme.bar.menus.menu.power.buttons.logout.icon_background": "#b8bb26",
|
|
||||||
"theme.bar.menus.menu.power.buttons.logout.background": "#282828",
|
|
||||||
"theme.bar.menus.menu.power.buttons.restart.icon": "#32302f",
|
|
||||||
"theme.bar.menus.menu.power.buttons.restart.text": "#fe8019",
|
|
||||||
"theme.bar.menus.menu.power.buttons.restart.icon_background": "#fe8019",
|
|
||||||
"theme.bar.menus.menu.power.buttons.restart.background": "#282828",
|
|
||||||
"theme.bar.menus.menu.power.buttons.shutdown.icon": "#32302f",
|
|
||||||
"theme.bar.menus.menu.power.buttons.shutdown.text": "#cc241d",
|
|
||||||
"theme.bar.menus.menu.power.buttons.shutdown.icon_background": "#cc241d",
|
|
||||||
"theme.bar.menus.menu.power.buttons.shutdown.background": "#282828",
|
|
||||||
"theme.bar.menus.menu.power.border.color": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.power.background.color": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.disk.label": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.disk.bar": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.disk.icon": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.gpu.label": "#b8bb26",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.gpu.bar": "#b8bb26",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.gpu.icon": "#b8bb26",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.ram.label": "#fabd2f",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.ram.bar": "#fabd2f",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.ram.icon": "#fabd2f",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.cpu.label": "#fb4934",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.cpu.bar": "#fb4934",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.cpu.icon": "#fb4934",
|
|
||||||
"theme.bar.menus.menu.dashboard.monitors.bar_background": "#504945",
|
|
||||||
"theme.bar.menus.menu.dashboard.directories.right.bottom.color": "#83a598",
|
|
||||||
"theme.bar.menus.menu.dashboard.directories.right.middle.color": "#b16286",
|
|
||||||
"theme.bar.menus.menu.dashboard.directories.right.top.color": "#8ec07c",
|
|
||||||
"theme.bar.menus.menu.dashboard.directories.left.bottom.color": "#fb4934",
|
|
||||||
"theme.bar.menus.menu.dashboard.directories.left.middle.color": "#fabd2f",
|
|
||||||
"theme.bar.menus.menu.dashboard.directories.left.top.color": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.dashboard.controls.input.text": "#32302f",
|
|
||||||
"theme.bar.menus.menu.dashboard.controls.input.background": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.dashboard.controls.volume.text": "#32302f",
|
|
||||||
"theme.bar.menus.menu.dashboard.controls.volume.background": "#fb4934",
|
|
||||||
"theme.bar.menus.menu.dashboard.controls.notifications.text": "#32302f",
|
|
||||||
"theme.bar.menus.menu.dashboard.controls.notifications.background": "#fabd2f",
|
|
||||||
"theme.bar.menus.menu.dashboard.controls.bluetooth.text": "#32302f",
|
|
||||||
"theme.bar.menus.menu.dashboard.controls.bluetooth.background": "#83a598",
|
|
||||||
"theme.bar.menus.menu.dashboard.controls.wifi.text": "#32302f",
|
|
||||||
"theme.bar.menus.menu.dashboard.controls.wifi.background": "#b16286",
|
|
||||||
"theme.bar.menus.menu.dashboard.controls.disabled": "#665c54",
|
|
||||||
"theme.bar.menus.menu.dashboard.shortcuts.recording": "#b8bb26",
|
|
||||||
"theme.bar.menus.menu.dashboard.shortcuts.text": "#32302f",
|
|
||||||
"theme.bar.menus.menu.dashboard.shortcuts.background": "#83a598",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.confirmation.button_text": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.confirmation.deny": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.confirmation.confirm": "#8ec07b",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.confirmation.body": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.confirmation.label": "#83a598",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.confirmation.border": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.confirmation.background": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.confirmation.card": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.sleep": "#83a598",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.logout": "#b8bb26",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.restart": "#fe8019",
|
|
||||||
"theme.bar.menus.menu.dashboard.powermenu.shutdown": "#cc241d",
|
|
||||||
"theme.bar.menus.menu.dashboard.profile.name": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.dashboard.border.color": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.dashboard.background.color": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.dashboard.card.color": "#282828",
|
|
||||||
"theme.bar.menus.menu.clock.weather.hourly.temperature": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.clock.weather.hourly.icon": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.clock.weather.hourly.time": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.clock.weather.thermometer.extremelycold": "#83a598",
|
|
||||||
"theme.bar.menus.menu.clock.weather.thermometer.cold": "#458588",
|
|
||||||
"theme.bar.menus.menu.clock.weather.thermometer.moderate": "#83a598",
|
|
||||||
"theme.bar.menus.menu.clock.weather.thermometer.hot": "#fe8019",
|
|
||||||
"theme.bar.menus.menu.clock.weather.thermometer.extremelyhot": "#cc241d",
|
|
||||||
"theme.bar.menus.menu.clock.weather.stats": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.clock.weather.status": "#8ec07c",
|
|
||||||
"theme.bar.menus.menu.clock.weather.temperature": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.clock.weather.icon": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.clock.calendar.contextdays": "#665c54",
|
|
||||||
"theme.bar.menus.menu.clock.calendar.days": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.clock.calendar.currentday": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.clock.calendar.paginator": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.clock.calendar.weekdays": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.clock.calendar.yearmonth": "#8ec07c",
|
|
||||||
"theme.bar.menus.menu.clock.time.timeperiod": "#8ec07c",
|
|
||||||
"theme.bar.menus.menu.clock.time.time": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.clock.text": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.clock.border.color": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.clock.background.color": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.clock.card.color": "#282828",
|
|
||||||
"theme.bar.menus.menu.battery.slider.puck": "#7c6f64",
|
|
||||||
"theme.bar.menus.menu.battery.slider.backgroundhover": "#504945",
|
|
||||||
"theme.bar.menus.menu.battery.slider.background": "#665c54",
|
|
||||||
"theme.bar.menus.menu.battery.slider.primary": "#fabd2f",
|
|
||||||
"theme.bar.menus.menu.battery.icons.active": "#fabd2f",
|
|
||||||
"theme.bar.menus.menu.battery.icons.passive": "#a89984",
|
|
||||||
"theme.bar.menus.menu.battery.listitems.active": "#fabd2f",
|
|
||||||
"theme.bar.menus.menu.battery.listitems.passive": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.battery.text": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.battery.label.color": "#fabd2f",
|
|
||||||
"theme.bar.menus.menu.battery.border.color": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.battery.background.color": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.battery.card.color": "#282828",
|
|
||||||
"theme.bar.menus.menu.systray.dropdownmenu.divider": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.systray.dropdownmenu.text": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.systray.dropdownmenu.background": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.bluetooth.iconbutton.active": "#83a598",
|
|
||||||
"theme.bar.menus.menu.bluetooth.iconbutton.passive": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.bluetooth.icons.active": "#83a598",
|
|
||||||
"theme.bar.menus.menu.bluetooth.icons.passive": "#a89984",
|
|
||||||
"theme.bar.menus.menu.bluetooth.listitems.active": "#83a598",
|
|
||||||
"theme.bar.menus.menu.bluetooth.listitems.passive": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.bluetooth.switch.puck": "#504945",
|
|
||||||
"theme.bar.menus.menu.bluetooth.switch.disabled": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.bluetooth.switch.enabled": "#83a598",
|
|
||||||
"theme.bar.menus.menu.bluetooth.switch_divider": "#504945",
|
|
||||||
"theme.bar.menus.menu.bluetooth.status": "#7c6f64",
|
|
||||||
"theme.bar.menus.menu.bluetooth.text": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.bluetooth.label.color": "#83a598",
|
|
||||||
"theme.bar.menus.menu.bluetooth.border.color": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.bluetooth.background.color": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.bluetooth.card.color": "#282828",
|
|
||||||
"theme.bar.menus.menu.network.iconbuttons.active": "#b16286",
|
|
||||||
"theme.bar.menus.menu.network.iconbuttons.passive": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.network.icons.active": "#b16286",
|
|
||||||
"theme.bar.menus.menu.network.icons.passive": "#a89984",
|
|
||||||
"theme.bar.menus.menu.network.listitems.active": "#b16286",
|
|
||||||
"theme.bar.menus.menu.network.listitems.passive": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.network.status.color": "#7c6f64",
|
|
||||||
"theme.bar.menus.menu.network.text": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.network.label.color": "#b16286",
|
|
||||||
"theme.bar.menus.menu.network.border.color": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.network.background.color": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.network.card.color": "#282828",
|
|
||||||
"theme.bar.menus.menu.volume.input_slider.puck": "#665c54",
|
|
||||||
"theme.bar.menus.menu.volume.input_slider.backgroundhover": "#504945",
|
|
||||||
"theme.bar.menus.menu.volume.input_slider.background": "#665c54",
|
|
||||||
"theme.bar.menus.menu.volume.input_slider.primary": "#fe8018",
|
|
||||||
"theme.bar.menus.menu.volume.audio_slider.puck": "#665c54",
|
|
||||||
"theme.bar.menus.menu.volume.audio_slider.backgroundhover": "#504945",
|
|
||||||
"theme.bar.menus.menu.volume.audio_slider.background": "#665c54",
|
|
||||||
"theme.bar.menus.menu.volume.audio_slider.primary": "#fe8018",
|
|
||||||
"theme.bar.menus.menu.volume.icons.active": "#fe8018",
|
|
||||||
"theme.bar.menus.menu.volume.icons.passive": "#a89984",
|
|
||||||
"theme.bar.menus.menu.volume.iconbutton.active": "#fe8018",
|
|
||||||
"theme.bar.menus.menu.volume.iconbutton.passive": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.volume.listitems.active": "#fe8018",
|
|
||||||
"theme.bar.menus.menu.volume.listitems.passive": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.volume.text": "#ebdbb2",
|
|
||||||
"theme.bar.menus.menu.volume.label.color": "#fe8018",
|
|
||||||
"theme.bar.menus.menu.volume.border.color": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.volume.background.color": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.volume.card.color": "#282828",
|
|
||||||
"theme.bar.menus.menu.media.slider.puck": "#7c6f64",
|
|
||||||
"theme.bar.menus.menu.media.slider.backgroundhover": "#504945",
|
|
||||||
"theme.bar.menus.menu.media.slider.background": "#665c54",
|
|
||||||
"theme.bar.menus.menu.media.slider.primary": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.media.buttons.text": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.media.buttons.background": "#83a598",
|
|
||||||
"theme.bar.menus.menu.media.buttons.enabled": "#8ec07c",
|
|
||||||
"theme.bar.menus.menu.media.buttons.inactive": "#665c54",
|
|
||||||
"theme.bar.menus.menu.media.border.color": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.media.card.color": "#282828",
|
|
||||||
"theme.bar.menus.menu.media.background.color": "#1d2021",
|
|
||||||
"theme.bar.menus.menu.media.album": "#d3869b",
|
|
||||||
"theme.bar.menus.menu.media.artist": "#8ec07c",
|
|
||||||
"theme.bar.menus.menu.media.song": "#83a598",
|
|
||||||
"theme.bar.menus.tooltip.text": "#ebdbb2",
|
|
||||||
"theme.bar.menus.tooltip.background": "#1d2021",
|
|
||||||
"theme.bar.menus.dropdownmenu.divider": "#1d2021",
|
|
||||||
"theme.bar.menus.dropdownmenu.text": "#ebdbb2",
|
|
||||||
"theme.bar.menus.dropdownmenu.background": "#1d2021",
|
|
||||||
"theme.bar.menus.slider.puck": "#7c6f64",
|
|
||||||
"theme.bar.menus.slider.backgroundhover": "#504945",
|
|
||||||
"theme.bar.menus.slider.background": "#665c54",
|
|
||||||
"theme.bar.menus.slider.primary": "#83a598",
|
|
||||||
"theme.bar.menus.progressbar.background": "#504945",
|
|
||||||
"theme.bar.menus.progressbar.foreground": "#83a598",
|
|
||||||
"theme.bar.menus.iconbuttons.active": "#83a598",
|
|
||||||
"theme.bar.menus.iconbuttons.passive": "#ebdbb2",
|
|
||||||
"theme.bar.menus.buttons.text": "#32302f",
|
|
||||||
"theme.bar.menus.buttons.disabled": "#665c54",
|
|
||||||
"theme.bar.menus.buttons.active": "#d3869b",
|
|
||||||
"theme.bar.menus.buttons.default": "#83a598",
|
|
||||||
"theme.bar.menus.check_radio_button.active": "#83a598",
|
|
||||||
"theme.bar.menus.check_radio_button.background": "#3c3836",
|
|
||||||
"theme.bar.menus.switch.puck": "#504945",
|
|
||||||
"theme.bar.menus.switch.disabled": "#3c3836",
|
|
||||||
"theme.bar.menus.switch.enabled": "#83a598",
|
|
||||||
"theme.bar.menus.icons.active": "#83a598",
|
|
||||||
"theme.bar.menus.icons.passive": "#665c54",
|
|
||||||
"theme.bar.menus.listitems.active": "#83a598",
|
|
||||||
"theme.bar.menus.listitems.passive": "#ebdbb2",
|
|
||||||
"theme.bar.menus.popover.border": "#32302f",
|
|
||||||
"theme.bar.menus.popover.background": "#32302f",
|
|
||||||
"theme.bar.menus.popover.text": "#83a598",
|
|
||||||
"theme.bar.menus.label": "#83a598",
|
|
||||||
"theme.bar.menus.feinttext": "#3c3836",
|
|
||||||
"theme.bar.menus.dimtext": "#665c54",
|
|
||||||
"theme.bar.menus.text": "#ebdbb2",
|
|
||||||
"theme.bar.menus.border.color": "#3c3836",
|
|
||||||
"theme.bar.menus.cards": "#1d2021",
|
|
||||||
"theme.bar.menus.background": "#1d2021",
|
|
||||||
"theme.bar.buttons.modules.power.icon_background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.power.icon": "#cc241d",
|
|
||||||
"theme.bar.buttons.modules.power.background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.weather.icon_background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.weather.icon": "#fe8017",
|
|
||||||
"theme.bar.buttons.modules.weather.text": "#fe8017",
|
|
||||||
"theme.bar.buttons.modules.weather.background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.updates.icon_background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.updates.icon": "#b16286",
|
|
||||||
"theme.bar.buttons.modules.updates.text": "#b16286",
|
|
||||||
"theme.bar.buttons.modules.updates.background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.kbLayout.icon_background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.kbLayout.icon": "#83a598",
|
|
||||||
"theme.bar.buttons.modules.kbLayout.text": "#83a598",
|
|
||||||
"theme.bar.buttons.modules.kbLayout.background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.netstat.icon_background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.netstat.icon": "#b8bb26",
|
|
||||||
"theme.bar.buttons.modules.netstat.text": "#b8bb26",
|
|
||||||
"theme.bar.buttons.modules.netstat.background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.storage.icon_background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.storage.icon": "#83a598",
|
|
||||||
"theme.bar.buttons.modules.storage.text": "#83a598",
|
|
||||||
"theme.bar.buttons.modules.storage.background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.cpu.icon_background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.cpu.icon": "#d3869b",
|
|
||||||
"theme.bar.buttons.modules.cpu.text": "#d3869b",
|
|
||||||
"theme.bar.buttons.modules.cpu.background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.ram.icon_background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.ram.icon": "#fabd2f",
|
|
||||||
"theme.bar.buttons.modules.ram.text": "#fabd2f",
|
|
||||||
"theme.bar.buttons.modules.ram.background": "#282828",
|
|
||||||
"theme.bar.buttons.notifications.total": "#83a598",
|
|
||||||
"theme.bar.buttons.notifications.icon_background": "#83a598",
|
|
||||||
"theme.bar.buttons.notifications.icon": "#83a598",
|
|
||||||
"theme.bar.buttons.notifications.background": "#3c3836",
|
|
||||||
"theme.bar.buttons.clock.icon_background": "#d3869b",
|
|
||||||
"theme.bar.buttons.clock.icon": "#d3869b",
|
|
||||||
"theme.bar.buttons.clock.text": "#d3869b",
|
|
||||||
"theme.bar.buttons.clock.background": "#3c3836",
|
|
||||||
"theme.bar.buttons.battery.icon_background": "#fabd2f",
|
|
||||||
"theme.bar.buttons.battery.icon": "#fabd2f",
|
|
||||||
"theme.bar.buttons.battery.text": "#fabd2f",
|
|
||||||
"theme.bar.buttons.battery.background": "#282828",
|
|
||||||
"theme.bar.buttons.systray.background": "#3c3836",
|
|
||||||
"theme.bar.buttons.bluetooth.icon_background": "#83a598",
|
|
||||||
"theme.bar.buttons.bluetooth.icon": "#83a598",
|
|
||||||
"theme.bar.buttons.bluetooth.text": "#83a598",
|
|
||||||
"theme.bar.buttons.bluetooth.background": "#3c3836",
|
|
||||||
"theme.bar.buttons.network.icon_background": "#b16286",
|
|
||||||
"theme.bar.buttons.network.icon": "#b16286",
|
|
||||||
"theme.bar.buttons.network.text": "#b16286",
|
|
||||||
"theme.bar.buttons.network.background": "#3c3836",
|
|
||||||
"theme.bar.buttons.volume.icon_background": "#fe8018",
|
|
||||||
"theme.bar.buttons.volume.icon": "#fe8018",
|
|
||||||
"theme.bar.buttons.volume.text": "#fe8018",
|
|
||||||
"theme.bar.buttons.volume.background": "#3c3836",
|
|
||||||
"theme.bar.buttons.media.icon_background": "#83a598",
|
|
||||||
"theme.bar.buttons.media.icon": "#83a598",
|
|
||||||
"theme.bar.buttons.media.text": "#83a598",
|
|
||||||
"theme.bar.buttons.media.background": "#3c3836",
|
|
||||||
"theme.bar.buttons.windowtitle.icon_background": "#d3869b",
|
|
||||||
"theme.bar.buttons.windowtitle.icon": "#d3869b",
|
|
||||||
"theme.bar.buttons.windowtitle.text": "#d3869b",
|
|
||||||
"theme.bar.buttons.windowtitle.background": "#3c3836",
|
|
||||||
"theme.bar.buttons.workspaces.numbered_active_underline_color": "#ffffff",
|
|
||||||
"theme.bar.buttons.workspaces.numbered_active_highlighted_text_color": "#21252b",
|
|
||||||
"theme.bar.buttons.workspaces.active": "#d3869b",
|
|
||||||
"theme.bar.buttons.workspaces.occupied": "#fb4934",
|
|
||||||
"theme.bar.buttons.workspaces.available": "#83a598",
|
|
||||||
"theme.bar.buttons.workspaces.hover": "#504945",
|
|
||||||
"theme.bar.buttons.workspaces.background": "#3c3836",
|
|
||||||
"theme.bar.buttons.dashboard.icon": "#fabd2f",
|
|
||||||
"theme.bar.buttons.dashboard.background": "#3c3836",
|
|
||||||
"theme.bar.buttons.icon": "#83a598",
|
|
||||||
"theme.bar.buttons.text": "#83a598",
|
|
||||||
"theme.bar.buttons.hover": "#504945",
|
|
||||||
"theme.bar.buttons.icon_background": "#242438",
|
|
||||||
"theme.bar.buttons.background": "#3c3836",
|
|
||||||
"theme.bar.buttons.style": "default",
|
|
||||||
"theme.bar.background": "#282828",
|
|
||||||
"theme.osd.label": "#83a598",
|
|
||||||
"theme.osd.icon": "#1d2021",
|
|
||||||
"theme.osd.bar_overflow_color": "#cc241d",
|
|
||||||
"theme.osd.bar_empty_color": "#3c3836",
|
|
||||||
"theme.osd.bar_color": "#83a598",
|
|
||||||
"theme.osd.icon_container": "#83a598",
|
|
||||||
"theme.osd.bar_container": "#1d2021",
|
|
||||||
"theme.notification.close_button.label": "#1d2021",
|
|
||||||
"theme.notification.close_button.background": "#83a598",
|
|
||||||
"theme.notification.labelicon": "#83a598",
|
|
||||||
"theme.notification.text": "#ebdbb2",
|
|
||||||
"theme.notification.time": "#928374",
|
|
||||||
"theme.notification.border": "#3c3836",
|
|
||||||
"theme.notification.label": "#83a598",
|
|
||||||
"theme.notification.actions.text": "#32302f",
|
|
||||||
"theme.notification.actions.background": "#83a598",
|
|
||||||
"theme.notification.background": "#32302f",
|
|
||||||
"theme.bar.buttons.modules.power.border": "#282828",
|
|
||||||
"theme.bar.buttons.modules.weather.border": "#fe8017",
|
|
||||||
"theme.bar.buttons.modules.updates.border": "#b16286",
|
|
||||||
"theme.bar.buttons.modules.kbLayout.border": "#83a598",
|
|
||||||
"theme.bar.buttons.modules.netstat.border": "#b8bb26",
|
|
||||||
"theme.bar.buttons.modules.storage.border": "#83a598",
|
|
||||||
"theme.bar.buttons.modules.cpu.border": "#d3869b",
|
|
||||||
"theme.bar.buttons.modules.ram.border": "#fabd2f",
|
|
||||||
"theme.bar.buttons.notifications.border": "#83a598",
|
|
||||||
"theme.bar.buttons.clock.border": "#d3869b",
|
|
||||||
"theme.bar.buttons.battery.border": "#fabd2f",
|
|
||||||
"theme.bar.buttons.systray.border": "#504945",
|
|
||||||
"theme.bar.buttons.bluetooth.border": "#83a598",
|
|
||||||
"theme.bar.buttons.network.border": "#b16286",
|
|
||||||
"theme.bar.buttons.volume.border": "#fe8018",
|
|
||||||
"theme.bar.buttons.media.border": "#83a598",
|
|
||||||
"theme.bar.buttons.windowtitle.border": "#d3869b",
|
|
||||||
"theme.bar.buttons.workspaces.border": "#ffffff",
|
|
||||||
"theme.bar.buttons.dashboard.border": "#fabd2f",
|
|
||||||
"theme.bar.buttons.modules.submap.background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.submap.text": "#8ec07c",
|
|
||||||
"theme.bar.buttons.modules.submap.border": "#8ec07c",
|
|
||||||
"theme.bar.buttons.modules.submap.icon": "#8ec07c",
|
|
||||||
"theme.bar.buttons.modules.submap.icon_background": "#282828",
|
|
||||||
"theme.bar.menus.menu.network.switch.enabled": "#b16286",
|
|
||||||
"theme.bar.menus.menu.network.switch.disabled": "#3c3836",
|
|
||||||
"theme.bar.menus.menu.network.switch.puck": "#504945",
|
|
||||||
"theme.bar.buttons.systray.customIcon": "#ebdbb2",
|
|
||||||
"theme.bar.border.color": "#83a598",
|
|
||||||
"theme.bar.menus.menu.media.timestamp": "#ebdbb2",
|
|
||||||
"theme.bar.buttons.borderColor": "#83a598",
|
|
||||||
"theme.bar.buttons.modules.hyprsunset.icon": "#fabd2f",
|
|
||||||
"theme.bar.buttons.modules.hyprsunset.background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.hyprsunset.icon_background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.hyprsunset.text": "#fabd2f",
|
|
||||||
"theme.bar.buttons.modules.hyprsunset.border": "#fabd2f",
|
|
||||||
"theme.bar.buttons.modules.hypridle.icon": "#83a598",
|
|
||||||
"theme.bar.buttons.modules.hypridle.background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.hypridle.icon_background": "#282828",
|
|
||||||
"theme.bar.buttons.modules.hypridle.text": "#83a598",
|
|
||||||
"theme.bar.buttons.modules.hypridle.border": "#83a598",
|
|
||||||
"theme.bar.transparent": false,
|
"theme.bar.transparent": false,
|
||||||
"theme.bar.menus.card_radius": "0.4em",
|
"theme.bar.menus.card_radius": "0.4em",
|
||||||
"theme.bar.menus.border.radius": "0.7em",
|
"theme.bar.menus.border.radius": "0.7em",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
include themes/gruvbox.conf
|
include themes/tokyo-night-kitty.conf
|
||||||
|
|
||||||
font_family Fira Code Nerd Font
|
font_family Fira Code Nerd Font
|
||||||
bold_font auto
|
bold_font auto
|
||||||
@@ -8,3 +8,4 @@ bold_italic_font auto
|
|||||||
confirm_os_window_close 0
|
confirm_os_window_close 0
|
||||||
background_opacity 0.8
|
background_opacity 0.8
|
||||||
background_blur 0
|
background_blur 0
|
||||||
|
cursor_shape beam
|
||||||
|
|||||||
77
modules/kitty/themes/tokyo-night-kitty.conf
Normal file
77
modules/kitty/themes/tokyo-night-kitty.conf
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
# Tokyo Night color scheme for kitty terminal emulator
|
||||||
|
# https://github.com/davidmathers/tokyo-night-kitty-theme
|
||||||
|
#
|
||||||
|
# Based on Tokyo Night color theme for Visual Studio Code
|
||||||
|
# https://github.com/enkia/tokyo-night-vscode-theme
|
||||||
|
|
||||||
|
foreground #a9b1d6
|
||||||
|
background #1a1b26
|
||||||
|
|
||||||
|
# Black
|
||||||
|
color0 #414868
|
||||||
|
color8 #414868
|
||||||
|
|
||||||
|
# Red
|
||||||
|
color1 #f7768e
|
||||||
|
color9 #f7768e
|
||||||
|
|
||||||
|
# Green
|
||||||
|
color2 #73daca
|
||||||
|
color10 #73daca
|
||||||
|
|
||||||
|
# Yellow
|
||||||
|
color3 #e0af68
|
||||||
|
color11 #e0af68
|
||||||
|
|
||||||
|
# Blue
|
||||||
|
color4 #7aa2f7
|
||||||
|
color12 #7aa2f7
|
||||||
|
|
||||||
|
# Magenta
|
||||||
|
color5 #bb9af7
|
||||||
|
color13 #bb9af7
|
||||||
|
|
||||||
|
# Cyan
|
||||||
|
color6 #7dcfff
|
||||||
|
color14 #7dcfff
|
||||||
|
|
||||||
|
# White
|
||||||
|
color7 #c0caf5
|
||||||
|
color15 #c0caf5
|
||||||
|
|
||||||
|
# Cursor
|
||||||
|
cursor #c0caf5
|
||||||
|
cursor_text_color #1a1b26
|
||||||
|
|
||||||
|
# Selection highlight
|
||||||
|
selection_foreground none
|
||||||
|
selection_background #28344a
|
||||||
|
|
||||||
|
# The color for highlighting URLs on mouse-over
|
||||||
|
url_color #9ece6a
|
||||||
|
|
||||||
|
# Window borders
|
||||||
|
active_border_color #3d59a1
|
||||||
|
inactive_border_color #101014
|
||||||
|
bell_border_color #e0af68
|
||||||
|
|
||||||
|
# Tab bar
|
||||||
|
tab_bar_style fade
|
||||||
|
tab_fade 1
|
||||||
|
active_tab_foreground #3d59a1
|
||||||
|
active_tab_background #16161e
|
||||||
|
active_tab_font_style bold
|
||||||
|
inactive_tab_foreground #787c99
|
||||||
|
inactive_tab_background #16161e
|
||||||
|
inactive_tab_font_style bold
|
||||||
|
tab_bar_background #101014
|
||||||
|
|
||||||
|
# Title bar
|
||||||
|
macos_titlebar_color #16161e
|
||||||
|
|
||||||
|
# Storm
|
||||||
|
# background #24283b
|
||||||
|
# cursor_text_color #24283b
|
||||||
|
# active_tab_background #1f2335
|
||||||
|
# inactive_tab_background #1f2335
|
||||||
|
# macos_titlebar_color #1f2335
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
colorschemes.gruvbox.enable = true;
|
colorschemes.tokyonight.enable = true;
|
||||||
plugins.nvim-tree.enable = true;
|
plugins.nvim-tree.enable = true;
|
||||||
plugins.treesitter.enable = true;
|
plugins.treesitter.enable = true;
|
||||||
plugins.lualine.enable = true;
|
plugins.lualine.enable = true;
|
||||||
|
|||||||
@@ -14,4 +14,4 @@ configuration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@theme "~/.config/rofi/gruvbox-material.rasi"
|
@theme "~/.config/rofi/tokyo-night.rasi"
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
configuration {
|
configuration {
|
||||||
show-icons: true;
|
show-icons: true;
|
||||||
font: "FreeSans Regular 12";
|
font: "FreeSans Regular 12";
|
||||||
icon-theme: "Gruvbox-Plus-Dark";
|
|
||||||
|
|
||||||
display-ssh: " ssh:";
|
display-ssh: " ssh:";
|
||||||
display-run: " run:";
|
display-run: " run:";
|
||||||
@@ -14,4 +13,4 @@ configuration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@theme "~/.config/rofi/gruvbox-material.rasi"
|
@theme "~/.config/rofi/tokyo-night.rasi"
|
||||||
|
|||||||
@@ -1,141 +0,0 @@
|
|||||||
* {
|
|
||||||
gruv0: #282828;
|
|
||||||
gruv1: #32302f;
|
|
||||||
gruv2: #45403d;
|
|
||||||
gruv3: #5a524c;
|
|
||||||
|
|
||||||
gruv4: #fbf1c7;
|
|
||||||
gruv5: #f4e8be;
|
|
||||||
gruv6: #eee0b7;
|
|
||||||
|
|
||||||
gruv7: #a89984;
|
|
||||||
gruv8: #928374;
|
|
||||||
gruv9: #7c6f64;
|
|
||||||
gruv10: #504945;
|
|
||||||
red: #ea6962;
|
|
||||||
|
|
||||||
orange: #e78a4e;
|
|
||||||
yellow: #d8a657;
|
|
||||||
aqua: #89b482;
|
|
||||||
purple: #d3869b;
|
|
||||||
|
|
||||||
reddark: #c14a4a;
|
|
||||||
yellowdark: #b47109;
|
|
||||||
|
|
||||||
foreground: @gruv9;
|
|
||||||
background-color: transparent;
|
|
||||||
|
|
||||||
highlight: underline bold #eee0b7;
|
|
||||||
|
|
||||||
transparent: rgba(0,0,0,0.1);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
window {
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
border-radius: 20px;
|
|
||||||
height: 560px;
|
|
||||||
width: 600px;
|
|
||||||
|
|
||||||
background-color: #282828;
|
|
||||||
spacing: 0;
|
|
||||||
children: [mainbox];
|
|
||||||
orientation: horizontal;
|
|
||||||
}
|
|
||||||
|
|
||||||
mainbox {
|
|
||||||
spacing: 0;
|
|
||||||
children: [ inputbar, message, listview ];
|
|
||||||
}
|
|
||||||
|
|
||||||
message {
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px 2px 2px 2px;
|
|
||||||
border-color: @gruv0;
|
|
||||||
background-color: @transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
color: @gruv6;
|
|
||||||
padding: 14px;
|
|
||||||
background-color: @transparent;
|
|
||||||
border-color: @gruv6;
|
|
||||||
|
|
||||||
border: 4px;
|
|
||||||
border-radius: 20px 20px 0px 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
entry, prompt, case-indicator {
|
|
||||||
text-font: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
margin: 0px 1em 0em 0em ;
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
padding: 8px;
|
|
||||||
border-radius: 0px 0px 20px 20px;
|
|
||||||
border: 0px 4px 4px 4px;
|
|
||||||
border-color: @gruv6;
|
|
||||||
background-color: @transparent;
|
|
||||||
dynamic: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
padding: 5px;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
border-radius: 5px;
|
|
||||||
color: @foreground;
|
|
||||||
text-color: @gruv6;
|
|
||||||
background-color: @transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
element.normal.active {
|
|
||||||
background-color: @yellow;
|
|
||||||
}
|
|
||||||
|
|
||||||
element.normal.urgent {
|
|
||||||
background-color: @reddark;
|
|
||||||
}
|
|
||||||
|
|
||||||
element.selected.normal {
|
|
||||||
background-color: @gruv7;
|
|
||||||
text-color: @gruv0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element.selected.active {
|
|
||||||
background-color: @yellowdark;
|
|
||||||
}
|
|
||||||
|
|
||||||
element.selected.urgent {
|
|
||||||
background-color: @red;
|
|
||||||
}
|
|
||||||
|
|
||||||
element.alternate.normal {
|
|
||||||
background-color: @transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-text, element-icon {
|
|
||||||
size: 3ch;
|
|
||||||
margin: 0 10 0 0;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
text-color: @gruv6;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
padding: 6px;
|
|
||||||
color: @foreground;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
|
|
||||||
border: 2px 0px 2px 2px;
|
|
||||||
border-radius: 5px;
|
|
||||||
border-color: @foreground;
|
|
||||||
}
|
|
||||||
|
|
||||||
button.selected.normal {
|
|
||||||
border: 2px 0px 2px 2px;
|
|
||||||
border-color: @foreground;
|
|
||||||
}
|
|
||||||
132
modules/rofi/tokyo-night.rasi
Normal file
132
modules/rofi/tokyo-night.rasi
Normal file
@@ -0,0 +1,132 @@
|
|||||||
|
* {
|
||||||
|
scrollbar: false;
|
||||||
|
|
||||||
|
bg: #24283b;
|
||||||
|
bg-dark: #1f2335;
|
||||||
|
bg-highlight: #292e42;
|
||||||
|
fg: #c0caf5;
|
||||||
|
fg-dark: #3b4261;
|
||||||
|
red-dark: #db4b4b;
|
||||||
|
red-light: #f7768e;
|
||||||
|
yellow: #e0af68;
|
||||||
|
orange: #ff9e64;
|
||||||
|
gray: #565f89;
|
||||||
|
|
||||||
|
background: @bg-dark;
|
||||||
|
background-color: @background;
|
||||||
|
foreground: @fg;
|
||||||
|
border-color: @gray;
|
||||||
|
separatorcolor: @border-color;
|
||||||
|
scrollbar-handle: @border-color;
|
||||||
|
|
||||||
|
normal-background: @background;
|
||||||
|
normal-foreground: @foreground;
|
||||||
|
alternate-normal-background: @bg-dark;
|
||||||
|
alternate-normal-foreground: @fg;
|
||||||
|
selected-normal-background: @bg-highlight;
|
||||||
|
selected-normal-foreground: @fg;
|
||||||
|
|
||||||
|
active-background: @orange;
|
||||||
|
active-foreground: @bg;
|
||||||
|
alternate-active-background: @active-background;
|
||||||
|
alternate-active-foreground: @active-foreground;
|
||||||
|
selected-active-background: @yellow;
|
||||||
|
selected-active-foreground: @active-foreground;
|
||||||
|
|
||||||
|
urgent-background: @red-dark;
|
||||||
|
urgent-foreground: @background;
|
||||||
|
alternate-urgent-background: @urgent-background;
|
||||||
|
alternate-urgent-foreground: @urgent-foreground;
|
||||||
|
selected-urgent-background: @red-dark;
|
||||||
|
selected-urgent-foreground: @urgent-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
window {
|
||||||
|
height: 600;
|
||||||
|
width: 600;
|
||||||
|
|
||||||
|
border-radius: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
spacing: 0;
|
||||||
|
children: [inputbar, message, listview];
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
color: @normal-foreground;
|
||||||
|
padding: 14;
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
message {
|
||||||
|
padding: 10;
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
padding: 8;
|
||||||
|
border-radius: 0 0 10 10;
|
||||||
|
border: 2 2 2 2;
|
||||||
|
border-color: @background;
|
||||||
|
background-color: @background;
|
||||||
|
dynamic: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox {
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
error-message {
|
||||||
|
border: 20 20 20 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry, prompt, case-indicator {
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
margin: 0 10 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
element {
|
||||||
|
padding: 5;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
border-radius: 10;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
background-color: @normal-background;
|
||||||
|
}
|
||||||
|
|
||||||
|
element.selected.normal {
|
||||||
|
background-color: @selected-normal-background;
|
||||||
|
}
|
||||||
|
|
||||||
|
element.alternate.normal {
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
element.normal.active, element.alternate.active {
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
element.selected.active {
|
||||||
|
background-color: @selected-normal-background;
|
||||||
|
}
|
||||||
|
|
||||||
|
element.normal.urgent, element.alternate.urgent {
|
||||||
|
background-color: @urgent-background;
|
||||||
|
}
|
||||||
|
|
||||||
|
element.selected.urgent {
|
||||||
|
background-color: @urgent-background;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-text, element-icon {
|
||||||
|
size: 40;
|
||||||
|
margin: 0 10 0 0;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
17
modules/wallpaper-engine/effects/_empty/effect.json
Normal file
17
modules/wallpaper-engine/effects/_empty/effect.json
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"version" : 1,
|
||||||
|
"replacementkey" : "empty",
|
||||||
|
"group" : "colorize",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/empty.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/empty.json",
|
||||||
|
"shaders/effects/empty.frag",
|
||||||
|
"shaders/effects/empty.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/empty",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"material":"framebuffer","label":"ui_editor_properties_framebuffer","hidden":true}
|
||||||
|
|
||||||
|
varying vec2 v_TexCoord;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec4 albedo = texSample2D(g_Texture0, v_TexCoord.xy);
|
||||||
|
gl_FragColor = albedo;
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
uniform mat4 g_ModelViewProjectionMatrix;
|
||||||
|
|
||||||
|
attribute vec3 a_Position;
|
||||||
|
attribute vec2 a_TexCoord;
|
||||||
|
|
||||||
|
varying vec2 v_TexCoord;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
gl_Position = mul(vec4(a_Position, 1.0), g_ModelViewProjectionMatrix);
|
||||||
|
v_TexCoord.xy = a_TexCoord;
|
||||||
|
}
|
||||||
20
modules/wallpaper-engine/effects/blend/effect.json
Normal file
20
modules/wallpaper-engine/effects/blend/effect.json
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"version" : 1,
|
||||||
|
"replacementkey" : "blend",
|
||||||
|
"name" : "ui_editor_effect_blend_title",
|
||||||
|
"description" : "ui_editor_effect_blend_description",
|
||||||
|
"group" : "colorize",
|
||||||
|
"preview" : "preview/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blend.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/blend.json",
|
||||||
|
"shaders/effects/blend.frag",
|
||||||
|
"shaders/effects/blend.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blend",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"name" : "Blend",
|
||||||
|
"description" : "Blend two images with various modes.",
|
||||||
|
"group" : "image",
|
||||||
|
//"preview" : "preview/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blend.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/blend.json",
|
||||||
|
"shaders/effects/blend.frag",
|
||||||
|
"shaders/effects/blend.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"name" : "Opacity",
|
||||||
|
"description" : "Adds an opacity mask to the image.",
|
||||||
|
"group" : "image",
|
||||||
|
"preview" : "preview/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/opacity.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/opacity.json",
|
||||||
|
"shaders/effects/opacity.frag",
|
||||||
|
"shaders/effects/opacity.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"name" : "Scroll",
|
||||||
|
"description" : "Scrolls the image horizontally or vertically.",
|
||||||
|
"group" : "image",
|
||||||
|
"preview" : "preview/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/scroll.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/scroll.json",
|
||||||
|
"shaders/effects/scroll.frag",
|
||||||
|
"shaders/effects/scroll.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"name" : "Spin",
|
||||||
|
"description" : "Spin the image.",
|
||||||
|
"group" : "image",
|
||||||
|
"preview" : "preview/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/spin.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/spin.json",
|
||||||
|
"shaders/effects/spin.frag",
|
||||||
|
"shaders/effects/spin.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"name" : "Transform",
|
||||||
|
"description" : "Apply scaling, rotation and offsets to the image.",
|
||||||
|
"group" : "image",
|
||||||
|
"preview" : "preview/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/transform.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/transform.json",
|
||||||
|
"shaders/effects/transform.frag",
|
||||||
|
"shaders/effects/transform.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"blending" : "translucent",
|
||||||
|
"cullmode" : "nocull",
|
||||||
|
"depthtest" : "disabled",
|
||||||
|
"depthwrite" : "disabled",
|
||||||
|
"shader" : "genericimage2",
|
||||||
|
"textures" : [ "effectpreview" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blend",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/opacity",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/scroll",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/spin",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/transform",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"format" : "rgba8888",
|
||||||
|
"nomip" : true,
|
||||||
|
"nonpoweroftwo" : true
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"autosize" : true,
|
||||||
|
"material" : "materials/effectpreview.json"
|
||||||
|
}
|
||||||
18
modules/wallpaper-engine/effects/blend/preview/project.json
Normal file
18
modules/wallpaper-engine/effects/blend/preview/project.json
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"file" : "scene.json",
|
||||||
|
"general" :
|
||||||
|
{
|
||||||
|
"properties" :
|
||||||
|
{
|
||||||
|
"schemecolor" :
|
||||||
|
{
|
||||||
|
"order" : 0,
|
||||||
|
"text" : "ui_browse_properties_scheme_color",
|
||||||
|
"type" : "color",
|
||||||
|
"value" : "0 0 0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"title" : "previewblend",
|
||||||
|
"type" : "scene"
|
||||||
|
}
|
||||||
115
modules/wallpaper-engine/effects/blend/preview/scene.json
Normal file
115
modules/wallpaper-engine/effects/blend/preview/scene.json
Normal file
@@ -0,0 +1,115 @@
|
|||||||
|
{
|
||||||
|
"camera" :
|
||||||
|
{
|
||||||
|
"center" : "-121.595 -15.576 -1.000",
|
||||||
|
"eye" : "-121.595 -15.576 0.000",
|
||||||
|
"up" : "0.000 1.000 0.000"
|
||||||
|
},
|
||||||
|
"general" :
|
||||||
|
{
|
||||||
|
"ambientcolor" : "0.3 0.3 0.3",
|
||||||
|
"bloom" : false,
|
||||||
|
"bloomstrength" : 2,
|
||||||
|
"bloomthreshold" : 0.64999997615814209,
|
||||||
|
"cameraparallax" : false,
|
||||||
|
"cameraparallaxamount" : 0.5,
|
||||||
|
"cameraparallaxdelay" : 0.10000000149011612,
|
||||||
|
"cameraparallaxmouseinfluence" : 0,
|
||||||
|
"camerapreview" : true,
|
||||||
|
"camerashake" : false,
|
||||||
|
"camerashakeamplitude" : 0.5,
|
||||||
|
"camerashakeroughness" : 1,
|
||||||
|
"camerashakespeed" : 3,
|
||||||
|
"clearcolor" : "0.7 0.7 0.7",
|
||||||
|
"orthogonalprojection" :
|
||||||
|
{
|
||||||
|
"height" : 256,
|
||||||
|
"width" : 256
|
||||||
|
},
|
||||||
|
"skylightcolor" : "0.3 0.3 0.3"
|
||||||
|
},
|
||||||
|
"objects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"angles" : "0.000 0.000 0.000",
|
||||||
|
"dependencies" : [ 15 ],
|
||||||
|
"depth" : 1,
|
||||||
|
"effects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"file" : "effects/blend/effect.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"combos" :
|
||||||
|
{
|
||||||
|
"BLENDMODE" : 23
|
||||||
|
},
|
||||||
|
"constantshadervalues" : null,
|
||||||
|
"textures" : [ null, "_rt_imageLayerComposite_15_a" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"id" : 38,
|
||||||
|
"image" : "models/effectpreview.json",
|
||||||
|
"name" : "",
|
||||||
|
"origin" : "128.000 128.000 0.000",
|
||||||
|
"scale" : "1.000 1.000 1.000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"angles" : "0.000 0.000 0.000",
|
||||||
|
"depth" : 1,
|
||||||
|
"effects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"file" : "effects/transform/effect.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"combos" :
|
||||||
|
{
|
||||||
|
"CLAMP" : 1,
|
||||||
|
"MODE" : 0
|
||||||
|
},
|
||||||
|
"constantshadervalues" :
|
||||||
|
{
|
||||||
|
"Angle" : 0,
|
||||||
|
"Scale" : "3 3"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "effects/spin/effect.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"combos" :
|
||||||
|
{
|
||||||
|
"MODE" : 0
|
||||||
|
},
|
||||||
|
"constantshadervalues" : null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "effects/opacity/effect.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"combos" : null,
|
||||||
|
"constantshadervalues" : null,
|
||||||
|
"textures" : [ null, "masks/opacity_mask_ee0d9bbc6d0516b8583c8fb3e841485c0b7ec4e8" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"id" : 15,
|
||||||
|
"image" : "models/effectpreview.json",
|
||||||
|
"name" : "effectpreview",
|
||||||
|
"origin" : "-204.142 136.225 0.000",
|
||||||
|
"scale" : "1.000 1.000 1.000"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
// [COMBO] {"material":"Blend mode","combo":"BLENDMODE","type":"imageblending","default":2}
|
||||||
|
|
||||||
|
#include "common_blending.h"
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"material":"Framebuffer","hidden":true}
|
||||||
|
uniform sampler2D g_Texture1; // {"material":"Color mask","mode":"rgbmask","default":"util/white"}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec4 albedo = texSample2D(g_Texture0, v_TexCoord.xy);
|
||||||
|
vec4 mask = texSample2D(g_Texture1, v_TexCoord.zw);
|
||||||
|
|
||||||
|
albedo.rgb = ApplyBlending(BLENDMODE, albedo.rgb, mask.rgb, mask.a);
|
||||||
|
|
||||||
|
gl_FragColor = albedo;
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
uniform mat4 g_ModelViewProjectionMatrix;
|
||||||
|
uniform vec4 g_Texture1Resolution;
|
||||||
|
|
||||||
|
attribute vec3 a_Position;
|
||||||
|
attribute vec2 a_TexCoord;
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
gl_Position = mul(vec4(a_Position, 1.0), g_ModelViewProjectionMatrix);
|
||||||
|
v_TexCoord.xy = a_TexCoord;
|
||||||
|
v_TexCoord.zw = vec2(v_TexCoord.x * g_Texture1Resolution.z / g_Texture1Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture1Resolution.w / g_Texture1Resolution.y);
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"material":"Framebuffer","hidden":true}
|
||||||
|
uniform sampler2D g_Texture1; // {"material":"Mask","mode":"opacitymask","default":"util/white"}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec4 albedo = texSample2D(g_Texture0, v_TexCoord.xy);
|
||||||
|
float mask = texSample2D(g_Texture1, v_TexCoord.zw).r;
|
||||||
|
albedo.a *= mask;
|
||||||
|
|
||||||
|
gl_FragColor = albedo;
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
uniform mat4 g_ModelViewProjectionMatrix;
|
||||||
|
uniform vec4 g_Texture1Resolution;
|
||||||
|
|
||||||
|
attribute vec3 a_Position;
|
||||||
|
attribute vec2 a_TexCoord;
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
gl_Position = mul(vec4(a_Position, 1.0), g_ModelViewProjectionMatrix);
|
||||||
|
v_TexCoord.xy = a_TexCoord;
|
||||||
|
v_TexCoord.zw = vec2(v_TexCoord.x * g_Texture1Resolution.z / g_Texture1Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture1Resolution.w / g_Texture1Resolution.y);
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
varying vec2 v_TexCoord;
|
||||||
|
varying vec2 v_Scroll;
|
||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"material":"Framebuffer","hidden":true}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec2 texCoord = frac(v_TexCoord + v_Scroll);
|
||||||
|
gl_FragColor = texSample2D(g_Texture0, texCoord);
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
uniform mat4 g_ModelViewProjectionMatrix;
|
||||||
|
uniform float g_Time;
|
||||||
|
|
||||||
|
uniform float g_ScrollX; // {"material":"Speed X","default":0.2,"range":[-2,2]}
|
||||||
|
uniform float g_ScrollY; // {"material":"Speed Y","default":0.2,"range":[-2,2]}
|
||||||
|
|
||||||
|
attribute vec3 a_Position;
|
||||||
|
attribute vec2 a_TexCoord;
|
||||||
|
|
||||||
|
varying vec2 v_TexCoord;
|
||||||
|
varying vec2 v_Scroll;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
gl_Position = mul(vec4(a_Position, 1.0), g_ModelViewProjectionMatrix);
|
||||||
|
v_TexCoord = a_TexCoord;
|
||||||
|
|
||||||
|
vec2 scroll = vec2(g_ScrollX, g_ScrollY);
|
||||||
|
scroll = sign(scroll) * pow(vec2(g_ScrollX, g_ScrollY), CAST2(2.0));
|
||||||
|
v_Scroll = scroll * g_Time;
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
// [COMBO] {"material":"Repeat","combo":"CLAMP","type":"options","default":1}
|
||||||
|
|
||||||
|
varying vec2 v_TexCoord;
|
||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"material":"Framebuffer","hidden":true}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec2 texCoord = v_TexCoord;
|
||||||
|
#if CLAMP
|
||||||
|
texCoord = frac(texCoord);
|
||||||
|
#endif
|
||||||
|
gl_FragColor = texSample2D(g_Texture0, texCoord);
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
// [COMBO] {"material":"Mode","combo":"MODE","type":"options","default":0,"options":{"Vertex":1,"UV":0}}
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
uniform mat4 g_ModelViewProjectionMatrix;
|
||||||
|
uniform float g_Time;
|
||||||
|
|
||||||
|
uniform float g_Speed; // {"material":"Speed","default":1.0,"range":[-5,5]}
|
||||||
|
|
||||||
|
attribute vec3 a_Position;
|
||||||
|
attribute vec2 a_TexCoord;
|
||||||
|
|
||||||
|
varying vec2 v_TexCoord;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
|
||||||
|
vec3 position = a_Position;
|
||||||
|
#if MODE == 1
|
||||||
|
position.xy = rotateVec2(position.xy - CAST2(0.5), g_Speed * g_Time) + CAST2(0.5);
|
||||||
|
#endif
|
||||||
|
gl_Position = mul(vec4(position, 1.0), g_ModelViewProjectionMatrix);
|
||||||
|
|
||||||
|
v_TexCoord = a_TexCoord;
|
||||||
|
|
||||||
|
#if MODE == 0
|
||||||
|
v_TexCoord = rotateVec2(v_TexCoord - CAST2(0.5), g_Speed * g_Time) + CAST2(0.5);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
// [COMBO] {"material":"Repeat","combo":"CLAMP","type":"options","default":0}
|
||||||
|
|
||||||
|
varying vec2 v_TexCoord;
|
||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"material":"Framebuffer","hidden":true}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec2 texCoord = v_TexCoord;
|
||||||
|
#if CLAMP
|
||||||
|
texCoord = frac(texCoord);
|
||||||
|
#endif
|
||||||
|
gl_FragColor = texSample2D(g_Texture0, texCoord);
|
||||||
|
}
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
|
||||||
|
// [COMBO] {"material":"Mode","combo":"MODE","type":"options","default":0,"options":{"Vertex":1,"UV":0}}
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
uniform mat4 g_ModelViewProjectionMatrix;
|
||||||
|
|
||||||
|
uniform vec2 g_Offset; // {"material":"Offset","default":"0 0"}
|
||||||
|
uniform vec2 g_Scale; // {"material":"Scale","default":"1 1"}
|
||||||
|
uniform float g_Direction; // {"material":"Angle","default":0,"range":[0,6.28]}
|
||||||
|
|
||||||
|
attribute vec3 a_Position;
|
||||||
|
attribute vec2 a_TexCoord;
|
||||||
|
|
||||||
|
varying vec2 v_TexCoord;
|
||||||
|
|
||||||
|
vec2 applyFx(vec2 v) {
|
||||||
|
v = rotateVec2(v - CAST2(0.5), g_Direction);
|
||||||
|
return (v + g_Offset) * g_Scale + CAST2(0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
|
||||||
|
vec3 position = a_Position;
|
||||||
|
#if MODE == 1
|
||||||
|
position.xy = applyFx(position.xy);
|
||||||
|
#endif
|
||||||
|
gl_Position = mul(vec4(position, 1.0), g_ModelViewProjectionMatrix);
|
||||||
|
|
||||||
|
v_TexCoord = a_TexCoord;
|
||||||
|
|
||||||
|
#if MODE == 0
|
||||||
|
v_TexCoord = applyFx(v_TexCoord);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "FX Preview",
|
||||||
|
"type": "scene2d"
|
||||||
|
}
|
||||||
@@ -0,0 +1,127 @@
|
|||||||
|
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_blend_mode","combo":"BLENDMODE","type":"imageblending","default":2}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_transform","combo":"TRANSFORMUV","type":"options","default":0}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_transform_repeat","combo":"TRANSFORMREPEAT","type":"options","default":0,"options":{"ui_editor_properties_clip":0,"ui_editor_properties_repeat":1,"ui_editor_properties_clamp_uvs":2},"require":{"TRANSFORMUV":1}}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_write_alpha","combo":"WRITEALPHA","type":"options","default":0}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_number_of_textures","combo":"NUMBLENDTEXTURES","type":"options","default":1,"options":{"1":1,"2":2,"3":3,"4":4,"5":5,"6":6}}
|
||||||
|
|
||||||
|
#include "common_blending.h"
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 2
|
||||||
|
varying vec4 v_TexCoord23;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 4
|
||||||
|
varying vec4 v_TexCoord45;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 6
|
||||||
|
varying vec2 v_TexCoord6;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
uniform float g_Multiply; // {"material":"multiply","label":"ui_editor_properties_blend_amount","default":1,"range":[0.0, 2.0]}
|
||||||
|
uniform float g_Multiply2; // {"material":"multiply2","label":"ui_editor_properties_blend_amount_2","default":1,"range":[0.0, 2.0]}
|
||||||
|
uniform float g_Multiply3; // {"material":"multiply3","label":"ui_editor_properties_blend_amount_3","default":1,"range":[0.0, 2.0]}
|
||||||
|
uniform float g_Multiply4; // {"material":"multiply4","label":"ui_editor_properties_blend_amount_4","default":1,"range":[0.0, 2.0]}
|
||||||
|
uniform float g_Multiply5; // {"material":"multiply5","label":"ui_editor_properties_blend_amount_5","default":1,"range":[0.0, 2.0]}
|
||||||
|
uniform float g_Multiply6; // {"material":"multiply6","label":"ui_editor_properties_blend_amount_6","default":1,"range":[0.0, 2.0]}
|
||||||
|
uniform float g_AlphaMultiply; // {"material":"alpha","label":"ui_editor_properties_alpha","default":1,"range":[0.0, 1.0]}
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
varying vec2 v_TexCoordOpacity;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"hidden":true}
|
||||||
|
uniform sampler2D g_Texture7; // {"label":"ui_editor_properties_opacity_mask","mode":"opacitymask","default":"util/white","combo":"OPACITYMASK","paintdefaultcolor":"0 0 0 1"}
|
||||||
|
uniform sampler2D g_Texture1; // {"label":"ui_editor_properties_blend_texture","mode":"rgbmask","default":"util/white"}
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 2
|
||||||
|
uniform sampler2D g_Texture2; // {"label":"ui_editor_properties_blend_texture","mode":"rgbmask","default":"util/white"}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 3
|
||||||
|
uniform sampler2D g_Texture3; // {"label":"ui_editor_properties_blend_texture","mode":"rgbmask","default":"util/white"}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 4
|
||||||
|
uniform sampler2D g_Texture4; // {"label":"ui_editor_properties_blend_texture","mode":"rgbmask","default":"util/white"}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 5
|
||||||
|
uniform sampler2D g_Texture5; // {"label":"ui_editor_properties_blend_texture","mode":"rgbmask","default":"util/white"}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 6
|
||||||
|
uniform sampler2D g_Texture6; // {"label":"ui_editor_properties_blend_texture","mode":"rgbmask","default":"util/white"}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
float GetUVBlend(vec2 uv)
|
||||||
|
{
|
||||||
|
#if TRANSFORMUV == 1 && TRANSFORMREPEAT == 0
|
||||||
|
return step(0.99, dot(step(CAST2(0.0), uv) * step(uv, CAST2(1.0)), CAST2(0.5)));
|
||||||
|
#endif
|
||||||
|
return 1.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec4 albedo = texSample2D(g_Texture0, v_TexCoord.xy);
|
||||||
|
|
||||||
|
vec2 blendUV = v_TexCoord.zw;
|
||||||
|
#if TRANSFORMUV == 1 && TRANSFORMREPEAT == 1
|
||||||
|
blendUV = frac(blendUV);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
vec4 blendColors = texSample2D(g_Texture1, blendUV);
|
||||||
|
float blend = 1.0;
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
blend *= texSample2D(g_Texture7, v_TexCoordOpacity).r;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
float blendAlpha = GetUVBlend(blendUV) * blend * g_Multiply * blendColors.a;
|
||||||
|
albedo.rgb = ApplyBlending(BLENDMODE, albedo.rgb, blendColors.rgb, blendAlpha);
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 2
|
||||||
|
blendUV = frac(v_TexCoord23.xy);
|
||||||
|
blendColors = texSample2D(g_Texture2, blendUV);
|
||||||
|
blendAlpha *= blendColors.a * g_Multiply2;
|
||||||
|
albedo.rgb = ApplyBlending(BLENDMODE, albedo.rgb, blendColors.rgb, GetUVBlend(blendUV) * blend * g_Multiply2 * blendColors.a);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 3
|
||||||
|
blendUV = frac(v_TexCoord23.zw);
|
||||||
|
blendColors = texSample2D(g_Texture3, blendUV);
|
||||||
|
blendAlpha *= blendColors.a * g_Multiply3;
|
||||||
|
albedo.rgb = ApplyBlending(BLENDMODE, albedo.rgb, blendColors.rgb, GetUVBlend(blendUV) * blend * g_Multiply3 * blendColors.a);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 4
|
||||||
|
blendUV = frac(v_TexCoord45.xy);
|
||||||
|
blendColors = texSample2D(g_Texture4, blendUV);
|
||||||
|
blendAlpha *= blendColors.a * g_Multiply4;
|
||||||
|
albedo.rgb = ApplyBlending(BLENDMODE, albedo.rgb, blendColors.rgb, GetUVBlend(blendUV) * blend * g_Multiply4 * blendColors.a);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 5
|
||||||
|
blendUV = frac(v_TexCoord45.zw);
|
||||||
|
blendColors = texSample2D(g_Texture5, blendUV);
|
||||||
|
blendAlpha *= blendColors.a * g_Multiply5;
|
||||||
|
albedo.rgb = ApplyBlending(BLENDMODE, albedo.rgb, blendColors.rgb, GetUVBlend(blendUV) * blend * g_Multiply5 * blendColors.a);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 6
|
||||||
|
blendUV = frac(v_TexCoord6.xy);
|
||||||
|
blendColors = texSample2D(g_Texture6, blendUV);
|
||||||
|
blendAlpha *= blendColors.a * g_Multiply6;
|
||||||
|
albedo.rgb = ApplyBlending(BLENDMODE, albedo.rgb, blendColors.rgb, GetUVBlend(blendUV) * blend * g_Multiply6 * blendColors.a);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if WRITEALPHA
|
||||||
|
albedo.a = blendColors.a * g_AlphaMultiply;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
gl_FragColor = albedo;
|
||||||
|
}
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
uniform mat4 g_ModelViewProjectionMatrix;
|
||||||
|
uniform vec4 g_Texture1Resolution;
|
||||||
|
uniform vec4 g_Texture2Resolution;
|
||||||
|
uniform vec4 g_Texture3Resolution;
|
||||||
|
uniform vec4 g_Texture4Resolution;
|
||||||
|
uniform vec4 g_Texture5Resolution;
|
||||||
|
uniform vec4 g_Texture6Resolution;
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
uniform vec4 g_Texture7Resolution;
|
||||||
|
|
||||||
|
varying vec2 v_TexCoordOpacity;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if TRANSFORMUV == 1
|
||||||
|
uniform vec4 g_Texture0Resolution;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
uniform vec2 g_BlendOffset; // {"material":"blendoffset","label":"ui_editor_properties_offset","default":"0 0"}
|
||||||
|
uniform float g_BlendAngle; // {"material":"blendangle","label":"ui_editor_properties_angle","default":0,"range":[0,6.28]}
|
||||||
|
uniform float g_BlendScale; // {"material":"blendscale","label":"ui_editor_properties_scale","default":1,"range":[0.01,2]}
|
||||||
|
|
||||||
|
attribute vec3 a_Position;
|
||||||
|
attribute vec2 a_TexCoord;
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
#if NUMBLENDTEXTURES >= 2
|
||||||
|
varying vec4 v_TexCoord23;
|
||||||
|
#endif
|
||||||
|
#if NUMBLENDTEXTURES >= 4
|
||||||
|
varying vec4 v_TexCoord45;
|
||||||
|
#endif
|
||||||
|
#if NUMBLENDTEXTURES >= 6
|
||||||
|
varying vec2 v_TexCoord6;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
gl_Position = mul(vec4(a_Position, 1.0), g_ModelViewProjectionMatrix);
|
||||||
|
v_TexCoord.xy = a_TexCoord;
|
||||||
|
v_TexCoord.zw = vec2(v_TexCoord.x * g_Texture1Resolution.z / g_Texture1Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture1Resolution.w / g_Texture1Resolution.y);
|
||||||
|
#if NUMBLENDTEXTURES >= 2
|
||||||
|
v_TexCoord23.xy = vec2(v_TexCoord.x * g_Texture2Resolution.z / g_Texture2Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture2Resolution.w / g_Texture2Resolution.y);
|
||||||
|
v_TexCoord23.zw = CAST2(0.0);
|
||||||
|
#endif
|
||||||
|
#if NUMBLENDTEXTURES >= 3
|
||||||
|
v_TexCoord23.zw = vec2(v_TexCoord.x * g_Texture3Resolution.z / g_Texture3Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture3Resolution.w / g_Texture3Resolution.y);
|
||||||
|
#endif
|
||||||
|
#if NUMBLENDTEXTURES >= 4
|
||||||
|
v_TexCoord45.xy = vec2(v_TexCoord.x * g_Texture4Resolution.z / g_Texture4Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture4Resolution.w / g_Texture4Resolution.y);
|
||||||
|
v_TexCoord45.zw = CAST2(0.0);
|
||||||
|
#endif
|
||||||
|
#if NUMBLENDTEXTURES >= 5
|
||||||
|
v_TexCoord45.zw = vec2(v_TexCoord.x * g_Texture5Resolution.z / g_Texture5Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture5Resolution.w / g_Texture5Resolution.y);
|
||||||
|
#endif
|
||||||
|
#if NUMBLENDTEXTURES >= 6
|
||||||
|
v_TexCoord6.xy = vec2(v_TexCoord.x * g_Texture6Resolution.z / g_Texture6Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture6Resolution.w / g_Texture6Resolution.y);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if TRANSFORMUV == 1
|
||||||
|
vec2 scaleA = g_Texture0Resolution.zw / g_Texture1Resolution.zw;
|
||||||
|
//vec2 scaleB = g_Texture0Resolution.wz / g_Texture1Resolution.wz;
|
||||||
|
//vec2 dir = abs(rotateVec2(vec2(1, 0), g_BlendAngle));
|
||||||
|
|
||||||
|
v_TexCoord.zw -= (g_BlendOffset - (g_Texture0Resolution.zw - g_Texture1Resolution.zw) * 0.5) / g_Texture0Resolution.zw;
|
||||||
|
|
||||||
|
v_TexCoord.zw -= CAST2(0.5);
|
||||||
|
v_TexCoord.zw = rotateVec2(v_TexCoord.zw, g_BlendAngle);
|
||||||
|
// Too tired now to get this right, maybe look later at this again
|
||||||
|
//v_TexCoord.zw *= scaleA * dot(dir, vec2(1, 0)) + scaleB * dot(dir, vec2(0, 1));
|
||||||
|
//v_TexCoord.zw *= mix(scaleA, scaleB, abs(sin(g_BlendAngle))) / g_BlendScale;
|
||||||
|
v_TexCoord.zw *= scaleA / g_BlendScale;
|
||||||
|
//v_TexCoord.zw *= scaleA * abs(cos(g_BlendAngle)) + scaleB * abs(sin(g_BlendAngle));
|
||||||
|
|
||||||
|
v_TexCoord.zw += CAST2(0.5);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
v_TexCoordOpacity = vec2(v_TexCoord.x * g_Texture7Resolution.z / g_Texture7Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture7Resolution.w / g_Texture7Resolution.y);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
20
modules/wallpaper-engine/effects/blendgradient/effect.json
Normal file
20
modules/wallpaper-engine/effects/blendgradient/effect.json
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"version" : 1,
|
||||||
|
"replacementkey" : "blendgradient",
|
||||||
|
"name" : "ui_editor_effect_blend_gradient_title",
|
||||||
|
"description" : "ui_editor_effect_blend_gradient_description",
|
||||||
|
"group" : "colorize",
|
||||||
|
"preview" : "preview/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blendgradient.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/blendgradient.json",
|
||||||
|
"shaders/effects/blendgradient.frag",
|
||||||
|
"shaders/effects/blendgradient.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blendgradient",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"version" : 1,
|
||||||
|
"replacementkey" : "blendgradient",
|
||||||
|
"name" : "ui_editor_effect_blend_gradient_title",
|
||||||
|
"description" : "ui_editor_effect_blend_gradient_description",
|
||||||
|
"group" : "colorize",
|
||||||
|
"preview" : "preview/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blendgradient.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/blendgradient.json",
|
||||||
|
"shaders/effects/blendgradient.frag",
|
||||||
|
"shaders/effects/blendgradient.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"version" : 1,
|
||||||
|
"replacementkey" : "tint",
|
||||||
|
"name" : "ui_editor_effect_tint_title",
|
||||||
|
"description" : "ui_editor_effect_tint_description",
|
||||||
|
"group" : "colorize",
|
||||||
|
"preview" : "preview/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/tint.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/tint.json",
|
||||||
|
"shaders/effects/tint.frag",
|
||||||
|
"shaders/effects/tint.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"version" : 1,
|
||||||
|
"replacementkey" : "vhs",
|
||||||
|
"name" : "ui_editor_effect_vhs_title",
|
||||||
|
"description" : "ui_editor_effect_vhs_description",
|
||||||
|
"group" : "colorize",
|
||||||
|
"preview" : "previewvhs/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/vhs.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/vhs.json",
|
||||||
|
"shaders/effects/vhs.frag",
|
||||||
|
"shaders/effects/vhs.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"blending" : "translucent",
|
||||||
|
"cullmode" : "nocull",
|
||||||
|
"depthtest" : "disabled",
|
||||||
|
"depthwrite" : "disabled",
|
||||||
|
"shader" : "genericimage2",
|
||||||
|
"textures" : [ "effectpreview" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"clampuvs" : true,
|
||||||
|
"format" : "rgba8888",
|
||||||
|
"nomip" : true,
|
||||||
|
"nonpoweroftwo" : true
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blendgradient",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/tint",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/vhs",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"autosize" : true,
|
||||||
|
"material" : "materials/effectpreview.json"
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"file" : "scene.json",
|
||||||
|
"general" :
|
||||||
|
{
|
||||||
|
"properties" :
|
||||||
|
{
|
||||||
|
"schemecolor" :
|
||||||
|
{
|
||||||
|
"order" : 0,
|
||||||
|
"text" : "ui_browse_properties_scheme_color",
|
||||||
|
"type" : "color",
|
||||||
|
"value" : "0 0 0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"title" : "preview",
|
||||||
|
"type" : "scene",
|
||||||
|
"version" : 0
|
||||||
|
}
|
||||||
@@ -0,0 +1,213 @@
|
|||||||
|
{
|
||||||
|
"camera" :
|
||||||
|
{
|
||||||
|
"center" : "0.00000 0.00000 -1.00000",
|
||||||
|
"eye" : "0.00000 0.00000 0.00000",
|
||||||
|
"up" : "0.00000 1.00000 0.00000"
|
||||||
|
},
|
||||||
|
"general" :
|
||||||
|
{
|
||||||
|
"ambientcolor" : "0.30000 0.30000 0.30000",
|
||||||
|
"bloom" : false,
|
||||||
|
"bloomhdrfeather" : 0.1,
|
||||||
|
"bloomhdriterations" : 8,
|
||||||
|
"bloomhdrscatter" : 1.619,
|
||||||
|
"bloomhdrstrength" : 2.0,
|
||||||
|
"bloomhdrthreshold" : 1.0,
|
||||||
|
"bloomstrength" : 2.0,
|
||||||
|
"bloomthreshold" : 0.64999998,
|
||||||
|
"camerafade" : true,
|
||||||
|
"cameraparallax" : false,
|
||||||
|
"cameraparallaxamount" : 0.5,
|
||||||
|
"cameraparallaxdelay" : 0.1,
|
||||||
|
"cameraparallaxmouseinfluence" : 0.0,
|
||||||
|
"camerapreview" : true,
|
||||||
|
"camerashake" : false,
|
||||||
|
"camerashakeamplitude" : 0.5,
|
||||||
|
"camerashakeroughness" : 1.0,
|
||||||
|
"camerashakespeed" : 3.0,
|
||||||
|
"clearcolor" : "0.70000 0.70000 0.70000",
|
||||||
|
"clearenabled" : true,
|
||||||
|
"farz" : 10000.0,
|
||||||
|
"fov" : 50.0,
|
||||||
|
"hdr" : false,
|
||||||
|
"nearz" : 0.0099999998,
|
||||||
|
"orthogonalprojection" :
|
||||||
|
{
|
||||||
|
"height" : 256,
|
||||||
|
"width" : 256
|
||||||
|
},
|
||||||
|
"skylightcolor" : "0.30000 0.30000 0.30000",
|
||||||
|
"zoom" : 1.0
|
||||||
|
},
|
||||||
|
"objects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"alignment" : "center",
|
||||||
|
"alpha" : 1.0,
|
||||||
|
"angles" : "0.00000 0.00000 0.00000",
|
||||||
|
"brightness" : 1.0,
|
||||||
|
"color" : "1.00000 1.00000 1.00000",
|
||||||
|
"colorBlendMode" : 0,
|
||||||
|
"copybackground" : true,
|
||||||
|
"effects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"file" : "effects/tint/effect.json",
|
||||||
|
"id" : 28,
|
||||||
|
"name" : "",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"constantshadervalues" :
|
||||||
|
{
|
||||||
|
"alpha" : 1.0,
|
||||||
|
"color" : "1 0 0"
|
||||||
|
},
|
||||||
|
"id" : 29
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"visible" : true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file" : "effects/vhs/effect.json",
|
||||||
|
"id" : 35,
|
||||||
|
"name" : "",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"constantshadervalues" :
|
||||||
|
{
|
||||||
|
"artifacts" : 3,
|
||||||
|
"chromatic" : 0,
|
||||||
|
"distortionspeed" : 2,
|
||||||
|
"distortionstrength" : 10,
|
||||||
|
"distortionwidth" : 2,
|
||||||
|
"scale" : 0.03,
|
||||||
|
"strength" : 2
|
||||||
|
},
|
||||||
|
"id" : 36,
|
||||||
|
"textures" : [ null, "util/noise" ]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"visible" : true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"id" : 26,
|
||||||
|
"image" : "models/effectpreview.json",
|
||||||
|
"ledsource" : false,
|
||||||
|
"locktransforms" : false,
|
||||||
|
"name" : "effectpreview",
|
||||||
|
"origin" : "128.00000 128.00000 0.00000",
|
||||||
|
"parallaxDepth" : "1.00000 1.00000",
|
||||||
|
"perspective" : false,
|
||||||
|
"scale" : "1.00000 1.00000 1.00000",
|
||||||
|
"size" : "256.00000 256.00000",
|
||||||
|
"solid" : true,
|
||||||
|
"visible" : false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"alignment" : "center",
|
||||||
|
"alpha" : 1.0,
|
||||||
|
"angles" : "0.00000 0.00000 0.00000",
|
||||||
|
"brightness" : 1.0,
|
||||||
|
"color" : "1.00000 1.00000 1.00000",
|
||||||
|
"colorBlendMode" : 0,
|
||||||
|
"copybackground" : true,
|
||||||
|
"dependencies" : [ 26 ],
|
||||||
|
"depth" : 1,
|
||||||
|
"effects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"file" : "effects/blendgradient/effect.json",
|
||||||
|
"id" : 18,
|
||||||
|
"name" : "",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"combos" :
|
||||||
|
{
|
||||||
|
"EDGEGLOW" : 1
|
||||||
|
},
|
||||||
|
"constantshadervalues" :
|
||||||
|
{
|
||||||
|
"edgebrightness" : 1.0,
|
||||||
|
"edgecolor" : "0 0 0",
|
||||||
|
"gradientscale" : 0.05,
|
||||||
|
"multiply" :
|
||||||
|
{
|
||||||
|
"animation" :
|
||||||
|
{
|
||||||
|
"c0" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"back" :
|
||||||
|
{
|
||||||
|
"enabled" : true,
|
||||||
|
"x" : -1,
|
||||||
|
"y" : 0
|
||||||
|
},
|
||||||
|
"frame" : 0,
|
||||||
|
"front" :
|
||||||
|
{
|
||||||
|
"enabled" : true,
|
||||||
|
"x" : 1,
|
||||||
|
"y" : 0
|
||||||
|
},
|
||||||
|
"lockangle" : true,
|
||||||
|
"locklength" : true,
|
||||||
|
"value" : 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"back" :
|
||||||
|
{
|
||||||
|
"enabled" : true,
|
||||||
|
"x" : -1,
|
||||||
|
"y" : 0
|
||||||
|
},
|
||||||
|
"frame" : 30,
|
||||||
|
"front" :
|
||||||
|
{
|
||||||
|
"enabled" : true,
|
||||||
|
"x" : 1,
|
||||||
|
"y" : 0
|
||||||
|
},
|
||||||
|
"lockangle" : true,
|
||||||
|
"locklength" : true,
|
||||||
|
"value" : 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"options" :
|
||||||
|
{
|
||||||
|
"fps" : 15,
|
||||||
|
"length" : 30,
|
||||||
|
"mode" : "mirror",
|
||||||
|
"wraploop" : null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"value" : 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"id" : 19,
|
||||||
|
"textures" : [ null, "_rt_imageLayerComposite_26_a", "util/clouds_256" ]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"visible" : true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"id" : 38,
|
||||||
|
"image" : "models/effectpreview.json",
|
||||||
|
"ledsource" : false,
|
||||||
|
"locktransforms" : false,
|
||||||
|
"name" : "",
|
||||||
|
"origin" : "128.00000 128.00000 0.00000",
|
||||||
|
"parallaxDepth" : "1.00000 1.00000",
|
||||||
|
"perspective" : false,
|
||||||
|
"scale" : "1.00000 1.00000 1.00000",
|
||||||
|
"size" : "256.00000 256.00000",
|
||||||
|
"solid" : true,
|
||||||
|
"visible" : true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version" : 0
|
||||||
|
}
|
||||||
@@ -0,0 +1,75 @@
|
|||||||
|
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_blend_mode","combo":"BLENDMODE","type":"imageblending","default":0}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_transform","combo":"TRANSFORMUV","type":"options","default":0}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_transform_repeat","combo":"TRANSFORMREPEAT","type":"options","default":0,"options":{"ui_editor_properties_clip":0,"ui_editor_properties_repeat":1,"ui_editor_properties_clamp_uvs":2}}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_write_alpha","combo":"WRITEALPHA","type":"options","default":0}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_edge_glow","combo":"EDGEGLOW","type":"options","default":0}
|
||||||
|
|
||||||
|
#include "common_blending.h"
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
uniform float g_Multiply; // {"material":"multiply","label":"ui_editor_properties_blend_amount","default":1,"range":[0.0, 1.0]}
|
||||||
|
uniform float g_GradientScale; // {"material":"gradientscale","label":"ui_editor_properties_gradient_scale","default":0.05,"range":[0.01, 0.25]}
|
||||||
|
uniform float g_AlphaMultiply; // {"material":"alpha","label":"ui_editor_properties_alpha","default":1,"range":[0.0, 1.0]}
|
||||||
|
|
||||||
|
uniform float g_EdgeBrightness; // {"material":"edgebrightness","label":"ui_editor_properties_edge_brightness","default":1,"range":[0.0, 5.0]}
|
||||||
|
uniform vec3 g_EdgeColor; // {"material":"edgecolor","label":"ui_editor_properties_edge_color","default":"1 0.75 0","type":"color"}
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
varying vec2 v_TexCoordOpacity;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"hidden":true}
|
||||||
|
uniform sampler2D g_Texture1; // {"label":"ui_editor_properties_blend_texture","mode":"rgbmask","default":"util/white"}
|
||||||
|
uniform sampler2D g_Texture2; // {"label":"ui_editor_properties_gradient_mask","mode":"opacitymask","default":"util/clouds_256","paintdefaultcolor":"0 0 0 1"}
|
||||||
|
uniform sampler2D g_Texture3; // {"label":"ui_editor_properties_opacity_mask","mode":"opacitymask","default":"util/white","combo":"OPACITYMASK","paintdefaultcolor":"0 0 0 1"}
|
||||||
|
|
||||||
|
float GetUVBlend(vec2 uv)
|
||||||
|
{
|
||||||
|
#if TRANSFORMUV == 1 && TRANSFORMREPEAT == 0
|
||||||
|
return step(0.99, dot(step(CAST2(0.0), uv) * step(uv, CAST2(1.0)), CAST2(0.5)));
|
||||||
|
#endif
|
||||||
|
return 1.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec4 albedo = texSample2D(g_Texture0, v_TexCoord.xy);
|
||||||
|
|
||||||
|
vec2 blendUV = v_TexCoord.zw;
|
||||||
|
#if TRANSFORMUV == 1 && TRANSFORMREPEAT == 1
|
||||||
|
blendUV = frac(blendUV);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
vec4 blendColors = texSample2D(g_Texture1, blendUV);
|
||||||
|
float blend = 1.0;
|
||||||
|
|
||||||
|
float gradient = texSample2D(g_Texture2, blendUV).r;
|
||||||
|
blend = smoothstep(saturate(gradient - g_GradientScale), saturate(gradient + g_GradientScale), g_Multiply);
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
float mask = texSample2D(g_Texture3, v_TexCoordOpacity).r;
|
||||||
|
blend *= mask;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
float blendAlpha = GetUVBlend(blendUV) * blend * blendColors.a;
|
||||||
|
albedo.rgb = ApplyBlending(BLENDMODE, albedo.rgb, blendColors.rgb, blendAlpha);
|
||||||
|
|
||||||
|
#if EDGEGLOW
|
||||||
|
float burnWidth = g_GradientScale * 0.5;
|
||||||
|
float burnAmount = step(gradient - burnWidth, g_Multiply) *
|
||||||
|
step(g_Multiply, gradient + burnWidth) *
|
||||||
|
step(0.01, g_Multiply) *
|
||||||
|
step(g_Multiply, 0.999);
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
burnAmount *= mask;
|
||||||
|
#endif
|
||||||
|
albedo.rgb = max(CAST3(0.0), mix(albedo.rgb, g_EdgeColor, burnAmount * g_EdgeBrightness));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if WRITEALPHA
|
||||||
|
albedo.a = blendColors.a * g_AlphaMultiply;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
gl_FragColor = albedo;
|
||||||
|
}
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
uniform mat4 g_ModelViewProjectionMatrix;
|
||||||
|
uniform vec4 g_Texture1Resolution;
|
||||||
|
uniform vec4 g_Texture2Resolution;
|
||||||
|
uniform vec4 g_Texture3Resolution;
|
||||||
|
uniform vec4 g_Texture4Resolution;
|
||||||
|
uniform vec4 g_Texture5Resolution;
|
||||||
|
uniform vec4 g_Texture6Resolution;
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
uniform vec4 g_Texture7Resolution;
|
||||||
|
|
||||||
|
varying vec2 v_TexCoordOpacity;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if TRANSFORMUV == 1
|
||||||
|
uniform vec4 g_Texture0Resolution;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
uniform vec2 g_BlendOffset; // {"material":"blendoffset","label":"ui_editor_properties_offset","default":"0 0"}
|
||||||
|
uniform float g_BlendAngle; // {"material":"blendangle","label":"ui_editor_properties_angle","default":0,"range":[0,6.28]}
|
||||||
|
uniform float g_BlendScale; // {"material":"blendscale","label":"ui_editor_properties_scale","default":1,"range":[0.01,2]}
|
||||||
|
|
||||||
|
attribute vec3 a_Position;
|
||||||
|
attribute vec2 a_TexCoord;
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
gl_Position = mul(vec4(a_Position, 1.0), g_ModelViewProjectionMatrix);
|
||||||
|
v_TexCoord.xy = a_TexCoord;
|
||||||
|
v_TexCoord.zw = vec2(v_TexCoord.x * g_Texture1Resolution.z / g_Texture1Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture1Resolution.w / g_Texture1Resolution.y);
|
||||||
|
|
||||||
|
#if TRANSFORMUV == 1
|
||||||
|
vec2 scaleA = g_Texture0Resolution.zw / g_Texture1Resolution.zw;
|
||||||
|
|
||||||
|
v_TexCoord.zw -= (g_BlendOffset - (g_Texture0Resolution.zw - g_Texture1Resolution.zw) * 0.5) / g_Texture0Resolution.zw;
|
||||||
|
|
||||||
|
v_TexCoord.zw -= CAST2(0.5);
|
||||||
|
v_TexCoord.zw = rotateVec2(v_TexCoord.zw, g_BlendAngle);
|
||||||
|
v_TexCoord.zw *= scaleA / g_BlendScale;
|
||||||
|
v_TexCoord.zw += CAST2(0.5);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
v_TexCoordOpacity = vec2(v_TexCoord.x * g_Texture7Resolution.z / g_Texture7Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture7Resolution.w / g_Texture7Resolution.y);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_blend_mode","combo":"BLENDMODE","type":"imageblending","default":30}
|
||||||
|
|
||||||
|
#include "common_blending.h"
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"hidden":true}
|
||||||
|
uniform sampler2D g_Texture1; // {"label":"ui_editor_properties_opacity_mask","mode":"opacitymask","combo":"MASK","paintdefaultcolor":"0 0 0 1"}
|
||||||
|
|
||||||
|
uniform float g_BlendAlpha; // {"material":"alpha", "label":"ui_editor_properties_alpha","default":1,"range":[0,1]}
|
||||||
|
uniform vec3 g_TintColor; // {"material":"color", "label":"ui_editor_properties_color", "type": "color", "default":"1 0 0"}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec4 albedo = texSample2D(g_Texture0, v_TexCoord.xy);
|
||||||
|
float mask = g_BlendAlpha;
|
||||||
|
|
||||||
|
#if MASK
|
||||||
|
mask *= texSample2D(g_Texture1, v_TexCoord.zw).r;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
albedo.rgb = ApplyBlending(BLENDMODE, albedo.rgb, g_TintColor, mask);
|
||||||
|
|
||||||
|
#if BLENDMODE == 0
|
||||||
|
albedo.a = 1.0;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
gl_FragColor = albedo;
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
uniform mat4 g_ModelViewProjectionMatrix;
|
||||||
|
|
||||||
|
#if MASK
|
||||||
|
uniform vec4 g_Texture1Resolution;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
attribute vec3 a_Position;
|
||||||
|
attribute vec2 a_TexCoord;
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
gl_Position = mul(vec4(a_Position, 1.0), g_ModelViewProjectionMatrix);
|
||||||
|
v_TexCoord = a_TexCoord.xyxy;
|
||||||
|
|
||||||
|
#if MASK
|
||||||
|
v_TexCoord.zw = vec2(v_TexCoord.x * g_Texture1Resolution.z / g_Texture1Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture1Resolution.w / g_Texture1Resolution.y);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_blend_mode","combo":"BLENDMODE","type":"imageblending","default":12}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_greyscale","combo":"GREYSCALE","type":"options","default":0}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_artifacts_negated","combo":"INVERTARTIFACTS","type":"options","default":1}
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
#include "common_blending.h"
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
varying vec2 v_TexCoordGlitchBase;
|
||||||
|
varying vec4 v_TexCoordGlitch;
|
||||||
|
varying vec4 v_TexCoordNoise;
|
||||||
|
varying vec4 v_TexCoordVHSNoise;
|
||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"hidden":true}
|
||||||
|
uniform sampler2D g_Texture1; // {"label":"ui_editor_properties_noise","default":"util/noise"}
|
||||||
|
uniform sampler2D g_Texture2; // {"label":"ui_editor_properties_opacity_mask","mode":"opacitymask","paintdefaultcolor":"0 0 0 1","combo":"MASK"}
|
||||||
|
|
||||||
|
uniform float g_Time;
|
||||||
|
|
||||||
|
uniform float g_NoiseScale; // {"material":"scale","label":"ui_editor_properties_scale","default":0.3,"range":[0.01, 1.0]}
|
||||||
|
uniform float g_NoiseAlpha; // {"material":"strength","label":"ui_editor_properties_alpha","default":1.0,"range":[0.0, 2.0]}
|
||||||
|
uniform float g_DistortionStrength; // {"material":"distortionstrength","label":"ui_editor_properties_distortion_strength","default":1.0,"range":[0.0, 2.0]}
|
||||||
|
uniform float g_DistortionSpeed; // {"material":"distortionspeed","label":"ui_editor_properties_distortion_speed","default":1,"range":[0.0, 2.0]}
|
||||||
|
uniform float g_DistortionWidth; // {"material":"distortionwidth","label":"ui_editor_properties_distortion_width","default":1.0,"range":[0.0, 2.0]}
|
||||||
|
uniform float g_ArtifactsScale; // {"material":"artifacts","label":"ui_editor_properties_artifacts","default":1.5,"range":[0.0, 3.0]}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
float dblend = sin(g_Time);
|
||||||
|
dblend = sign(dblend) * pow(abs(max(0.00001, dblend)), 4.0);
|
||||||
|
vec2 distortion = vec2(dblend *
|
||||||
|
g_DistortionStrength * 0.02 *
|
||||||
|
smoothstep(0.01 * g_DistortionWidth, 0.0, abs(frac(g_Time * g_DistortionSpeed) - v_TexCoord.y)),
|
||||||
|
0.0);
|
||||||
|
distortion *= g_NoiseAlpha;
|
||||||
|
|
||||||
|
vec4 albedo;
|
||||||
|
float vhsBlend = 1.0;
|
||||||
|
|
||||||
|
#if MASK == 1
|
||||||
|
vhsBlend *= texSample2D(g_Texture2, v_TexCoord.zw).r;
|
||||||
|
vec4 orig = texSample2D(g_Texture0, v_TexCoord.xy + distortion * vhsBlend);
|
||||||
|
albedo.ga = texSample2D(g_Texture0, v_TexCoordGlitchBase + distortion * vhsBlend).ga;
|
||||||
|
#else
|
||||||
|
vec4 orig = texSample2D(g_Texture0, v_TexCoord.xy + distortion);
|
||||||
|
albedo.ga = orig.ga;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
albedo.r = texSample2D(g_Texture0, v_TexCoordGlitch.xy + distortion).r;
|
||||||
|
albedo.b = texSample2D(g_Texture0, v_TexCoordGlitch.zw + distortion).b;
|
||||||
|
|
||||||
|
vec3 noise = texSample2D(g_Texture1, v_TexCoordNoise.xy).rgb;
|
||||||
|
vec3 noise2 = texSample2D(g_Texture1, v_TexCoordNoise.zw).gbr;
|
||||||
|
|
||||||
|
#if GREYSCALE == 1
|
||||||
|
noise = CAST3(greyscale(noise));
|
||||||
|
noise2 = CAST3(greyscale(noise2));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
noise = saturate(noise * noise2);
|
||||||
|
|
||||||
|
float blend = 0.1;
|
||||||
|
albedo.rgb = ApplyBlending(BLENDMODE, albedo.rgb, noise, blend);
|
||||||
|
albedo.rgb = BlendOpacity(albedo.rgb, smoothstep(0.7, 1.0, noise), BlendLinearDodge, blend);
|
||||||
|
|
||||||
|
vec2 vhsNoise = texSample2D(g_Texture1, v_TexCoordVHSNoise.xy).rg;
|
||||||
|
vec2 vhsNoise2 = texSample2D(g_Texture1, v_TexCoordVHSNoise.zw).rg;
|
||||||
|
|
||||||
|
float artifactLimiter = pow(max(g_ArtifactsScale, 0.0001), 0.2);
|
||||||
|
float artifactsAlpha = step(0.001, g_NoiseScale) * step(0.9, vhsNoise.x * artifactLimiter) * step(0.9, vhsNoise2.x * artifactLimiter) * vhsNoise.y * vhsNoise2.y;
|
||||||
|
#if INVERTARTIFACTS
|
||||||
|
albedo.rgb = mix(albedo.rgb, CAST3(1.0 - albedo.rgb), artifactsAlpha);
|
||||||
|
#else
|
||||||
|
albedo.rgb += CAST3(artifactsAlpha);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
gl_FragColor = mix(orig, albedo, g_NoiseAlpha * vhsBlend);
|
||||||
|
}
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
|
||||||
|
|
||||||
|
uniform mat4 g_ModelViewProjectionMatrix;
|
||||||
|
|
||||||
|
uniform vec4 g_Texture0Resolution;
|
||||||
|
|
||||||
|
#if MASK == 1
|
||||||
|
uniform vec4 g_Texture2Resolution;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
uniform float g_Time;
|
||||||
|
|
||||||
|
attribute vec3 a_Position;
|
||||||
|
attribute vec2 a_TexCoord;
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
varying vec2 v_TexCoordGlitchBase;
|
||||||
|
varying vec4 v_TexCoordGlitch;
|
||||||
|
varying vec4 v_TexCoordNoise;
|
||||||
|
varying vec4 v_TexCoordVHSNoise;
|
||||||
|
|
||||||
|
uniform float g_NoiseScale; // {"material":"scale","label":"ui_editor_properties_scale","default":0.3,"range":[0.01, 1.0]}
|
||||||
|
uniform float g_Chromatic; // {"material":"chromatic","label":"ui_editor_properties_chromatic_aberration","default":0.1,"range":[0.0, 1.0]}
|
||||||
|
uniform float g_ArtifactsScale; // {"material":"artifacts","label":"ui_editor_properties_artifacts","default":1.5,"range":[0.0, 3.0]}
|
||||||
|
uniform float g_NoiseAlpha; // {"material":"strength","label":"ui_editor_properties_alpha","default":1.0,"range":[0.0, 2.0]}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
gl_Position = mul(vec4(a_Position, 1.0), g_ModelViewProjectionMatrix);
|
||||||
|
|
||||||
|
float aspect = g_Texture0Resolution.z / g_Texture0Resolution.w;
|
||||||
|
|
||||||
|
float t = frac(g_Time);
|
||||||
|
v_TexCoord = a_TexCoord.xyxy;
|
||||||
|
v_TexCoordNoise.xy = (a_TexCoord.xy + t) * g_NoiseScale;
|
||||||
|
v_TexCoordNoise.zw = (a_TexCoord.xy - t * 2.5) * g_NoiseScale * 0.52;
|
||||||
|
v_TexCoordNoise *= vec4(aspect, 1.0, aspect, 1.0);
|
||||||
|
|
||||||
|
#if MASK == 1
|
||||||
|
v_TexCoord.zw = vec2(a_TexCoord.x * g_Texture2Resolution.z / g_Texture2Resolution.x,
|
||||||
|
a_TexCoord.y * g_Texture2Resolution.w / g_Texture2Resolution.y);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
v_TexCoordVHSNoise.xy = v_TexCoordNoise.xy * vec2(0.1, 10) * g_ArtifactsScale;
|
||||||
|
v_TexCoordVHSNoise.zw = v_TexCoordNoise.zw * vec2(0.01, 2) * g_ArtifactsScale;
|
||||||
|
|
||||||
|
|
||||||
|
v_TexCoordGlitch = v_TexCoord.xyxy;
|
||||||
|
|
||||||
|
vec3 glitchOffset = g_Chromatic * smoothstep(0, 2, 1 + 0.5 * sin(g_Time * vec3(11, 7, 13) * 2)) * vec3(0.0019, 0.0021, 0.0017);
|
||||||
|
v_TexCoordGlitch.y += 0.004 * g_Chromatic + glitchOffset.x;
|
||||||
|
v_TexCoordGlitch.xz += glitchOffset.xy + vec2(0.005, -0.0005) * g_Chromatic;
|
||||||
|
v_TexCoordGlitch.z -= glitchOffset.z + 0.006 * g_Chromatic;
|
||||||
|
v_TexCoordGlitch.w -= 0.0045 * g_Chromatic;
|
||||||
|
v_TexCoordGlitchBase.x = v_TexCoord.x + glitchOffset.z * min(1.0, g_NoiseAlpha);
|
||||||
|
v_TexCoordGlitchBase.y = v_TexCoord.y - glitchOffset.z * min(1.0, g_NoiseAlpha);
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "FX Preview",
|
||||||
|
"type": "scene2d"
|
||||||
|
}
|
||||||
@@ -0,0 +1,75 @@
|
|||||||
|
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_blend_mode","combo":"BLENDMODE","type":"imageblending","default":0}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_transform","combo":"TRANSFORMUV","type":"options","default":0}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_transform_repeat","combo":"TRANSFORMREPEAT","type":"options","default":0,"options":{"ui_editor_properties_clip":0,"ui_editor_properties_repeat":1,"ui_editor_properties_clamp_uvs":2},"require":{"TRANSFORMUV":1}}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_write_alpha","combo":"WRITEALPHA","type":"options","default":0}
|
||||||
|
// [COMBO] {"material":"ui_editor_properties_edge_glow","combo":"EDGEGLOW","type":"options","default":0}
|
||||||
|
|
||||||
|
#include "common_blending.h"
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
uniform float g_Multiply; // {"material":"multiply","label":"ui_editor_properties_blend_amount","default":1,"range":[0.0, 1.0]}
|
||||||
|
uniform float g_GradientScale; // {"material":"gradientscale","label":"ui_editor_properties_gradient_scale","default":0.05,"range":[0.01, 0.25]}
|
||||||
|
uniform float g_AlphaMultiply; // {"material":"alpha","label":"ui_editor_properties_alpha","default":1,"range":[0.0, 1.0]}
|
||||||
|
|
||||||
|
uniform float g_EdgeBrightness; // {"material":"edgebrightness","label":"ui_editor_properties_edge_brightness","default":1,"range":[0.0, 5.0]}
|
||||||
|
uniform vec3 g_EdgeColor; // {"material":"edgecolor","label":"ui_editor_properties_edge_color","default":"1 0.75 0","type":"color"}
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
varying vec2 v_TexCoordOpacity;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"hidden":true}
|
||||||
|
uniform sampler2D g_Texture1; // {"label":"ui_editor_properties_blend_texture","mode":"rgbmask","default":"util/white"}
|
||||||
|
uniform sampler2D g_Texture2; // {"label":"ui_editor_properties_gradient_mask","mode":"opacitymask","default":"util/clouds_256","paintdefaultcolor":"0 0 0 1"}
|
||||||
|
uniform sampler2D g_Texture3; // {"label":"ui_editor_properties_opacity_mask","mode":"opacitymask","default":"util/white","combo":"OPACITYMASK","paintdefaultcolor":"0 0 0 1"}
|
||||||
|
|
||||||
|
float GetUVBlend(vec2 uv)
|
||||||
|
{
|
||||||
|
#if TRANSFORMUV == 1 && TRANSFORMREPEAT == 0
|
||||||
|
return step(0.99, dot(step(CAST2(0.0), uv) * step(uv, CAST2(1.0)), CAST2(0.5)));
|
||||||
|
#endif
|
||||||
|
return 1.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec4 albedo = texSample2D(g_Texture0, v_TexCoord.xy);
|
||||||
|
|
||||||
|
vec2 blendUV = v_TexCoord.zw;
|
||||||
|
#if TRANSFORMUV == 1 && TRANSFORMREPEAT == 1
|
||||||
|
blendUV = frac(blendUV);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
vec4 blendColors = texSample2D(g_Texture1, blendUV);
|
||||||
|
float blend = 1.0;
|
||||||
|
|
||||||
|
float gradient = texSample2D(g_Texture2, blendUV).r;
|
||||||
|
blend = smoothstep(saturate(gradient - g_GradientScale), saturate(gradient + g_GradientScale), g_Multiply);
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
float mask = texSample2D(g_Texture3, v_TexCoordOpacity).r;
|
||||||
|
blend *= mask;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
float blendAlpha = GetUVBlend(blendUV) * blend * blendColors.a;
|
||||||
|
albedo.rgb = ApplyBlending(BLENDMODE, albedo.rgb, blendColors.rgb, blendAlpha);
|
||||||
|
|
||||||
|
#if EDGEGLOW
|
||||||
|
float burnWidth = g_GradientScale * 0.5;
|
||||||
|
float burnAmount = step(gradient - burnWidth, g_Multiply) *
|
||||||
|
step(g_Multiply, gradient + burnWidth) *
|
||||||
|
step(0.01, g_Multiply) *
|
||||||
|
step(g_Multiply, 0.999);
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
burnAmount *= mask;
|
||||||
|
#endif
|
||||||
|
albedo.rgb = max(CAST3(0.0), mix(albedo.rgb, g_EdgeColor, burnAmount * g_EdgeBrightness));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if WRITEALPHA
|
||||||
|
albedo.a = blendColors.a * g_AlphaMultiply;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
gl_FragColor = albedo;
|
||||||
|
}
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
uniform mat4 g_ModelViewProjectionMatrix;
|
||||||
|
uniform vec4 g_Texture1Resolution;
|
||||||
|
uniform vec4 g_Texture2Resolution;
|
||||||
|
uniform vec4 g_Texture3Resolution;
|
||||||
|
uniform vec4 g_Texture4Resolution;
|
||||||
|
uniform vec4 g_Texture5Resolution;
|
||||||
|
uniform vec4 g_Texture6Resolution;
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
uniform vec4 g_Texture7Resolution;
|
||||||
|
|
||||||
|
varying vec2 v_TexCoordOpacity;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if TRANSFORMUV == 1
|
||||||
|
uniform vec4 g_Texture0Resolution;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
uniform vec2 g_BlendOffset; // {"material":"blendoffset","label":"ui_editor_properties_offset","default":"0 0"}
|
||||||
|
uniform float g_BlendAngle; // {"material":"blendangle","label":"ui_editor_properties_angle","default":0,"range":[0,6.28]}
|
||||||
|
uniform float g_BlendScale; // {"material":"blendscale","label":"ui_editor_properties_scale","default":1,"range":[0.01,2]}
|
||||||
|
|
||||||
|
attribute vec3 a_Position;
|
||||||
|
attribute vec2 a_TexCoord;
|
||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
gl_Position = mul(vec4(a_Position, 1.0), g_ModelViewProjectionMatrix);
|
||||||
|
v_TexCoord.xy = a_TexCoord;
|
||||||
|
v_TexCoord.zw = vec2(v_TexCoord.x * g_Texture1Resolution.z / g_Texture1Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture1Resolution.w / g_Texture1Resolution.y);
|
||||||
|
|
||||||
|
#if TRANSFORMUV == 1
|
||||||
|
vec2 scaleA = g_Texture0Resolution.zw / g_Texture1Resolution.zw;
|
||||||
|
|
||||||
|
v_TexCoord.zw -= (g_BlendOffset - (g_Texture0Resolution.zw - g_Texture1Resolution.zw) * 0.5) / g_Texture0Resolution.zw;
|
||||||
|
|
||||||
|
v_TexCoord.zw -= CAST2(0.5);
|
||||||
|
v_TexCoord.zw = rotateVec2(v_TexCoord.zw, g_BlendAngle);
|
||||||
|
v_TexCoord.zw *= scaleA / g_BlendScale;
|
||||||
|
v_TexCoord.zw += CAST2(0.5);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if OPACITYMASK == 1
|
||||||
|
v_TexCoordOpacity = vec2(v_TexCoord.x * g_Texture7Resolution.z / g_Texture7Resolution.x,
|
||||||
|
v_TexCoord.y * g_Texture7Resolution.w / g_Texture7Resolution.y);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
85
modules/wallpaper-engine/effects/blur/effect.json
Normal file
85
modules/wallpaper-engine/effects/blur/effect.json
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
{
|
||||||
|
"version" : 1,
|
||||||
|
"replacementkey" : "blur",
|
||||||
|
"name" : "ui_editor_effect_blur_title",
|
||||||
|
"description" : "ui_editor_effect_blur_description",
|
||||||
|
"group" : "blur",
|
||||||
|
"performance" : "expensive",
|
||||||
|
"preview" : "preview/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blur_downsample4.json",
|
||||||
|
"target" : "_rt_QuarterCompoBuffer1",
|
||||||
|
"bind" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "previous",
|
||||||
|
"index" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blur_gaussian_x.json",
|
||||||
|
"target" : "_rt_QuarterCompoBuffer2",
|
||||||
|
"bind" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "_rt_QuarterCompoBuffer1",
|
||||||
|
"index" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blur_gaussian_y.json",
|
||||||
|
"target" : "_rt_QuarterCompoBuffer1",
|
||||||
|
"bind" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "_rt_QuarterCompoBuffer2",
|
||||||
|
"index" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blur_combine.json",
|
||||||
|
"bind" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "_rt_QuarterCompoBuffer1",
|
||||||
|
"index" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name" : "previous",
|
||||||
|
"index" : 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fbos" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "_rt_QuarterCompoBuffer1",
|
||||||
|
"scale" : 4,
|
||||||
|
"format" : "rgba_backbuffer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name" : "_rt_QuarterCompoBuffer2",
|
||||||
|
"scale" : 4,
|
||||||
|
"format" : "rgba_backbuffer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/blur_downsample4.json",
|
||||||
|
"materials/effects/blur_gaussian_x.json",
|
||||||
|
"materials/effects/blur_gaussian_y.json",
|
||||||
|
"materials/effects/blur_combine.json",
|
||||||
|
"shaders/effects/blur_downsample4.frag",
|
||||||
|
"shaders/effects/blur_downsample4.vert",
|
||||||
|
"shaders/effects/blur_gaussian.frag",
|
||||||
|
"shaders/effects/blur_gaussian.vert",
|
||||||
|
"shaders/effects/blur_combine.frag",
|
||||||
|
"shaders/effects/blur_combine.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blur_combine",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blur_downsample4",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blur_gaussian",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blur_gaussian",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull",
|
||||||
|
"combos": {
|
||||||
|
"VERTICAL" : 1
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,82 @@
|
|||||||
|
{
|
||||||
|
"name" : "Blur",
|
||||||
|
"description" : "Apply gaussian blur to a section of the image.",
|
||||||
|
"group" : "composite",
|
||||||
|
//"preview" : "preview/project.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blur_downsample4.json",
|
||||||
|
"target" : "_rt_QuarterCompoBuffer1",
|
||||||
|
"bind" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "prev",
|
||||||
|
"index" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blur_gaussian_x.json",
|
||||||
|
"target" : "_rt_QuarterCompoBuffer2",
|
||||||
|
"bind" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "_rt_QuarterCompoBuffer1",
|
||||||
|
"index" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blur_gaussian_y.json",
|
||||||
|
"target" : "_rt_QuarterCompoBuffer1",
|
||||||
|
"bind" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "_rt_QuarterCompoBuffer2",
|
||||||
|
"index" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"material" : "materials/effects/blur_combine.json",
|
||||||
|
"bind" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "_rt_QuarterCompoBuffer1",
|
||||||
|
"index" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name" : "prev",
|
||||||
|
"index" : 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fbos" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "_rt_QuarterCompoBuffer1",
|
||||||
|
"scale" : 4,
|
||||||
|
"format" : "rgba8888"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name" : "_rt_QuarterCompoBuffer2",
|
||||||
|
"scale" : 4,
|
||||||
|
"format" : "rgba8888"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies" :
|
||||||
|
[
|
||||||
|
"materials/effects/blur_downsample4.json",
|
||||||
|
"materials/effects/blur_gaussian_x.json",
|
||||||
|
"materials/effects/blur_gaussian_y.json",
|
||||||
|
"materials/effects/blur_combine.json",
|
||||||
|
"shaders/effects/blur_downsample4.frag",
|
||||||
|
"shaders/effects/blur_downsample4.vert",
|
||||||
|
"shaders/effects/blur_gaussian.frag",
|
||||||
|
"shaders/effects/blur_gaussian.vert",
|
||||||
|
"shaders/effects/blur_combine.frag",
|
||||||
|
"shaders/effects/blur_combine.vert"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"blending" : "translucent",
|
||||||
|
"cullmode" : "nocull",
|
||||||
|
"depthtest" : "disabled",
|
||||||
|
"depthwrite" : "disabled",
|
||||||
|
"shader" : "genericimage2",
|
||||||
|
"textures" : [ "effectpreview" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"clampuvs" : true,
|
||||||
|
"format" : "rgba8888",
|
||||||
|
"nomip" : true,
|
||||||
|
"nonpoweroftwo" : true
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blur_combine",
|
||||||
|
"blending": "translucent",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blur_downsample4",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blur_gaussian",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull"
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"passes": [{
|
||||||
|
"shader": "effects/blur_gaussian",
|
||||||
|
"blending": "normal",
|
||||||
|
"depthtest": "disabled",
|
||||||
|
"depthwrite": "disabled",
|
||||||
|
"cullmode": "nocull",
|
||||||
|
"combos": {
|
||||||
|
"VERTICAL" : 1
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"clampuvs" : true,
|
||||||
|
"format" : "rgba8888",
|
||||||
|
"nomip" : true,
|
||||||
|
"nonpoweroftwo" : true
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"autosize" : true,
|
||||||
|
"material" : "materials/effectpreview.json"
|
||||||
|
}
|
||||||
18
modules/wallpaper-engine/effects/blur/preview/project.json
Normal file
18
modules/wallpaper-engine/effects/blur/preview/project.json
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"file" : "scene.json",
|
||||||
|
"general" :
|
||||||
|
{
|
||||||
|
"properties" :
|
||||||
|
{
|
||||||
|
"schemecolor" :
|
||||||
|
{
|
||||||
|
"order" : 0,
|
||||||
|
"text" : "ui_browse_properties_scheme_color",
|
||||||
|
"type" : "color",
|
||||||
|
"value" : "0 0 0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"title" : "previewb",
|
||||||
|
"type" : "scene"
|
||||||
|
}
|
||||||
80
modules/wallpaper-engine/effects/blur/preview/scene.json
Normal file
80
modules/wallpaper-engine/effects/blur/preview/scene.json
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
{
|
||||||
|
"camera" :
|
||||||
|
{
|
||||||
|
"center" : "-12.815 -28.307 -1.000",
|
||||||
|
"eye" : "-12.815 -28.307 0.000",
|
||||||
|
"up" : "0.000 1.000 0.000"
|
||||||
|
},
|
||||||
|
"general" :
|
||||||
|
{
|
||||||
|
"ambientcolor" : "0.3 0.3 0.3",
|
||||||
|
"bloom" : false,
|
||||||
|
"bloomstrength" : 2,
|
||||||
|
"bloomthreshold" : 0.64999997615814209,
|
||||||
|
"cameraparallax" : false,
|
||||||
|
"cameraparallaxamount" : 0.5,
|
||||||
|
"cameraparallaxdelay" : 0.10000000149011612,
|
||||||
|
"cameraparallaxmouseinfluence" : 0,
|
||||||
|
"camerapreview" : true,
|
||||||
|
"camerashake" : false,
|
||||||
|
"camerashakeamplitude" : 0.5,
|
||||||
|
"camerashakeroughness" : 1,
|
||||||
|
"camerashakespeed" : 3,
|
||||||
|
"clearcolor" : "0.7 0.7 0.7",
|
||||||
|
"orthogonalprojection" :
|
||||||
|
{
|
||||||
|
"height" : 256,
|
||||||
|
"width" : 256
|
||||||
|
},
|
||||||
|
"skylightcolor" : "0.3 0.3 0.3"
|
||||||
|
},
|
||||||
|
"objects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"angles" : "0.000 0.000 0.000",
|
||||||
|
"dependencies" : [ 38 ],
|
||||||
|
"depth" : 1,
|
||||||
|
"effects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"file" : "effects/blur/effect.json",
|
||||||
|
"passes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"combos" : null,
|
||||||
|
"constantshadervalues" : null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"combos" : null,
|
||||||
|
"constantshadervalues" : null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"combos" :
|
||||||
|
{
|
||||||
|
"VERTICAL" : 1
|
||||||
|
},
|
||||||
|
"constantshadervalues" : null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"combos" : null,
|
||||||
|
"constantshadervalues" : null,
|
||||||
|
"textures" :
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
"masks/blur_combine_mask_681d95af21112ea41fc4cd51aa49d9c553ef1173",
|
||||||
|
"_rt_imageLayerComposite_38_a"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"id" : 38,
|
||||||
|
"image" : "models/effectpreview.json",
|
||||||
|
"name" : "",
|
||||||
|
"origin" : "128.000 128.000 0.000",
|
||||||
|
"parallaxDepth" : "1.000 1.000",
|
||||||
|
"scale" : "1.000 1.000 1.000",
|
||||||
|
"size" : "256.000 256.000"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
varying vec4 v_TexCoord;
|
||||||
|
|
||||||
|
uniform sampler2D g_Texture0; // {"material":"Framebuffer","hidden":true}
|
||||||
|
uniform sampler2D g_Texture1; // {"material":"Mask","mode":"opacitymask","default":"util/white"}
|
||||||
|
uniform sampler2D g_Texture2; // {"material":"Prev","hidden":true}
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec4 albedo = texSample2D(g_Texture0, v_TexCoord.xy);
|
||||||
|
vec4 albedoOld = texSample2D(g_Texture2, v_TexCoord.xy);
|
||||||
|
float mask = texSample2D(g_Texture1, v_TexCoord.zw).r;
|
||||||
|
albedo = mix(albedoOld, albedo, mask);
|
||||||
|
gl_FragColor = albedo;
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user