Compare commits
No commits in common. "0907481b8fd3504a7206c416d22311dd58cd39e8" and "7935c0a965fe1cf28fdba0dfb242044396dbfa72" have entirely different histories.
0907481b8f
...
7935c0a965
38
flake.lock
38
flake.lock
@ -714,9 +714,7 @@
|
|||||||
"hyprpanel": {
|
"hyprpanel": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"ags": "ags",
|
"ags": "ags",
|
||||||
"nixpkgs": [
|
"nixpkgs": "nixpkgs_3"
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735494539,
|
"lastModified": 1735494539,
|
||||||
@ -735,7 +733,7 @@
|
|||||||
"hyprpolkitagent": {
|
"hyprpolkitagent": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprutils": "hyprutils_2",
|
"hyprutils": "hyprutils_2",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
@ -757,7 +755,7 @@
|
|||||||
"hyprland-protocols": "hyprland-protocols_2",
|
"hyprland-protocols": "hyprland-protocols_2",
|
||||||
"hyprutils": "hyprutils_3",
|
"hyprutils": "hyprutils_3",
|
||||||
"hyprwayland-scanner": "hyprwayland-scanner_2",
|
"hyprwayland-scanner": "hyprwayland-scanner_2",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_5",
|
||||||
"systems": "systems_3"
|
"systems": "systems_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
@ -1013,6 +1011,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1735291276,
|
||||||
|
"narHash": "sha256-NYVcA06+blsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "634fd46801442d760e09493a794c4f15db2d0cbb",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732014248,
|
"lastModified": 1732014248,
|
||||||
"narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=",
|
"narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=",
|
||||||
@ -1028,7 +1042,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728241625,
|
"lastModified": 1728241625,
|
||||||
"narHash": "sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw=",
|
"narHash": "sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw=",
|
||||||
@ -1044,7 +1058,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735471104,
|
"lastModified": 1735471104,
|
||||||
"narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=",
|
"narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=",
|
||||||
@ -1060,7 +1074,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_6": {
|
"nixpkgs_7": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732238832,
|
"lastModified": 1732238832,
|
||||||
"narHash": "sha256-sQxuJm8rHY20xq6Ah+GwIUkF95tWjGRd1X8xF+Pkk38=",
|
"narHash": "sha256-sQxuJm8rHY20xq6Ah+GwIUkF95tWjGRd1X8xF+Pkk38=",
|
||||||
@ -1076,7 +1090,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_7": {
|
"nixpkgs_8": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734649271,
|
"lastModified": 1734649271,
|
||||||
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=",
|
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=",
|
||||||
@ -1205,7 +1219,7 @@
|
|||||||
"hyprpolkitagent": "hyprpolkitagent",
|
"hyprpolkitagent": "hyprpolkitagent",
|
||||||
"hyprsunset": "hyprsunset",
|
"hyprsunset": "hyprsunset",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs_5",
|
"nixpkgs": "nixpkgs_6",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"nixy-wallpapers": "nixy-wallpapers",
|
"nixy-wallpapers": "nixy-wallpapers",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
@ -1313,7 +1327,7 @@
|
|||||||
"flake-utils": "flake-utils_3",
|
"flake-utils": "flake-utils_3",
|
||||||
"gnome-shell": "gnome-shell",
|
"gnome-shell": "gnome-shell",
|
||||||
"home-manager": "home-manager_3",
|
"home-manager": "home-manager_3",
|
||||||
"nixpkgs": "nixpkgs_6",
|
"nixpkgs": "nixpkgs_7",
|
||||||
"systems": "systems_5",
|
"systems": "systems_5",
|
||||||
"tinted-foot": "tinted-foot",
|
"tinted-foot": "tinted-foot",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
@ -1522,7 +1536,7 @@
|
|||||||
},
|
},
|
||||||
"zen-browser": {
|
"zen-browser": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_7"
|
"nixpkgs": "nixpkgs_8"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735092772,
|
"lastModified": 1735092772,
|
||||||
|
11
flake.nix
11
flake.nix
@ -23,17 +23,18 @@
|
|||||||
url = "github:Mic92/sops-nix";
|
url = "github:Mic92/sops-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
# hyprspace = {
|
||||||
|
# url = "github:KZDKM/Hyprspace";
|
||||||
|
# inputs.hyprland.follows = "hyprland";
|
||||||
|
# };
|
||||||
nixy-wallpapers = {
|
nixy-wallpapers = {
|
||||||
url = "github:anotherhadi/nixy-wallpapers";
|
url = "github:anotherhadi/nixy-wallpapers";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
hyprland.url = "github:/hyprwm/Hyprland?submodules=1";
|
hyprland.url = "github:/hyprwm/Hyprland";
|
||||||
hyprpolkitagent.url = "github:hyprwm/hyprpolkitagent";
|
hyprpolkitagent.url = "github:hyprwm/hyprpolkitagent";
|
||||||
hyprsunset.url = "github:hyprwm/hyprsunset";
|
hyprsunset.url = "github:hyprwm/hyprsunset";
|
||||||
hyprpanel = {
|
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
||||||
url = "github:Jas-SinghFSU/HyprPanel";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
stylix.url = "github:danth/stylix";
|
stylix.url = "github:danth/stylix";
|
||||||
apple-fonts.url = "github:Lyndeno/apple-fonts.nix";
|
apple-fonts.url = "github:Lyndeno/apple-fonts.nix";
|
||||||
firefox-addons = {
|
firefox-addons = {
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
./plugins/dap.nix
|
./plugins/dap.nix
|
||||||
./plugins/telescope.nix
|
./plugins/telescope.nix
|
||||||
./plugins/zenmode.nix
|
./plugins/zenmode.nix
|
||||||
./plugins/project.nix
|
|
||||||
./plugins/treesitter.nix
|
|
||||||
|
|
||||||
./options.nix
|
./options.nix
|
||||||
./keymaps.nix
|
./keymaps.nix
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
termguicolors = true;
|
termguicolors = true;
|
||||||
showmode = false;
|
showmode = false;
|
||||||
|
|
||||||
wrap = false;
|
wrap = true;
|
||||||
linebreak = true;
|
linebreak = true;
|
||||||
|
|
||||||
swapfile = false;
|
swapfile = false;
|
||||||
|
@ -15,16 +15,15 @@
|
|||||||
html.enable = true;
|
html.enable = true;
|
||||||
svelte.enable = false;
|
svelte.enable = false;
|
||||||
marksman.enable = true;
|
marksman.enable = true;
|
||||||
phpactor.enable = true;
|
intelephense = {
|
||||||
# intelephense = {
|
enable = true;
|
||||||
# enable = true;
|
package = pkgs.nodePackages.intelephense;
|
||||||
# package = pkgs.nodePackages.intelephense;
|
settings = {
|
||||||
# settings = {
|
init_options = {
|
||||||
# init_options = {
|
globalStoragePath = "~/.local/share/intelephense";
|
||||||
# globalStoragePath = "~/.local/share/intelephense";
|
};
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# };
|
|
||||||
dockerls.enable = true;
|
dockerls.enable = true;
|
||||||
elmls.enable = true;
|
elmls.enable = true;
|
||||||
};
|
};
|
||||||
@ -55,13 +54,8 @@
|
|||||||
# gofumpt.enable = true;
|
# gofumpt.enable = true;
|
||||||
phpcsfixer.enable = true;
|
phpcsfixer.enable = true;
|
||||||
elm_format.enable = true;
|
elm_format.enable = true;
|
||||||
blade_formatter = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.blade-formatter;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
ts-autotag = { enable = true; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
let
|
|
||||||
treesitter-blade-grammar = pkgs.tree-sitter.buildGrammar {
|
|
||||||
language = "blade";
|
|
||||||
version = "v0.11.0";
|
|
||||||
src = (pkgs.fetchFromGitHub {
|
|
||||||
owner = "EmranMR";
|
|
||||||
repo = "tree-sitter-blade";
|
|
||||||
rev = "a9997ceb8d2e0cd902fe649a33b476d37a0d6042";
|
|
||||||
hash = "sha256-PTGdsXlLoE+xlU0uWOU6LQalX4fhJ/qhpyEKmTAazLU=";
|
|
||||||
}).overrideAttrs (drv: {
|
|
||||||
fixupPhase = ''
|
|
||||||
mkdir -p $out/queries/blade
|
|
||||||
mv $out/queries/*.scm $out/queries/blade/
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
meta.homepage = "https://github.com/EmranMR/tree-sitter-blade/";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
programs.nixvim = {
|
|
||||||
|
|
||||||
plugins.treesitter = {
|
|
||||||
enable = true;
|
|
||||||
nixGrammars = true;
|
|
||||||
settings = {
|
|
||||||
indent.enable = true;
|
|
||||||
highlight.enable = true;
|
|
||||||
};
|
|
||||||
grammarPackages = pkgs.vimPlugins.nvim-treesitter.passthru.allGrammars
|
|
||||||
++ [ treesitter-blade-grammar ];
|
|
||||||
luaConfig.post = ''
|
|
||||||
do
|
|
||||||
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
|
||||||
-- change the following as needed
|
|
||||||
parser_config.blade = {
|
|
||||||
install_info = {
|
|
||||||
url = "${treesitter-blade-grammar}", -- local path or git repo
|
|
||||||
files = {"src/parser.c"}, -- note that some parsers also require src/scanner.c or src/scanner.cc
|
|
||||||
-- optional entries:
|
|
||||||
-- branch = "main", -- default branch in case of git repo if different from master
|
|
||||||
-- generate_requires_npm = false, -- if stand-alone parser without npm dependencies
|
|
||||||
requires_generate_from_grammar = false, -- if folder contains pre-generated src/parser.c
|
|
||||||
},
|
|
||||||
filetype = "blade", -- if filetype does not match the parser name
|
|
||||||
}
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
extraPlugins = [ treesitter-blade-grammar ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -18,6 +18,14 @@
|
|||||||
nvim-autopairs.enable = true;
|
nvim-autopairs.enable = true;
|
||||||
friendly-snippets.enable = true;
|
friendly-snippets.enable = true;
|
||||||
todo-comments.enable = true;
|
todo-comments.enable = true;
|
||||||
|
treesitter = {
|
||||||
|
enable = true;
|
||||||
|
nixGrammars = true;
|
||||||
|
settings = {
|
||||||
|
indent.enable = true;
|
||||||
|
highlight.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
harpoon = {
|
harpoon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableTelescope = true;
|
enableTelescope = true;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
log = { enabled = false; };
|
log = { enabled = false; };
|
||||||
manager = {
|
manager = {
|
||||||
show_hidden = false;
|
show_hidden = false;
|
||||||
sort_by = "mtime";
|
sort_by = "modified";
|
||||||
sort_dir_first = true;
|
sort_dir_first = true;
|
||||||
sort_reverse = true;
|
sort_reverse = true;
|
||||||
};
|
};
|
||||||
|
@ -16,6 +16,11 @@ let
|
|||||||
else
|
else
|
||||||
wofi -p " Apps" --show drun
|
wofi -p " Apps" --show drun
|
||||||
fi
|
fi
|
||||||
|
# if pgrep tofi; then
|
||||||
|
# pkill tofi
|
||||||
|
# else
|
||||||
|
# tofi-drun --drun-launch=true
|
||||||
|
# fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
powermenu = pkgs.writeShellScriptBin "powermenu"
|
powermenu = pkgs.writeShellScriptBin "powermenu"
|
||||||
@ -23,6 +28,8 @@ let
|
|||||||
''
|
''
|
||||||
if pgrep wofi; then
|
if pgrep wofi; then
|
||||||
pkill wofi
|
pkill wofi
|
||||||
|
# if pgrep tofi; then
|
||||||
|
# pkill tofi
|
||||||
else
|
else
|
||||||
options=(
|
options=(
|
||||||
" Lock"
|
" Lock"
|
||||||
@ -61,6 +68,8 @@ let
|
|||||||
''
|
''
|
||||||
if pgrep wofi; then
|
if pgrep wofi; then
|
||||||
pkill wofi
|
pkill wofi
|
||||||
|
# if pgrep tofi; then
|
||||||
|
# pkill tofi
|
||||||
else
|
else
|
||||||
options=(
|
options=(
|
||||||
" Caffeine"
|
" Caffeine"
|
||||||
@ -70,6 +79,7 @@ let
|
|||||||
)
|
)
|
||||||
|
|
||||||
selected=$(printf '%s\n' "''${options[@]}" | wofi -p " Quickmenu" --dmenu)
|
selected=$(printf '%s\n' "''${options[@]}" | wofi -p " Quickmenu" --dmenu)
|
||||||
|
# selected=$(printf '%s\n' "''${options[@]}" | tofi --prompt-text "> ")
|
||||||
selected=''${selected:2}
|
selected=''${selected:2}
|
||||||
|
|
||||||
case $selected in
|
case $selected in
|
||||||
|
142
home/system/gtk/default.nix
Normal file
142
home/system/gtk/default.nix
Normal file
@ -0,0 +1,142 @@
|
|||||||
|
# GTK & QT theme configuration
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
let
|
||||||
|
accent = "#${config.lib.stylix.colors.base0D}";
|
||||||
|
foreground = "#${config.lib.stylix.colors.base05}";
|
||||||
|
background = "#${config.lib.stylix.colors.base00}";
|
||||||
|
background-alt = "#${config.lib.stylix.colors.base01}";
|
||||||
|
|
||||||
|
c0 = "#${config.lib.stylix.colors.base00}";
|
||||||
|
c1 = "#${config.lib.stylix.colors.base08}";
|
||||||
|
c2 = "#${config.lib.stylix.colors.base0B}";
|
||||||
|
c3 = "#${config.lib.stylix.colors.base0A}";
|
||||||
|
c4 = "#${config.lib.stylix.colors.base0D}";
|
||||||
|
c5 = "#${config.lib.stylix.colors.base0E}";
|
||||||
|
c6 = "#${config.lib.stylix.colors.base0C}";
|
||||||
|
c7 = "#${config.lib.stylix.colors.base05}";
|
||||||
|
c8 = "#${config.lib.stylix.colors.base03}";
|
||||||
|
c9 = "#${config.lib.stylix.colors.base08}";
|
||||||
|
c10 = "#${config.lib.stylix.colors.base0B}";
|
||||||
|
c11 = "#${config.lib.stylix.colors.base0A}";
|
||||||
|
c12 = "#${config.lib.stylix.colors.base0D}";
|
||||||
|
c13 = "#${config.lib.stylix.colors.base0E}";
|
||||||
|
c14 = "#${config.lib.stylix.colors.base0C}";
|
||||||
|
c15 = "#${config.lib.stylix.colors.base07}";
|
||||||
|
|
||||||
|
in {
|
||||||
|
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
platformTheme.name = "gtk2";
|
||||||
|
style.name = "gtk2";
|
||||||
|
};
|
||||||
|
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
theme = lib.mkForce { name = "FlatColor"; };
|
||||||
|
|
||||||
|
iconTheme = {
|
||||||
|
package = pkgs.tela-icon-theme;
|
||||||
|
name = "Tela-dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
font = { name = config.stylix.fonts.serif.name; };
|
||||||
|
|
||||||
|
gtk3.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
||||||
|
|
||||||
|
gtk4.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
||||||
|
};
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
".local/share/themes/FlatColor" = {
|
||||||
|
recursive = true;
|
||||||
|
source = pkgs.stdenv.mkDerivation {
|
||||||
|
name = "FlatColor";
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "jasperro";
|
||||||
|
repo = "FlatColor";
|
||||||
|
rev = "0a56c50e8c5e2ad35f6174c19a00e01b30874074";
|
||||||
|
hash = "sha256-P8RnYTk9Z1rCBEEMLTVRrNr5tUM/Pc9dsdMtpHd1Y18=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
# delete the default gtk-color-scheme:
|
||||||
|
file="./gtk-2.0/gtkrc"
|
||||||
|
sed -i '3,29d' $file
|
||||||
|
sed -i '3i include "../colors2"' $file
|
||||||
|
|
||||||
|
file="./gtk-3.0/gtk.css"
|
||||||
|
sed -i '2,10d' $file
|
||||||
|
sed -i '2i @import url("../colors3");' $file
|
||||||
|
|
||||||
|
file="./gtk-3.20/gtk.css"
|
||||||
|
sed -i '2,26d' $file
|
||||||
|
sed -i '2i @import url("../colors3");' $file
|
||||||
|
|
||||||
|
cp -r . $out
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
".local/share/themes/FlatColor/colors2".text = ''
|
||||||
|
bg_color:${background}
|
||||||
|
color0:${c0}
|
||||||
|
color1:${c1}
|
||||||
|
color2:${c2}
|
||||||
|
color3:${c3}
|
||||||
|
color4:${c4}
|
||||||
|
color5:${c5}
|
||||||
|
color6:${c6}
|
||||||
|
color7:${c7}
|
||||||
|
color8:${c8}
|
||||||
|
color9:${c9}
|
||||||
|
color10:${c10}
|
||||||
|
color11:${c11}
|
||||||
|
color12:${c12}
|
||||||
|
color13:${c13}
|
||||||
|
color14:${c14}
|
||||||
|
color15:${c15}
|
||||||
|
text_color:${foreground}
|
||||||
|
selected_bg_color:${accent}
|
||||||
|
selected_fg_color:${foreground}
|
||||||
|
tooltip_bg_color:${background-alt}
|
||||||
|
tooltip_fg_color:${foreground}
|
||||||
|
titlebar_bg_color:${background}
|
||||||
|
titlebar_fg_color:${foreground}
|
||||||
|
menu_bg_color:${background-alt}
|
||||||
|
menu_fg_color:${foreground}
|
||||||
|
link_color:${accent}
|
||||||
|
'';
|
||||||
|
|
||||||
|
".local/share/themes/FlatColor/colors3".text = ''
|
||||||
|
@define-color color0 ${c0};
|
||||||
|
@define-color color1 ${c1};
|
||||||
|
@define-color color2 ${c2};
|
||||||
|
@define-color color3 ${c3};
|
||||||
|
@define-color color4 ${c4};
|
||||||
|
@define-color color5 ${c5};
|
||||||
|
@define-color color6 ${c6};
|
||||||
|
@define-color color7 ${c7};
|
||||||
|
@define-color color8 ${c8};
|
||||||
|
@define-color color9 ${c9};
|
||||||
|
@define-color color10 ${c10};
|
||||||
|
@define-color color11 ${c11};
|
||||||
|
@define-color color12 ${c12};
|
||||||
|
@define-color color13 ${c13};
|
||||||
|
@define-color color14 ${c14};
|
||||||
|
@define-color color15 ${c15};
|
||||||
|
@define-color selected_bg_color ${accent};
|
||||||
|
@define-color selected_fg_color ${foreground};
|
||||||
|
@define-color bg_color ${background};
|
||||||
|
@define-color fg_color ${foreground};
|
||||||
|
@define-color base_color @bg_color;
|
||||||
|
@define-color text_color @fg_color;
|
||||||
|
@define-color text_color_disabled mix(@text_color, @base_color, 0.4);
|
||||||
|
@define-color tooltip_bg_color ${background-alt};
|
||||||
|
@define-color tooltip_fg_color ${foreground};
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
@ -4,6 +4,14 @@ let
|
|||||||
inherit (config.var.theme)
|
inherit (config.var.theme)
|
||||||
border-size gaps-in gaps-out active-opacity inactive-opacity rounding blur;
|
border-size gaps-in gaps-out active-opacity inactive-opacity rounding blur;
|
||||||
inherit (config.var) keyboardLayout;
|
inherit (config.var) keyboardLayout;
|
||||||
|
# border-size = config.var.theme.border-size;
|
||||||
|
# gaps-in = config.var.theme.gaps-in;
|
||||||
|
# gaps-out = config.var.theme.gaps-out;
|
||||||
|
# active-opacity = config.var.theme.active-opacity;
|
||||||
|
# inactive-opacity = config.var.theme.inactive-opacity;
|
||||||
|
# rounding = config.var.theme.rounding;
|
||||||
|
# blur = config.var.theme.blur;
|
||||||
|
# keyboardLayout = config.var.keyboardLayout;
|
||||||
in {
|
in {
|
||||||
|
|
||||||
imports =
|
imports =
|
||||||
@ -41,12 +49,15 @@ in {
|
|||||||
};
|
};
|
||||||
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||||
|
|
||||||
|
# plugins = [ inputs.hyprspace.packages."${pkgs.system}".Hyprspace ];
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
"$shiftMod" = "SUPER_SHIFT";
|
"$shiftMod" = "SUPER_SHIFT";
|
||||||
"$ctrlMod" = "SUPER_CTRL";
|
"$ctrlMod" = "SUPER_CTRL";
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
|
# "${pkgs.bitwarden}/bin/bitwarden"
|
||||||
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -79,6 +90,8 @@ in {
|
|||||||
"QT_QPA_PLATFORM=wayland,xcb"
|
"QT_QPA_PLATFORM=wayland,xcb"
|
||||||
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
||||||
"ELECTRON_OZONE_PLATFORM_HINT,auto"
|
"ELECTRON_OZONE_PLATFORM_HINT,auto"
|
||||||
|
"GTK_THEME,FlatColor:dark"
|
||||||
|
"GTK2_RC_FILES,/home/dim/.local/share/themes/FlatColor/gtk-2.0/gtkrc"
|
||||||
"__GL_GSYNC_ALLOWED,0"
|
"__GL_GSYNC_ALLOWED,0"
|
||||||
"__GL_VRR_ALLOWED,0"
|
"__GL_VRR_ALLOWED,0"
|
||||||
"DISABLE_QT5_COMPAT,0"
|
"DISABLE_QT5_COMPAT,0"
|
||||||
@ -90,6 +103,7 @@ in {
|
|||||||
"XDG_SESSION_TYPE,wayland"
|
"XDG_SESSION_TYPE,wayland"
|
||||||
"SDL_VIDEODRIVER,wayland"
|
"SDL_VIDEODRIVER,wayland"
|
||||||
"CLUTTER_BACKEND,wayland"
|
"CLUTTER_BACKEND,wayland"
|
||||||
|
# "AQ_DRM_DEVICES,/dev/dri/card2:/dev/dri/card1" # CHANGEME: Related to the GPU
|
||||||
];
|
];
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
@ -143,6 +157,7 @@ in {
|
|||||||
input = {
|
input = {
|
||||||
kb_layout = keyboardLayout;
|
kb_layout = keyboardLayout;
|
||||||
|
|
||||||
|
# kb_options = "caps:escape";
|
||||||
follow_mouse = 1;
|
follow_mouse = 1;
|
||||||
sensitivity = 0;
|
sensitivity = 0;
|
||||||
repeat_delay = 300;
|
repeat_delay = 300;
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
"float, class:(firefox),title:^(Extension)(.*)$"
|
"float, class:(firefox),title:^(Extension)(.*)$"
|
||||||
"float, class:^(pcmanfm)$,title:^(Confirm File Replacing)$"
|
"float, class:^(pcmanfm)$,title:^(Confirm File Replacing)$"
|
||||||
"float, class:^(nemo)$,title:^(Confirm File Replacing)$"
|
"float, class:^(nemo)$,title:^(Confirm File Replacing)$"
|
||||||
"float, title:^(Confirm File Replacing)$"
|
|
||||||
"float, class:^(nm-connection-editor)$"
|
"float, class:^(nm-connection-editor)$"
|
||||||
"float, class:^(.*blueman-manager.*)$"
|
"float, class:^(.*blueman-manager.*)$"
|
||||||
"size 530 300, class:^(.*blueman-manager.*)$"
|
"size 530 300, class:^(.*blueman-manager.*)$"
|
||||||
|
@ -1,175 +1,247 @@
|
|||||||
# Hyprpanel is the bar on top of the screen
|
# Hyprpanel is the bar on top of the screen
|
||||||
# Display informations like workspaces, battery, wifi, ...
|
# Display informations like workspaces, battery, wifi, ...
|
||||||
{ config, inputs, ... }:
|
{ pkgs, config, ... }:
|
||||||
let
|
let
|
||||||
|
transparentButtons = config.var.theme.bar.transparentButtons;
|
||||||
|
|
||||||
accent = "#${config.lib.stylix.colors.base0D}";
|
accent = "#${config.lib.stylix.colors.base0D}";
|
||||||
accent-alt = "#${config.lib.stylix.colors.base03}";
|
accent-alt = "#${config.lib.stylix.colors.base03}";
|
||||||
background = "#${config.lib.stylix.colors.base00}";
|
background = "#${config.lib.stylix.colors.base00}";
|
||||||
background-alt = "#${config.lib.stylix.colors.base01}";
|
background-alt = "#${config.lib.stylix.colors.base01}";
|
||||||
foreground = "#${config.lib.stylix.colors.base05}";
|
foreground = "#${config.lib.stylix.colors.base05}";
|
||||||
font = "${config.stylix.fonts.serif.name}";
|
font = "${config.stylix.fonts.serif.name}";
|
||||||
fontSize = "${toString config.stylix.fonts.sizes.desktop}px";
|
fontSize = "${toString config.stylix.fonts.sizes.desktop}";
|
||||||
|
|
||||||
inherit (config.var.theme) rounding border-size gaps-in gaps-out;
|
rounding = config.var.theme.rounding;
|
||||||
inherit (config.var.theme.bar)
|
border-size = config.var.theme.border-size;
|
||||||
floating transparentButtons transparent position;
|
|
||||||
inherit (config.var) cpuTempSensor location username weatherapikey;
|
gaps-out = config.var.theme.gaps-out;
|
||||||
|
gaps-in = config.var.theme.gaps-in;
|
||||||
|
|
||||||
|
floating = config.var.theme.bar.floating;
|
||||||
|
transparent = config.var.theme.bar.transparent;
|
||||||
|
position = config.var.theme.bar.position;
|
||||||
|
|
||||||
|
location = config.var.location;
|
||||||
|
username = config.var.username;
|
||||||
|
weatherapikey = config.var.weatherapikey;
|
||||||
in {
|
in {
|
||||||
imports = [ inputs.hyprpanel.homeManagerModules.hyprpanel ];
|
wayland.windowManager.hyprland.settings.exec-once =
|
||||||
|
[ "${pkgs.hyprpanel}/bin/hyprpanel" ];
|
||||||
|
|
||||||
programs.hyprpanel = {
|
home.packages = with pkgs; [ hyprpanel libnotify ];
|
||||||
enable = true;
|
|
||||||
systemd.enable = true;
|
|
||||||
hyprland.enable = true;
|
|
||||||
overwrite.enable = true;
|
|
||||||
layout = {
|
|
||||||
"bar.layouts" = {
|
|
||||||
"0" = {
|
|
||||||
left = [ "dashboard" "hypridle" "workspaces" "windowtitle" ];
|
|
||||||
middle = [ "media" ];
|
|
||||||
right = [
|
|
||||||
"systray"
|
|
||||||
"volume"
|
|
||||||
"hyprsunset"
|
|
||||||
"battery"
|
|
||||||
"network"
|
|
||||||
"cputemp"
|
|
||||||
"clock"
|
|
||||||
"notifications"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
"*" = {
|
|
||||||
left = [ "dashboard" "workspaces" "windowtitle" ];
|
|
||||||
middle = [ "clock" ];
|
|
||||||
right = [ "volume" "notifications" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
override = {
|
home.file.".config/hyprpanel/config.json" = {
|
||||||
bar.battery.hideLabelWhenFull = true;
|
text = # json
|
||||||
bar.bluetooth.label = false;
|
''
|
||||||
bar.clock.format = "%a, %d %b %H:%M";
|
{
|
||||||
bar.customModules.cpuTemp.sensor = cpuTempSensor;
|
"bar.layouts": {
|
||||||
bar.customModules.hypridle.label = false;
|
"0": {
|
||||||
bar.customModules.hyprsunset.label = false;
|
"left": [
|
||||||
bar.launcher.icon = "";
|
"dashboard",
|
||||||
bar.media.show_active_only = true;
|
"workspaces",
|
||||||
bar.network.label = false;
|
"windowtitle"
|
||||||
bar.network.truncation_size = 12;
|
],
|
||||||
bar.volume.label = false;
|
"middle": [
|
||||||
bar.windowtitle.label = true;
|
"media"
|
||||||
bar.workspaces.hideUnoccupied = false;
|
],
|
||||||
bar.workspaces.monitorSpecific = true;
|
"right": [
|
||||||
menus.clock.time.hideSeconds = true;
|
"systray",
|
||||||
menus.clock.time.military = true;
|
"volume",
|
||||||
menus.clock.weather.key = weatherapikey;
|
"bluetooth",
|
||||||
menus.clock.weather.location = location;
|
"battery",
|
||||||
menus.clock.weather.unit = "metric";
|
"network",
|
||||||
menus.dashboard.powermenu.avatar.image =
|
"clock",
|
||||||
"/home/${username}/.profile_picture.png";
|
"notifications"
|
||||||
menus.dashboard.powermenu.confirmation = false;
|
]
|
||||||
menus.dashboard.shortcuts.left.shortcut1.command = "firefox";
|
},
|
||||||
menus.dashboard.shortcuts.left.shortcut1.icon = "";
|
"1": {
|
||||||
menus.dashboard.shortcuts.left.shortcut1.tooltip = "Firefox";
|
"left": [
|
||||||
menus.dashboard.shortcuts.left.shortcut2.command = "caffeine";
|
"dashboard",
|
||||||
menus.dashboard.shortcuts.left.shortcut2.icon = "";
|
"workspaces",
|
||||||
menus.dashboard.shortcuts.left.shortcut2.tooltip = "Caffeine";
|
"windowtitle"
|
||||||
menus.dashboard.shortcuts.left.shortcut3.command = "night-shift";
|
],
|
||||||
menus.dashboard.shortcuts.left.shortcut3.icon = "";
|
"middle": [
|
||||||
menus.dashboard.shortcuts.left.shortcut3.tooltip = "Night-shift";
|
"media"
|
||||||
menus.dashboard.shortcuts.left.shortcut4.command = "menu";
|
],
|
||||||
menus.dashboard.shortcuts.left.shortcut4.icon = "";
|
"right": [
|
||||||
menus.dashboard.shortcuts.left.shortcut4.tooltip = "Search Apps";
|
"systray",
|
||||||
menus.dashboard.shortcuts.right.shortcut1.command = "hyprpicker -a";
|
"volume",
|
||||||
menus.dashboard.shortcuts.right.shortcut1.icon = "";
|
"bluetooth",
|
||||||
menus.dashboard.shortcuts.right.shortcut1.tooltip = "Color Picker";
|
"battery",
|
||||||
menus.dashboard.shortcuts.right.shortcut3.command =
|
"network",
|
||||||
"screenshot region swappy";
|
"clock",
|
||||||
menus.dashboard.shortcuts.right.shortcut3.icon = "";
|
"notifications"
|
||||||
menus.dashboard.shortcuts.right.shortcut3.tooltip = "Screenshot";
|
]
|
||||||
menus.dashboard.stats.enabled = false;
|
},
|
||||||
theme.bar.background =
|
"2": {
|
||||||
"${background + (if transparentButtons then "00" else "")}";
|
"left": [
|
||||||
theme.bar.border_radius = "${toString rounding}px";
|
"dashboard",
|
||||||
theme.bar.buttons.background =
|
"workspaces",
|
||||||
"${(if transparent then background else background-alt)
|
"windowtitle"
|
||||||
+ (if transparentButtons then "00" else "")}";
|
],
|
||||||
theme.bar.buttons.dashboard.spacing = "0.2em";
|
"middle": [
|
||||||
theme.bar.buttons.hover = "${background}";
|
"media"
|
||||||
theme.bar.buttons.icon = "${accent}";
|
],
|
||||||
theme.bar.buttons.monochrome = true;
|
"right": [
|
||||||
theme.bar.buttons.notifications.background = "${background-alt}";
|
"systray",
|
||||||
theme.bar.buttons.notifications.hover = "${background}";
|
"volume",
|
||||||
theme.bar.buttons.notifications.icon = "${accent}";
|
"bluetooth",
|
||||||
theme.bar.buttons.notifications.total = "${accent}";
|
"battery",
|
||||||
theme.bar.buttons.padding_x = "0.6rem";
|
"network",
|
||||||
theme.bar.buttons.padding_y = "0.3rem";
|
"clock",
|
||||||
theme.bar.buttons.spacing = "0.1em";
|
"notifications"
|
||||||
theme.bar.buttons.text = foreground;
|
]
|
||||||
theme.bar.buttons.workspaces.active = accent;
|
}
|
||||||
theme.bar.buttons.workspaces.available = accent-alt;
|
},
|
||||||
theme.bar.buttons.workspaces.hover = accent-alt;
|
"theme.font.name": "${font}",
|
||||||
theme.bar.buttons.workspaces.occupied = accent;
|
"theme.font.size": "${fontSize}px",
|
||||||
theme.bar.buttons.y_margins =
|
"theme.bar.outer_spacing": "${
|
||||||
if floating && transparent then "0" else "8";
|
if floating && transparent then "0" else "8"
|
||||||
theme.bar.floating = if floating then "true" else "false";
|
}px",
|
||||||
theme.bar.location = position;
|
"theme.bar.buttons.y_margins": "${
|
||||||
theme.bar.margin_bottom =
|
if floating && transparent then "0" else "8"
|
||||||
"${if position == "top" then "0" else toString (gaps-in * 2)}px";
|
}px",
|
||||||
theme.bar.margin_sides = "${toString gaps-out}px";
|
"theme.bar.buttons.spacing": "0.2em",
|
||||||
theme.bar.margin_top =
|
"theme.bar.buttons.radius": "${
|
||||||
"${if position == "top" then toString (gaps-in * 2) else "0"}px";
|
if transparent then toString rounding else toString (rounding - 8)
|
||||||
theme.bar.menus.background = background;
|
}px",
|
||||||
theme.bar.menus.border.color = "${accent}";
|
"theme.bar.floating": ${if floating then "true" else "false"},
|
||||||
theme.bar.menus.border.radius = "${toString rounding}px";
|
"theme.bar.buttons.padding_x": "0.4rem",
|
||||||
theme.bar.menus.border.size = "${toString border-size}px";
|
"theme.bar.buttons.padding_y": "0.2rem",
|
||||||
theme.bar.menus.buttons.active = "${accent}";
|
|
||||||
theme.bar.menus.buttons.default = "${accent}";
|
"theme.bar.buttons.workspaces.hover": "${accent-alt}",
|
||||||
theme.bar.menus.card = background-alt;
|
"theme.bar.buttons.workspaces.active": "${accent}",
|
||||||
theme.bar.menus.card_radius = "${toString rounding}px";
|
"theme.bar.buttons.workspaces.available": "${accent-alt}",
|
||||||
theme.bar.menus.check_radio_button.active = "${accent}";
|
|
||||||
theme.bar.menus.dropdownmenu.background = "${background-alt}";
|
|
||||||
theme.bar.menus.dropdownmenu.text = "${foreground}";
|
"theme.bar.margin_top": "${
|
||||||
theme.bar.menus.iconbuttons.active = "${accent}";
|
if position == "top" then toString (gaps-in * 2) else "0"
|
||||||
theme.bar.menus.icons.active = "${accent}";
|
}px",
|
||||||
theme.bar.menus.label = foreground;
|
"theme.bar.margin_bottom": "${
|
||||||
theme.bar.menus.listitems.active = "${accent}";
|
if position == "top" then "0" else toString (gaps-in * 2)
|
||||||
theme.bar.menus.menu.media.background.color = "${background-alt}";
|
}px",
|
||||||
theme.bar.menus.menu.media.card.color = "${background-alt}";
|
"theme.bar.margin_sides": "${toString gaps-out}px",
|
||||||
theme.bar.menus.menu.media.card.tint = 90;
|
"theme.bar.border_radius": "${toString rounding}px",
|
||||||
theme.bar.menus.monochrome = true;
|
|
||||||
theme.bar.menus.popover.background = background-alt;
|
"bar.launcher.icon": "",
|
||||||
theme.bar.menus.popover.text = foreground;
|
"theme.bar.transparent": ${if transparent then "true" else "false"},
|
||||||
theme.bar.menus.progressbar.foreground = "${accent}";
|
"bar.workspaces.show_numbered": false,
|
||||||
theme.bar.menus.slider.primary = "${accent}";
|
"bar.workspaces.show_icons": false,
|
||||||
theme.bar.menus.switch.enabled = "${accent}";
|
"bar.workspaces.workspaces": 9,
|
||||||
theme.bar.menus.text = foreground;
|
"bar.workspaces.hideUnoccupied": false,
|
||||||
theme.bar.menus.tooltip.background = "${background-alt}";
|
"bar.windowtitle.label": true,
|
||||||
theme.bar.menus.tooltip.text = "${foreground}";
|
"bar.volume.label": false,
|
||||||
theme.bar.outer_spacing = if floating && transparent then "0" else "8";
|
"bar.network.truncation_size": 12,
|
||||||
theme.bar.transparent = transparent;
|
"bar.bluetooth.label": false,
|
||||||
theme.font.name = font;
|
"bar.clock.format": "%a %b %d %H:%M",
|
||||||
theme.font.size = fontSize;
|
"bar.notifications.show_total": true,
|
||||||
theme.notification.actions.background = "${accent}";
|
"theme.notification.border_radius": "${toString rounding}px",
|
||||||
theme.notification.actions.text = "${foreground}";
|
"theme.osd.enable": true,
|
||||||
theme.notification.background = "${background-alt}";
|
"theme.osd.orientation": "vertical",
|
||||||
theme.notification.border = "${background-alt}";
|
"theme.osd.location": "left",
|
||||||
theme.notification.label = "${accent}";
|
"theme.osd.radius": "${toString rounding}px",
|
||||||
theme.notification.labelicon = "${accent}";
|
"theme.osd.margins": "0px 0px 0px 10px",
|
||||||
theme.notification.text = "${foreground}";
|
"theme.osd.muted_zero": true,
|
||||||
theme.osd.bar_color = "${accent}";
|
"menus.clock.weather.location": "${location}",
|
||||||
theme.osd.bar_container = "${background-alt}";
|
"menus.clock.weather.key": "${weatherapikey}",
|
||||||
theme.osd.bar_overflow_color = "${accent-alt}";
|
"menus.clock.weather.unit": "metric",
|
||||||
theme.osd.icon = "${background}";
|
"menus.dashboard.powermenu.avatar.image": "/home/${username}/.profile_picture.png",
|
||||||
theme.osd.icon_container = "${accent}";
|
"menus.dashboard.powermenu.confirmation": false,
|
||||||
theme.osd.label = "${accent}";
|
|
||||||
theme.osd.location = "left";
|
"menus.dashboard.shortcuts.left.shortcut1.icon": "",
|
||||||
theme.osd.margins = "0px 0px 0px 10px";
|
"menus.dashboard.shortcuts.left.shortcut1.command": "firefox",
|
||||||
theme.osd.muted_zero = true;
|
"menus.dashboard.shortcuts.left.shortcut1.tooltip": "firefox",
|
||||||
theme.osd.orientation = "vertical";
|
"menus.dashboard.shortcuts.left.shortcut2.icon": "",
|
||||||
theme.osd.radius = "${toString rounding}px";
|
"menus.dashboard.shortcuts.left.shortcut2.command": "caffeine",
|
||||||
wallpaper.enable = false;
|
"menus.dashboard.shortcuts.left.shortcut2.tooltip": "Caffeine",
|
||||||
};
|
"menus.dashboard.shortcuts.left.shortcut3.icon": "",
|
||||||
|
"menus.dashboard.shortcuts.left.shortcut3.command": "night-shift",
|
||||||
|
"menus.dashboard.shortcuts.left.shortcut3.tooltip": "Night-shift",
|
||||||
|
"menus.dashboard.shortcuts.left.shortcut4.icon": "",
|
||||||
|
"menus.dashboard.shortcuts.left.shortcut4.command": "menu",
|
||||||
|
"menus.dashboard.shortcuts.left.shortcut4.tooltip": "Search Apps",
|
||||||
|
"menus.dashboard.shortcuts.right.shortcut1.icon": "",
|
||||||
|
"menus.dashboard.shortcuts.right.shortcut1.command": "hyprpicker -a",
|
||||||
|
"menus.dashboard.shortcuts.right.shortcut1.tooltip": "Color Picker",
|
||||||
|
"menus.dashboard.shortcuts.right.shortcut3.icon": "",
|
||||||
|
"menus.dashboard.shortcuts.right.shortcut3.command": "screenshot region swappy",
|
||||||
|
"menus.dashboard.shortcuts.right.shortcut3.tooltip": "Screenshot",
|
||||||
|
|
||||||
|
"menus.dashboard.directories.left.directory1.label": " Downloads",
|
||||||
|
"menus.dashboard.directories.left.directory1.command": "bash -c \"nemo $HOME/Downloads/\"",
|
||||||
|
"menus.dashboard.directories.left.directory2.label": " Pictures",
|
||||||
|
"menus.dashboard.directories.left.directory2.command": "bash -c \"nemo $HOME/Pictures/\"",
|
||||||
|
"menus.dashboard.directories.left.directory3.label": " Documents",
|
||||||
|
"menus.dashboard.directories.left.directory3.command": "bash -c \"nemo $HOME/Documents/\"",
|
||||||
|
"menus.dashboard.directories.right.directory1.label": " Home",
|
||||||
|
"menus.dashboard.directories.right.directory1.command": "bash -c \"nemo $HOME/\"",
|
||||||
|
"menus.dashboard.directories.right.directory2.label": " Projects",
|
||||||
|
"menus.dashboard.directories.right.directory2.command": "bash -c \"nemo $HOME/dev/\"",
|
||||||
|
"menus.dashboard.directories.right.directory3.label": " Config",
|
||||||
|
"menus.dashboard.directories.right.directory3.command": "bash -c \"nemo $HOME/.config/\"",
|
||||||
|
|
||||||
|
"theme.bar.menus.monochrome": true,
|
||||||
|
"wallpaper.enable": false,
|
||||||
|
"theme.bar.menus.background": "${background}",
|
||||||
|
"theme.bar.menus.cards": "${background-alt}",
|
||||||
|
"theme.bar.menus.card_radius": "${toString rounding}px",
|
||||||
|
"theme.bar.menus.label": "${foreground}",
|
||||||
|
"theme.bar.menus.text": "${foreground}",
|
||||||
|
"theme.bar.menus.border.size": "${toString border-size}px",
|
||||||
|
"theme.bar.menus.border.color": "${accent}",
|
||||||
|
"theme.bar.menus.border.radius": "${toString rounding}px",
|
||||||
|
"theme.bar.menus.popover.text": "${foreground}",
|
||||||
|
"theme.bar.menus.popover.background": "${background-alt}",
|
||||||
|
"theme.bar.menus.listitems.active": "${accent}",
|
||||||
|
"theme.bar.menus.icons.active": "${accent}",
|
||||||
|
"theme.bar.menus.switch.enabled":"${accent}",
|
||||||
|
"theme.bar.menus.check_radio_button.active": "${accent}",
|
||||||
|
"theme.bar.menus.buttons.default": "${accent}",
|
||||||
|
"theme.bar.menus.buttons.active": "${accent}",
|
||||||
|
"theme.bar.menus.iconbuttons.active": "${accent}",
|
||||||
|
"theme.bar.menus.progressbar.foreground": "${accent}",
|
||||||
|
"theme.bar.menus.slider.primary": "${accent}",
|
||||||
|
"theme.bar.menus.tooltip.background": "${background-alt}",
|
||||||
|
"theme.bar.menus.tooltip.text": "${foreground}",
|
||||||
|
"theme.bar.menus.dropdownmenu.background":"${background-alt}",
|
||||||
|
"theme.bar.menus.dropdownmenu.text": "${foreground}",
|
||||||
|
"theme.bar.background": "${
|
||||||
|
background + (if transparentButtons then "00" else "")
|
||||||
|
}",
|
||||||
|
"theme.bar.buttons.style": "default",
|
||||||
|
"theme.bar.buttons.monochrome": true,
|
||||||
|
"theme.bar.buttons.text": "${foreground}",
|
||||||
|
"theme.bar.buttons.background": "${
|
||||||
|
(if transparent then background else background-alt)
|
||||||
|
+ (if transparentButtons then "00" else "")
|
||||||
|
}",
|
||||||
|
"theme.bar.buttons.icon": "${accent}",
|
||||||
|
"theme.bar.buttons.notifications.background": "${background-alt}",
|
||||||
|
"theme.bar.buttons.hover": "${background}",
|
||||||
|
"theme.bar.buttons.notifications.hover": "${background}",
|
||||||
|
"theme.bar.buttons.notifications.total": "${accent}",
|
||||||
|
"theme.bar.buttons.notifications.icon": "${accent}",
|
||||||
|
"theme.notification.background": "${background-alt}",
|
||||||
|
"theme.notification.actions.background": "${accent}",
|
||||||
|
"theme.notification.actions.text": "${foreground}",
|
||||||
|
"theme.notification.label": "${accent}",
|
||||||
|
"theme.notification.border": "${background-alt}",
|
||||||
|
"theme.notification.text": "${foreground}",
|
||||||
|
"theme.notification.labelicon": "${accent}",
|
||||||
|
"theme.osd.bar_color": "${accent}",
|
||||||
|
"theme.osd.bar_overflow_color": "${accent-alt}",
|
||||||
|
"theme.osd.icon": "${background}",
|
||||||
|
"theme.osd.icon_container": "${accent}",
|
||||||
|
"theme.osd.label": "${accent}",
|
||||||
|
"theme.osd.bar_container": "${background-alt}",
|
||||||
|
"theme.bar.menus.menu.media.background.color": "${background-alt}",
|
||||||
|
"theme.bar.menus.menu.media.card.color": "${background-alt}",
|
||||||
|
"theme.bar.menus.menu.media.card.tint": 90,
|
||||||
|
"bar.customModules.updates.pollingInterval": 1440000,
|
||||||
|
"bar.media.show_active_only": true,
|
||||||
|
"theme.bar.location": "${position}"
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
"text/html" = "firefox.desktop";
|
"text/html" = "firefox.desktop";
|
||||||
"text/csv" = "neovide.desktop";
|
"text/csv" = "neovide.desktop";
|
||||||
"application/pdf" = "org.pwmt.zathura.desktop";
|
"application/pdf" = "org.pwmt.zathura.desktop";
|
||||||
"inode/directory" = "Thunar.desktop";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ in {
|
|||||||
|
|
||||||
#entry:selected {
|
#entry:selected {
|
||||||
background-color: ${accent};
|
background-color: ${accent};
|
||||||
color: ${background-alt};
|
color: ${foreground};
|
||||||
}
|
}
|
||||||
|
|
||||||
#unselected {}
|
#unselected {}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }: {
|
{ config, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
# ../../nixos/nvidia.nix # CHANGEME: Remove this line if you don't have an Nvidia GPU
|
# ../../nixos/nvidia.nix # CHANGEME: Remove this line if you don't have an Nvidia GPU
|
||||||
# ../../nixos/prime.nix # CHANGEME: Remove this line if you don't have an Nvidia GPU
|
# ../../nixos/prime.nix # CHANGEME: Remove this line if you don't have an Nvidia GPU
|
||||||
@ -28,6 +28,9 @@
|
|||||||
|
|
||||||
home-manager.users."${config.var.username}" = import ./home.nix;
|
home-manager.users."${config.var.username}" = import ./home.nix;
|
||||||
|
|
||||||
|
home-manager.sharedModules =
|
||||||
|
[{ stylix.targets.gtk.flatpakSupport.enable = false; }];
|
||||||
|
|
||||||
# users.users."${config.var.username}".extraGroups = [ "scanner" "lp" ];
|
# users.users."${config.var.username}".extraGroups = [ "scanner" "lp" ];
|
||||||
# hardware.sane.enable = true;
|
# hardware.sane.enable = true;
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
# Programs
|
# Programs
|
||||||
../../home/programs/kitty
|
../../home/programs/kitty
|
||||||
../../home/programs/nvim
|
../../home/programs/nvim
|
||||||
|
# ../../home/programs/qutebrowser
|
||||||
../../home/programs/shell
|
../../home/programs/shell
|
||||||
../../home/programs/pass
|
../../home/programs/pass
|
||||||
../../home/programs/fetch
|
../../home/programs/fetch
|
||||||
@ -28,26 +29,18 @@
|
|||||||
../../home/system/hyprlock
|
../../home/system/hyprlock
|
||||||
../../home/system/hyprpanel
|
../../home/system/hyprpanel
|
||||||
../../home/system/hyprpaper
|
../../home/system/hyprpaper
|
||||||
|
../../home/system/gtk
|
||||||
../../home/system/wofi
|
../../home/system/wofi
|
||||||
../../home/system/batsignal
|
../../home/system/batsignal
|
||||||
../../home/system/zathura
|
../../home/system/zathura
|
||||||
../../home/system/mime
|
../../home/system/mime
|
||||||
../../home/system/udiskie
|
../../home/system/udiskie
|
||||||
../../home/system/clipman
|
../../home/system/clipman
|
||||||
|
../../home/system/tofi
|
||||||
|
|
||||||
# ./secrets # CHANGEME: You should probably remove this line, this is where I store my secrets
|
# ./secrets # CHANGEME: You should probably remove this line, this is where I store my secrets
|
||||||
];
|
];
|
||||||
|
|
||||||
stylix = {
|
|
||||||
targets.gtk.flatpakSupport.enable = false;
|
|
||||||
iconTheme = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.tela-icon-theme;
|
|
||||||
dark = "Tela-dark";
|
|
||||||
light = "Tela-light";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
inherit (config.var) username;
|
inherit (config.var) username;
|
||||||
homeDirectory = "/home/" + config.var.username;
|
homeDirectory = "/home/" + config.var.username;
|
||||||
|
@ -29,8 +29,6 @@
|
|||||||
|
|
||||||
autoUpgrade = false;
|
autoUpgrade = false;
|
||||||
autoGarbageCollector = false;
|
autoGarbageCollector = false;
|
||||||
cpuTempSensor =
|
|
||||||
"/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon5/temp1_input";
|
|
||||||
|
|
||||||
theme = import ../../themes/var/nixy.nix;
|
theme = import ../../themes/var/nixy.nix;
|
||||||
};
|
};
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
consoleMode = "auto";
|
consoleMode = "auto";
|
||||||
configurationLimit = 4;
|
configurationLimit = 6;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
tmp.cleanOnBoot = true;
|
tmp.cleanOnBoot = true;
|
||||||
|
@ -1,34 +1,34 @@
|
|||||||
{ pkgs, inputs, ... }: {
|
{ pkgs, inputs, ... }: {
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# targets.hyprlock.enable = false;
|
||||||
|
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
|
|
||||||
# Edited catppuccin
|
# Edited catppuccin
|
||||||
# base16Scheme = {
|
base16Scheme = {
|
||||||
# base00 = "0b0b0b"; # Default Background
|
base00 = "0b0b0b"; # Default Background
|
||||||
# base01 =
|
base01 =
|
||||||
# "1b1b1b"; # Lighter Background (Used for status bars, line number and folding marks)
|
"1b1b1b"; # Lighter Background (Used for status bars, line number and folding marks)
|
||||||
# base02 = "2b2b2b"; # Selection Background
|
base02 = "2b2b2b"; # Selection Background
|
||||||
# base03 = "45475a"; # Comments, Invisibles, Line Highlighting
|
base03 = "45475a"; # Comments, Invisibles, Line Highlighting
|
||||||
# base04 = "585b70"; # Dark Foreground (Used for status bars)
|
base04 = "585b70"; # Dark Foreground (Used for status bars)
|
||||||
# base05 = "fcfcfc"; # Default Foreground, Caret, Delimiters, Operators
|
base05 = "fcfcfc"; # Default Foreground, Caret, Delimiters, Operators
|
||||||
# base06 = "f5e0dc"; # Light Foreground (Not often used)
|
base06 = "f5e0dc"; # Light Foreground (Not often used)
|
||||||
# base07 = "b4befe"; # Light Background (Not often used)
|
base07 = "b4befe"; # Light Background (Not often used)
|
||||||
# base08 =
|
base08 =
|
||||||
# "f38ba8"; # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
|
"f38ba8"; # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
|
||||||
# base09 =
|
base09 =
|
||||||
# "fab387"; # Integers, Boolean, Constants, XML Attributes, Markup Link Url
|
"fab387"; # Integers, Boolean, Constants, XML Attributes, Markup Link Url
|
||||||
# base0A = "f9e2af"; # Classes, Markup Bold, Search Text Background
|
base0A = "f9e2af"; # Classes, Markup Bold, Search Text Background
|
||||||
# base0B = "a6e3a1"; # Strings, Inherited Class, Markup Code, Diff Inserted
|
base0B = "a6e3a1"; # Strings, Inherited Class, Markup Code, Diff Inserted
|
||||||
# base0C =
|
base0C =
|
||||||
# "94e2d5"; # Support, Regular Expressions, Escape Characters, Markup Quotes
|
"94e2d5"; # Support, Regular Expressions, Escape Characters, Markup Quotes
|
||||||
# base0D =
|
base0D =
|
||||||
# "A594FD"; # Functions, Methods, Attribute IDs, Headings, Accent color
|
"A594FD"; # Functions, Methods, Attribute IDs, Headings, Accent color
|
||||||
# base0E =
|
base0E =
|
||||||
# "cba6f7"; # Keywords, Storage, Selector, Markup Italic, Diff Changed
|
"cba6f7"; # Keywords, Storage, Selector, Markup Italic, Diff Changed
|
||||||
# base0F =
|
base0F =
|
||||||
# "f2cdcd"; # Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
|
"f2cdcd"; # Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
|
||||||
# };
|
};
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
package = pkgs.phinger-cursors;
|
package = pkgs.phinger-cursors;
|
||||||
|
Loading…
Reference in New Issue
Block a user