I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.9 KiB

  1. # This file is controlled by /etc/dotfiles/README.org
  2. # This module MUST be included within home manager
  3. { config, options, lib, pkgs, ... }:
  4. with lib;
  5. with lib.types;
  6. let cfg = config.modules.gtk;
  7. in {
  8. options.modules.gtk = {
  9. enable = mkOption {
  10. type = bool;
  11. default = false;
  12. };
  13. };
  14. config = mkIf cfg.enable {
  15. home.packages = [
  16. pkgs.nordic
  17. pkgs.arc-icon-theme
  18. pkgs.lxappearance
  19. ];
  20. home.file.".gtkrc-2.0" = {
  21. text = ''
  22. gtk-theme-name="Nordic-darker"
  23. gtk-icon-theme-name="Arc"
  24. gtk-font-name="Iosevka 11"
  25. gtk-cursor-theme-size=0
  26. gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
  27. gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
  28. gtk-button-images=0
  29. gtk-menu-images=0
  30. gtk-enable-event-sounds=1
  31. gtk-enable-input-feedback-sounds=1
  32. gtk-xft-antialias=1
  33. gtk-xft-hinting=1
  34. gtk-xft-hintstyle="hintmedium"
  35. '';
  36. };
  37. home.file.".config/gtk-2.0/gtkfilechooser.ini" = {
  38. text = ''
  39. [Filechooser Settings]
  40. LocationMode=path-bar
  41. ShowHidden=false
  42. ShowSizeColumn=true
  43. GeometryX=442
  44. GeometryY=212
  45. GeometryWidth=1036
  46. GeometryHeight=609
  47. SortColumn=name
  48. SortOrder=ascending
  49. StartupMode=recent
  50. '';
  51. };
  52. home.file.".config/gtk-3.0/settings.ini" = {
  53. text = ''
  54. [Settings]
  55. gtk-theme-name=Nordic-darker
  56. gtk-icon-theme-name=Arc
  57. gtk-font-name=Iosevka 11
  58. gtk-cursor-theme-size=0
  59. gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
  60. gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
  61. gtk-button-images=0
  62. gtk-menu-images=0
  63. gtk-enable-event-sounds=1
  64. gtk-enable-input-feedback-sounds=1
  65. gtk-xft-antialias=1
  66. gtk-xft-hinting=1
  67. gtk-xft-hintstyle=hintmedium
  68. '';
  69. };
  70. };
  71. }