This commit is contained in:
Hadi
2024-03-13 11:31:15 +01:00
parent 884b366ed2
commit a17cf20b6d
17 changed files with 152 additions and 40 deletions

View File

@@ -1,7 +1,5 @@
{ config, lib, pkgs, ... }: {
imports = [ ../variables/theme ];
home.packages = with pkgs; [ libnotify ];
services.dunst = {
@@ -13,7 +11,7 @@
settings = {
global = {
rounded = "yes";
origin = "top-right";
origin = "top-center";
monitor = "0";
alignment = "left";
vertical_alignment = "center";
@@ -43,7 +41,7 @@
"<b>%s</b>\\n%b"; # format = "<span foreground='#f3f4f5'><b>%s %p</b></span>\n%b"
frame_color = "#" + config.theme.colors.bg;
frame_width = 1;
offset = "15x15";
offset = "0x10";
horizontal_padding = 10;
icon_position = "left";
indicate_hidden = "yes";

View File

@@ -1,10 +1,10 @@
{ config, pkgs, ... }: {
home.username = "hadi";
home.homeDirectory = "/home/hadi";
home.packages = with pkgs; [
swappy
spotify
imv
discord
obsidian
@@ -50,5 +50,7 @@
./nextcloud
./scripts
./neofetch
./spicetify
./variables/theme
];
}

View File

@@ -1,6 +1,6 @@
{ pkgs, config, ... }: {
imports = [ ./hyprlock.nix ./hypridle.nix ../variables/theme ];
imports = [ ./hyprlock.nix ./hypridle.nix ];
home.packages = with pkgs; [
xdg-desktop-portal-hyprland

View File

@@ -1,7 +1,5 @@
{ pkgs, config, ... }: {
imports = [ ../variables/theme ];
home.packages = with pkgs; [ hyprlock ];
xdg.configFile."hypr/hyprlock.conf".text = ''

View File

@@ -1,7 +1,5 @@
{ config, ... }: {
imports = [ ../variables/theme ];
programs.kitty = {
enable = true;
settings = {

View File

@@ -737,7 +737,7 @@ image_backend="ascii"
# NOTE: 'auto' will pick the best image source for whatever image backend is used.
# In ascii mode, distro ascii art will be used and in an image mode, your
# wallpaper will be used.
image_source="auto"
image_source="$HOME/.config/neofetch/ascii.txt"
# Ascii Options

View File

@@ -55,32 +55,46 @@
val = 4;
}
{
opts = {
position = "center";
cursor = 3;
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
type = "group";
val = [
{
type = "button";
val = " New file";
on_press.__raw = "function() vim.cmd[[ene]] end";
opts.shortcut = "n";
opts = {
shortcut = "n";
position = "center";
cursor = 3;
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
{
type = "button";
val = " NixOs Config";
val = " NixOs Config";
on_press.__raw = "function() vim.cmd[[e ~/.config/nixos]] end";
opts.shortcut = "n";
opts = {
shortcut = "c";
position = "center";
cursor = 3;
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
{
type = "button";
val = "󰩈 Quit Neovim";
val = "󰩈 Quit Neovim";
on_press.__raw = "function() vim.cmd[[qa]] end";
opts.shortcut = "q";
opts = {
shortcut = "q";
position = "center";
cursor = 3;
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
];
}

View File

@@ -1,7 +1,5 @@
{ config, ... }: {
imports = [ ../variables/theme ];
xdg.configFile."duckduckgo-colorscheme.js".text = ''
// Cookies string for your theme
const cookie = '7=${config.theme.colors.bg}; j=${config.theme.colors.bg}; 9=${config.theme.colors.fg}; aa=${config.theme.colors.alt-fg}; 8=${config.theme.colors.color7}; x=${config.theme.colors.primary-bg}; 21=${config.theme.colors.alt-bg};';

View File

@@ -9,7 +9,7 @@
syntaxHighlighting.enable = true;
historySubstringSearch.enable = true;
initExtraFirst = "nerdfetch";
initExtraFirst = "neofetch";
history = {
ignoreDups = true;

View File

@@ -0,0 +1,40 @@
{ pkgs, config, lib, spicetify-nix, ... }:
let spicePkgs = spicetify-nix.packages.${pkgs.system}.default;
in {
imports = [ spicetify-nix.homeManagerModules.default ];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ "spotify" ];
programs.spicetify = {
enable = true;
theme = spicePkgs.themes.text;
colorScheme = "custom";
customColorScheme = {
text = "${config.theme.colors.fg}";
subtext = "${config.theme.colors.alt-fg}";
sidebar-text = "${config.theme.colors.alt-fg}";
main = "${config.theme.colors.bg}";
sidebar = "${config.theme.colors.bg}";
background = "${config.theme.colors.bg}";
player = "${config.theme.colors.bg}";
card = "${config.theme.colors.bg}";
shadow = "000000";
selected-row = "797979";
button = "31748f";
button-active = "31748f";
button-disabled = "555169";
tab-active = "00FF00";
misc = "00FF00";
};
enabledExtensions = with spicePkgs.extensions; [
playlistIcons
lastfm
historyShortcut
hidePodcasts
fullAppDisplay
shuffle
];
};
}

View File

@@ -1,5 +1,4 @@
{ pkgs, config, lib, ... }: {
imports = [ ../variables/theme ];
services = {
blueman-applet.enable = true;
network-manager-applet.enable = true;
@@ -207,7 +206,6 @@
#custom-logo {
padding-right: 7px;
padding-left: 7px;
font-size: 15px;
color: #${config.theme.colors.primary-bg};
}
@@ -232,14 +230,14 @@
}
#battery.charging {
background-color: #1E1E2E;
color: #FBFBFB;
background-color: #${config.theme.colors.alt-bg};
color: #${config.theme.colors.alt-fg};
animation: none;
}
#custom-power {
background-color: #9978F8;
color: #0C0C0C;
background-color: #${config.theme.colors.primary-bg};
color: #${config.theme.colors.primary-fg};
}

View File

@@ -1,7 +1,5 @@
{ config, ... }: {
imports = [ ../variables/theme ];
programs.wlogout = {
enable = true;
layout = [

View File

@@ -1,7 +1,5 @@
{ config, ... }: {
imports = [ ../variables/theme ];
programs.wofi = {
enable = true;