feat (home/graphical): custom .desktop files, filter default apps
This commit is contained in:
parent
cb57c3fd7c
commit
d5b2a8832b
6 changed files with 280 additions and 47 deletions
|
|
@ -1,5 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./packages/librewolf
|
||||
./packages/thunderbird
|
||||
];
|
||||
|
||||
home = {
|
||||
packages =
|
||||
with pkgs;
|
||||
|
|
@ -7,7 +12,6 @@
|
|||
adw-gtk3
|
||||
blackbox-terminal
|
||||
discord
|
||||
gapless
|
||||
gnome-solanum
|
||||
gnome-tweaks
|
||||
high-tide
|
||||
|
|
@ -34,55 +38,26 @@
|
|||
useless-gaps
|
||||
window-centering
|
||||
]);
|
||||
|
||||
file."librewolf-gnome-theme" = {
|
||||
target = ".librewolf/default/chrome/librewolf-gnome-theme";
|
||||
source = fetchTarball {
|
||||
url = "https://github.com/rafaelmardojai/firefox-gnome-theme/archive/v143.tar.gz";
|
||||
sha256 = "1gkfi77n8cn5xzl3wi9mggh7adirjrsnbqygg1mcvjy0ynmd6kfh";
|
||||
};
|
||||
};
|
||||
|
||||
file."thunderbird-gnome-theme" = {
|
||||
target = ".thunderbird/default/chrome/thunderbird-gnome-theme";
|
||||
source = fetchTarball {
|
||||
url = "https://github.com/rafaelmardojai/thunderbird-gnome-theme/archive/v115.tar.gz";
|
||||
sha256 = "1l295w61h5469328qkjggny3mjq1x0q3zr9p8pz5sq5pypc7604x";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.firefox.enable = true;
|
||||
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
profiles.default = {
|
||||
name = "Default";
|
||||
settings = {
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
"svg.context-properties.content.enabled" = true;
|
||||
"gnomeTheme.hideSingleTab" = true;
|
||||
};
|
||||
userChrome = ''
|
||||
@import "librewolf-gnome-theme/userChrome.css";
|
||||
@import "librewolf-gnome-theme/theme/colors/dark.css";
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
profiles.default = {
|
||||
isDefault = true;
|
||||
settings = {
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
"svg.context-properties.content.enabled" = true;
|
||||
"gnomeTheme.hideTabbar" = true;
|
||||
};
|
||||
userChrome = ''
|
||||
@import "thunderbird-gnome-theme/userChrome.css";
|
||||
@import "thunderbird-gnome-theme/theme/colors/dark.css";
|
||||
'';
|
||||
xdg.desktopEntries = {
|
||||
"com.raggesilver.BlackBox" = {
|
||||
categories = [
|
||||
"GNOME"
|
||||
"GTK"
|
||||
"System"
|
||||
"TerminalEmulator"
|
||||
];
|
||||
comment = "Access the terminal";
|
||||
exec = "blackbox";
|
||||
genericName = "Terminal Emulator";
|
||||
icon = "com.raggesilver.BlackBox";
|
||||
name = "Terminal";
|
||||
startupNotify = false;
|
||||
terminal = false;
|
||||
type = "Application";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue