init
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.vesktop ];
|
||||
|
||||
# change the desktop file
|
||||
xdg.desktopEntries.vesktop.comment = "VESKTOP, a Discord client, running on socks5:2080";
|
||||
xdg.desktopEntries.vesktop.name = "Vesktop (Modified)";
|
||||
xdg.desktopEntries.vesktop.genericName = "Discord client";
|
||||
xdg.desktopEntries.vesktop.exec = "vesktop --proxy-server=\"socks5://127.0.0.1:2080 %U\"";
|
||||
xdg.desktopEntries.vesktop.icon = "vesktop";
|
||||
xdg.desktopEntries.vesktop.type = "Application";
|
||||
xdg.desktopEntries.vesktop.categories = [ "Network" "InstantMessaging" ];
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
{ pkgs, ... }:
|
||||
{ }
|
||||
@@ -0,0 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.obs-studio.enable = true;
|
||||
programs.obs-studio.package = (pkgs.obs-studio.override { cudaSupport = true; });
|
||||
programs.obs-studio.plugins = [
|
||||
pkgs.obs-studio-plugins.wlrobs
|
||||
pkgs.obs-studio-plugins.obs-backgroundremoval
|
||||
pkgs.obs-studio-plugins.obs-vaapi
|
||||
pkgs.obs-studio-plugins.obs-gstreamer
|
||||
pkgs.obs-studio-plugins.obs-vkcapture
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, pkgs, ... }:
|
||||
let
|
||||
pname = "prismlauncher";
|
||||
version = "11.0.2-1";
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/Diegiwg/PrismLauncher-Cracked/releases/download/${version}/PrismLauncher-Linux-x86_64.AppImage";
|
||||
hash = "sha256-P+6s4g8uCqXQx0p5rieJFpuDV7AquGVYrcTs9XWFAsA=";
|
||||
};
|
||||
icon = pkgs.fetchurl {
|
||||
url = "https://upload.wikimedia.org/wikipedia/commons/7/74/Prism_Launcher_logo.svg";
|
||||
hash = "sha256-AQexWc1uadtsYQpTTwI3BVCJQyfV2AZ/jxNWshyFxnE=";
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages = [
|
||||
(pkgs.appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
meta = {
|
||||
description = "Cracked version of Prism Launcher";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
};
|
||||
})
|
||||
];
|
||||
home.file.".local/share/icons/hicolor/scalable/apps/prismlauncher.svg".source = icon;
|
||||
xdg.desktopEntries.prismlauncher.comment = "Cracked version of Prism Launcher";
|
||||
xdg.desktopEntries.prismlauncher.name = "Prism Launcher (Modified)";
|
||||
xdg.desktopEntries.prismlauncher.genericName = "Prism Launcher client";
|
||||
xdg.desktopEntries.prismlauncher.exec = "prismlauncher";
|
||||
xdg.desktopEntries.prismlauncher.icon = "prismlauncher";
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.waybar.enable = true;
|
||||
programs.waybar.package = pkgs.waybar;
|
||||
programs.waybar.systemd.enable = false;
|
||||
programs.waybar.settings.mainBar.layer = "top";
|
||||
programs.waybar.settings.mainBar.position = "top";
|
||||
programs.waybar.settings.mainBar.spacing = "0";
|
||||
programs.waybar.settings.mainBar.height = 35;
|
||||
programs.waybar.settings.mainBar.border-radius = 25;
|
||||
programs.waybar.settings.mainBar.output = [ "HDMI-A-1" ];
|
||||
|
||||
programs.waybar.settings.mainBar.modules-left = [ "niri/workspaces" ];
|
||||
programs.waybar.settings.mainBar.modules-center = [ "niri/window" ];
|
||||
programs.waybar.settings.mainBar.modules-right = [ "clock" ];
|
||||
|
||||
programs.waybar.settings.mainBar."custom/distro-icon".format = "";
|
||||
programs.waybar.settings.mainBar."custom/distro-icon".tooltip = "false";
|
||||
programs.waybar.settings.mainBar."niri/workspaces".disable-scroll = true;
|
||||
programs.waybar.settings.mainBar."niri/workspaces".all-outputs = false;
|
||||
programs.waybar.settings.mainBar."niri/workspaces".on-click = "activate";
|
||||
programs.waybar.settings.mainBar."clock".format = "{:%I:%M %p • %a, %d/%m}";
|
||||
programs.waybar.settings.mainBar."clock".format-alt = "{:%A, %d %B %Y}";
|
||||
programs.waybar.settings.mainBar."clock".tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
||||
imports = [ ./style.nix ];
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs.waybar.style = ''
|
||||
* {
|
||||
font-family: "Iosevka Nerd Font";
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: #000000;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
margin: 8px 0 4px 8px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: #89b4fa;
|
||||
background: #16161a;
|
||||
margin-right: 6px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
|
||||
padding: 4px 12px;
|
||||
font-weight: bold;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #09090F;
|
||||
margin-right: 6px;
|
||||
border-radius: 12px;
|
||||
background: linear-gradient(135deg, #cba6f7, #f9e2af, #a6e3a1, #89b4fa);
|
||||
background-size: 200% 200%;
|
||||
animation: shift 6s ease infinite;
|
||||
}
|
||||
|
||||
@keyframes shift {
|
||||
0% { background-position: 0% 50%; }
|
||||
50% { background-position: 100% 50%; }
|
||||
100% { background-position: 0% 50%; }
|
||||
}
|
||||
|
||||
#window {
|
||||
color: #d3869b;
|
||||
margin: 8px 8px 4px 8px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
|
||||
padding: 4px 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#cpu,
|
||||
#network,
|
||||
#wireplumber,
|
||||
#battery {
|
||||
color: #d3869b;
|
||||
background: #16161a;
|
||||
margin: 8px 8px 4px 0;
|
||||
border-radius: 12px;
|
||||
box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
|
||||
padding: 4px 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#clock {
|
||||
background: linear-gradient(135deg, #cdd6f4, #f38ba8);
|
||||
background-size: 200% 200%;
|
||||
animation: shift 6s ease infinite;
|
||||
margin: 8px 8px 4px 0;
|
||||
border-radius: 12px;
|
||||
padding: 4px 12px;
|
||||
color: #09090F;
|
||||
font-weight: bold;
|
||||
text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
#taskbar {
|
||||
background: #16161a;
|
||||
color: #89b4fa;
|
||||
margin: 8px 8px 4px 0;
|
||||
border-radius: 12px;
|
||||
min-width: 38px;
|
||||
padding: 3px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#custom-distro-icon {
|
||||
background: radial-gradient(circle, rgba(203,166,247,1) 0%, rgba(193,168,247,1) 12%, rgba(249,226,175,1) 19%, rgba(189,169,247,1) 20%, rgba(182,171,247,1) 24%, rgba(198,255,194,1) 36%, rgba(177,172,247,1) 37%, rgba(170,173,248,1) 48%, rgba(255,255,255,1) 52%, rgba(166,174,248,1) 52%, rgba(160,175,248,1) 59%, rgba(148,226,213,1) 66%, rgba(155,176,248,1) 67%, rgba(152,177,248,1) 68%, rgba(205,214,244,1) 77%, rgba(148,178,249,1) 78%, rgba(144,179,250,1) 82%, rgba(180,190,254,1) 83%, rgba(141,179,250,1) 90%, rgba(137,180,250,1) 100%);
|
||||
background-size: 400% 400%;
|
||||
color: #09090F;
|
||||
margin: 8px 4px 4px 8px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
|
||||
padding: 0;
|
||||
min-width: 34px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user