1
0

settings.nix 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. { config, pkgs, lib, inputs, ... }:
  2. {
  3. programs.dank-material-shell = {
  4. settings = {
  5. currentThemeName = "dynamic";
  6. currentThemeCategory = "dynamic";
  7. customThemeFile = "/home/johron/.config/DankMaterialShell/themes/gnomeAdwaita/theme.json";
  8. registryThemeVariants = {
  9. deepmono = {
  10. dark = {
  11. flavor = "mono";
  12. accent = "fog";
  13. };
  14. };
  15. };
  16. wallpaperPath = "/home/johron/Pictures/shell-imgs/bg.png";
  17. cornerRadius = 12;
  18. clockFormat = "24h";
  19. syncComponentAnimationSpeeds = false;
  20. barElevationEnabled = false;
  21. showWeather = false;
  22. controlCenterShowMicPercent = true;
  23. controlCenterWidgets = [
  24. {
  25. id = "volumeSlider";
  26. enabled = true;
  27. width = 50;
  28. }
  29. {
  30. id = "brightnessSlider";
  31. enabled = true;
  32. width = 50;
  33. }
  34. {
  35. id = "wifi";
  36. enabled = true;
  37. width = 50;
  38. }
  39. {
  40. id = "bluetooth";
  41. enabled = true;
  42. width = 50;
  43. }
  44. {
  45. id = "audioOutput";
  46. enabled = true;
  47. width = 50;
  48. }
  49. {
  50. id = "audioInput";
  51. enabled = true;
  52. width = 50;
  53. }
  54. {
  55. id = "nightMode";
  56. enabled = true;
  57. width = 50;
  58. }
  59. {
  60. id = "idleInhibitor";
  61. enabled = true;
  62. width = 50;
  63. }
  64. ];
  65. showWorkspaceIndex = true;
  66. showWorkspaceApps = true;
  67. appIdSubstitutions = [];
  68. clockDateFormat = "dddd, d. MMM";
  69. greeterEnableFprint = true;
  70. greeterEnableU2f = true;
  71. greeterWallpaperPath = "/home/johron/Pictures/shell-imgs/bg.png";
  72. weatherEnabled = false;
  73. networkPreference = "wifi";
  74. cursorSettings = {
  75. theme = "System Default";
  76. size = 24;
  77. niri = {
  78. hideWhenTyping = false;
  79. hideAfterInactiveMs = 0;
  80. };
  81. hyprland = {
  82. hideOnKeyPress = false;
  83. hideOnTouch = false;
  84. inactiveTimeout = 0;
  85. };
  86. dwl = {
  87. cursorHideTimeout = 0;
  88. };
  89. };
  90. fontFamily = "Adwaita Sans";
  91. monoFontFamily = "Adwaita Mono";
  92. acMonitorTimeout = 300;
  93. acLockTimeout = 300;
  94. acSuspendTimeout = 600;
  95. lockBeforeSuspend = true;
  96. dockPosition = 0;
  97. enableFprint = true;
  98. enableU2f = true;
  99. notificationHistoryEnabled = false;
  100. notificationHistoryMaxAgeDays = 1;
  101. osdPowerProfileEnabled = true;
  102. powerMenuActions = [
  103. "reboot"
  104. "logout"
  105. "poweroff"
  106. "lock"
  107. "suspend"
  108. "restart"
  109. "hibernate"
  110. ];
  111. powerMenuDefaultAction = "poweroff";
  112. updaterUseCustomCommand = true;
  113. updaterCustomCommand = "nix-update";
  114. screenPreferences = {
  115. dock = [];
  116. notifications = [
  117. "all"
  118. ];
  119. wallpaper = [
  120. "all"
  121. ];
  122. notepad = [];
  123. };
  124. showOnLastDisplay = {
  125. dock = false;
  126. notifications = true;
  127. };
  128. barConfigs = [
  129. {
  130. id = "default";
  131. name = "Main Bar";
  132. enabled = true;
  133. position = 1;
  134. screenPreferences = [
  135. "all"
  136. ];
  137. showOnLastDisplay = true;
  138. leftWidgets = [
  139. "workspaceSwitcher"
  140. {
  141. id = "music";
  142. enabled = true;
  143. }
  144. ];
  145. centerWidgets = [
  146. {
  147. id = "clock";
  148. enabled = true;
  149. clockCompactMode = false;
  150. }
  151. ];
  152. rightWidgets = [
  153. {
  154. id = "notificationButton";
  155. enabled = true;
  156. }
  157. {
  158. id = "systemTray";
  159. enabled = true;
  160. }
  161. {
  162. id = "usbManager";
  163. enabled = true;
  164. }
  165. {
  166. id = "battery";
  167. enabled = true;
  168. }
  169. {
  170. id = "controlCenterButton";
  171. enabled = true;
  172. showAudioPercent = false;
  173. showBrightnessIcon = true;
  174. showBrightnessPercent = false;
  175. showMicIcon = true;
  176. showMicPercent = false;
  177. showBatteryIcon = false;
  178. showPrinterIcon = false;
  179. showScreenSharingIcon = true;
  180. }
  181. ];
  182. spacing = 0;
  183. innerPadding = -4;
  184. bottomGap = 0;
  185. transparency = 1;
  186. widgetTransparency = 1;
  187. squareCorners = true;
  188. noBackground = false;
  189. maximizeWidgetIcons = false;
  190. maximizeWidgetText = false;
  191. removeWidgetPadding = false;
  192. widgetPadding = 8;
  193. gothCornersEnabled = false;
  194. gothCornerRadiusOverride = false;
  195. gothCornerRadiusValue = 12;
  196. borderEnabled = false;
  197. borderColor = "surfaceText";
  198. borderOpacity = 1;
  199. borderThickness = 1;
  200. widgetOutlineEnabled = false;
  201. widgetOutlineColor = "primary";
  202. widgetOutlineOpacity = 1;
  203. widgetOutlineThickness = 1;
  204. fontScale = 1;
  205. iconScale = 1;
  206. autoHide = false;
  207. autoHideDelay = 250;
  208. showOnWindowsOpen = false;
  209. openOnOverview = false;
  210. visible = true;
  211. popupGapsAuto = true;
  212. popupGapsManual = 0;
  213. maximizeDetection = true;
  214. scrollEnabled = true;
  215. scrollXBehavior = "column";
  216. scrollYBehavior = "workspace";
  217. shadowIntensity = 0;
  218. shadowOpacity = 60;
  219. shadowColorMode = "text";
  220. shadowCustomColor = "#000000";
  221. clickThrough = false;
  222. attachToScreenEdge = false;
  223. }
  224. ];
  225. desktopClockCustomColor = {
  226. r = 1;
  227. g = 1;
  228. b = 1;
  229. a = 1;
  230. hsvHue = -1;
  231. hsvSaturation = 0;
  232. hsvValue = 1;
  233. hslHue = -1;
  234. hslSaturation = 0;
  235. hslLightness = 1;
  236. valid = true;
  237. };
  238. systemMonitorCustomColor = {
  239. r = 1;
  240. g = 1;
  241. b = 1;
  242. a = 1;
  243. hsvHue = -1;
  244. hsvSaturation = 0;
  245. hsvValue = 1;
  246. hslHue = -1;
  247. hslSaturation = 0;
  248. hslLightness = 1;
  249. valid = true;
  250. };
  251. builtInPluginSettings = {
  252. dms_settings_search = {
  253. trigger = "?";
  254. };
  255. dms_notepad = {
  256. enabled = false;
  257. };
  258. dms_clipboard_search = {
  259. trigger = "cb";
  260. };
  261. };
  262. configVersion = 17;
  263. };
  264. };
  265. }