settings.nix 6.5 KB

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