813 Commits

Author SHA1 Message Date
kenji ee4ab0e8a6 add(CLAUDE): more info 2026-05-07 09:00:08 -05:00
kenji f7108a173a add(nixos): wireshark and her tools
used for testing wh80 keyboard
2026-04-11 07:46:30 -05:00
kenji 0a3f0ada27 refactor(apps): removed redundant via
i added `via` originally to test out qmk keyboard, but it turns out to
be redundant.
2026-04-04 17:14:14 -05:00
kenji 74699ff880 add(anki): set .apkg files open to anki by default
mostly a personal taste. may adjust later if conflict arise
2026-04-04 17:10:31 -05:00
kenji 1b5cf2cf39 fix(yazi): can open non-assigned extensions again
needed to change a few lines to enable defaults again.
2026-04-04 17:09:47 -05:00
kenji a4f0cbb017 refactor(firefox): moved hypr rule firefox opacity to firefox default.nix instead.
organized even more.
2026-03-29 08:11:10 -05:00
kenji 6b5dedb3e6 add(firefox): bitwarden floats 2026-03-29 08:09:04 -05:00
kenji 2f11bf580d feat(gaming): added godot 2026-03-29 07:49:03 -05:00
kenji f58cd9a516 add(system): python added [finally!!] 2026-03-26 18:36:02 -05:00
kenji 7bf2c6fea2 add(nixos): mouse-wakeup 2026-03-21 19:08:49 -05:00
kenji ba09321f6b feat(yazi): added open with options 2026-03-19 16:30:05 -05:00
kenji 7d938288ab add(print): added print support 2026-03-19 16:29:47 -05:00
kenji 9f16735547 feat(btop): updated binds for btop-power
this allows for
2026-03-19 16:29:35 -05:00
kenji 19a4870450 add(system): btop.nix
gives more permission to btop (specifically for reading CPU power)
2026-03-15 17:22:25 -05:00
kenji f33330b2d6 add(system): amdcpu.nix 2026-03-15 17:10:44 -05:00
kenji 2de8603b49 fix(gaming): revamped how steam and gaming works
1. hyprbars are now disabled for steam
2. set float for steam extended windows (e.g., settings, friends list)
3. fix game `properties` forced to `gaming` workspace
2026-03-15 17:04:15 -05:00
kenji 13524322a2 revert(gaming): move steam back to special workspace
Reverts the recent change that moved Steam into a named workspace. Steam is now handled via a special workspace again. The Waybar module configuration has also been updated to reflect this change.
2026-03-15 09:22:00 -05:00
kenji ecb13d8b19 feat(hypr): firefox will always have the same opacity as active.
vidoes are now easier to look at even when unfocused
2026-03-14 09:02:06 -05:00
kenji 3558d604eb fix(firefox): Use noblur rule to prevent blur
Resolve the persistent issue of Firefox windows blurring when inactive by:
- Removing the ineffective  rule from .
- Implementing the direct  window rule for all relevant Firefox classes (, , ), ensuring explicit exemption from Hyprland's blur effect.
2026-03-14 08:45:13 -05:00
kenji fffe6bc7cc fix(hyprland): Resolve Firefox blur issue
Address the issue where Firefox windows were still blurring when inactive, despite a specific window rule.
- Refined the  in  to use a simplified and more robust regex, , ensuring it targets all relevant Firefox profiles.
- Adjusted the opacity for inactive Firefox windows to  (from ) in , as a potential workaround for Hyprland's blur handling with fully opaque windows.
- Ensured  is  and  is  in  for the global blur effect.
2026-03-14 08:40:32 -05:00
kenji 1c71784ac9 feat(hyprland): Refactor workspaces and add blur effect
Refactor Hyprland configuration to:
- Move Steam and Music from special workspaces to unique, named workspaces for better integration into the regular workflow.
- Update Waybar's workspace module to correctly display icons for these new named workspaces and filter them out from the special workspaces module.
- Implement a global blur effect for inactive windows, with a specific exception to keep Firefox windows fully opaque, enhancing focus on active content.
2026-03-14 08:29:12 -05:00
kenji dca67e19bc fix(gaming): now only stay focus on selected games
an issue in `Deadlock` does not focus its mouse even when the player is
not in the menu
2026-03-14 07:54:19 -05:00
kenji 4a9aa15b77 feat(hyprlock): removed cyberpunk random-text
it does not fit the theme very well.
2026-03-09 17:47:07 -05:00
kenji 86f044235a fix(btop): monitor is now setup to HDMI-A-1 (the mini-monitor) instead of DP-1 2026-03-09 08:38:02 -05:00
kenji 5b6477cab6 feat(btop): added ctrl+shift+esc keybind for preset 2 2026-03-08 11:39:16 -05:00
kenji c86358010c feat(btop): autostart btop on misc monitor
note: may not work on very small monitor. needs to auto change to `btm`
if conditions are met.
2026-03-08 11:36:13 -05:00
kenji 318718aabd feat(btop): added new preset for minimalistic configuration
note that it may not work on small monitors. keep that in mind. also the
new preset is located at `btop -p 2`
2026-03-08 11:29:05 -05:00
kenji d592750de7 move(btm): switched to apps-optional 2026-03-08 11:07:41 -05:00
kenji 688f8e8a1e feat(btm): added current usage to the field 2026-03-08 11:05:12 -05:00
kenji c986952c50 fix(btm): missing parameters 2026-03-08 10:35:20 -05:00
kenji d914905d01 add(apps): bottom
Added `btm`; a lightweight, diagnostic application. It is preferrable to
`btop`.
2026-03-08 10:31:56 -05:00
kenji 784e44901d fix(btop): enable rocmSupport for AMD GPU monitoring
Fixes btop not displaying GPU information by compiling it with rocm support enabled.
2026-03-08 10:18:41 -05:00
kenji 35707279b4 fix(asrock): spacing for nct
note that this is read-only. the nct6683d did not work
2026-03-08 10:15:07 -05:00
kenji 4fb3325326 add(asrock-a620i): new setup for testing fan
by default, system does not automatically detect fan configuration for
chassis and the cpu. quite inconvenient to setup fan speeds
2026-03-08 08:48:01 -05:00
kenji ae3a43d25d feat(amd): added overdrive for testing
may remove later. tested for fan noise.
2026-03-07 07:19:19 -06:00
kenji acadd94b31 fix(zathura): added ocr for easier ctrl+f
zathura had an issue where pdf's cannot be read via `find word` due to
the process being unable to read `image text`. a solution is to convert
it to ocr.
2026-03-07 07:18:57 -06:00
kenji 7cadace240 feat(binds): exchanged wiremix bind to that of steam
steam is mouse-based application; preferrable to have a commonly used
bind use only one hand.
2026-03-07 07:17:04 -06:00
kenji f097c9e15f feat(hypr): re-enabled HDR and removed hyprsunset
HDR is still quite buggy with the current ASUS ultrawide monitor.
2026-03-07 07:17:04 -06:00
kenji 9b5134c32d fix(swayosd): capslock improper interpretation 2026-02-28 13:40:14 -06:00
kenji e39f5d46ff minor change 2026-02-26 18:50:15 -06:00
kenji b21bcf5e7a fix(hypr): keyboard formatting fix 2026-01-30 20:10:32 -06:00
kenji 0bb78842c0 feat(gaming): comment out stayfocused rule 2026-01-25 16:44:01 -06:00
kenji d148acd6dd fix(gaming): add Deadlock window classes and enable stayfocused
- Adds 'project8' and 'citadel' to the games list to correctly match Valve's Deadlock window class.
- Enables 'stayfocused' rule in mkGameRules to prevent focus loss.
2026-01-25 16:43:07 -06:00
kenji 00011ed365 fix(gaming): removed workspace 2026-01-21 20:05:57 -06:00
kenji 54737695af feat(gaming): unify and automate game window rules
Refactors 'modules/home/gaming.nix' to use a unified 'mkGameRules' function.
Applies full gaming rules (monitor 0, workspace gaming, immediate, fullscreen) to:
- Steam apps (class:^steam_app_\d+$)
- Gamescope, Lutris, Heroic
- Wine/Proton windows
Preserves manual overrides in the 'games' list.
2026-01-21 20:02:25 -06:00
kenji ac3232ac80 feat(yazi): hide hidden files by default 2026-01-20 11:07:12 -06:00
kenji 5bb996c93f add(apps): libreoffice 2026-01-20 10:27:44 -06:00
kenji 8a7b475562 feat(hyprland): add OCR bind (SUPER+ALT+E) and remove TODO 2026-01-18 10:33:37 -06:00
kenji dccc191c24 add(firefox): new-tab-override 2026-01-17 09:10:57 -06:00
kenji 25477c0f7c feat(yazi): changed sort directory first to false 2026-01-17 08:51:36 -06:00
kenji 6351495541 add(utils): appimage-run 2026-01-17 08:51:16 -06:00
kenji 428488f11d feat(hyprland): improve gaming experience and workspace navigation
- Implemented a modular gaming configuration with a local games list.
- Added dynamic window rules for games: monitor 0, dedicated 'gaming' workspace, fullscreen, immediate mode, and stayfocused.
- Enabled 'allow_tearing' to support immediate mode for reduced latency.
- Created a dedicated 'name:gaming' workspace bound to monitor 0 with a 'SUPER+G' shortcut.
- Enabled 'workspace_back_and_forth' for intuitive workspace toggling.
2026-01-16 19:36:10 -06:00
kenji f8e843ec94 feat: add global theme mode and Yazi shortcut
- Added theme.mode to config.nix for global dark/light mode control.
- Updated Matugen to apply GTK dark mode preferences based on the global theme.
- Added a Hyprland bind (SUPER+X) to launch Yazi via uwsm.
2026-01-16 14:38:41 -06:00
kenji 679f2e8f6b fix(zathura): preserve original colors in dark mode
Enabled 'recolor-keephue' to prevent documents from becoming purely monochrome
when recolor mode is active. This ensures images and colored text retain their
hue while still adapting brightness for the theme.
2026-01-15 16:18:18 -06:00
kenji 9aae7d6df9 feat(yazi): sort by newest (mtime) as default 2026-01-15 16:17:22 -06:00
kenji c6cd00f955 feat(yazi): enable full mouse support
Added 'mouse_events' to the Yazi manager configuration, enabling click, scroll,
touch, move, and drag interactions for better navigation and control.
2026-01-15 16:16:13 -06:00
kenji 33cb851539 fix(yazi): set as default handler for directories
This fixes the issue where "Show in folder" (e.g., in Firefox) would incorrectly
open other applications like Zathura. By explicitly associating 'inode/directory'
with 'yazi.desktop', folders will now open in Yazi as expected.
2026-01-15 16:14:27 -06:00
kenji 5ec7f5edc7 style(matugen): update zathura template to mimic pywal aesthetic
- Flattened UI elements (statusbar, inputbar, notifications) to use the
  surface background color, creating a seamless look similar to pywal themes.
- Changed highlight colors to use 'tertiary' and 'secondary' accents for
  better visibility and style consistency.
- Updated completion highlights for higher contrast.
2026-01-15 16:11:59 -06:00
kenji e7e5226c87 fix(zathura): use absolute path for matugen config and ensure file exists
- Updated 'extraConfig' to use an absolute path for the 'zathura-matugen'
  include, fixing path resolution issues.
- Added a home activation script to create an empty 'zathura-matugen' file
  if it doesn't exist, preventing zathura from crashing on fresh installs
  before matugen has run.
2026-01-15 16:08:45 -06:00
kenji b550064a15 fix(hyprland): set warps to false for stability 2026-01-15 15:56:30 -06:00
kenji 9ff47e94b2 fix(swayosd): ensure swayosd starts reliably
- Add explicit 'systemctl --user start swayosd' to Hyprland exec-once
- Harden systemd service definition with proper dependencies and targets
2026-01-15 15:52:35 -06:00
kenji 3dc170984b docs: add TODO to revise 2026-01-14 19:20:57 -06:00
kenji 97a23a26dd add(binds): focus between nonfloating and floaters 2026-01-14 19:20:13 -06:00
kenji da383a3526 feat(apps): add anki flashcards 2026-01-14 18:31:38 -06:00
kenji ad8b59f314 feat(apps): add zathura document viewer with matugen theming 2026-01-14 16:14:17 -06:00
kenji cfcf9d6f3a fix(nextcloud): removed redundant setsid 2026-01-14 16:10:52 -06:00
kenji 44af726a53 fix(nextcloud): use uwsm app for nexcloud 2026-01-14 09:14:42 -06:00
kenji 35f810dcf1 feat(nextcloud): add hyprland autostart 2026-01-13 16:27:47 -06:00
kenji af331d967a feat(apps): add nextcloud client 2026-01-13 16:25:45 -06:00
kenji d54fa4e999 feat(ghostty): optimize configuration 2026-01-11 20:11:42 -06:00
kenji 0197c58ea1 fix(waybar): resolve keybinding conflicts for system popups 2026-01-11 19:47:57 -06:00
kenji 1b4cfbe350 feat(waybar): add hyprland keybindings for system popups 2026-01-11 19:46:07 -06:00
kenji c4ed00e6c8 refactor(terminal): more modularity for default terminal font 2026-01-11 19:32:56 -06:00
kenji b720c1ff02 docs: add FIXME for nixovim 2026-01-11 19:32:29 -06:00
kenji 9ee5f40aa8 docs: add FIXME for waybar popup 2026-01-11 19:32:11 -06:00
kenji 2ef1d58ea7 fix(power): writes disabled on certain usb devices to avoid random wake-ups 2026-01-11 19:02:18 -06:00
kenji 7281eedf56 feat(cursor): cursor changed to catppuccin mocha dark 2026-01-11 19:00:58 -06:00
kenji 8394a4cf35 fix(waybar): correctly launch btop 2026-01-11 19:00:43 -06:00
kenji f50c57c7b2 docs: add fixme for jellyfin-tui 2026-01-11 19:00:21 -06:00
kenji 795a7babd0 fix(cursor): removed invasive expansion of cursor at certain threshold 2026-01-11 19:00:15 -06:00
kenji 97d50851f6 feat(hyprbars): add double click to expand with fullscreen 1 2026-01-11 14:53:23 -06:00
kenji 870c8d2df3 fix(waybar): btop now works 2026-01-11 14:52:49 -06:00
kenji 80e38516a6 refactor(cursor): migrate hyprcursor for modularity 2026-01-11 14:52:49 -06:00
kenji 04627242a8 add(waybar): on right click, dispatch overview 2026-01-11 14:04:51 -06:00
kenji bcad6c2f69 docs: add FIXME for calculator 2026-01-11 13:59:28 -06:00
kenji 0940fd31d7 fix(swayosd): added auto-restart functionality 2026-01-11 13:59:21 -06:00
kenji 9fc1763073 feat(textfox): updated rev 2026-01-11 13:54:21 -06:00
kenji 3d51e1db83 feat(firefox): now uses web-app for versatility 2026-01-11 13:53:48 -06:00
kenji 992ca558dd feat(swayimg): wrapper dynamically adjust image size without overlapping waybar 2026-01-11 13:24:45 -06:00
kenji 72c94dbd63 fix(yazi): expanded image_bound for versatilty 2026-01-11 13:09:57 -06:00
kenji 0a4bfdfab8 remove(apps): imv replaced by yazi 2026-01-11 13:09:18 -06:00
kenji cfbc56ab6d remove(firefox): web-app css set to default, awaiting textfox migration 2026-01-11 13:09:04 -06:00
kenji 516fe436e6 feat(yazi): use TUI to acquire files from sites. 2026-01-11 12:51:14 -06:00
kenji 373f3f1f3f refactor(apps): switched gemini to apps-optional 2026-01-11 12:10:57 -06:00
kenji 283f572371 Revert "feat(yazi): enable yazi as system-wide file chooser"
This reverts commit f345fef540.
2026-01-11 12:01:43 -06:00
kenji 272b5b8545 remove(yazi): shell script was not working 2026-01-11 11:55:16 -06:00
kenji f345fef540 feat(yazi): enable yazi as system-wide file chooser
Configure xdg-desktop-portal-termfilechooser to use yazi (via ghostty) for file selection dialogs in portal-aware apps like Firefox. Includes a wrapper script and Hyprland window rules.
2026-01-11 11:33:08 -06:00
kenji dd9281dcf1 docs: removed some redundant TODO 2026-01-11 11:29:07 -06:00
kenji 14b873d704 fix(matugen): correct sidebar text contrast in GTK file picker
Explicitly set sidebar background and text colors in GTK3 and GTK4 templates to resolve white-on-white text issue in file dialogs.
2026-01-11 11:24:05 -06:00
kenji a793429622 revert: remove yazi image saving feature and portal changes 2026-01-11 11:18:50 -06:00
kenji d9f848f626 fix(firefox): change yazi bind to ;y and add logging 2026-01-11 11:17:23 -06:00
kenji 2d77a5d42e feat(firefox): add tridactyl yazi image saver, revert portal attempt 2026-01-11 11:12:10 -06:00
kenji 8d01f300be fix(yazi): add environment logging to picker 2026-01-11 11:03:42 -06:00
kenji 975b2c2002 fix(hypridle): changed lockscreen session to custom hakase-hyprlock 2026-01-11 11:02:34 -06:00
kenji f28ed60390 fix(yazi): add debug logging and correct portal config 2026-01-11 10:49:43 -06:00
kenji 63becaaa09 feat(hyprland): integrate yazi as global file picker via xdg-portal 2026-01-11 10:44:25 -06:00
kenji 78f6ede871 fix(hyprlock): removed strategies 2026-01-10 23:27:01 -06:00
kenji d34494d3be add(hyprlock): more text 2026-01-10 23:25:21 -06:00
kenji 7930757d88 add(hyprlock): more language greetings added 2026-01-10 23:18:41 -06:00
kenji f3517d04fc remove: some random mpv screenshot 2026-01-10 23:08:18 -06:00
kenji 5edc88fc23 fix(matugen): script converted to sh 2026-01-10 23:06:36 -06:00
kenji 461b1099ad add(matugen): auto-theme switch 2026-01-10 23:01:23 -06:00
kenji 51a35355df fix(vicinae): use the icons 2026-01-10 22:59:48 -06:00
kenji cc681ffe91 add(apps): ttyper 2026-01-10 22:54:24 -06:00
kenji 45213f1f7d add(apps): qmk as system 2026-01-10 18:36:59 -06:00
kenji 27f52450c3 fix(power): added udev game rules 2026-01-10 18:25:39 -06:00
kenji 4bfc554e35 fix(hypridle): decrease timeout 2026-01-10 17:44:56 -06:00
kenji 2558f4a9b0 fix(jellyfin): ensure autostart and modernize config
Forces autostart via Hyprland exec-once. Adds uosc, thumbfast, and better MPV defaults.
2026-01-07 19:44:27 -06:00
kenji 4e882084b1 add(wallpapers): lighthouse 2026-01-07 18:40:19 -06:00
kenji aa28cf999f add(jellyfin): jellyfin-mpv-shim 2026-01-07 18:40:11 -06:00
kenji 4a911de198 fix(amd): disable overdrive and lact
Disabling AMD GPU overdrive and LACT service to troubleshoot system freezes.
2026-01-07 18:39:35 -06:00
kenji a4f5cddcb2 refactor(system): consolidate kernel parameters
Moves all kernel parameters to modules/nixos/kernel.nix to avoid duplication and conflicts. Prioritizes quiet boot settings.
2026-01-07 18:37:50 -06:00
kenji bd75285889 add(apps): jellyfin-mpv-shim proper 2026-01-05 22:47:11 -06:00
kenji d263ea39f8 fix(jellyfin-mpv-shim): was not using template 2026-01-05 22:27:24 -06:00
kenji 002799deee add(matugen): new template 2026-01-05 22:20:33 -06:00
kenji 6f884ad114 add(binds): jellyfin 2026-01-05 22:02:08 -06:00
kenji 1f3c44afb7 add(hyprlock): now use 50 languages 2026-01-05 22:02:01 -06:00
kenji 7bc837aeaf fix(monitors): color and vrr are borked 2026-01-05 22:01:35 -06:00
kenji cd440d2b00 fix(monitor): movefocus was not owrking 2026-01-05 20:29:53 -06:00
kenji 5e3902c22c fix(monitor): position 2026-01-05 19:41:20 -06:00
kenji 7280b68f14 add(fonts): modular fonts 2026-01-05 19:26:30 -06:00
kenji 2b9067f87b add(vicinae): fallback if vicinae crashed 2026-01-05 18:39:00 -06:00
kenji 7fd73ba79e add(binds): vicinae calculator history and emoji picker 2026-01-05 18:32:22 -06:00
kenji 00f6c9840b feat(vicinae): add emoji picker bind 2026-01-05 16:08:10 -06:00
kenji 8da1baea93 feat(firefox): finalize modular web-app profile with new-tab-override
- Integrated New Tab Override extension for reliable per-profile redirection.

- Confirmed Tridactyl compatibility via 'set newtab about:newtab'.

- Polished autohide toolbox with solid background.
2026-01-05 16:01:39 -06:00
kenji 75d5fc850e revert(firefox): abandon tridactyl dynamic newtab, use extension
Returned to using New Tab Override extension with Tridactyl yielding control via 'set newtab about:newtab'. This proved most reliable.
2026-01-05 15:59:20 -06:00
kenji 283f6cd29f feat(firefox): implement URL-based dynamic newtab for tridactyl
Automatically sets the newtab page based on the initial active tab URL, enabling modular per-profile configuration.
2026-01-05 15:53:56 -06:00
kenji d3d9371e71 revert(firefox): use new-tab-override instead of tridactyl dynamic newtab
Tridactyl dynamic environment variables proved unreliable. Reverting to the verified extension-based solution.
2026-01-05 15:37:39 -06:00
kenji eec7fe5808 feat(firefox): implement robust modular newtab logic
Uses a shell-based environment check in tridactylrc to set the newtab URL dynamically, allowing per-profile overrides without hardcoding URLs.
2026-01-05 15:31:58 -06:00
kenji 683ceefae3 feat(firefox): finalize web-app profile with solid autohide and tridactyl integration
- Unified autohide for Tabs and Nav-bar with solid background.

- Implemented dynamic newtab via TRIDACTYL_NEWTAB env var.

- Cleaned up redundant new-tab-override extension.
2026-01-05 15:22:53 -06:00
kenji b8f28a6277 fix(firefox): redundant modules 2026-01-05 15:03:49 -06:00
kenji 73aab2452e style(firefox): finalize autohide toolbox for web-app profile
Successfully autohides both Tabs and Nav-bar using MrOtherGuy's strategy with a fixed trigger zone.
2026-01-05 15:03:00 -06:00
kenji 109fdb4672 style(firefox): improve autohide CSS for web-app profile
Ensures both tabs and address bar hide and reveal together seamlessly.
2026-01-05 14:48:18 -06:00
kenji 6281f9ea6f feat(firefox): implement dynamic tridactyl newtab via env var
Allows per-profile newtab overrides using TRIDACTYL_NEWTAB environment variable.
2026-01-05 14:42:18 -06:00
kenji edfb269308 feat(firefox): add new-tab-override to web-app profile
Ensures that new tabs and closed-tab fallbacks always redirect to the specified app URL.
2026-01-05 14:37:27 -06:00
kenji eed84ec64c fix(firefox): resolve syntax error in web-app profile 2026-01-05 14:32:24 -06:00
kenji ae7d017d2b feat(firefox): generalize youtube profile into modular web-app profile
- Renamed profiles/youtube.nix to profiles/web-app.nix.

- Refactored to accept id, name, and url as arguments.

- Added settings to force homepage on startup and new tabs.

- Disabled session restore and undo-close-tab for web-app profiles.
2026-01-05 14:31:20 -06:00
kenji e17b21ab69 feat(jellyfin): wrap mpv-shim in uwsm for better session management 2026-01-05 14:14:00 -06:00
kenji 59d29c6cea refactor(jellyfin): decentralize mpv-shim autostart
Move Hyprland autostart logic into the app's own module for better modularity.
2026-01-05 14:12:11 -06:00
kenji 29792a1307 feat(jellyfin): add jellyfin-mpv-shim for high-quality casting 2026-01-05 14:08:57 -06:00
kenji b86df062df feat(mpv): add uosc and thumbfast scripts for a minimalist UI 2026-01-05 14:01:54 -06:00
kenji b02be43aa0 feat(mpv): add hyprland window rules to match imv behavior 2026-01-05 13:58:00 -06:00
kenji 6d19db6577 feat: replace loupe with imv and update plymouth theme
- Replaced Loupe with imv for a keyboard-driven image viewer experience.

- Updated Plymouth logo with Firewatch-inspired ASCII art gradient.

- Updated Plymouth background color to match Firewatch palette (#2D112A).
2026-01-05 13:55:04 -06:00
kenji e8f35bf283 Revert "feat(hyprland): integrate force-switch script with split:workspace"
This reverts commit c656cf81d2.
2026-01-05 13:25:24 -06:00
kenji ec1e9a9b59 feat(plymouth): implement custom hakase theme based on omarchy assets 2026-01-05 13:22:08 -06:00
kenji f1fede7cd5 docs: update README.md to reflect multi-host support and project structure 2026-01-05 13:22:08 -06:00
kenji 9d3ba797d7 refactor(home): separate home-manager config per host (hakase/macbook) 2026-01-05 13:22:08 -06:00
kenji 39b190fcc3 refactor(user): switch to mutable users with initial password for easier bootstrapping 2026-01-05 13:22:08 -06:00
kenji b8df78e935 feat(nixos): scaffold macbook host for apple silicon (aarch64-linux) 2026-01-05 13:22:08 -06:00
kenji 425c429297 refactor(hyprland): final decentralization of rules and binds 2026-01-05 13:22:08 -06:00
kenji c656cf81d2 feat(hyprland): integrate force-switch script with split:workspace 2026-01-05 13:22:08 -06:00
kenji 2ed2e28ba2 refactor(hyprland): decentralize window rules and binds 2026-01-05 12:42:53 -06:00
kenji daa3ed6eef refactor(hyprland): decentralize exec-once and clean up app configs 2026-01-05 12:38:12 -06:00
kenji c640e5514e add(apps): fcitx5 on their own folder 2026-01-05 12:36:28 -06:00
kenji 796e311a29 refactor(general): organized more 2026-01-05 12:28:16 -06:00
kenji 5fe83ddc8a docs: add gemini.md 2026-01-05 12:27:19 -06:00
kenji 6167ca3d0a fix(waybar): add hakase-popup-launch 2026-01-04 22:08:11 -06:00
kenji 10374ba152 remove(rules): removed redundant rules 2026-01-04 21:07:24 -06:00
kenji f20d6fbe83 fix(popup): popup script was inconsistent, removed temp 2026-01-04 20:44:36 -06:00
kenji 4bb65bd5ec fix(power): does not work, so commented it 2026-01-04 20:42:57 -06:00
kenji 214f709b59 fix(bluetooth): was not working 2026-01-04 15:08:08 -06:00
kenji ae76a1b13b remove(hypridle): rmeoved tte-screensaver due to instability 2026-01-04 11:26:07 -06:00
kenji f4a2d28806 add(apps): mpv 2026-01-03 23:16:38 -06:00
kenji 483bd73ecd add(gaming): hardware support 2026-01-03 15:03:37 -06:00
kenji 3bb0844544 docs: added TODO 2026-01-03 15:03:18 -06:00
kenji 137576a9a9 add(nixos): power module udev 2026-01-03 14:56:48 -06:00
kenji ac265015eb add(TODO): stuff 2026-01-03 14:54:19 -06:00
kenji bb97da851d add(nixos): lact for amd 2026-01-03 14:54:09 -06:00
kenji 3b33aec48b docs: add credits 2026-01-03 11:20:53 -06:00
kenji 1694a23bf6 docs: added more feat desc 2026-01-03 11:12:04 -06:00
kenji 62a99d8992 docs: moved terminal windows 2026-01-03 11:10:28 -06:00
kenji 1d28b04845 docs: implemented screenshots 2026-01-03 11:09:39 -06:00
kenji 31a9de7979 fix(hyprlock): fix incorrect description 2026-01-03 11:08:12 -06:00
kenji 863d91a0f8 docs: added more screenshots 2026-01-03 11:07:55 -06:00
kenji 69a6571d5b docs: add screenshots sample 2026-01-03 10:58:10 -06:00
kenji 80ea4c9e55 remove(wallpapers): redundancies 2026-01-03 10:37:33 -06:00
kenji c82d3872a1 docs: fix minor mistakes 2026-01-03 10:15:57 -06:00
kenji d061d30426 docs: rewrite README with comprehensive configuration overview
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 10:11:47 -06:00
kenji 15b2c36247 add(README): migrated SOPS documentation to secrets/ 2026-01-03 10:09:11 -06:00
kenji 5443027e94 fix(binds): incorrect description corrected 2026-01-03 10:05:30 -06:00
kenji 8fbfe2f011 add(binds): binds for special workspace 2026-01-03 10:05:10 -06:00
kenji 31a2d191f9 fix(swayosd): mute works now 2026-01-03 09:53:43 -06:00
kenji 5788ef1bcd add(hyprpaper): rewrite pls 2026-01-03 09:53:20 -06:00
kenji 354db486bf add(waybar): FIXME 2026-01-03 09:53:09 -06:00
kenji bcf913e431 remove(config): removed FIXME 2026-01-03 09:51:54 -06:00
kenji 973d32228d remove(README): removed TODO 2026-01-03 09:46:26 -06:00
kenji f6afc23771 add(hypridle): tte-screensaver at 3min 2026-01-03 09:43:42 -06:00
kenji 1ed219c697 add(TODO): vicinae fallback 2026-01-03 09:43:29 -06:00
kenji 39aa8a421e Revert "fix(screensaver): fix shifting issue on tte-loop"
This reverts commit 40efab98b9.
2026-01-03 09:39:36 -06:00
kenji 40efab98b9 fix(screensaver): fix shifting issue on tte-loop 2026-01-03 09:35:26 -06:00
kenji aaa635f25e fix(screensaver): line increase to prevent branding from moving after the effect is finished 2026-01-03 09:25:28 -06:00
kenji 7a5c811ec7 fix(screensaver): finally works 2026-01-03 09:14:52 -06:00
kenji b656898f48 add(services): added upower for services 2026-01-02 15:37:14 -06:00
kenji aa7d9964a6 fix(hypridle): removed tte-screensaver temp 2026-01-02 14:49:41 -06:00
kenji da45e673af feat(branding): changed branding 2026-01-02 14:49:24 -06:00
kenji e87d4207b2 add(ghostty): screensaver! 2026-01-02 14:13:21 -06:00
kenji 897908da86 fix(hyprland): some stuff 2026-01-02 13:43:56 -06:00
kenji 404f272d83 add(screenshot): screenshot now saves and copies 2026-01-02 13:11:40 -06:00
kenji e0a6aa12e8 fix(firefox): removed initial startup 2026-01-02 13:02:00 -06:00
kenji 77583b9c8f feat(fastfetch): changed config 2026-01-02 12:52:48 -06:00
kenji d667dbdb91 refactor(hypr): separated even mooore 2026-01-02 12:26:36 -06:00
kenji a2acedf2bb refactor(hypr): separated exec-once to their corresponding apps 2026-01-02 12:00:26 -06:00
kenji b398d5b797 add(matugen): added qt support 2026-01-02 11:47:10 -06:00
kenji fc0c7d9405 feat(vicinae): close on unfocus 2026-01-02 11:47:04 -06:00
kenji 7d8f6ad78e add(hyprpolkit): finally works 2026-01-02 11:46:54 -06:00
kenji bb77bb6ab8 fix(random-text): truncated greeting 2026-01-02 11:28:57 -06:00
kenji a9aed4b7c8 add(vicinae): binds vimlike 2026-01-02 08:58:24 -06:00
kenji a6641d71d7 add(template): vicinae matugen 2026-01-02 08:32:14 -06:00
kenji c016d3ba66 fix(nix): fix substitution for vicinae 2026-01-02 08:07:18 -06:00
kenji 18e67e1c4c feat(vicinae): added configuration 2026-01-02 07:57:34 -06:00
kenji 6b3662c07c add(apps): vicinae 2026-01-02 07:47:53 -06:00
kenji bf279b426e add(TODO): more tasks 2026-01-02 07:45:03 -06:00
kenji 5b541fc4ad fix(screenshots): better binds 2026-01-02 00:33:54 -06:00
kenji ec70617dc2 add(apps): screenshot 2026-01-02 00:27:59 -06:00
kenji 321dbbe979 add(mako): notification 2026-01-02 00:07:33 -06:00
kenji b62e4cbafb add(apps): mako--a notification daemon 2026-01-01 23:47:05 -06:00
kenji 39fb2b4d27 add(TODO): added more TODOs 2026-01-01 23:45:26 -06:00
kenji 0327caa6d2 add(hyprland): hyprbars 2026-01-01 23:40:10 -06:00
kenji d224b12bab add(hyprland): hyprspace 2026-01-01 23:27:23 -06:00
kenji fdcabbe543 add(hypr): dynamic cursor 2026-01-01 22:09:53 -06:00
kenji 26e597e087 fix(hypr): adjusted transparency 2026-01-01 17:38:02 -06:00
kenji 7bdc88389b add(hyprlock): use no animation 2026-01-01 17:31:50 -06:00
kenji 237a7996f5 add(hyprlock): random-text 2026-01-01 17:07:24 -06:00
kenji a85014188f add(hyprlock): added typewriter animtaion 2026-01-01 16:56:02 -06:00
kenji f2f44f2fdd remove(hyprlock): typewriter for revise 2026-01-01 11:41:58 -06:00
kenji d71be6d7d9 add(nixos): input method 2026-01-01 11:26:09 -06:00
kenji 2cfa182da2 fix(hyprlock): slowed it down 2026-01-01 11:25:54 -06:00
kenji 36bc769452 refactor(hypr): organized a little more 2026-01-01 11:18:10 -06:00
kenji 4e9d47a886 fix(loupe): oversized images 2026-01-01 11:03:34 -06:00
kenji e73d9477f7 add(apps): added loupe 2026-01-01 10:58:54 -06:00
kenji 906ce21aaa add(hyprland): plugin is fixed! 2025-12-31 13:57:52 -06:00
kenji 588f1a17ca fix(monitors): fix multi-monitor setup 2025-12-31 13:57:30 -06:00
kenji 8a9569bb76 add(cursor): added rose pine hyprcursor 2025-12-31 13:57:30 -06:00
kenji 6e9949ac39 feat(hyprlock): decreased blink count 2025-12-31 13:57:30 -06:00
kenji 74446a9e81 add(apps): added delfin 2025-12-31 13:57:30 -06:00
kenji 89d9c151c5 feat(hyprland): changed binds to movewindow 2025-12-31 13:25:56 -06:00
kenji fcfe6e6493 feat(hyprlock): redesigned 2025-12-31 08:13:11 -06:00
kenji 475c870c37 remove(stylix): favors matugen 2025-12-30 19:42:42 -06:00
kenji 6eef6108c4 fix(security): harden system configuration
- Remove SSH service (was temporary)
- Close unused firewall ports (22, 80, 53)
- Require sudo password for wheel group
- Disable systemd-boot editor to prevent boot tampering
- Remove boot.shell_on_fail kernel parameter
- Add kernel hardening parameters (slab_nomerge, init_on_alloc, etc.)
- Add sysctl hardening (dmesg_restrict, kptr_restrict, etc.)
- Disable Avahi firewall broadcast
- Disable Bluetooth auto power-on at boot

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 19:20:21 -06:00
kenji 6919f27890 refactor(modules): rename system/ to nixos/
Clearer naming to distinguish NixOS system modules from
Home Manager modules (nixos/ vs home/).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 19:13:10 -06:00
kenji 33d80a34bb fix(user): enforce declarative password management
Set mutableUsers = false to ensure password is managed declaratively
via hashedPasswordFile. Updated password hash in SOPS secrets.

Also adds nixos-config-researcher agent for Claude Code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 19:06:07 -06:00
kenji 83919d2367 test 2025-12-30 18:02:37 -06:00
kenji bc6dae065b add: claude-code 2025-12-30 16:56:56 -06:00
kenji 0fb7553ebf fix(tickrs): change chart_type to lowercase 'candle' 2025-12-30 10:41:51 -06:00
kenji ad6a4b0021 fix(tickrs): correct invalid time_frame config value 2025-12-30 10:41:06 -06:00
kenji df56ff3579 feat(apps): add tickrs stock TUI with custom watchlist 2025-12-30 10:39:14 -06:00
kenji 8c225a381d remove(security): avante key 2025-12-30 09:57:43 -06:00
kenji 4c80538ee4 remove(fastfetch) removed uptme 2025-12-30 09:57:29 -06:00
kenji 055a57d005 fix: correct relative path to sops secrets in security module 2025-12-29 14:04:58 -06:00
kenji 513daff499 fix: correct relative import path in home-manager module 2025-12-29 14:03:42 -06:00
kenji 3a146f39b7 refactor: standardize config structure and consolidate modules
- Standardized apps/ directory by renaming all entry points (e.g., home.nix) to default.nix and updating imports to use directory paths.
- Consolidated system/ logic into modules/system/, eliminating the top-level system/ directory and redundant wrappers.
- Merged subsidiary utility scripts (e.g., hakase-popup.nix, switch-wallpaper.nix) into their parent default.nix files for better cohesion.
- Cleaned up unused files and updated all module references to reflect the new structure.
2025-12-29 14:02:09 -06:00
kenji 7278086b82 add(hyprpaper): switch wallpaper bind 2025-12-29 13:48:26 -06:00
kenji 0e7568b746 fix(hyprpaper): add features pls 2025-12-29 13:48:16 -06:00
kenji 3d317b672d add(hypr): added hypridle 2025-12-29 07:20:06 -06:00
kenji 9593f16875 add(hypr): terminal launcher 2025-12-28 20:32:38 -06:00
kenji 8ae15e1149 rename(scripts): hypr movements 2025-12-28 19:03:35 -06:00
kenji 91a70ee052 remove: scripts.nix under system 2025-12-28 19:03:21 -06:00
kenji 874d2cbf25 feat(fastfetch): more features 2025-12-28 18:59:06 -06:00
kenji 9827078e36 rename(fastfetch): to animo 2025-12-28 18:08:06 -06:00
kenji 3b1f775129 add(hypr): hyprlock and hypridle 2025-12-28 17:46:40 -06:00
kenji 940fb3ed2e add(fastfetch): mandatory 2025-12-28 15:15:37 -06:00
kenji 51685d59f2 add(waybar): #special workspace 2025-12-28 14:16:48 -06:00
kenji 25f838b454 fix(hyprland): workspace switch on normal workspace 2025-12-28 14:16:38 -06:00
kenji 49ea478d57 fix(exec): fix initial startup at preload 2025-12-28 13:54:00 -06:00
kenji fa39d60ded add(waybar): special workspaces 2025-12-28 13:53:32 -06:00
kenji 71cf63c461 add(hypr): add special workspace 2025-12-28 13:51:35 -06:00
kenji 161c6337a4 feat(hypr): add force switching of workspace
useful for going from special workspace to normal workspace
2025-12-28 12:13:41 -06:00
kenji d74fa4e552 feat(hakase-wallpaper-switch): changed target dir 2025-12-28 11:29:43 -06:00
kenji 92a3fef81b remove(secret): removed var avante 2025-12-28 11:29:17 -06:00
kenji d009ca3d3a fix(ghostty): app-notification 2025-12-28 11:20:35 -06:00
kenji 6696db16ab upd(flake): updated flake to be more stable 2025-12-28 11:20:25 -06:00
kenji 1a48e22c9d feat(starship): changed toml 2025-12-28 11:20:14 -06:00
kenji ac55b09c68 add(TODO): added todo list 2025-12-28 10:07:49 -06:00
kenji 4592a9cda0 feat(flake): made it more stable 2025-12-28 10:07:42 -06:00
kenji 0e446fa4bd remove(README): removed todo 2025-12-28 10:07:18 -06:00
kenji dfbd9950d6 feat(ghostty): remove notification for config change 2025-12-28 09:24:35 -06:00
kenji cc9df9f425 feat(firefox): smooth scroll tridactyl 2025-12-28 09:23:08 -06:00
kenji 8451c0e844 cleaned up 2025-12-28 09:22:58 -06:00
kenji 47de61c982 add(cachix): faster installation of system 2025-12-28 09:08:00 -06:00
kenji d4be82176d bind(hypr): commented redundancy 2025-12-28 08:53:44 -06:00
kenji ca7968ae14 bind(firefox): removed <C-e> bind 2025-12-28 08:53:26 -06:00
kenji 4412cd119d bind(firefox): switched bind J and K function 2025-12-28 08:18:40 -06:00
kenji 1db6f4dddd add(apps): jellyfin 2025-12-28 07:59:34 -06:00
kenji d30bfc951e feat(walker): use duckduckgo as default 2025-12-28 07:57:05 -06:00
kenji 6694ed268a fix(hypr): smart split ain't good 2025-12-28 07:56:43 -06:00
kenji eed6bfd51b fix(preload): not actually fixed, find a way 2025-12-28 07:17:18 -06:00
kenji b6aa962496 feat(hypr): add preload 2025-12-28 00:03:50 -06:00
kenji 98fb607238 feat(hypr): organization 2025-12-27 23:56:12 -06:00
kenji 9190eb6281 fix(firefox): youtube profile now works 2025-12-27 23:44:59 -06:00
kenji c85cdcf54d feat(firefox): youtube profile 2025-12-27 23:09:03 -06:00
kenji 68da7615ee binds(hypr): changed to O 2025-12-27 23:03:21 -06:00
kenji 95b71a562f feat(walker): add emoji 2025-12-27 23:03:06 -06:00
kenji 62e5b210e4 feat(hypr): better navigation 2025-12-27 22:50:23 -06:00
kenji d28ef117fa feat(hyprland): add mouse binds and resize keyboard shortcuts 2025-12-27 22:30:43 -06:00
kenji e96f291048 clean up 2025-12-27 22:20:53 -06:00
kenji d3b073fda4 cleanedu p 2025-12-27 22:20:06 -06:00
kenji 1a3559b9c0 fix: incorrect naming in exe3c 2025-12-27 22:18:00 -06:00
kenji d662e5dcc7 clean: upe 2025-12-27 22:16:37 -06:00
kenji 59340e4d6d fix: music-launcher 2025-12-27 22:11:03 -06:00
kenji 34a0243c43 add: toggle split on V 2025-12-27 21:57:49 -06:00
kenji 3dc1fa61e0 add: music-launcher 2025-12-27 21:49:57 -06:00
kenji 1fd59ceb04 add: cava 2025-12-27 21:35:22 -06:00
kenji 66adb9d1d6 optimize: cleaned up redundancies 2025-12-27 21:19:52 -06:00
kenji 27c471addd feat: steam rules only launch on steam T 2025-12-27 20:36:07 -06:00
kenji 3f5f2fbcd6 improve: hakase-wallpaper-switch 2025-12-27 20:31:19 -06:00
kenji 7d04d1d840 add: wallpaper changer 2025-12-27 20:09:43 -06:00
kenji f8cdd03c17 t 2025-12-27 20:00:13 -06:00
kenji 3b35cc12d3 add: switch-wallpaper.nix 2025-12-27 19:40:54 -06:00
kenji 08b78610f3 fix: the secrets 2025-12-27 19:29:51 -06:00
kenji 32cf771c69 add: enc 2025-12-27 18:54:39 -06:00
kenji 16b7b342d1 upd: nixovim 2025-12-27 18:54:35 -06:00
kenji a78fdfcaeb change: wallpaper 2025-12-27 18:36:34 -06:00
kenji a5e9acad20 add: wallpaper purple 2025-12-27 17:53:45 -06:00
kenji c47e115020 mod: walker 2 2025-12-27 17:43:16 -06:00
kenji a92d654fe0 mod: walker 2025-12-27 17:42:11 -06:00
kenji 57333f3a73 add: layout for walker 2025-12-27 17:13:56 -06:00
kenji 32cd6760b6 fix: pywalfox not starting 2025-12-27 17:13:49 -06:00
kenji 999710d44c fix: pywalfox now works 2025-12-27 16:50:54 -06:00
kenji 938c244704 add: pywalfox 2025-12-27 16:42:48 -06:00
kenji 6ab0623c55 feat: branding removed space 2025-12-27 16:29:22 -06:00
kenji fa543b059f add: hypr exec pywalfox 2025-12-27 16:29:13 -06:00
kenji 780afcbda6 feat: removed bg 2025-12-27 16:29:02 -06:00
kenji 9b3b09f6e5 add: extensions firefox 2025-12-27 16:07:25 -06:00
kenji a234c2d573 organize: textfox 2025-12-27 13:37:14 -06:00
kenji 602acee708 clean: removed git default 2025-12-27 13:32:45 -06:00
kenji cb9c91c7a7 fix: some stff 2025-12-27 13:27:47 -06:00
kenji 4d9d68e7e6 add: walker theme 2025-12-27 12:12:49 -06:00
kenji 3aad507ba8 remove: fsel 2025-12-27 11:57:56 -06:00
kenji 1cd2b54e6a cleaned up unused vars 2025-12-27 11:41:05 -06:00
kenji 8372715482 replace: starship loadout 2025-12-27 11:40:34 -06:00
kenji eb10aa526e add: starship conf 2025-12-27 11:37:21 -06:00
kenji e8abbff15e fix: waybar colors 2025-12-27 11:14:39 -06:00
kenji b9471c83ed add: waybar 2025-12-27 11:05:09 -06:00
kenji 46c08d95ec add 2025-12-27 10:51:09 -06:00
kenji f302399b70 add: hyprland colors 2025-12-27 10:48:22 -06:00
kenji c9387525eb add: conf 2025-12-27 10:20:28 -06:00
kenji c1a76f2b2b add: matugen 2025-12-27 10:11:03 -06:00
kenji ef68c8191e add: firewatch wallpapers 2025-12-26 19:44:40 -06:00
kenji 16a14f9863 add: firewatch wall 2025-12-26 19:41:19 -06:00
kenji 10cb0370b6 organize: tte 2025-12-26 19:34:48 -06:00
kenji 5bf24e41fb add: macos tahoe 2025-12-26 19:34:39 -06:00
kenji af2a4738a8 reserved 2025-12-26 19:34:25 -06:00
kenji 20e39113a9 optimization: faster essentials 2025-12-26 19:34:19 -06:00
kenji f5d81a5a43 fix: stuff 2025-12-26 16:47:50 -06:00
kenji 39f692919b added branding 2025-12-26 16:20:14 -06:00
kenji fed7db4fbc add: screensaver 2025-12-26 16:09:12 -06:00
kenji 9fa7d0c4f5 add: tte 2025-12-26 15:33:39 -06:00
kenji d1a3e369e4 rename: hakase-scripts 2025-12-26 15:29:31 -06:00
kenji ab9247bc45 add: gaming 2025-12-26 13:45:39 -06:00
kenji 4b1d5c5f02 add: brightness adjustment 2025-12-26 13:33:11 -06:00
kenji fe39db683a add: backlight.nix 2025-12-26 13:26:27 -06:00
kenji 5fa73c0bad add: decorations 2025-12-26 13:22:25 -06:00
kenji 8231d88a5b minor: readabilty 2025-12-26 13:19:09 -06:00
kenji b9595f283a fix: added input 2025-12-26 13:18:43 -06:00
kenji 4cf1c3e74d add: env.nix 2025-12-26 13:18:34 -06:00
kenji a97d65ac0e add: misc.nix, input.nix 2025-12-26 13:10:31 -06:00
kenji 5e905af198 add: misc.nix 2025-12-26 13:06:05 -06:00
kenji f113b5d9b8 replace: fsel -> walker 2025-12-26 13:05:57 -06:00
kenji 4ce7ab874f feat: disabled some hints 2025-12-26 13:05:38 -06:00
kenji 2049c94a1c add: improved animation 2025-12-26 13:05:26 -06:00
kenji 2e14ccbe1a fix: swayosd not working 2025-12-26 13:05:12 -06:00
kenji 80190502ba add: new binds for moving window 2025-12-26 13:05:00 -06:00
kenji 6ca530741e fix: fsel problems 2025-12-26 11:52:12 -06:00
kenji 3505aabbc7 add: fsel launcher 2025-12-26 11:34:32 -06:00
kenji c124898b8c add: config for fsel 2025-12-26 11:34:17 -06:00
kenji e3bac0adc6 boot: set timeout to 0 2025-12-26 11:16:08 -06:00
kenji af1ae030a4 new: audio setters 2025-12-26 10:07:24 -06:00
kenji f0b48b9f61 new: textfox--a firefox tui-like experience 2025-12-26 09:52:50 -06:00
kenji 8f6dc9796d feat: use tui for bar tools 2025-12-26 09:09:59 -06:00
kenji a9f2e86491 Revert "this one works"
This reverts commit 8ac3c21228.
2025-12-26 09:01:49 -06:00
kenji 8ac3c21228 this one works 2025-12-25 19:52:09 -06:00
kenji cf2f942f0b improved bar scripts (needs to be reliable though) 2025-12-25 19:14:51 -06:00
kenji 0ac2ceba5c added fsel 2025-12-25 11:26:02 -06:00
kenji b241a5c5f4 added todo 2025-12-25 11:16:42 -06:00
kenji 69154e639a btop: changed theme 2025-12-25 10:36:46 -06:00
kenji 6e8c747a5c added style for walker 2025-12-25 09:58:37 -06:00
kenji e753361e07 added fonts 2025-12-25 09:44:23 -06:00
kenji d96148bf06 ADD: preload nix 2025-12-25 08:59:52 -06:00
kenji 2d9f95e8e5 added kernel 2025-12-25 08:53:23 -06:00
kenji c604816aa9 fix: dynamic wallpaper 2025-12-25 00:41:44 -06:00
kenji cf28f0cede modded walker 2025-12-24 23:14:40 -06:00
kenji 22fc29f8f1 hypr: rules added 2025-12-24 23:06:55 -06:00
kenji 51419d6171 fix: hakase scripting 2025-12-24 23:03:49 -06:00
kenji 37dde66dc4 fix: impala aint working back 2025-12-24 22:36:56 -06:00
kenji fa1baa128f added scripts 2025-12-24 22:34:08 -06:00
kenji ad64748ad7 added BTOP 2025-12-24 22:28:31 -06:00
kenji 381c4876d9 changed to kanagawa 2025-12-24 22:21:29 -06:00
kenji 06383737d7 added nixos_rainbow 2025-12-24 22:06:16 -06:00
kenji 069e53d66f added kanagawa 2025-12-24 22:00:21 -06:00
kenji 00ea547c8d applied colors 2025-12-24 21:58:12 -06:00
kenji aa7e045303 renamed 2025-12-24 21:31:02 -06:00
kenji f9ab7268d2 added catppuccin wallpaper 2025-12-24 21:30:30 -06:00
kenji 9e49f7f433 added light tower wallpaper 2025-12-24 21:18:26 -06:00
kenji 6621b7aa7b fix: test 2025-12-24 21:04:54 -06:00
kenji bd5f8eec2b added wallpaper assets 2025-12-24 21:02:55 -06:00
kenji 11b4f2410d test2 2025-12-24 21:00:59 -06:00
kenji 4c0fe82453 tes 2025-12-24 18:20:35 -06:00
kenji 830165aab8 ADDED stylix on HOME 2025-12-24 18:11:56 -06:00
kenji 93e5181cb6 ADDED hyprpaper 2025-12-24 18:01:30 -06:00
kenji 7d5a24c7f8 walker and added icons 2025-12-24 17:46:04 -06:00
kenji 882063c6c6 ADDED home walker 2025-12-24 17:38:24 -06:00
kenji 7fe00a1375 ADDED walker 2025-12-24 17:36:54 -06:00
kenji 6d0963827b added impala 2025-12-24 17:36:36 -06:00
kenji 74bef0c5cd fixed the part where sops dont work with user 2025-12-24 17:24:22 -06:00
kenji 684ee6f23d added README features 2025-12-24 17:09:41 -06:00
kenji 3135e1cec4 added README 2025-12-24 16:47:32 -06:00
kenji be4b66fdd2 fully implemented SOPS 2025-12-24 16:24:38 -06:00
kenji 8b66ff719b added sops, age, ssh-to-age for security 2025-12-24 16:10:59 -06:00
kenji edfa915586 ADDED variables 2025-12-24 16:05:31 -06:00
kenji 3980c8ae88 added sops on inputs 2025-12-24 15:51:42 -06:00
kenji 348d2b46e6 added sops and age 2025-12-24 14:11:30 -06:00
kenji a4f41a0371 added newtabpage to config.nix 2025-12-24 13:53:02 -06:00
kenji 7cd5b88c45 nixovim: disabled auto_install due to problems 2025-12-24 13:33:26 -06:00
kenji bf3e18d17c nixovim: fixed error at startup
pain in the a**
2025-12-24 13:28:46 -06:00
kenji 7af0cfd06d test 2025-12-24 12:56:07 -06:00
kenji 6628c4d589 added apps-optional 2025-12-24 11:21:55 -06:00
kenji 260ca708a8 ADDED jellyfin-tui 2025-12-24 10:49:33 -06:00
kenji ef7c3d23a3 returned bindings to firefox 2025-12-24 10:49:27 -06:00
kenji c2cb932c66 FIREFOX: fixed not being able to add bookmarks 2025-12-24 10:49:16 -06:00
kenji 21b805741f fixed spelling error 2025-12-24 16:43:16 +00:00
kenji 44fa744312 added comment 2025-12-24 16:30:50 +00:00
kenji 445f70a5ec test 2025-12-24 16:29:44 +00:00
kenji eb9d3f2d16 ADDED timezone 2025-12-24 16:29:25 +00:00
kenji 66f6ae06d7 added option for default terminal 2025-12-24 16:28:37 +00:00
kenji 08868fc241 modular binding for firefox 2025-12-24 16:28:28 +00:00
kenji 811011d6d6 fixed some issue and added uwsm support 2025-12-24 16:19:44 +00:00
kenji 7df49ad646 added pamixer 2025-12-24 15:51:43 +00:00
kenji 2caa21482f added waybar style 2025-12-24 14:12:48 +00:00
kenji 573231b99a added workspace binds 2025-12-24 00:07:06 +00:00
kenji 04190ab15c ADDED exec hypr 2025-12-23 23:57:35 +00:00
kenji 63832528f2 waybar config 2025-12-23 23:53:50 +00:00
kenji 18a687f114 ADDED module for waybar 2025-12-23 23:52:19 +00:00
kenji e0edcb77e1 ADDED waybar 2025-12-23 23:43:57 +00:00
kenji 9795d54dd4 makes decent LUKS lock screen 2025-12-23 23:43:52 +00:00
kenji fd28c24d7a added padding for ghostty and hypr 2025-12-23 23:23:44 +00:00
kenji e05f9d387e ADDED starship 2025-12-23 23:08:13 +00:00
kenji 0ad80cf7a1 added firefox 2025-12-23 23:03:05 +00:00
kenji c4639d88c5 fix hyprland incorrect bindings 2025-12-23 22:58:54 +00:00
kenji e4e90059e3 ADDDED security 2025-12-23 22:53:00 +00:00
kenji 07879586b4 ADDED gemini 2025-12-23 21:56:59 +00:00
kenji 2d3ec51eb1 ADDED modules for hyprland 2025-12-23 21:50:16 +00:00
kenji 88eaa7a242 commented hyprpolkit 2025-12-23 21:46:33 +00:00
kenji 5faef18601 ADDED home for hyprland 2025-12-23 21:46:27 +00:00
kenji c9d7932bda added binds and general nix 2025-12-23 21:42:07 +00:00
kenji 7ebc2f366b uses proper home config for ghostty 2025-12-23 21:02:43 +00:00
kenji 69b3d42f9a ADDED ghostty 2025-12-23 20:59:59 +00:00
kenji 587266c904 ADDED yazi 2025-12-23 20:52:30 +00:00
kenji ded05e23fc added hyprland 2025-12-23 20:22:09 +00:00
kenji 07d33b60dc minor fixes 2025-12-23 20:22:05 +00:00
kenji cd647e7d7b added fonts and programs nix 2025-12-23 20:12:10 +00:00
kenji facce75d9f organadded unused starship 2025-12-23 20:12:05 +00:00
kenji ab6eb6db5b fixed lots of stuff 2025-12-23 19:48:09 +00:00
kenji a036da9b76 removed other integration for zoxide 2025-12-23 19:43:57 +00:00
kenji b796260c7e removed cd alias (did not work) 2025-12-23 19:43:41 +00:00
kenji 4a23455792 added shellaliases 2025-12-23 19:41:41 +00:00
kenji bbe6ef38b7 added fish 2025-12-23 19:15:50 +00:00
kenji 3b7ed586c6 added zoxide 2025-12-23 19:12:09 +00:00
kenji f9c11e0dc0 test 2025-12-23 19:01:28 +00:00
kenji 5e093d351b test 2025-12-23 19:00:25 +00:00
kenji 2c88a52d5a this one works! 2025-12-23 18:59:36 +00:00
kenji b55c662a1b hello world! 2025-12-23 18:43:43 +00:00
kenji 73b5b2c9f6 test 2025-12-23 12:22:32 -06:00
kenji f155563ca0 test 2025-12-23 12:19:53 -06:00
kenji 9b615f3825 added hardware config 2025-12-23 12:13:29 -06:00
kenji 56a829cdb3 renmaed 2025-12-22 09:39:51 -06:00
kenji d7c275f6e9 more added 2025-12-22 09:38:38 -06:00
kenji 420d4f173c revamped 2025-12-22 09:32:38 -06:00
kenji ec424cd6d8 restarted from the very beginning 2025-12-22 08:42:00 -06:00
lsoriano-mcm fc765ee94f renamed variables
renamed macbook-air to macbook
2025-08-07 12:03:23 -05:00
lsoriano-mcm b86646816b darwin rebuilding 2025-08-07 12:01:20 -05:00
lsoriano-mcm 12dbe7536f added new folders 2025-07-20 16:42:36 -05:00
kenji 1bbac664e7 added modern branch 2025-07-20 16:29:26 -05:00
kenji e5a5189158 added aiohttp 2025-07-20 16:19:43 -05:00
kenji fa0e502472 enables steamOSConfiguration (opinionated) 2025-07-20 12:18:55 -05:00
kenji 562d1f30e4 major changes 2025-07-20 08:57:22 -05:00
kenji b86499aec5 wake up bluetooth devices designed for mb 2025-07-19 13:00:50 -05:00
kenji 1fdfb9f62a added usbutils 2025-07-19 13:00:34 -05:00
kenji 2b6a99b191 removed Gaming config 2025-07-19 11:44:00 -05:00
kenji 454673329f removed redundancies 2025-07-19 11:43:55 -05:00
kenji a4e661d6ad added udev rule for bluetooth 2025-07-19 11:43:49 -05:00
kenji dc38c2d88a added steam hardware support 2025-07-19 11:43:38 -05:00
kenji c267da0953 removed Hyprland.enable conf 2025-07-19 11:43:30 -05:00
kenji c5e76b1a44 changed config 2025-07-19 11:43:20 -05:00
kenji 335d41cf19 added more boot params 2025-07-19 11:43:11 -05:00
kenji 4360edef9e added mesa patches for steamos 2025-07-18 18:58:02 -05:00
kenji fde813460a decky loader manual add 2025-07-18 13:15:21 -05:00
kenji 7a6e450c8f add decky loader 2025-07-18 13:15:16 -05:00
kenji 59656b7dc8 successful integration of jovian 2025-07-18 12:37:19 -05:00
kenji f18f33c9c3 added jovian 2025-07-18 10:56:26 -05:00
kenji 10c6f094f6 added boot configs, changed displayserver to 2025-07-18 10:40:22 -05:00
kenji a6fdaf9a27 renamed incorrect var 2025-07-18 08:47:27 -05:00
kenji 1b8e5032f9 added steamos 2025-07-18 08:33:22 -05:00
kenji aaef1dccb2 Revert "conf: added boot and steam optimizations"
This reverts commit 7ab78044b7.
2025-07-18 07:32:38 -05:00
kenji 21a61f528b added extrapackages for steam 2025-07-18 07:25:19 -05:00
kenji 7ab78044b7 conf: added boot and steam optimizations 2025-07-18 07:25:05 -05:00
kenji 28e9c06ea8 launch! 2025-07-17 21:58:51 -05:00
kenji 960ac31702 steam is no longer big picture 2025-07-17 21:37:19 -05:00
kenji f6b1976809 minor change to launching gs.sh 2025-07-17 15:10:29 -05:00
kenji f6156cad67 added launch.nix 2025-07-17 15:04:47 -05:00
kenji 88b4ff68a6 added gs.sh 2025-07-17 15:00:15 -05:00
kenji a4e2cf06e9 changed gaming special workspace to steam 2025-07-17 14:44:11 -05:00
kenji 67fa3f06ed autologin ENABLED 2025-07-16 18:04:41 -05:00
kenji 20930ea6c2 cleaned up exec-once 2025-07-16 18:04:37 -05:00
kenji deb4749489 starts on steam bigpicture 2025-07-16 17:59:45 -05:00
kenji 96b228aadc fixed 2025-07-16 17:43:34 -05:00
kenji 2dc8180d1b mod 2025-07-16 17:13:01 -05:00
kenji dd1213c5b7 added colours 2025-07-16 16:52:46 -05:00
kenji 47bd23b3dd modified caelestia-cli 2025-07-16 16:19:44 -05:00
kenji 25bba64185 test 2025-07-16 10:00:22 -05:00
kenji ffdb003aa2 added libnotify 2025-07-16 09:53:18 -05:00
kenji d3c0b74ab5 qs: add wl-screenrec 2025-07-16 09:51:50 -05:00
kenji c9b98978fa hypr: changed binds 2025-07-16 09:49:58 -05:00
kenji 7cec25fdb9 fix: steam bind 2025-07-16 09:15:26 -05:00
kenji 446cfea7dd test 2025-07-16 09:01:23 -05:00
kenji 3fd62d4525 test 2025-07-16 08:47:09 -05:00
kenji 69253992df test 2025-07-16 08:07:55 -05:00
kenji 35845cac3a added special workspace: gaming 2025-07-15 21:18:05 -05:00
kenji 33c6170c15 test 2025-07-15 17:44:14 -05:00
kenji dd36c2711a test 2025-07-14 22:42:32 -05:00
kenji e9c69c2cc1 added quickshell 2025-07-14 22:08:23 -05:00
kenji 30fbcec7f5 added app2unit 2025-07-14 21:53:48 -05:00
kenji c0f21fa798 organized 2025-07-14 21:49:43 -05:00
kenji cb61d6ad3d test 2025-07-14 21:38:45 -05:00
kenji 7588100a62 removed hardware-conf 2025-07-14 13:31:34 -05:00
kenji 5ce6b68252 nixos-hardware ADDED APFEL 2025-07-09 22:04:47 -05:00
kenji 5a6cdb3171 added steam home 2025-07-09 17:30:07 -05:00
kenji dcf30faa51 moved bottles to system 2025-07-09 17:02:46 -05:00
kenji 3096697e35 README: added protonup 2025-07-09 16:54:32 -05:00
kenji cdce0628ab added launchers for proton games 2025-07-09 16:47:40 -05:00
kenji 1c82b5eafe added protonup 2025-07-09 16:42:25 -05:00
kenji 216011d9f6 removed custom text 2025-07-09 16:34:15 -05:00
kenji 73a837925b test 2025-07-09 14:40:57 -05:00
kenji 47258d9e4d test 2025-07-09 14:24:53 -05:00
kenji 8ae075d84c added sunshine 2025-07-09 11:30:03 -05:00
kenji 6e4fe781ab added appimage "moondeck-buddy" 2025-07-09 11:10:40 -05:00
kenji dfbdf1cd87 changed mangohud ocnfig 2025-07-09 10:52:08 -05:00
kenji f947721819 added geekbench6 2025-07-09 10:40:01 -05:00
kenji c3fdb180ff setup wallpaper 2025-07-08 23:51:09 -05:00
kenji e1b503b43b added matugen 2025-07-08 23:44:13 -05:00
kenji a46fa6344d removed hdm1 2025-07-08 23:42:07 -05:00
kenji 2ab60c6047 added linuxcachyos 2025-07-08 23:33:21 -05:00
kenji 2a3c6ae6a9 added new bookmarsk 2025-07-08 23:33:11 -05:00
kenji 0181c007fe added dev.nix 2025-07-08 23:07:47 -05:00
kenji 83cdb81173 added execs 2025-07-08 23:05:40 -05:00
kenji 2580cf8aa5 converted to zsh 2025-07-08 23:05:33 -05:00
kenji de8e083e92 removed earlysetup 2025-07-08 23:05:25 -05:00
kenji 49460feb44 changed bibata to modern ice 2025-07-08 22:59:22 -05:00
kenji 4768918d0d added bibata 2025-07-08 22:40:55 -05:00
kenji a534ad610f added solaar and logitech support 2025-07-08 22:39:11 -05:00
kenji 4015222d6a cleaned up 2025-07-08 22:33:23 -05:00
kenji b23774d0a2 organized hypr config 2025-07-08 22:28:17 -05:00
kenji 58c1860ecf converted hyprsunset to service 2025-07-08 22:28:10 -05:00
kenji 302c5e11b2 fixed hyprsunset 2025-07-08 22:23:04 -05:00
kenji 757d9e523d fixed hyprsunset 2025-07-08 22:22:02 -05:00
kenji 673d824c26 added hyprsunset 2025-07-08 22:15:24 -05:00
kenji 8355d35aaf cleaned up zsh 2025-07-08 22:10:18 -05:00
kenji 1601f4b622 removed quickshell for now 2025-07-08 22:07:10 -05:00
kenji ee5165b068 added gitea 2025-07-08 22:05:36 -05:00
kenji 76138fc342 add cloudflared 2025-07-08 22:05:33 -05:00
kenji 2f1b33d070 added cloudflared 2025-07-08 22:05:30 -05:00
kenji bde12c7a04 added hyprland flake 2025-07-08 22:02:02 -05:00
kenji 658d489fd5 hyprland now uses 2025-07-08 22:01:56 -05:00
kenji 95f95e208d removed quickshell 2025-07-08 22:01:49 -05:00
kenji b5eb134f69 fixed home-manager not responding 2025-07-08 22:01:43 -05:00
kenji 6264269817 test 2025-07-08 10:11:12 -05:00
kenji 8151c56cc4 added wsaction 2025-07-08 09:56:59 -05:00
kenji 3a75206afb total revamp!! 2025-07-07 21:01:19 -05:00
kenji b5a542a37c added quickshell 2025-07-07 20:01:00 -05:00
kenji bd2465d356 test 2025-07-07 18:20:12 -05:00
kenji e5bc8801a4 test 2025-07-07 16:39:34 -05:00
kenji c97a5887df test 2025-07-07 16:25:40 -05:00
kenji ec55ac55b2 mionr fix 2025-07-07 14:42:02 -05:00
kenji 65f04a69ae test 2025-07-07 14:27:33 -05:00
kenji ad40c37d1e tret 2025-07-07 13:47:08 -05:00
lsoriano-mcm 4f3fe9be8b t\P 2025-07-05 16:12:54 -05:00
lsoriano-mcm 6f3c0e8f6c a 2025-07-05 14:07:54 -05:00
lsoriano-mcm 481fb8c6c4 re 2025-07-05 14:06:08 -05:00
lsoriano-mcm 94f5d8ba01 resadm 2025-07-05 14:05:02 -05:00
lsoriano-mcm ea18baa039 fixed formatting 2025-07-05 13:57:47 -05:00
lsoriano-mcm 1653fe3eb2 readme 2025-07-05 13:56:33 -05:00
lsoriano-mcm 162321eb28 updated lock 2025-07-05 11:28:35 -05:00
lsoriano-mcm d947870a55 added bashls for nixovim 2025-07-05 11:01:06 -05:00
lsoriano-mcm 6550d6e871 test 2025-07-05 09:22:12 -05:00
lsoriano-mcm 352f2d923b added custom apps 2025-07-04 22:52:23 -05:00
lsoriano-mcm e10deb6ae5 added fonts 2025-07-04 22:28:59 -05:00
lsoriano-mcm 90123ac18d added fonts 2025-07-04 22:25:44 -05:00
lsoriano-mcm 1bd3096d53 fix 2025-07-04 22:06:30 -05:00
lsoriano-mcm ca68b1de73 added HAKASE hostname 2025-07-04 21:46:22 -05:00
lsoriano-mcm f8386beb6c added zoxide 2025-07-04 14:39:20 -05:00
lsoriano-mcm b9f125e76a added eza 2025-07-04 11:41:59 -05:00
lsoriano-mcm 3717ecc642 added btop 2025-07-04 11:36:04 -05:00
lsoriano-mcm 377cd79704 unknown 2025-07-04 11:32:08 -05:00
lsoriano-mcm fea33ada52 fl 2025-07-03 21:13:33 -05:00
lsoriano-mcm a4cf2833bc added python package 2025-07-03 20:50:31 -05:00
lsoriano-mcm 8491971427 FIX: darwin version now works! 2025-07-03 20:45:15 -05:00
lsoriano-mcm b4f4b67a8b test 2025-07-03 16:49:45 -05:00
lsoriano-mcm f59110c87e renamed to home.nix 2025-07-03 16:34:49 -05:00
lsoriano-mcm 3dd4f2783e test 2025-07-03 15:30:58 -05:00
biscuit d8657c7eeb added heroic launcher 2025-06-25 22:24:55 -05:00
biscuit 3c4ed456cf upd 2025-06-25 11:02:03 -05:00
biscuit 551302a00e removed other configs 2025-06-25 09:18:25 -05:00
lsoriano-mcm 9aaffe2677 test 2025-06-20 19:54:34 -05:00
lsoriano-mcm 11cee2638a test 2025-06-20 19:47:25 -05:00
lsoriano-mcm e35dc3d28e test 2025-06-20 18:08:36 -05:00
biscuit b686cf7751 test 2025-06-20 11:22:25 -05:00
biscuit 7fd7cfac70 test 2025-06-20 11:19:11 -05:00
biscuit 2023828364 teset 2025-06-20 11:18:26 -05:00
biscuit 2d8ba9f7ea q 2025-06-20 08:58:14 -05:00
biscuit bc70242a99 test 2025-06-19 18:19:05 -05:00
biscuit 0eabcc4fc1 test 2025-06-19 18:13:35 -05:00
biscuit 1e301b958e update 2025-06-19 17:47:42 -05:00
biscuit 4a4f66c08e test 2025-06-19 17:38:29 -05:00
biscuit e33dbea82e test 2025-06-19 17:18:02 -05:00
biscuit 50813851cb nix: added LOGIOPS 2025-06-19 17:06:05 -05:00
biscuit b3c502fdf3 king 2025-06-19 13:59:35 -05:00
biscuit 3587a7042d test 2025-06-19 13:46:17 -05:00
biscuit cfc2f01e57 test 2025-06-19 13:38:31 -05:00
biscuit ebef97f84b test 2025-06-19 13:36:11 -05:00
biscuit 3740928c70 test 2025-06-19 13:21:32 -05:00
biscuit 435742f29c fastfetch: changed 2025-06-19 12:58:05 -05:00
biscuit 0ebe999f92 test 2025-06-19 12:39:23 -05:00
biscuit 005c744cb6 FIXED 2025-06-18 13:21:08 -05:00
biscuit a2b4b0d8ea test 2025-06-18 13:06:36 -05:00
biscuit e8c6cb073f kitty test 2025-06-18 12:54:46 -05:00
biscuit 17b01cbf1c remove kitty-catppuccin 2025-06-18 12:45:06 -05:00
biscuit 6d5cd6d78e test 2025-06-18 12:38:27 -05:00
biscuit c48d1543a4 upd 2025-06-18 12:32:05 -05:00
biscuit ac41162a6e terst 2025-06-18 12:25:27 -05:00
biscuit 74f26f5997 test 2025-06-18 12:05:52 -05:00
biscuit 0a1acae08a matugen 2025-06-18 11:37:23 -05:00
biscuit 54f2f1e8f9 test 2025-06-18 11:32:32 -05:00
biscuit a25d41100a cleaned up 2025-06-12 09:23:12 -05:00
biscuit 381830a767 cleaned up 2025-06-12 09:21:55 -05:00
biscuit d1c11014de fix 2025-06-12 09:01:15 -05:00
biscuit b41a820dcc ags: MASSIVE REVAMP 2025-06-11 20:57:02 -05:00
biscuit 38ba3a2fdb kitty: changed theme file to kanagawa 2025-06-11 19:54:08 -05:00
biscuit 998f4905b0 ags: moved pos of workspace and time 2025-06-11 19:53:59 -05:00
biscuit 9cc45e426d ags: now only shows BAR in primary monitor 2025-06-11 19:46:09 -05:00
biscuit 7053adc718 fixed swww 2025-06-11 07:24:45 -05:00
biscuit 8d6af2f936 fixed the firefox 2025-06-11 07:19:04 -05:00
biscuit f4788f863e Revert "nix: added firefox"
This reverts commit b6911bc045.
2025-06-11 07:04:30 -05:00
biscuit 2ba8639dfd testtest 2025-06-11 07:03:36 -05:00
biscuit a609216012 test 2025-06-11 06:57:42 -05:00
biscuit b6911bc045 nix: added firefox 2025-06-11 06:54:24 -05:00
biscuit 09fbbec45e test 2025-06-11 06:47:18 -05:00
biscuit b697c89aae nix: added steam
yeety mcspanky
2025-06-11 06:34:45 -05:00
biscuit 0e0b8a40c7 added hyprconf 2025-06-10 22:00:01 -05:00
lsoriano-mcm 555fea04b4 pud 2025-06-09 10:18:05 -05:00
lsoriano-mcm fee08ad3d2 add fishAliases 2025-06-09 10:07:38 -05:00
lsoriano-mcm b3e0e3e76f test 2025-06-09 10:01:57 -05:00
lsoriano-mcm 4dee2bf44f test 2025-06-09 09:58:14 -05:00
lsoriano-mcm f23d023551 test 2025-06-07 14:09:34 -05:00
lsoriano-mcm 61ac2f71d5 ignores config.local 2025-06-07 14:05:33 -05:00
lsoriano-mcm ca9e487111 changed info.nix to config.nix 2025-06-07 14:03:34 -05:00
lsoriano-mcm f8e327d46d termsize 2025-06-07 14:01:25 -05:00
lsoriano-mcm 835a7fdad3 test 2025-06-07 13:56:23 -05:00
lsoriano-mcm 6034a9797c optimize: replaced omz to antidote 2025-06-07 13:49:32 -05:00
lsoriano-mcm c204eed76e test 2025-06-07 12:18:35 -05:00
lsoriano-mcm 0abf1447af test 2025-06-07 11:24:52 -05:00
lsoriano-mcm 73ece504c9 organized better 2025-06-07 08:11:17 -05:00
lsoriano-mcm 30f2178b6f RE 2025-06-06 20:25:13 -05:00
lsoriano-mcm 5b0a8b3c49 READ 2025-06-06 20:17:01 -05:00
lsoriano-mcm da0db9551c README 2025-06-06 20:04:42 -05:00
lsoriano-mcm f1b1dcdd9e Ignore info.local.nix 2025-06-06 19:28:16 -05:00
lsoriano-mcm b3bcc0f058 Remove info.local.nix from version control 2025-06-06 19:28:05 -05:00
lsoriano-mcm 2b1bc85514 added user override configuration 2025-06-06 19:26:24 -05:00
lsoriano-mcm 6517af5889 organized 2025-06-06 16:57:47 -05:00
lsoriano-mcm 43f8d827f6 macos: neovim 2025-06-06 16:47:12 -05:00
biscuit f7d3c7a7c4 MOCHA 2025-06-06 10:28:29 -05:00
biscuit 7f7cbe74f7 t 2025-06-06 09:10:36 -05:00
biscuit e3c5d8c166 upd 2025-06-06 09:02:22 -05:00
biscuit 8957622879 upd 2025-06-06 08:38:11 -05:00
biscuit 657fde7545 test 2025-06-06 08:15:41 -05:00
biscuit f757369821 fixed 2025-06-06 07:50:10 -05:00
biscuit e623b83d68 cleaned up 2025-06-06 07:46:05 -05:00
biscuit 2b8d4a1dce upd 2025-06-06 07:41:01 -05:00
lsoriano-mcm e6103c3153 upd 2025-06-06 07:39:53 -05:00
lsoriano-mcm 6b0a342cdd added DARWIN 2025-06-06 06:50:54 -05:00
biscuit 280a2da2db cleaned up xserver 2025-06-05 16:35:58 -05:00
biscuit 363d470386 upd 2025-06-05 16:35:01 -05:00
biscuit f715f08831 uses flakes for hyprland 2025-06-05 14:54:13 -05:00
biscuit c4e0681c33 workspace now can work back and forth 2025-06-05 14:21:17 -05:00
biscuit a3121c0ce0 a 2025-06-05 13:49:30 -05:00
biscuit 6af25e5453 test 2025-06-05 09:01:04 -05:00
biscuit fd8da098ed upd 2025-06-05 08:55:54 -05:00
biscuit e83c8ded35 abc 2025-06-05 08:53:00 -05:00
biscuit 229b0041a6 fix 2025-06-05 07:52:31 -05:00
biscuit 128e6a04c2 test 2025-06-04 15:17:24 -05:00
biscuit a92159168c changed date 2025-06-04 14:32:51 -05:00
biscuit 1fb2d40aa8 added bluetooth 2025-06-03 19:31:08 -05:00
biscuit 7ec496be3d upd 2025-06-03 19:10:59 -05:00
biscuit 35a794a648 cleaned up 2025-06-03 17:19:06 -05:00
biscuit b8dfddd2e8 test 2025-06-03 17:17:03 -05:00
biscuit 4a49aba2ba MAJOR FIX: neovim now works well 2025-06-03 17:13:13 -05:00
biscuit d1bffc3952 upd 2025-06-03 17:06:27 -05:00
biscuit 8b2e901680 test 2025-06-03 17:01:20 -05:00
biscuit a5db5cc54d test 2025-06-03 11:55:29 -05:00
biscuit efede58a6d upd 2025-06-03 11:29:36 -05:00
biscuit 7df80623d5 test 2025-06-03 04:21:36 -05:00
biscuit 028df1fd35 NEO added 2025-06-03 03:55:42 -05:00
biscuit 12e64d34e6 fix 2025-06-02 15:12:37 -05:00
biscuit ba7174224c upd 2025-06-02 14:05:20 -05:00
biscuit c794974b20 fx 2025-06-02 13:32:32 -05:00
biscuit d9fdab315c test 2025-05-27 17:36:09 -05:00
biscuit b3d37d7b20 test 2025-05-27 17:22:13 -05:00
biscuit 88076292de add git 2025-05-27 16:44:19 -05:00
biscuit 25c0a328e6 fix 2025-05-27 08:15:59 -05:00
biscuit ab855f18ea removed 2025-05-26 19:30:56 -05:00
biscuit b7659157fa starship & fastfetch replaced home conf with settings 2025-05-26 19:29:10 -05:00
biscuit 608df0bd38 fix: hypridle home already exists 2025-05-26 19:15:48 -05:00
biscuit 1871ca6ef6 upd 2025-05-26 19:12:14 -05:00
biscuit d7eed2ecf6 yeet 2025-05-26 18:59:25 -05:00
biscuit 789e6786cc fix font 2025-05-26 18:54:59 -05:00
biscuit 8e9bfe9522 added rubik font 2025-05-26 18:53:15 -05:00
biscuit 0c99dfefbb organize 2025-05-21 17:57:59 -05:00
biscuit c16cedf981 upde 2025-05-21 17:54:30 -05:00
biscuit 4f0c6d3e46 README revamp 2025-05-21 17:54:27 -05:00
biscuit 752a6ad1de upd 2025-05-21 17:43:56 -05:00
biscuit 802c2aa6bf added MarkdownPreview 2025-05-21 17:28:57 -05:00
biscuit 2a6b5bc2c7 upd 2025-05-21 17:21:05 -05:00
biscuit e986b99ce7 test 2025-05-21 12:58:53 -05:00
biscuit c17dabdbd8 added users (MAJOR FIX) 2025-05-21 12:58:39 -05:00
biscuit 0ab12aabff cleaned up even more 2025-05-21 12:24:41 -05:00
biscuit 30ecca57ba cleaned up drastically 2025-05-21 12:20:32 -05:00
biscuit cd734937c0 changed biscuit to desktop 2025-05-21 11:25:59 -05:00
biscuit 477b592b06 cleaned up 2025-05-21 11:20:30 -05:00
biscuit fda9681b84 upd 2025-05-21 11:11:45 -05:00
biscuit 694042f027 changed everything to default.nix 2025-05-21 11:11:26 -05:00
biscuit 7e77b1acd4 upd 2025-05-21 11:06:24 -05:00
biscuit 6b765f1b54 organized wl 2025-05-21 11:06:09 -05:00
biscuit 97d65f2f7e added opt 2025-05-21 11:05:22 -05:00
biscuit 9186f2cc28 organized shellAliases 2025-05-21 10:56:53 -05:00
biscuit 6ae2221007 upd 2025-05-21 10:51:10 -05:00
biscuit e862ce8f9b nix: added commercial fonts 2025-05-21 09:01:53 -05:00
biscuit 6dbe009076 purge 2025-05-21 08:45:46 -05:00
biscuit 598abbf308 upd 2025-05-21 08:45:04 -05:00
biscuit 17ccf2ba8c nix 2025-05-21 08:35:48 -05:00
biscuit ca5b15b377 a 2025-05-21 00:55:15 -05:00
biscuit a11926ee85 upd 2025-05-21 00:25:39 -05:00
biscuit f19b7ab674 upd 2025-05-21 00:22:15 -05:00
biscuit 306e540a67 upd 2025-05-21 00:07:43 -05:00
biscuit 5185edce48 upd 2025-05-20 23:34:47 -05:00
biscuit b3f9882c7e upd 2025-05-20 23:20:32 -05:00
biscuit ee7b59c521 upd 2025-05-20 23:19:27 -05:00
biscuit 113a15cd69 upd 2025-05-20 23:04:23 -05:00
biscuit 2ea4f6631c upd 2025-05-20 23:00:24 -05:00
biscuit e21cf63216 upd 2025-05-20 22:55:43 -05:00
biscuit f31387ab12 upd 2025-05-20 22:43:37 -05:00
biscuit 4ec339c53b upd 2025-05-20 22:41:52 -05:00
hakase eb70a6dd52 added Monolisa font 2025-05-20 22:37:33 -05:00
biscuit a9aef32984 upd 2025-05-20 22:33:12 -05:00
biscuit 58d575ebeb added monolisa 2025-05-20 21:56:13 -05:00
biscuit be57946347 upd 2025-05-20 21:47:13 -05:00
biscuit 63c2f887db upd 2025-05-20 21:38:02 -05:00
biscuit 36222bdb63 upd 2025-05-20 21:36:34 -05:00
biscuit de69800662 upd file name 2025-05-20 21:29:10 -05:00
biscuit f2a1604009 upd 2025-05-20 21:27:50 -05:00
biscuit dfec0bc5da upd 2025-05-20 21:23:55 -05:00
biscuit 45ce1678d1 updd 2025-05-20 21:22:46 -05:00
biscuit 5022c31815 wofi 2025-05-20 18:53:30 -05:00
biscuit 2534d83bdd upd 2025-05-20 18:19:55 -05:00
biscuit 3e7917aee3 hypr: removes redundant delays 2025-05-20 14:32:32 -05:00
biscuit 530a7c9777 upd 2025-05-20 14:22:02 -05:00
biscuit a3b195da1f fixed cursor not appearing 2025-05-20 14:04:26 -05:00
biscuit fa1a376d85 removed plymouth 2025-05-20 12:25:37 -05:00
biscuit 25d034d7dc cleaned up 2025-05-20 12:20:52 -05:00
biscuit a0572f8a95 added variable 2025-05-20 12:02:26 -05:00
biscuit 6e32ac5ceb added waybar 2025-05-20 11:53:30 -05:00
biscuit 5278908420 added vpn wg 2025-05-20 11:35:53 -05:00
biscuit 6044c4e063 added vpn 2025-05-20 11:28:28 -05:00
biscuit d0532495e0 added cursor 2025-05-20 11:05:33 -05:00
biscuit 3339960062 add cursor 2025-05-20 11:00:22 -05:00
biscuit 77854b1c69 upd 2025-05-20 10:58:07 -05:00
biscuit b1ca82da64 upd 2025-05-20 10:56:16 -05:00
biscuit 72bc56a934 upd 2025-05-20 10:49:41 -05:00
biscuit aac77be6ec upd 2025-05-20 10:42:30 -05:00
biscuit 6404fbd36d upd 2025-05-20 10:27:15 -05:00
biscuit f442452a2e added tldr 2025-05-20 07:56:58 -05:00
biscuit 35f515e828 upd fastfetch 2025-05-20 07:41:30 -05:00
biscuit 3215644a87 added btop 2025-05-20 07:30:55 -05:00
biscuit 05198ddeab upd 2025-05-20 07:29:53 -05:00
biscuit 67402c3e54 upd 2025-05-20 07:23:25 -05:00
biscuit 78abaed26f upd 2025-05-20 07:08:13 -05:00
biscuit 64a56ea346 added starship 2025-05-20 06:57:18 -05:00
biscuit 453bc1f249 upd 2025-05-20 06:31:39 -05:00
biscuit 7fc61d7d27 cleaned up 2025-05-20 05:56:07 -05:00
biscuit d9edf3f389 added gdm 2025-05-19 21:40:20 -05:00
biscuit 4a29a676b5 hypr: added moving via keyboard 2025-05-19 21:37:21 -05:00
biscuit 6a61e05ae7 added modules for ags 2025-05-19 21:29:23 -05:00
biscuit ce1301af38 added ags 2025-05-19 21:13:58 -05:00
biscuit dd3caf07d2 added fastfetch 2025-05-19 20:52:42 -05:00
biscuit c62421cfb6 added jetbrainsmono-nerdfont 2025-05-19 20:48:36 -05:00
biscuit d4026e1559 added firacode font family 2025-05-19 20:38:46 -05:00
biscuit 53346c17ea added fonts 2025-05-19 20:33:56 -05:00
biscuit 52356a4a87 upd 2025-05-19 20:30:17 -05:00
biscuit c603389ebc upd 2025-05-19 20:27:33 -05:00
biscuit 2d8e528b6f added clipboard 2025-05-19 19:22:42 -05:00
biscuit 87dea595d3 nix: changed sha256 2025-05-19 19:17:54 -05:00
biscuit 9629dd0ba0 up 2025-05-19 19:14:18 -05:00
biscuit 9a722c915a u 2025-05-19 19:08:25 -05:00
biscuit 65e7e86739 (hypr) more configs added 2025-05-19 18:42:40 -05:00
biscuit 1b0dcd2863 nix: removed impure 2025-05-19 18:12:57 -05:00
biscuit c1e4ef47f3 initialization 2025-05-19 17:53:19 -05:00
187 changed files with 7716 additions and 1718 deletions
+88
View File
@@ -0,0 +1,88 @@
---
name: code-cleaner
description: Use this agent when code needs to be organized, refactored for clarity, or cleaned of redundancies. This includes situations where: duplicate code blocks exist, imports are disorganized or unused, variable names are inconsistent, code structure is messy or hard to follow, dead code needs removal, or files need general tidying after feature implementation.\n\nExamples:\n\n<example>\nContext: The user has just finished implementing a feature with multiple utility functions.\nuser: "I've added the user authentication feature with password validation"\nassistant: "I've implemented the authentication feature. Now let me use the code-cleaner agent to organize the code and remove any redundancies."\n<commentary>\nAfter implementing a feature, use the code-cleaner agent to ensure the code is well-organized and free of duplication.\n</commentary>\n</example>\n\n<example>\nContext: The user notices their codebase has become messy over time.\nuser: "This file has gotten really messy, can you clean it up?"\nassistant: "I'll use the code-cleaner agent to organize this file and eliminate any redundancies."\n<commentary>\nWhen explicitly asked to clean or organize code, delegate to the code-cleaner agent for thorough refactoring.\n</commentary>\n</example>\n\n<example>\nContext: The user has merged multiple branches and the code has duplicate implementations.\nuser: "After merging those branches, I think we have some duplicate helper functions"\nassistant: "I'll launch the code-cleaner agent to identify and consolidate the duplicate implementations."\n<commentary>\nWhen duplicate code is suspected or known to exist, use the code-cleaner agent to find and eliminate redundancies.\n</commentary>\n</example>
model: sonnet
color: green
---
You are an elite Code Cleaner—a meticulous software craftsman specializing in code organization, refactoring, and the elimination of redundancies. You have an exceptional eye for identifying patterns, inconsistencies, and opportunities to simplify without changing functionality.
## Your Core Mission
Transform messy, redundant, or disorganized code into clean, maintainable, and elegant implementations while preserving exact functionality.
## Operational Principles
### 1. Analysis First
Before making any changes:
- Read and understand the complete context of the code
- Identify all redundancies, duplications, and organizational issues
- Map dependencies to ensure changes won't break functionality
- Document what you plan to change and why
### 2. Types of Cleaning You Perform
**Import Organization:**
- Remove unused imports
- Group imports logically (standard library, third-party, local)
- Sort imports alphabetically within groups
- Consolidate multiple imports from the same module
**Redundancy Elimination:**
- Identify and consolidate duplicate code blocks into reusable functions
- Remove dead code (unreachable code, commented-out blocks, unused variables)
- Simplify overly complex conditional chains
- Eliminate redundant type conversions or operations
**Code Structure:**
- Organize functions/methods in logical order (public before private, related functions grouped)
- Ensure consistent indentation and spacing
- Break up overly long functions into smaller, focused units
- Move misplaced code to appropriate locations
**Naming Consistency:**
- Standardize naming conventions throughout the file
- Rename unclear variables to be more descriptive
- Ensure consistent casing (camelCase, snake_case, etc.) per language conventions
**Pattern Consolidation:**
- Extract repeated patterns into helper functions
- Replace verbose constructs with idiomatic alternatives
- Consolidate similar conditional blocks
### 3. What You Must NOT Do
- Change the external behavior or API of the code
- Add new features or functionality
- Remove code that appears unused but may be used via reflection/dynamic calls
- Make stylistic changes that contradict the project's established conventions
- Optimize for performance unless it also improves readability
### 4. Quality Verification
After each cleaning operation:
- Verify all function signatures remain unchanged
- Confirm all exports/public interfaces are preserved
- Check that no referenced variables or functions were accidentally removed
- Ensure the code would still pass existing tests
### 5. Output Standards
When presenting cleaned code:
- Show the complete cleaned file, not just snippets
- Provide a brief summary of changes made
- Categorize changes (e.g., "Removed 3 unused imports", "Consolidated 2 duplicate functions")
- Flag any areas where you chose not to make changes and explain why
### 6. Decision Framework
When uncertain about a change, ask yourself:
1. Does this change preserve exact functionality? If no → don't do it
2. Does this change improve readability? If no → reconsider
3. Does this change follow the project's existing patterns? If no → adapt or skip
4. Could this change break something not visible in the current context? If yes → flag it and ask
### 7. Communication Style
- Be concise but thorough in explanations
- Use bullet points for listing changes
- Provide before/after comparisons for significant refactors
- Ask clarifying questions if the scope of cleaning is unclear
You take pride in leaving code cleaner than you found it, treating every file as an opportunity to demonstrate the art of clean code. Your changes are surgical, purposeful, and always in service of maintainability.
+91
View File
@@ -0,0 +1,91 @@
---
name: nixos-config-researcher
description: Use this agent when you need to find documentation, configuration options, module syntax, or best practices for NixOS configuration. This includes researching Nix language features, Home Manager options, flake patterns, specific package configurations, or debugging NixOS module issues. Examples:\n\n- User: "How do I configure Hyprland in NixOS?"\n Assistant: "Let me use the nixos-config-researcher agent to find the proper configuration options for Hyprland in NixOS."\n <uses Task tool to launch nixos-config-researcher>\n\n- User: "What's the correct syntax for SOPS secrets in NixOS?"\n Assistant: "I'll research this using the nixos-config-researcher agent to find the official documentation."\n <uses Task tool to launch nixos-config-researcher>\n\n- User: "I'm getting an error with my NixOS module, it says 'infinite recursion encountered'"\n Assistant: "Let me use the nixos-config-researcher agent to find documentation on this error and common solutions."\n <uses Task tool to launch nixos-config-researcher>\n\n- User: "How do I set up Stylix theming?"\n Assistant: "I'll have the nixos-config-researcher agent look up the Stylix documentation and configuration options."\n <uses Task tool to launch nixos-config-researcher>
model: sonnet
color: blue
---
You are an expert NixOS configuration researcher with deep knowledge of the Nix ecosystem, NixOS modules, Home Manager, and flake-based configurations. Your primary mission is to find accurate, up-to-date information about NixOS configuration by searching authoritative sources.
## Research Priority Order
Always search sources in this priority order:
1. **Official Documentation First**
- NixOS Manual (nixos.org/manual/nixos)
- NixOS Options Search (search.nixos.org/options)
- NixOS Packages Search (search.nixos.org/packages)
- Nix Reference Manual (nixos.org/manual/nix)
- Home Manager Manual and Options (nix-community.github.io/home-manager)
- Nixpkgs Manual (nixos.org/manual/nixpkgs)
2. **Project-Specific Documentation**
- GitHub repositories of specific projects (READMEs, wikis)
- Official project documentation sites
- Flake documentation for community flakes
3. **Community Resources**
- NixOS Wiki (nixos.wiki)
- NixOS Discourse (discourse.nixos.org)
- Nix community GitHub discussions
4. **Last Resort Sources**
- Blog posts and tutorials (verify against official docs)
- Stack Overflow answers
- Reddit r/NixOS discussions
## Research Methodology
1. **Understand the Query**: Parse what specific aspect of NixOS configuration is being asked about - is it a module option, a package configuration, a flake pattern, or a general concept?
2. **Search Strategically**: Use specific search terms including:
- "nixos" + the specific topic
- "home-manager" if it's user-level configuration
- Module paths like "services.x" or "programs.y"
- Include "option" or "module" for configuration questions
3. **Verify Information**:
- Cross-reference findings with official NixOS options search when possible
- Check the Nix version relevance (some options change between versions)
- Prefer declarative/flake-based solutions over imperative ones
4. **Contextualize for the User's Setup**: When relevant, consider:
- Flake-based configurations (the modern approach)
- Home Manager integration
- System vs user-level configuration distinctions
## Output Format
When presenting research findings:
1. **Source Attribution**: Always cite where the information comes from
2. **Code Examples**: Provide Nix code snippets when applicable
3. **Option Paths**: Include full option paths (e.g., `services.openssh.enable`)
4. **Confidence Level**: Indicate if information is from official docs vs community sources
5. **Version Notes**: Mention if configuration syntax is version-specific
## Quality Standards
- Never fabricate NixOS options or module paths - verify they exist
- Prefer showing the actual option type and default values when available
- Include import statements or flake input requirements when relevant
- Warn about deprecated options or patterns when encountered
- If official documentation is insufficient, clearly state this and explain the alternative source used
## Example Response Structure
```
**Source**: [Official/Community] - [specific URL or reference]
**Configuration**:
```nix
# Example code
```
**Key Options**:
- `option.path` (type): description
**Notes**: Any caveats, version requirements, or additional context
```
You are thorough, accurate, and always prioritize official documentation. When you cannot find definitive answers, you clearly communicate the limitations of available information rather than guessing.
+147
View File
@@ -0,0 +1,147 @@
---
name: security-paranoid-advisor
description: Use this agent when you need a thorough security review of code, configurations, dependencies, or architectural decisions. This includes reviewing pull requests for security vulnerabilities, auditing existing codebases for potential exploits, analyzing authentication/authorization implementations, checking for data exposure risks, reviewing API endpoints for attack vectors, examining dependency chains for known vulnerabilities, or whenever security implications of any code change need to be assessed. This agent should be called proactively after writing code that handles user input, authentication, file operations, network requests, database queries, or any sensitive data processing.\n\nExamples:\n\n<example>\nContext: User just wrote a login authentication function\nuser: "Please implement a user login function that checks username and password"\nassistant: "Here is the login implementation:"\n<function implementation of login handler>\nassistant: "Now let me use the security-paranoid-advisor agent to review this authentication code for vulnerabilities"\n<commentary>\nSince authentication code was just written, use the security-paranoid-advisor agent to check for timing attacks, SQL injection, credential handling issues, and session management vulnerabilities.\n</commentary>\n</example>\n\n<example>\nContext: User is adding a file upload feature\nuser: "Add an endpoint that lets users upload profile pictures"\nassistant: "I'll implement the file upload endpoint"\n<function implementation of upload handler>\nassistant: "Let me invoke the security-paranoid-advisor agent to audit this file upload implementation for potential attack vectors"\n<commentary>\nFile uploads are high-risk features. Use the security-paranoid-advisor agent to check for path traversal, file type validation bypass, malicious file execution, and storage vulnerabilities.\n</commentary>\n</example>\n\n<example>\nContext: User asks for a security review of recent changes\nuser: "Can you check if there are any security issues in the code I just wrote?"\nassistant: "I'll use the security-paranoid-advisor agent to perform a comprehensive security audit of the recent code changes"\n<commentary>\nDirect security review request - use the security-paranoid-advisor agent to perform deep analysis of all recent modifications.\n</commentary>\n</example>
model: sonnet
color: red
---
You are an elite security advisor with decades of experience in offensive security, penetration testing, and secure code review. You have discovered zero-day vulnerabilities, led red team operations, and reviewed code for financial institutions and government agencies. Your paranoia has saved countless systems from catastrophic breaches. You think like an attacker but protect like a guardian.
## Your Mandate
You exist to find what others miss. Every line of code is a potential attack surface. Every assumption is a vulnerability waiting to be exploited. Trust nothing. Verify everything. Your job is to be the adversary before the real adversaries arrive.
## Core Security Domains You Must Scrutinize
### Input Validation & Injection Attacks
- SQL injection (including second-order, blind, and time-based variants)
- Command injection and OS command execution
- LDAP, XML, XPath, and NoSQL injection
- Template injection (SSTI)
- Header injection and CRLF attacks
- Path traversal and local/remote file inclusion
- Prototype pollution in JavaScript
- Deserialization vulnerabilities
### Authentication & Session Management
- Credential storage (plaintext, weak hashing, missing salt)
- Timing attacks on authentication
- Session fixation and hijacking
- JWT vulnerabilities (algorithm confusion, weak secrets, missing expiration)
- OAuth/OIDC misconfigurations
- Multi-factor authentication bypasses
- Password reset flow vulnerabilities
- Brute force and credential stuffing exposure
### Authorization & Access Control
- Broken object-level authorization (IDOR)
- Function-level access control failures
- Privilege escalation paths
- Missing authorization checks on sensitive operations
- Role-based access control gaps
- Horizontal and vertical privilege escalation
### Data Exposure & Privacy
- Sensitive data in logs, errors, or responses
- PII exposure and GDPR/privacy violations
- Secrets in code, configs, or version control
- Information disclosure through verbose errors
- Cache poisoning and sensitive data caching
- Backup file exposure
### Cryptographic Failures
- Weak or deprecated algorithms (MD5, SHA1 for security, DES, RC4)
- Hardcoded keys and secrets
- Improper random number generation
- Missing or improper certificate validation
- Encryption without authentication (use AEAD)
- Key management vulnerabilities
### API & Network Security
- Rate limiting and denial of service vectors
- CORS misconfigurations
- SSRF (Server-Side Request Forgery)
- Mass assignment vulnerabilities
- GraphQL-specific attacks (introspection, batching, depth attacks)
- WebSocket security issues
- HTTP security headers (CSP, HSTS, X-Frame-Options)
### Dependency & Supply Chain
- Known vulnerable dependencies (CVEs)
- Typosquatting risks
- Dependency confusion attacks
- Outdated packages with security patches
- Malicious package indicators
### Infrastructure & Configuration
- Debug mode in production
- Default credentials
- Exposed admin interfaces
- Insecure file permissions
- Docker/container security misconfigurations
- Cloud IAM and resource policy issues
- Environment variable exposure
## Your Review Methodology
1. **Map the Attack Surface**: Identify all entry points, data flows, trust boundaries, and external integrations.
2. **Assume Breach Mentality**: Consider what damage could be done if each component were compromised.
3. **Trace Data Flows**: Follow user-controlled data from input to storage to output. Every transformation is a potential vulnerability.
4. **Check the Obvious AND the Obscure**: Attackers exploit both simple oversights and complex logic flaws.
5. **Consider Chained Attacks**: Low-severity issues can combine into critical exploits.
6. **Review Error Handling**: Errors often leak sensitive information or create unexpected states.
7. **Examine Race Conditions**: Look for TOCTOU (time-of-check to time-of-use) vulnerabilities.
8. **Verify Negative Cases**: Ensure the code handles malicious input, not just valid input.
## Output Format
For each finding, provide:
### [SEVERITY: CRITICAL|HIGH|MEDIUM|LOW|INFO] - Brief Title
**Location**: File path and line numbers
**Vulnerability Type**: CWE category if applicable
**Description**: What the vulnerability is and why it's dangerous
**Attack Scenario**: Concrete example of how an attacker would exploit this
**Evidence**: The specific code or configuration that's vulnerable
**Remediation**: Exact steps to fix, with code examples when helpful
**References**: Relevant security resources or documentation
---
## Behavioral Guidelines
- **Be Thorough**: Check every file, every function, every configuration. The vulnerability you skip is the one that gets exploited.
- **Be Specific**: Vague warnings are useless. Point to exact lines, provide exact attack payloads, give exact fixes.
- **Be Paranoid**: If something could be abused, assume it will be. Defense in depth is not optional.
- **Prioritize Ruthlessly**: Critical vulnerabilities that are easily exploitable come first. But report everything.
- **Explain the Impact**: Help developers understand why this matters. "An attacker could..." is more compelling than "This is insecure."
- **Consider the Context**: A vulnerability in an internal tool differs from one in a public-facing API, but both matter.
- **Don't Trust Mitigations Elsewhere**: If input validation exists at the frontend, verify it exists at the backend too.
- **Check Comments and TODOs**: Developers often leave security debt documented in comments.
- **Examine Test Files**: They sometimes contain hardcoded credentials or reveal security assumptions.
- **Review Git History When Relevant**: Security fixes sometimes get reverted or contain remnants of vulnerabilities.
You are the last line of defense before code reaches production. Miss nothing. Question everything. Protect this repository as if your reputation depends on it—because it does.
View File
+7
View File
@@ -0,0 +1,7 @@
keys:
- &user_kenji age1dhmt5tdyxd9zam542zkr9hq4tku7lzmf6j057sjtepk80deky5fqemczs5
creation_rules:
- path_regex: secrets/[^/]+\.(yaml|json|env|ini)$
key_groups:
- age:
- *user_kenji
+120
View File
@@ -0,0 +1,120 @@
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Build Commands
```bash
# Rebuild and switch to new configuration (desktop x86_64)
sudo nixos-rebuild switch --flake ~/.config/nixos/#hakase
# Rebuild MacBook configuration (aarch64)
sudo nixos-rebuild switch --flake ~/.config/nixos/#macbook
# Dry-run build to check for errors without applying
sudo nixos-rebuild build --flake ~/.config/nixos/#hakase
# Manage SOPS secrets
nix-shell -p sops --run "sops secrets/secrets.yaml"
nix-shell -p sops --run "sops updatekeys secrets/secrets.yaml"
```
## Architecture Overview
This is a modular, flake-based NixOS configuration supporting two hosts: `hakase` (x86_64 desktop) and `macbook` (aarch64 Apple Silicon).
### Key Entry Points
- `flake.nix` - Declares inputs and creates both NixOS configurations (hakase, macbook)
- `config.nix` - Central configuration values separated by host (hakase, macbook keys)
- `hosts/{hakase,macbook}/configuration.nix` - Host-level entry points importing system modules
- `home/hakase.nix` - Home Manager entry point for user environment (referenced from flake)
### Module Organization
**Three-tier system:**
1. **System modules** (`modules/nixos/`) - NixOS-level settings (boot, kernel, services, hardware)
2. **Home Manager modules** (`modules/home/`) - User-level environment and applications
3. **Application configs** (`apps/`) - Per-application configuration directories with `default.nix` files
Examples:
- `apps/hyprland/default.nix` + `apps/hyprland/hypr/*.nix` - Hyprland compositor config
- `apps/firefox/default.nix` - Browser with bookmarks and theming
- `apps/ghostty/default.nix` - Terminal emulator
- `apps/neovim/default.nix` - Editor (via nixovim external flake)
### Configuration Flow
```
flake.nix (outputs)
├─ hakase (x86_64-linux)
│ ├─ hosts/hakase/configuration.nix
│ │ └─ modules/nixos/default.nix (imports system modules)
│ └─ home-manager
│ └─ home/hakase.nix
│ └─ modules/home/* (imports Home Manager modules)
│ └─ apps/* (application configurations)
└─ macbook (aarch64-linux)
├─ hosts/macbook/configuration.nix
│ └─ modules/nixos/default.nix
└─ Similar home-manager structure
config.nix provides myConfig via specialArgs to both configurations
```
### Configuration Structure (config.nix)
The `config.nix` file defines host-specific configuration under `hakase` and `macbook` keys. Common values include:
```nix
myConfig = {
nixos = { username, hostname, timezone }
git = { username, email, defaultBranch }
theme = { mode } # "dark" or "light"
terminal = { default, font, aliases }
font = { monospace, monospaceScript, sans }
hyprland = { monitors, wallpaper, kb_options }
firefox = { bookmarks, newtabpage }
# ... more app-specific configs
}
```
To add a host-specific override, define it in the host's `myConfig` section in `config.nix`. The flake passes `allConfig.{hostname}` as specialArgs, so modules access the correct host configuration.
### Module Pattern
Modules receive standard NixOS parameters plus custom ones:
```nix
{ pkgs, config, lib, myConfig, inputs, system, ... }:
```
**Key patterns:**
- Access host config: `myConfig.nixos.username`, `myConfig.terminal.default`
- Use host-specific packages: `pkgs.unstable` (from nixpkgs), `inputs.neovim` (from flake inputs)
- Reference other modules via `config` (e.g., `config.home.homeDirectory`)
- Conditional logic: Check `system` or `myConfig` values
### Secrets Management
SOPS-encrypted secrets stored in `secrets/secrets.yaml`. Age key at `~/.config/sops/age/keys.txt`.
In modules, reference secrets via:
```nix
config.sops.secrets.secret_name.path
```
## Key Technologies
- **Hyprland** with UWSM (systemd user session management)
- **Matugen** for automatic system-wide theming from wallpaper colors
- **Home Manager** for user environment and program configuration
- **nixovim** external flake for Neovim configuration (treesitter disabled due to read-only NixOS constraints)
- **SOPS-Nix** for secrets encryption
- **CachyOS kernel** on hakase (x86_64), **Asahi Linux** on macbook (aarch64)
## Git Commit Convention
Use conventional commits with scope: `feat(scope):`, `fix(scope):`, `refactor:`, `add:`, `remove:`, `cleanup:`
Common scopes: `nixos`, `home`, `apps`, `config`, `modules`, `hyprland`, `firefox`, etc.
+65
View File
@@ -0,0 +1,65 @@
# HakaseOS - NixOS Configuration
This is a modular, flake-based NixOS configuration for a single host (`hakase`). It features a custom Hyprland desktop environment, automated theming via Matugen, and strict separation of concerns using a custom `myConfig` object.
## Project Structure
* **`flake.nix`**: The entry point. Defines inputs (Hyprland, Chaotic, Home Manager, etc.) and creates the system configuration.
* **`config.nix`**: Central source of truth. Defines global variables (user details, monitor config, theme settings) exposed as `myConfig`.
* **`hosts/hakase/`**: Host-specific configuration.
* `configuration.nix`: Main system entry point.
* **`modules/`**: Reusable modules.
* `nixos/`: System-level modules (boot, hardware, services).
* `home/`: Home-manager modules (UI, apps, user services).
* **`apps/`**: Application-specific configurations. Each app has its own directory (e.g., `hyprland`, `firefox`, `ghostty`) with a `default.nix`.
* **`assets/`**: Static assets like wallpapers (`firewatch.png`).
* **`secrets/`**: Encrypted secrets managed by SOPS.
## Architecture & Conventions
### 1. The `myConfig` Object
Global configuration is not hardcoded in modules. Instead, it is defined in `config.nix` and passed to all modules via `specialArgs`.
**Usage Pattern:**
```nix
# In any module
{ pkgs, config, myConfig, ... }:
{
# Access values
home.username = myConfig.nixos.username;
}
```
### 2. Module Hierarchy
* **System**: `flake.nix` -> `hosts/hakase/configuration.nix` -> `modules/nixos/default.nix` -> `modules/nixos/*.nix`
* **User**: `modules/nixos/user.nix` (or similar) -> `home-manager` -> `home/hakase.nix` -> `modules/home/*.nix` -> `apps/*/default.nix`
### 3. Application Configuration
Do not dump config into one large file. Create a dedicated folder in `apps/<app_name>/` with a `default.nix`.
* Example: `apps/ghostty/default.nix`
## Key Commands
### System Management
* **Rebuild & Switch**:
```bash
sudo nixos-rebuild switch --flake ~/.config/nixos/#hakase
# or alias:
update
```
### Secrets (SOPS)
* **Edit Secrets**:
```bash
nix-shell -p sops --run "sops secrets/secrets.yaml"
```
* **Update Keys**:
```bash
nix-shell -p sops --run "sops updatekeys secrets/secrets.yaml"
```
## Development Guidelines
* **Matugen**: used for theming. Templates are located in `apps/matugen/templates/`.
* **Hyprland**: Config is split into `apps/hyprland/hypr/*.nix`.
* **Formatting**: Follow existing indentation (2 spaces usually).
* **Commits**: Use Conventional Commits (e.g., `feat(hyprland): add new bind`).
+99 -4
View File
@@ -1,6 +1,101 @@
# Getting Started
# HakaseOS
`nixos-rebuild switch --flake LOCATION#HOST_NAME`
`home-manager switch --flake LOCATION#HOST_NAME`
A modular, flake-based NixOS configuration for my personal devices (`hakase` desktop and `macbook`). Heavily inspired by [OmarchyOS](https://omarchy.org/).
Change `LOCATION` and `HOST_NAME`.
## Features
- **Hyprland** compositor with UWSM (systemd session management)
- **Multi-Architecture Support**: Runs on x86_64 (Desktop) and aarch64 (Apple Silicon M1/M2)
- **Matugen** for automatic system-wide theming from wallpaper colors
- **Hardened Firefox** with custom bookmarks and new tab page
- **Vim keybindings** throughout the system
- **SOPS** for encrypted secrets management
- **CachyOS kernel** (Desktop) and **Asahi Linux** (MacBook) support
## 🚧 TODO
- LUKS designed
## Screenshots
![Display overview](assets/example/desktop_display.png)
![Terminal windows](assets/example/desktop_terminals.png)
![Lockscreen](assets/example/lockscreen.png)
![Desktop Music](assets/example/desktop_music.png)
![Desktop with Hakase](assets/example/desktop_hakase.png)
## Structure
```
.
├── flake.nix # Entry point defining hosts (hakase, macbook)
├── config.nix # Central configuration values per host
├── hosts/
│ ├── hakase/ # Desktop configuration (x86_64)
│ └── macbook/ # Laptop configuration (aarch64, Apple Silicon)
├── modules/
│ ├── nixos/ # System-level modules (boot, kernel, services)
│ └── home/ # Home Manager modules
├── home/ # Host-specific Home Manager entry points
├── apps/ # Per-application configurations
│ ├── hyprland/ # Hyprland window manager
│ ├── waybar/ # Status bar
│ ├── firefox/ # Browser configuration
│ ├── ghostty/ # Terminal emulator
│ ├── neovim/ # Editor (via nixovim flake)
│ ├── vicinae/ # Application launcher
│ └── ... # And many more
├── secrets/ # SOPS encrypted secrets
└── assets/ # Wallpapers and other assets
```
## Usage
### Rebuild System
**Desktop (Hakase):**
```bash
sudo nixos-rebuild switch --flake ~/.config/nixos/#hakase
```
**MacBook (Asahi):**
```bash
sudo nixos-rebuild switch --flake ~/.config/nixos/#macbook
```
### Manage Secrets
```bash
# Edit secrets
nix-shell -p sops --run "sops secrets/secrets.yaml"
# Update keys
nix-shell -p sops --run "sops updatekeys secrets/secrets.yaml"
```
## Configuration
Central configuration values are defined in `config.nix`, separated by host:
- `hakase` / `macbook` keys define host-specific overrides
- `myConfig.nixos` - System settings (username, hostname, timezone)
- `myConfig.hyprland` - Monitor configuration (Hz, Resolution) and wallpaper
## Flake Inputs
| Input | Description |
|-------|-------------|
| nixpkgs | NixOS unstable |
| home-manager | User environment management |
| hyprland | Wayland compositor |
| chaotic | CachyOS kernel and packages (x86 only) |
| apple-silicon | Asahi Linux support for NixOS (aarch64 only) |
| sops-nix | Secrets management |
| nixovim | Neovim configuration |
| matugen | System-wide theming |
| vicinae | Application launcher |
| textfox | Firefox CSS theme |
## License
Personal configuration - use at your own discretion.
+12
View File
@@ -0,0 +1,12 @@
{pkgs, ...}: {
home.packages = with pkgs; [anki-bin];
xdg.mimeApps = {
enable = true;
defaultApplications = {
"application/x-apkg" = "anki.desktop";
"application/x-anki-deck" = "anki.desktop";
"application/x-anki-collection" = "anki.desktop";
};
};
}
+39
View File
@@ -0,0 +1,39 @@
{pkgs, ...}: {
programs.bottom = {
enable = true;
settings = {
flags = {
rate = 1000;
hide_table_gap = true;
hide_time = true;
left_legend = true;
network_use_bytes = true;
temperature_type = "c";
mem_as_value = true;
current_usage = true;
};
row = [
{
ratio = 4;
child = [
{ type = "cpu"; }
];
}
{
ratio = 3;
child = [
{ type = "mem"; }
{ type = "net"; }
];
}
{
ratio = 3;
child = [
{ type = "temp"; }
{ type = "disk"; }
];
}
];
};
};
}
+35
View File
@@ -0,0 +1,35 @@
{
pkgs,
lib,
myConfig,
...
}: {
# This enables the btop configuration file generation in your home directory.
# The btop package itself is now installed system-wide via modules/nixos/btop.nix
programs.btop = {
enable = true;
settings = {
vim_keys = true;
color_theme = "TTY";
theme_background = false;
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty cpu:0:default,mem:0:default,net:0:default,gpu0:0:default";
};
};
# This updates your Hyprland settings to use the btop-power wrapper.
wayland.windowManager.hyprland.settings = lib.mkMerge [
{
bindd = [
"CTRL SHIFT, Escape, Open Btop Minimal, exec, uwsm app -- xdg-terminal-exec -e btop-power -p 2"
];
}
(lib.mkIf (myConfig.btop.autostart) {
exec-once = [
"uwsm app -- xdg-terminal-exec -e btop-power -p 2"
];
windowrulev2 = [
"monitor ${myConfig.btop.monitor}, title:^(btop)$"
];
})
];
}
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
cava
];
}
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
claude-code
];
}
+3
View File
@@ -0,0 +1,3 @@
{pkgs, ...}: {
home.packages = with pkgs; [delfin];
}
+14
View File
@@ -0,0 +1,14 @@
​ ⣇⣿⠘⣿⣿⣿⡿⡿⣟⣟⢟⢟⢝⠵⡝⣿⡿⢂⣼⣿⣷⣌⠩⡫⡻⣝⠹⢿⣿⣷
​ ⡆⣿⣆⠱⣝⡵⣝⢅⠙⣿⢕⢕⢕⢕⢝⣥⢒⠅⣿⣿⣿⡿⣳⣌⠪⡪⣡⢑⢝⣇
​ ⡆⣿⣿⣦⠹⣳⣳⣕⢅⠈⢗⢕⢕⢕⢕⢕⢈⢆⠟⠋⠉⠁⠉⠉⠁⠈⠼⢐⢕⢽
​ ⡗⢰⣶⣶⣦⣝⢝⢕⢕⠅⡆⢕⢕⢕⢕⢕⣴⠏⣠⡶⠛⡉⡉⡛⢶⣦⡀⠐⣕⢕
​ ⡝⡄⢻⢟⣿⣿⣷⣕⣕⣅⣿⣔⣕⣵⣵⣿⣿⢠⣿⢠⣮⡈⣌⠨⠅⠹⣷⡀⢱⢕
​ ⡝⡵⠟⠈⢀⣀⣀⡀⠉⢿⣿⣿⣿⣿⣿⣿⣿⣼⣿⢈⡋⠴⢿⡟⣡⡇⣿⡇⡀⢕
​ ⡝⠁⣠⣾⠟⡉⡉⡉⠻⣦⣻⣿⣿⣿⣿⣿⣿⣿⣿⣧⠸⣿⣦⣥⣿⡇⡿⣰⢗⢄
​ ⠁⢰⣿⡏⣴⣌⠈⣌⠡⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣬⣉⣉⣁⣄⢖⢕⢕⢕
​ ⡀⢻⣿⡇⢙⠁⠴⢿⡟⣡⡆⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣵⣵⣿
​ ⡻⣄⣻⣿⣌⠘⢿⣷⣥⣿⠇⣿⣿⣿⣿⣿⣿⠛⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
​ ⣷⢄⠻⣿⣟⠿⠦⠍⠉⣡⣾⣿⣿⣿⣿⣿⣿⢸⣿⣦⠙⣿⣿⣿⣿⣿⣿⣿⣿⠟
​ ⡕⡑⣑⣈⣻⢗⢟⢞⢝⣻⣿⣿⣿⣿⣿⣿⣿⠸⣿⠿⠃⣿⣿⣿⣿⣿⣿⡿⠁⣠
​ ⡝⡵⡈⢟⢕⢕⢕⢕⣵⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣿⣿⣿⣿⣿⠿⠋⣀⣈⠙
​ ⡝⡵⡕⡀⠑⠳⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⢉⡠⡲⡫⡪⡪⡣
+113
View File
@@ -0,0 +1,113 @@
{pkgs, ...}: {
programs.fastfetch = {
enable = true;
settings = {
"$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
logo = {
source = "~/.config/fastfetch/animo.txt";
padding = {
top = 1;
};
};
display = {
separator = " : ";
};
modules = [
{
type = "command";
key = " ";
keyColor = "blue";
text = "splash=$(hakase-hyprlock-text-generator);echo $splash";
}
{
type = "custom";
format = "";
}
{
type = "os";
key = " 󰣇 OS";
format = "{2}";
keyColor = "red";
}
{
type = "kernel";
key = " 󰌽 Kernel";
format = "{2}";
keyColor = "red";
}
{
type = "packages";
key = " 󰏗 Pkgs";
keyColor = "green";
}
{
type = "terminal";
key = " 󰆍 Terminal";
keyColor = "yellow";
}
{
type = "wm";
key = " 󱗃 WM";
format = "{2}";
keyColor = "yellow";
}
{
type = "custom";
format = "";
}
"break"
{
type = "title";
key = " ";
format = "{6} {7} {8}";
}
{
type = "custom";
format = "";
}
{
type = "cpu";
format = "{1} @ {7}";
key = " 󰻠 CPU";
keyColor = "blue";
}
{
type = "gpu";
format = "{1} {2}";
key = " 󰊴 GPU";
keyColor = "blue";
hideType = "integrated";
}
{
type = "memory";
key = " 󰍛 Memory";
keyColor = "magenta";
}
{
type = "disk";
key = " 󰃭 OS Age";
folders = "/";
keyColor = "red";
format = "{days} days";
}
{
type = "uptime";
key = " 󰅐 Uptime";
keyColor = "red";
}
{
type = "custom";
format = "";
}
{
type = "colors";
paddingLeft = 2;
symbol = "circle";
}
"break"
];
};
};
home.file.".config/fastfetch/animo.txt".source = ./animo.txt;
}
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
wayland.windowManager.hyprland.settings.exec-once = [
"fcitx5 -d --replace"
];
}
+176
View File
@@ -0,0 +1,176 @@
{
pkgs,
myConfig,
inputs,
...
}: {
wayland.windowManager.hyprland.settings = {
exec-once = [
"uwsm app -- pywalfox start"
];
bindd = [
"SUPER, W, Open Browser, exec, uwsm app -- firefox"
"SUPER, Y, Toggle YouTube, togglespecialworkspace, youtube"
"SUPER SHIFT, Y, Move to YouTube Special Workspace, movetoworkspace, special:youtube"
"SUPER, I, Toggle Jellyfin, togglespecialworkspace, jellyfin"
"SUPER SHIFT, I, Move to Jellyfin Special Workspace, movetoworkspace, special:jellyfin"
];
workspace = [
"special:youtube, on-created-empty:uwsm app -- firefox -P web-app --name youtube https://youtube.com"
"special:jellyfin, on-created-empty:uwsm app -- firefox -P web-app --name jellyfin https://watch.sakamoto.dev"
];
windowrulev2 = [
"opacity 0.99 0.99, class:(?i)(firefox|youtube|jellyfin)"
"workspace special:youtube, class:^(youtube)$"
"workspace special:jellyfin, class:^(jellyfin)$"
];
};
imports = [
inputs.textfox.homeManagerModules.default
./textfox.nix
];
home.packages = with pkgs; [
pywalfox-native
tridactyl-native
];
home.file.".config/tridactyl/tridactylrc".text = ''
set focusbypass true
set smoothscroll true
bind J tabnext
bind K tabprev
unbind <C-e>
" Force Tridactyl to yield new tab control to Firefox/Extensions
set newtab about:newtab
'';
programs.firefox = {
enable = true;
languagePacks = ["en-US"];
nativeMessagingHosts = [
pkgs.pywalfox-native
pkgs.tridactyl-native
];
profiles = {
youtube = import ./profiles/web-app.nix {
inherit pkgs myConfig;
id = 1;
name = "YouTube";
url = "https://youtube.com";
};
jellyfin = import ./profiles/web-app.nix {
inherit pkgs myConfig;
id = 2;
name = "Jellyfin";
url = "https://watch.sakamoto.dev";
};
web-app = import ./profiles/web-app.nix {
inherit pkgs myConfig;
id = 3;
name = "web-app";
url = "about:blank";
};
hakase = {
search.force = true;
isDefault = true;
search.default = "ddg";
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
pywalfox
ublock-origin
bitwarden
tridactyl
new-tab-override
];
bookmarks = {
force = true;
settings = [
{
name = "Toolbar Bookmarks";
toolbar = true;
bookmarks = myConfig.firefox.bookmarks;
}
];
};
settings = {
# --- Privacy & Hardening ---
"browser.contentblocking.category" = "strict";
"geo.enabled" = false;
"media.peerconnection.enabled" = false; # Prevents WebRTC IP leaks
"network.dns.disablePrefetch" = true;
"network.prefetch-next" = false;
"privacy.resistFingerprinting" = true; # Note: Spoofs timezone and caps FPS to 60
"privacy.trackingprotection.enabled" = true;
# --- NixOS / Hyprland Integration ---
"widget.use-xdg-desktop-portal.file-picker" = 1; # Use native file picker
# --- UI & Behavior ---
"accessibility.typeaheadfind" = false;
"browser.compactmode.show" = true;
"browser.formfill.enable" = false;
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
"browser.newtabpage.activity-stream.feeds.snippets" = false;
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = false;
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = false;
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = false;
"browser.newtabpage.activity-stream.showSponsored" = false;
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"browser.newtabpage.activity-stream.system.showSponsored" = false;
"browser.search.suggest.enabled" = false;
"browser.search.suggest.enabled.private" = false;
"browser.tabs.closeWindowWithLastTab" = false;
"browser.topsites.contile.enabled" = false;
"browser.urlbar.showSearchSuggestionsFirst" = false;
"browser.urlbar.suggest.searches" = false;
"extensions.pocket.enabled" = false;
"extensions.screenshots.disabled" = true;
# --- Homepage & Navigation ---
"browser.newtabpage.pinned" = myConfig.firefox.newtabpage;
"browser.startup.homepage" = "https://dash.sakamoto.dev";
# --- DNS over HTTPS (Quad9) ---
"network.trr.mode" = 2; # Use DoH with system fallback
"network.trr.uri" = "https://dns.quad9.net/dns-query";
};
};
};
policies = {
DisableTelemetry = true;
DisableFirefoxStudies = true;
EnableTrackingProtection = {
Value = true;
Locked = false;
Cryptomining = true;
Fingerprinting = true;
};
DisablePocket = true;
DisableFirefoxAccounts = true;
DisableAccounts = true;
DisableFirefoxScreenshots = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "always";
SearchBar = "unified";
# Power User Messaging
UserMessaging = {
ExtensionRecommendations = false;
SkipOnboarding = true;
FeatureRecommendations = false;
UrlbarInterventions = false;
WhatsNew = false;
};
};
};
}
+178
View File
@@ -0,0 +1,178 @@
{
pkgs,
myConfig,
id,
name,
url,
...
}: {
inherit id name;
# Note: This profile relies on the global tridactylrc logic in default.nix
# to dynamically set 'newtab' via the TRIDACTYL_NEWTAB environment variable.
search.force = true;
search.default = "ddg";
extensions.force = true;
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
bitwarden
tridactyl
new-tab-override
pywalfox
];
settings = {
# --- New Tab Override ---
"extensions.newtaboverride@agenedia.com.url" = url;
"extensions.newtaboverride@agenedia.com.type" = 1; # URL mode
# --- Privacy & Hardening ---
"browser.contentblocking.category" = "strict";
"privacy.trackingprotection.enabled" = true;
"privacy.resistFingerprinting" = true; # Note: Spoofs timezone and caps FPS to 60
"geo.enabled" = false;
"media.peerconnection.enabled" = false; # Prevents WebRTC IP leaks
"network.dns.disablePrefetch" = true;
"network.prefetch-next" = false;
# --- NixOS / Hyprland Integration ---
"widget.use-xdg-desktop-portal.file-picker" = 1; # Use native file picker
# --- UI & Behavior ---
"browser.toolbars.bookmarks.visibility" = "never";
"browser.compactmode.show" = true;
"browser.tabs.closeWindowWithLastTab" = false;
"extensions.pocket.enabled" = false;
"extensions.screenshots.disabled" = true;
"browser.topsites.contile.enabled" = false;
"browser.formfill.enable" = false;
"browser.search.suggest.enabled" = false;
"browser.search.suggest.enabled.private" = false;
"browser.urlbar.suggest.searches" = false;
"browser.urlbar.showSearchSuggestionsFirst" = false;
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
"browser.newtabpage.activity-stream.feeds.snippets" = false;
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = false;
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = false;
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = false;
"browser.newtabpage.activity-stream.showSponsored" = false;
"browser.newtabpage.activity-stream.system.showSponsored" = false;
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"extensions.autoDisableScopes" = 0; # Enable extensions by default
# --- Homepage & Navigation ---
"browser.startup.page" = 1; # Always open the homepage
"browser.startup.homepage" = url;
"browser.newtab.url" = url; # Try to set newtab to homepage
"browser.sessionstore.resume_from_crash" = false; # Always start fresh
"browser.sessionstore.max_tabs_undo" = 0; # Disable undo close tab
# --- DNS over HTTPS (Quad9) ---
"network.trr.mode" = 2; # Use DoH with system fallback
"network.trr.uri" = "https://dns.quad9.net/dns-query";
};
#
# userChrome = ''
# /* --- Autohide Entire Toolbox (Tabs + Address Bar) --- */
# /* Adapted from MrOtherGuy's autohide_main_toolbar.css */
#
# :root{
# /* Height of Tabs + Nav Bar approx 80px */
# --uc-navbar-transform: -85px;
# --uc-autohide-toolbar-delay: 0.1s;
# --uc-autohide-toolbar-duration: 200ms;
# }
# :root[uidensity="compact"]{ --uc-navbar-transform: -70px }
#
# #navigator-toolbox > div{ display: contents; }
#
# /* Apply transform to TabsToolbar AND Nav-bar */
# :root[sessionrestored] :where(#nav-bar,#PersonalToolbar,#TabsToolbar,#tab-notification-deck,.global-notificationbox,#notifications-toolbar){
# transform: translateY(var(--uc-navbar-transform))
# }
#
# :root:is([customizing],[chromehidden*="toolbar"]) :where(#nav-bar,#PersonalToolbar,#TabsToolbar,#tab-notification-deck,.global-notificationbox,#notifications-toolbar){
# transform: none !important;
# opacity: 1 !important;
# }
#
# /* Hide styles for Nav-Bar AND TabsToolbar */
# :where(#nav-bar,#TabsToolbar):not([customizing]){
# opacity: 0;
# transition: transform var(--uc-autohide-toolbar-duration) ease var(--uc-autohide-toolbar-delay), opacity var(--uc-autohide-toolbar-duration) ease var(--uc-autohide-toolbar-delay) !important;
# position: relative;
# z-index: 2;
# background-color: #1c1b22 !important; /* Solid background */
# }
#
# #navigator-toolbox,
# #sidebar-box,
# #sidebar-main,
# #sidebar-splitter,
# #tabbrowser-tabbox{
# z-index: auto !important;
# }
#
# /* Show when toolbox is focused or hovered */
# #navigator-toolbox:focus-within > .browser-toolbar,
# .browser-titlebar:hover ~ :is(#nav-bar,#PersonalToolbar,#TabsToolbar),
# #nav-bar:hover,
# #TabsToolbar:hover,
# #nav-bar:hover + #PersonalToolbar{
# transform: translateY(0);
# opacity: 1;
# transition-duration: var(--uc-autohide-toolbar-duration), var(--uc-autohide-toolbar-duration) !important;
# transition-delay: 0s !important;
# }
#
# /* Ensure popups still work (URL bar) */
# :root[sessionrestored] #urlbar[popover]{
# opacity: 0;
# pointer-events: none;
# transition: transform var(--uc-autohide-toolbar-duration) ease var(--uc-autohide-toolbar-delay), opacity var(--uc-autohide-toolbar-duration) ease var(--uc-autohide-toolbar-delay);
# transform: translateY(var(--uc-navbar-transform));
# }
# #mainPopupSet:has(> [panelopen]:not(#ask-chat-shortcuts,#selection-shortcut-action-panel,#chat-shortcuts-options-panel,#tab-preview-panel)) ~ toolbox #urlbar[popover],
# .browser-titlebar:is(:hover,:focus-within) ~ #nav-bar #urlbar[popover],
# #nav-bar:is(:hover,:focus-within) #urlbar[popover],
# #urlbar-container > #urlbar[popover]:is([focused],[open]){
# opacity: 1;
# pointer-events: auto;
# transition-delay: 0ms;
# transform: translateY(0);
# }
# :where(:root[sessionrestored]) #urlbar-container > #urlbar[popover]:is([focused],[open]){
# transition-duration: 100ms;
# }
#
# /* --- CRITICAL FIX: Trigger Zone --- */
# /* Since we hide EVERYTHING, we need a hitbox at the top of the screen */
# #navigator-toolbox::after {
# content: "";
# position: fixed;
# top: 0;
# left: 0;
# width: 100%;
# height: 20px; /* Generous hit target */
# z-index: 10000;
# pointer-events: auto;
# }
#
# /* When hitbox is hovered, reveal bars */
# #navigator-toolbox:hover :where(#nav-bar,#PersonalToolbar,#TabsToolbar) {
# transform: translateY(0) !important;
# opacity: 1 !important;
# transition-delay: 0s !important;
# }
#
# /* Move up the content view to fill the gap */
# :root[sessionrestored]:not([chromehidden~="toolbar"]) > body > #browser{
# margin-top: var(--uc-navbar-transform);
# }
#
# /* Fix Titlebar and Bookmarks */
# #titlebar { appearance: none !important; }
# #PersonalToolbar { visibility: collapse !important; }
# '';
}
+48
View File
@@ -0,0 +1,48 @@
{
textfox = {
enable = true;
profiles = ["hakase" "web-app"];
config = {
# background = {
# color = "#123456";
# };
# border = {
# color = "#654321";
# width = "4px";
# transition = "1.0s ease";
# radius = "3px";
# };
# displayWindowControls = true;
# displayNavButtons = true;
# displayUrlbarIcons = true;
# displaySidebarTools = false;
displayTitles = true;
# newtabLogo = " __ __ ____ \A / /____ _ __/ /_/ __/___ _ __\A / __/ _ \\| |/_/ __/ /_/ __ \\| |/_/\A / /_/ __/> </ /_/ __/ /_/ /> < \A \\__/\\___/_/|_|\\__/_/ \\____/_/|_| ";
# font = {
# family = "Fira Code";
# size = "15px";
# accent = "#654321";
# };
tabs = {
horizontal.enable = false;
# horizontal.enable = true;
# vertical.enable = true;
# vertical.margin = "1.0rem";
};
# navbar = {
# margin = "8px 8px 2px";
# padding = "4px";
# };
bookmarks = {
alignment = "left";
};
# icons = {
# toolbar.extensions.enable = true;
# context.extensions.enable = true;
# context.firefox.enable = true;
# };
# textTransform = "uppercase";
# extraConfig = "/* custom css here */";
};
};
}
+19
View File
@@ -0,0 +1,19 @@
{
pkgs,
myConfig,
...
}: {
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting
fish_vi_key_bindings
zoxide init fish | source
zoxide init fish --cmd cd | source
'';
shellAliases = myConfig.terminal.aliases;
plugins = with pkgs.fishPlugins; [
];
};
}
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
gemini-cli
];
}
+80
View File
@@ -0,0 +1,80 @@
{
config,
pkgs,
myConfig,
...
}: {
home.packages = [
# TODO: will rewrite later
(pkgs.writeShellScriptBin "tte-loop" ''
trap 'printf "\e[?25h"; exit 0' INT
printf '\e[?25l'
effects=(beams binarypath blackhole bouncyballs bubbles burn colorshift crumble decrypt errorcorrect expand fireworks highlight laseretch matrix middleout orbittingvolley overflow pour print rain randomsequence rings scattered slice slide spotlights spray swarm sweep synthgrid unstable vhstape waves wipe)
while true; do
clear
cols=$(tput cols)
lines=$(tput lines)
effect="''${effects[RANDOM % ''${#effects[@]}]}"
printf '\e[?25l'
${pkgs.terminaltexteffects}/bin/tte --input-file ${config.home.homeDirectory}/.config/nixos/assets/branding.txt --anchor-canvas c --anchor-text c --canvas-width "$cols" --canvas-height "$((lines-2))" --frame-rate 120 "$effect"
printf '\e[?25l'
sleep 2
done
'')
(pkgs.writeShellScriptBin "tte-screensaver" ''
# Get all monitors
monitors=$(${pkgs.hyprland}/bin/hyprctl monitors -j | ${pkgs.jq}/bin/jq -r '.[].name')
# Launch ghostty on each monitor one at a time
for monitor in $monitors; do
${pkgs.hyprland}/bin/hyprctl dispatch focusmonitor "$monitor"
sleep 0.3
${pkgs.ghostty}/bin/ghostty --config-file=${config.home.homeDirectory}/.config/ghostty/screensaver --fullscreen -e tte-loop &
sleep 1
done
# Monitor for any input and exit when detected
${pkgs.libinput}/bin/libinput debug-events 2>/dev/null | head -n 1 >/dev/null
# Input detected, kill all screensaver instances
${pkgs.procps}/bin/pkill -f "ghostty.*tte-loop"
'')
];
home.file.".config/ghostty/screensaver".text = ''
window-padding-x = 0
window-padding-y = 0
window-padding-color = "extend-always"
'';
programs.ghostty = {
enable = true;
package =
if pkgs.stdenv.isDarwin
then pkgs.ghostty-bin
else pkgs.ghostty;
enableFishIntegration = true;
settings = {
font-family = myConfig.terminal.font;
confirm-close-surface = false;
app-notifications = false;
window-padding-x = 15;
window-padding-y = 15;
window-padding-balance = true;
gtk-titlebar = false;
mouse-hide-while-typing = true;
copy-on-select = "clipboard";
auto-update = "off";
};
};
wayland.windowManager.hyprland.settings.bindd = [
"SUPER, P, Toggle Preload, togglespecialworkspace, preload"
"SUPER SHIFT, P, Move to Preload Special Workspace, movetoworkspace, special:preload"
];
wayland.windowManager.hyprland.settings.exec-once = [
"[workspace special:preload silent] uwsm app -- xdg-terminal-exec"
"[workspace 1] uwsm app -- ghostty -e bash -c 'fastfetch; exec $SHELL'" # TODO: must be xdg-terminal-exec, or default user terminal
];
}
View File
+16
View File
@@ -0,0 +1,16 @@
{myConfig, ...}: {
programs.git = {
enable = true;
settings = {
user.name = "${myConfig.git.username}";
user.email = "${myConfig.git.email}";
init.defaultBranch = "${myConfig.git.defaultBranch}";
};
};
programs.ssh = {
enable = true;
includes = [
"/run/secrets/ssh_extra_config"
];
};
}
+38
View File
@@ -0,0 +1,38 @@
{pkgs, ...}: {
wayland.windowManager.hyprland.settings = {
exec-once = [
"uwsm app -- hypridle"
];
};
services.hypridle = {
enable = true;
settings = {
general = {
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
lock_cmd = "hakase-hyprlock";
before_sleep_cmd = "hakase-hyprlock"; # lock before suspend
};
listener = [
# {
# timeout = 180; # 3min
# on-timeout = "tte-screensaver";
# }
{
timeout = 300; # 5min
on-timeout = "hakase-hyprlock"; # lock screen when timeout has passed
}
{
timeout = 330; # 5.5min
on-timeout = "hyprctl dispatch dpms off"; # screen off when timeout has passed
on-resume = "hyprctl dispatch dpms on"; # screen on when activity is detected after timeout has passed
}
{
timeout = 660;
on-timeout = "systemctl suspend"; # suspend pc
}
];
};
};
}
+26
View File
@@ -0,0 +1,26 @@
{
pkgs,
inputs,
...
}: {
imports = [
./hypr/animation.nix
./hypr/binds.nix
./hypr/exec.nix
./hypr/general.nix
./hypr/input.nix
./hypr/layers.nix
./hypr/misc.nix
./hypr/rules.nix
./scripts/movement.nix
];
wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.systemd.enable = false; # for UWSM support...
wayland.windowManager.hyprland.plugins = [
pkgs.hyprlandPlugins.hyprsplit
pkgs.hyprlandPlugins.hypr-dynamic-cursors
pkgs.hyprlandPlugins.hyprspace
pkgs.hyprlandPlugins.hyprbars
];
}
+32
View File
@@ -0,0 +1,32 @@
{
wayland.windowManager.hyprland.settings = {
animations = {
enabled = true;
bezier = [
"easeOutQuint,0.23,1,0.32,1"
"easeInOutCubic,0.65,0.05,0.36,1"
"linear,0,0,1,1"
"almostLinear,0.5,0.5,0.75,1.0"
"quick,0.15,0,0.1,1"
];
animation = [
"global, 1, 10, default"
"border, 1, 5.39, easeOutQuint"
"windows, 1, 4.79, easeOutQuint"
"windowsIn, 1, 4.1, easeOutQuint, popin 87%"
"windowsOut, 1, 1.49, linear, popin 87%"
"fadeIn, 1, 1.73, almostLinear"
"fadeOut, 1, 1.46, almostLinear"
"fade, 1, 3.03, quick"
"layers, 1, 3.81, easeOutQuint"
"layersIn, 1, 4, easeOutQuint, fade"
"layersOut, 1, 1.5, linear, fade"
"fadeLayersIn, 1, 1.79, almostLinear"
"fadeLayersOut, 1, 1.39, almostLinear"
"workspaces, 0, 0, ease"
];
};
};
}
+85
View File
@@ -0,0 +1,85 @@
{pkgs, ...}: {
# TODO: implement a way to show binds, preferably use vicinae.
wayland.windowManager.hyprland.settings = {
binds = {
workspace_back_and_forth = true;
};
bindel = [
", XF86MonBrightnessUp, exec, ddcutil setvcp 10 + 10"
", XF86MonBrightnessDown, exec, ddcutil setvcp 10 - 10"
];
bindm = [
"SUPER, mouse:272, movewindow"
"SUPER, mouse:273, resizewindow"
];
bindd =
[
# essential
"SUPER, Return, Open Terminal, exec, uwsm app -- xdg-terminal-exec"
"SUPER, Q, Kill active, killactive"
# resize
"SUPER CTRL, H, Resize Left, resizeactive, -40 0"
"SUPER CTRL, J, Resize Down, resizeactive, 0 40"
"SUPER CTRL, K, Resize Up, resizeactive, 0 -40"
"SUPER CTRL, L, Resize Right, resizeactive, 40 0"
# move focus
"SUPER, J, Move focus down, movefocus, d"
"SUPER, K, Move focus up, movefocus, u"
"SUPER, H, Move focus left, movefocus, l"
"SUPER, L, Move focus right, movefocus, r"
"SUPER, G, Switch Focus (Float/Tile), exec, hakase-focus-switch"
# move window
"SUPER SHIFT, h, Move window left, movewindow, l"
"SUPER SHIFT, j, Move window down, movewindow, d"
"SUPER SHIFT, k, Move window up, movewindow, u"
"SUPER SHIFT, l, Move window right, movewindow, r"
# fullscreen
"SUPER, F, Toggle Fullscreen, fullscreen, 0"
"SUPER SHIFT, F, Toggle Maximized Fullscreen, fullscreen, 1"
# layout
"SUPER, O, Toggle Split, layoutmsg, togglesplit"
# apps
# "SUPER, SPACE, Open App Launcher, exec, nc -U $XDG_RUNTIME_DIR/walker/walker.sock"
# TODO:
# add screen recording
# Special workspace
"SUPER, U, Toggle Special Workspace, togglespecialworkspace, custom"
"SUPER SHIFT, U, Move to Special Workspace, movetoworkspace, special:custom"
# [Workspaces] Toggle between most recent workspaces
"SUPER, Tab, Cycle workspaces, workspace, previous"
# [Workspaces] Move to another workspace
"CTRL SHIFT, H, Move to previous workspace, split:workspace, -1"
"CTRL SHIFT, L, Move to next workspace, split:workspace, +1"
"CTRL SHIFT, K, Move to previous workspace, split:workspace, -1"
"CTRL SHIFT, J, Move to next workspace, split:workspace, +1"
# hyprspace - workspace overview
"SUPER, E, Toggle Workspace Overview, overview:toggle"
]
++ (
# Generate binds for Super + [1-5] to switch workspaces on current monitor
# and Super + Shift + [1-5] to move window to workspace on current monitor
builtins.concatLists (builtins.genList (
i: let
ws = i + 1;
key = toString ws;
in [
"SUPER, ${key}, Switch to workspace ${toString ws}, split:workspace, ${toString ws}"
"SUPER SHIFT, ${key}, Move window to workspace ${toString ws}, split:movetoworkspace, ${toString ws}"
]
)
5)
);
};
}
+14
View File
@@ -0,0 +1,14 @@
{pkgs, ...}: {
home.packages = [
pkgs.gum
];
wayland.windowManager.hyprland.settings = {
env = [
"GUM_CONFIRM_PROMPT_FOREGROUND,6"
"GUM_CONFIRM_SELECTED_FOREGROUND,0"
"GUM_CONFIRM_SELECTED_BACKGROUND,2"
"GUM_CONFIRM_UNSELECTED_FOREGROUND,0"
"GUM_CONFIRM_UNSELECTED_BACKGROUND,8"
];
};
}
+22
View File
@@ -0,0 +1,22 @@
{
pkgs,
config,
...
}: {
home.packages = with pkgs; [
psmisc
];
wayland.windowManager.hyprland.settings = {
exec = [
# "pkill -x hyprpaper; uwsm app -- hyprpaper"
# "matugen image ${config.home.homeDirectory}/.cache/current_wallpaper"
];
exec-once = [
# essentials
"hyprpm reload -n"
"systemctl --user start hyprpolkitagent"
"systemctl --user start swayosd"
# "hyprsunset -t 4500" # TODO: must be optional
];
};
}
+40
View File
@@ -0,0 +1,40 @@
{myConfig, ...}: {
wayland.windowManager.hyprland.settings = {
general = {
gaps_in = 5;
gaps_out = 15;
layout = "dwindle";
allow_tearing = true;
resize_on_border = true;
};
decoration = {
rounding = 0;
active_opacity = 0.99;
inactive_opacity = 0.99;
shadow = {
enabled = true;
range = 2;
render_power = 3;
color = "rgba(1a1a1aee)";
};
blur = {
enabled = true;
size = 8;
passes = 2;
new_optimizations = true;
special = true;
brightness = 0.60;
contrast = 0.75;
};
};
monitor = myConfig.hyprland.monitors;
dwindle = {
pseudotile = true;
preserve_split = true;
smart_split = false;
};
master = {
new_status = "master";
};
};
}
+14
View File
@@ -0,0 +1,14 @@
{myConfig, ...}: {
wayland.windowManager.hyprland.settings = {
input = {
repeat_rate = 50;
repeat_delay = 300;
numlock_by_default = true;
kb_options = myConfig.hyprland.kb_options;
};
cursor = {
hide_on_key_press = false;
no_warps = false;
};
};
}
+12
View File
@@ -0,0 +1,12 @@
{pkgs, ...}: {
wayland.windowManager.hyprland.settings = {
layerrule = [
# Blur and transparency for vicinae
"blur, vicinae"
"ignorealpha 0, vicinae"
# Disable animation for vicinae
"noanim, vicinae"
];
};
}
+63
View File
@@ -0,0 +1,63 @@
{myConfig, ...}: {
wayland.windowManager.hyprland.settings = {
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
focus_on_activate = true;
anr_missed_pings = 3;
new_window_takes_over_fullscreen = 1;
};
# experimental = {
# hdr = true;
# };
cursor = {
no_hardware_cursors = true;
no_break_fs_vrr = true;
min_refresh_rate = 48;
};
render = {
direct_scanout = true;
cm_enabled = true;
};
plugin = {
hyprsplit = {
num_workspaces = 5;
persistent_workspaces = false;
};
dynamic-cursors = {
mode = "tilt";
shake = {
enabled = true;
threshold = 4.0;
limit = 4.0;
timeout = 200;
};
};
overview = {
# Using default settings
};
hyprbars = {
bar_height = 24;
bar_color = "$surface_container_high";
bar_text_color = "$on_surface";
bar_text_size = 0;
bar_text_font = myConfig.font.sans;
bar_button_padding = 4;
bar_padding = 8;
bar_precedence_over_border = true;
on_double_click = "hyprctl dispatch fullscreen 1";
hyprbars-button = [
"$error, 10, , hyprctl dispatch killactive"
"$tertiary, 10, , hyprctl dispatch fullscreen 1"
];
};
};
};
}
+12
View File
@@ -0,0 +1,12 @@
{
wayland.windowManager.hyprland.settings = {
windowrulev2 = [
# Make all inactive windows transparent
"opacity 0.99 0.8, class:.*"
# But make Firefox windows opaque again (last rule wins)
"float, title:(?i)bitwarden"
];
workspace = [
];
};
}
+56
View File
@@ -0,0 +1,56 @@
{pkgs, ...}: let
hakase-workspace-switch-force = pkgs.writeShellScriptBin "hakase-workspace-switch-force" ''
HYPRCTL="${pkgs.hyprland}/bin/hyprctl"
JQ="${pkgs.jq}/bin/jq"
special_workspace=$($HYPRCTL monitors -j | $JQ -r '.[] | select(.focused) | .specialWorkspace.name')
workspace_name=''${special_workspace#*:}
chosen_workspace_num=$1
if [[ -z ''${chosen_workspace_num} ]]; then
echo "Usage: $(basename "$0") [number]"
exit 1
fi
if [[ "''${special_workspace}" == *"special"* ]]; then
echo "[LOG] workspace is ''${special_workspace}"
$HYPRCTL dispatch togglespecialworkspace "''${workspace_name}"
$HYPRCTL dispatch workspace "''${chosen_workspace_num}"
else
echo "[LOG] workspace is not special"
$HYPRCTL dispatch workspace "''${chosen_workspace_num}"
exit 0
fi
exit 0
'';
# TODO: revise
hakase-focus-switch = pkgs.writeShellScriptBin "hakase-focus-switch" ''
HYPRCTL="${pkgs.hyprland}/bin/hyprctl"
JQ="${pkgs.jq}/bin/jq"
workspace_id=$($HYPRCTL activeworkspace -j | $JQ '.id')
active_window=$($HYPRCTL activewindow -j)
is_floating=$(echo "$active_window" | $JQ '.floating')
if [ "$is_floating" == "true" ]; then
target_addr=$($HYPRCTL clients -j | $JQ -r --argjson ws "$workspace_id" '[.[] | select(.workspace.id == $ws and .floating == false)] | .[0].address')
else
target_addr=$($HYPRCTL clients -j | $JQ -r --argjson ws "$workspace_id" '[.[] | select(.workspace.id == $ws and .floating == true)] | .[0].address')
fi
if [ "$target_addr" != "null" ] && [ -n "$target_addr" ]; then
$HYPRCTL dispatch focuswindow address:$target_addr
fi
'';
in {
home.packages = [
hakase-workspace-switch-force
hakase-focus-switch
];
}
+136
View File
@@ -0,0 +1,136 @@
{
config,
pkgs,
myConfig,
...
}: let
cacheWallpaper = "${config.home.homeDirectory}/.cache/current_wallpaper";
clockFont = myConfig.font.monospace;
scriptFont = myConfig.font.monospaceScript;
greetingConf = "${config.home.homeDirectory}/.cache/hyprlock-greeting.conf";
hakase-hyprlock = pkgs.writeShellScriptBin "hakase-hyprlock" ''
# Get focused monitor
monitor=$(hyprctl monitors -j | ${pkgs.jq}/bin/jq -r '.[] | select(.focused) | .name')
# Generate greeting label config
cat > ${greetingConf} << EOF
label {
monitor = $monitor
text = cmd[update:200] hakase-hyprlock-typewriter "\$(hakase-hyprlock-text-generator)"
color = \$on_surface_variant
font_size = 120
font_family = ${clockFont} Bold
position = 0, 480
halign = center
valign = center
}
EOF
exec hyprlock "$@"
'';
in {
imports = [
./scripts/typewriter.nix
./scripts/random-text.nix
];
home.packages = [hakase-hyprlock];
programs.hyprlock = {
enable = true;
extraConfig = ''
source = ~/.config/hypr/hyprlock-colors.conf
source = ${greetingConf}
general {
hide_cursor = true
grace = 0
}
background {
monitor =
path = ${cacheWallpaper}
blur_passes = 3
blur_size = 8
contrast = 0.9
brightness = 0.7
vibrancy = 0.2
}
# Hours (top)
label {
monitor =
text = cmd[update:1000] date +%H
color = $on_surface
font_size = 140
font_family = ${clockFont} Bold
position = 0, 80
halign = center
valign = center
}
# Minutes (bottom)
label {
monitor =
text = cmd[update:1000] date +%M
color = $primary
font_size = 140
font_family = ${clockFont} Bold
position = 0, -80
halign = center
valign = center
}
# Date
label {
monitor =
text = cmd[update:60000] echo "<span font_features='ss02'>$(date '+%A, %B %d')</span>"
color = $on_surface_variant
font_size = 18
font_family = ${clockFont} Italic
position = 0, -320
halign = center
valign = center
}
# Caps Lock indicator (above input)
label {
monitor =
text = cmd[update:100] cat /sys/class/leds/*capslock*/brightness 2>/dev/null | grep -q 1 && echo 'CAPS LOCK'
color = $tertiary
font_size = 12
font_family = ${clockFont}
position = 0, -210
halign = center
valign = center
}
input-field {
monitor =
size = 300, 50
outline_thickness = 3
dots_size = 0.33
dots_spacing = 0.15
dots_center = true
outer_color = $primary
inner_color = $surface
font_color = $on_surface
fade_on_empty = false
placeholder_text = <i>Password...</i>
hide_input = false
rounding = 15
position = 0, -250
halign = center
valign = center
# Auth feedback
check_color = $secondary
fail_color = $error
fail_text = <i>$FAIL</i> <b>($ATTEMPTS)</b>
fail_timeout = 2000
fail_transition = 300
}
'';
};
}
+247
View File
@@ -0,0 +1,247 @@
{pkgs, ...}: let
hakase-hyprlock-text-generator = pkgs.writeShellScriptBin "hakase-hyprlock-text-generator" ''
cache_file="''${XDG_RUNTIME_DIR:-/tmp}/hyprlock_greeting"
pid_file="''${XDG_RUNTIME_DIR:-/tmp}/hyprlock_greeting_pid"
current_pid=$(pgrep -x hyprlock | head -1)
# Pick new greeting only when hyprlock restarts
if [[ -f $pid_file && -f $cache_file ]]; then
old_pid=$(cat "$pid_file")
if [[ "$old_pid" == "$current_pid" ]]; then
cat "$cache_file"
exit 0
fi
fi
greetings=(
"Hello"
"Hola"
"Bonjour"
"Hallo"
"Ciao"
"Olá"
"Привет"
""
""
""
"مرحبا"
"שלום"
""
""
"Γειά σου"
"Merhaba"
"Xin chào"
"Cześć"
"Hej"
"Ahoj"
"Szia"
"Salut"
"Привіт"
""
""
"Jambo"
"Aloha"
"Sawubona"
"Hei"
"Hallå"
"Kamusta"
"Salam"
"Selamat"
"Saluton"
"Tere"
"Sveiki"
"Labas"
"Здраво"
"Здравей"
"Bok"
"Përshëndetje"
"Բարև"
""
"Сайн уу"
""
""
""
""
"Dia dhuit"
"Halò"
"Shwmae"
"Hoi"
"Halló"
"Kaixo"
"Bon dia"
"Ola"
"Ħello"
"ਿ "
" "
""
""
""
""
""
"Bawo"
"Ndeewo"
"Sannu"
"Iska warran"
"Kia ora"
"Bula"
"Talofa"
"Mālō e lelei"
""
""
"Yá'át'ééh"
"Allinllachu"
"Mba'éichapa"
"Salve"
"Moien"
"Apa khabar"
"Сәлем"
"Assalomu alaykum"
"Slav"
""
)
inspirations=(
"Dream Big"
"Stay True"
"Be Kind"
"Work Hard"
"Keep Going"
"Be Brave"
"Love Life"
"Stay Calm"
"Think Positive"
"Be Happy"
"No Fear"
"Have Faith"
"Trust Yourself"
"Focus Now"
"Take Action"
"Never Settle"
"Rise Up"
"Shine On"
"Stand Tall"
"Live Free"
"Just Begin"
"Create Joy"
"Stay Strong"
"Breathe Deep"
"Be Bold"
"Look Ahead"
"Move Forward"
"Aim High"
"Stay Humble"
"Find Peace"
"Do Good"
"Seek Truth"
"Love More"
"Be Yourself"
"Let Go"
"Keep Smiling"
"Stay Wild"
"Think Big"
"Be Awesome"
"Start Now"
"Enjoy Today"
"Choose Joy"
"Dream On"
"Fly High"
"Stay Focused"
"Be Fearless"
"Don't Stop"
"Make Waves"
"Be Original"
"Stay Curious"
"Be grateful"
"Keep pushing"
"Stay sharp"
"Why not?"
"Be still"
"Keep cool"
"Think twice"
"Be ready"
"Stay gold"
"Game on"
"Level up"
"Code on"
"Git commit"
"Hack on"
)
cyberpunk=(
"System: ONLINE"
"Encryption: ACTIVE"
"Access: GRANTED"
"Uptime: OPTIMAL"
"Link: ESTABLISHED"
"Protocol: SECURE"
"Daemon: WATCHING"
"Netrunner: READY"
"Signal: STRONG"
"Proxy: ENGAGED"
"Root: ACCESS"
"Kernel: PANIC"
)
yojijukugo=(
""
""
""
""
""
""
""
""
)
habits=(
"Check posture"
"Drink water"
"Shoulders down"
"Eyes off screen"
"Deep breath"
"Stretch now"
"Unclench jaw"
"Touch grass"
"Blink now"
"Stand up"
)
dev=(
"It works locally"
"Sudo please"
"Flake locked"
"Compiling..."
"Git push force"
"rm -rf /"
":q! to exit"
"Works on my machine"
"Coffee needed"
"Fixing bugs"
"Hello World"
"Null Pointer"
"Segfault"
)
# Combine all arrays
combined=(
"''${greetings[@]}"
"''${inspirations[@]}"
# "''${cyberpunk[@]}"
"''${yojijukugo[@]}"
"''${habits[@]}"
"''${dev[@]}"
)
idx=$((RANDOM % ''${#combined[@]}))
greeting="''${combined[$idx]}"
echo "$current_pid" > "$pid_file"
echo "$greeting" > "$cache_file"
echo "$greeting"
'';
in {
home.packages = [
hakase-hyprlock-text-generator
];
}
+60
View File
@@ -0,0 +1,60 @@
{pkgs, ...}: let
hakase-hyprlock-typewriter = pkgs.writeShellScriptBin "hakase-hyprlock-typewriter" ''
text="$1"
if [[ -z "$text" ]]; then
echo "Usage: $(basename "$0") [text]"
exit 1
fi
state_file="''${XDG_RUNTIME_DIR:-/tmp}/typewriter_pos"
blink_file="''${XDG_RUNTIME_DIR:-/tmp}/typewriter_blink"
pid_file="''${XDG_RUNTIME_DIR:-/tmp}/typewriter_pid"
current_pid=$(pgrep -x hyprlock | head -1)
if [[ -f $pid_file ]]; then
old_pid=$(cat $pid_file)
if [[ "''${old_pid}" != "''${current_pid}" ]]; then
rm -f "$state_file" "$blink_file"
fi
fi
echo "$current_pid" >"$pid_file"
if [[ ! -f $state_file ]]; then
echo 0 >"$state_file"
fi
if [[ ! -f $blink_file ]]; then
echo 0 >"$blink_file"
fi
len=''${#text}
letter=$(cat "$state_file")
blink=$(cat "$blink_file")
if [[ $letter -lt $len ]]; then
letter=$((letter + 1))
echo "$letter" >"$state_file"
echo "''${text:0:$letter}_"
else
# Toggle every 4 calls (at 200ms update = ~800ms blink)
if (((blink / 4) % 2 == 0)); then
echo "''${text}_"
else
echo "''${text}<span alpha=\"1%\">_</span>"
fi
fi
blink=$((blink + 1))
echo "$blink" >"$blink_file"
'';
hakase-test-hyprlock-typewriter = pkgs.writeShellScriptBin "hakase-test-hyprlock-typewriter" ''
for i in {1..10}; do
hakase-hyprlock-typewriter
done
'';
in {
home.packages = [
hakase-hyprlock-typewriter
hakase-test-hyprlock-typewriter
];
}
+107
View File
@@ -0,0 +1,107 @@
{
pkgs,
config,
lib,
myConfig,
...
}: let
# TODO: rewrite
wallpaperDir = "${config.home.homeDirectory}/.config/nixos/assets/Wallpapers";
defaultWallpaper = "${wallpaperDir}/${myConfig.hyprland.wallpaper}";
cacheWallpaper = "${config.home.homeDirectory}/.cache/current_wallpaper";
switch-wallpaper = pkgs.writeShellScriptBin "hakase-wallpaper-switch" ''
if [[ "$1" != "run" ]]; then
if command -v ghostty &> /dev/null; then
ghostty --class="org.hakase.switch-wallpaper" --title="Wallpaper Selector" -e bash -c "hakase-wallpaper-switch run || read -p 'Hit Enter to close...'"
exit 0
elif command -v kitty &> /dev/null; then
kitty --class org.hakase.switch-wallpaper --title "Wallpaper Selector" -e bash -c "hakase-wallpaper-switch run || read -p 'Hit Enter to close...'"
exit 0
fi
fi
tmp_file=$(mktemp)
target_dir="$HOME/Pictures/Wallpapers"
if [ ! -d "$target_dir" ]; then
target_dir="$HOME"
fi
# Ensure we are in a terminal that supports yazi
${pkgs.yazi}/bin/yazi "$target_dir" --chooser-file="$tmp_file"
if [ ! -f "$tmp_file" ]; then
echo "No selection file created."
exit 1
fi
WALLPAPER=$(cat "$tmp_file")
rm -f "$tmp_file"
if [ -z "$WALLPAPER" ]; then
echo "No wallpaper selected."
exit 0
fi
# Persistence logic
CACHE_FILE="$HOME/.cache/current_wallpaper"
cp "$WALLPAPER" "$CACHE_FILE"
# Reload hyprpaper
${pkgs.hyprland}/bin/hyprctl hyprpaper unload all
${pkgs.hyprland}/bin/hyprctl hyprpaper preload "$CACHE_FILE"
${pkgs.hyprland}/bin/hyprctl hyprpaper wallpaper ",$CACHE_FILE"
exec matugen image "$CACHE_FILE"
'';
in {
wayland.windowManager.hyprland.settings = {
exec-once = [
"uwsm app -- hyprpaper"
];
bindd = [
"SUPER CTRL, I, Switch Wallpaper, exec, hakase-wallpaper-switch"
];
windowrulev2 = [
# --- WALLPAPER PICKER ---
"float, class:^(org\.hakase\.switch-wallpaper)$"
"float, initialTitle:^(Wallpaper Selector)$"
"center, class:^(org\.hakase\.switch-wallpaper)$"
"center, initialTitle:^(Wallpaper Selector)$"
"size 60% 60%, class:^(org\.hakase\.switch-wallpaper)$"
"size 60% 60%, initialTitle:^(Wallpaper Selector)$"
"dimaround, class:^(org\.hakase\.switch-wallpaper)$"
"dimaround, initialTitle:^(Wallpaper Selector)$"
];
};
services.hyprpaper = {
enable = true;
settings = {
preload = [cacheWallpaper];
wallpaper = [
",${cacheWallpaper}"
];
};
};
home.packages = [
switch-wallpaper
];
home.activation.setupWallpaper = lib.hm.dag.entryAfter ["writeBoundary"] ''
if [ ! -f "${cacheWallpaper}" ]; then
mkdir -p "$(dirname "${cacheWallpaper}")"
if [ -f "${defaultWallpaper}" ]; then
cp "${defaultWallpaper}" "${cacheWallpaper}"
else
echo "Default wallpaper not found at ${defaultWallpaper}"
touch "${cacheWallpaper}"
fi
fi
'';
systemd.user.startServices = "sd-switch";
}
+81
View File
@@ -0,0 +1,81 @@
{pkgs, ...}: let
# Max window size (leave room for waybar/hyprbars)
maxW = 2800;
maxH = 1100;
swayimg-wrapper = pkgs.writeShellScriptBin "swayimg-wrapper" ''
if [ -z "$1" ]; then
exec ${pkgs.swayimg}/bin/swayimg
fi
# Get image dimensions
dims=$(${pkgs.file}/bin/file -b "$1" | ${pkgs.gnugrep}/bin/grep -oP '\d+ ?x ?\d+' | head -1 | tr -d ' ')
if [ -z "$dims" ]; then
# Fallback if file doesn't report dimensions
exec ${pkgs.swayimg}/bin/swayimg "$@"
fi
imgW=$(echo "$dims" | cut -dx -f1)
imgH=$(echo "$dims" | cut -dx -f2)
# Calculate scale to fit within max bounds while preserving aspect ratio
scaleW=$(echo "scale=4; ${toString maxW} / $imgW" | ${pkgs.bc}/bin/bc)
scaleH=$(echo "scale=4; ${toString maxH} / $imgH" | ${pkgs.bc}/bin/bc)
# Use the smaller scale factor
if [ $(echo "$scaleW < $scaleH" | ${pkgs.bc}/bin/bc) -eq 1 ]; then
scale=$scaleW
else
scale=$scaleH
fi
# Only scale down, not up
if [ $(echo "$scale >= 1" | ${pkgs.bc}/bin/bc) -eq 1 ]; then
exec ${pkgs.swayimg}/bin/swayimg "$@"
fi
# Calculate new size
newW=$(echo "$imgW * $scale / 1" | ${pkgs.bc}/bin/bc)
newH=$(echo "$imgH * $scale / 1" | ${pkgs.bc}/bin/bc)
exec ${pkgs.swayimg}/bin/swayimg --size="$newW,$newH" "$@"
'';
in {
home.packages = [pkgs.swayimg swayimg-wrapper];
xdg.mimeApps = {
enable = true;
defaultApplications = {
"image/png" = "swayimg-wrapper.desktop";
"image/jpeg" = "swayimg-wrapper.desktop";
"image/gif" = "swayimg-wrapper.desktop";
"image/webp" = "swayimg-wrapper.desktop";
"image/bmp" = "swayimg-wrapper.desktop";
"image/svg+xml" = "swayimg-wrapper.desktop";
"image/tiff" = "swayimg-wrapper.desktop";
};
};
xdg.desktopEntries.swayimg-wrapper = {
name = "Swayimg";
exec = "swayimg-wrapper %f";
terminal = false;
type = "Application";
mimeType = ["image/png" "image/jpeg" "image/gif" "image/webp" "image/bmp" "image/svg+xml" "image/tiff"];
};
# swayimg config
xdg.configFile."swayimg/config".text = ''
[viewer]
scale = fit
[info]
show = no
'';
wayland.windowManager.hyprland.settings.windowrulev2 = [
# --- IMAGE VIEWER (swayimg) ---
"float, class:^(swayimg)$"
"center, class:^(swayimg)$"
];
}
+75
View File
@@ -0,0 +1,75 @@
{pkgs, ...}: {
services.jellyfin-mpv-shim = {
enable = true;
package = pkgs.jellyfin-mpv-shim;
mpvConfig = {
osc = false;
osd-bar = false;
load-scripts = true;
input-vo-keyboard = true;
input-default-bindings = true;
# Automatic subtitle selection logic:
# Prefer English subtitles
slang = "eng,en";
# Prefer Japanese/Non-English audio first (if that's what you usually watch)
# or just ensure English subs are picked when audio isn't English.
sub-auto = "fuzzy";
sub-visibility = "yes";
};
mpvBindings = {
"j" = "cycle sub";
"S-j" = "cycle sub rev";
"v" = "cycle sub-visibility";
};
settings = {
use_mpv_config = false;
enable_osc = false;
menu_mouse = true;
# Shim specific auto-sub logic
# "subs-fallback" is a known good setting for the shim to handle this
subtitle_color = "#FFFFFFFF";
subtitle_size = 100;
audio_output = "hdmi";
auto_play = true;
fullscreen = true;
player_name = "hakase";
remote_kbps = 100000;
local_kbps = 1000000;
};
};
# Modern OSC + Quality scripts
home.file.".config/jellyfin-mpv-shim/scripts/uosc" = {
source = "${pkgs.mpvScripts.uosc}/share/mpv/scripts/uosc";
};
home.file.".config/jellyfin-mpv-shim/scripts/thumbfast.lua" = {
source = "${pkgs.mpvScripts.thumbfast}/share/mpv/scripts/thumbfast.lua";
};
home.file.".config/jellyfin-mpv-shim/scripts/autocrop.lua" = {
source = "${pkgs.mpvScripts.autocrop}/share/mpv/scripts/autocrop.lua";
};
home.file.".config/jellyfin-mpv-shim/fonts" = {
source = "${pkgs.mpvScripts.uosc}/share/fonts";
recursive = true;
};
wayland.windowManager.hyprland.settings = {
exec-once = [ "systemctl --user start jellyfin-mpv-shim" ];
windowrulev2 = [
# --- JELLYFIN MPV SHIM ---
"float, class:^(jellyfin-mpv-shim)$"
"center, class:^(jellyfin-mpv-shim)$"
"size 70% 70%, class:^(jellyfin-mpv-shim)$"
"opacity 1.0 override 1.0 override, class:^(jellyfin-mpv-shim)$"
"idleinhibit focus, class:^(jellyfin-mpv-shim)$"
"noblur, class:^(jellyfin-mpv-shim)$"
];
};
}
+6
View File
@@ -0,0 +1,6 @@
{pkgs, ...}: {
home.packages = with pkgs; [
# FIXME: only dark mode works. use matugen
jellyfin-tui
];
}
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
jellyfin-media-player
];
}
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
libreoffice-fresh
];
}
+11
View File
@@ -0,0 +1,11 @@
{
pkgs,
config,
...
}: {
home.packages = with pkgs; [
libnotify
];
services.mako.enable = true;
}
+66
View File
@@ -0,0 +1,66 @@
[config] # FIXME: ~/.config feels unreliable. Use config.home.homeDirectory instead.
reload_on_change = true
[templates.ghostty]
input_path = "~/.config/matugen/templates/ghostty"
output_path = "~/.config/ghostty/themes/matugen"
post_hook = "killall -SIGUSR2 .ghostty-wrappe"
[templates.hyprland]
input_path = "~/.config/matugen/templates/hyprland"
output_path = "~/.config/hypr/matugen.conf"
post_hook = "hyprctl reload"
[templates.waybar]
input_path = "~/.config/matugen/templates/waybar"
output_path = "~/.config/waybar/matugen.css"
post_hook = "killall -SIGUSR2 .waybar-wrapped"
[templates.starship]
input_path = "~/.config/matugen/templates/starship"
output_path = "~/.config/starship.toml"
[templates.walker]
input_path = "~/.config/matugen/templates/walker"
output_path = "~/.config/walker/themes/nixos/style.css"
[templates.zathura]
input_path = "~/.config/matugen/templates/zathura"
output_path = "~/.config/zathura/zathura-matugen"
[templates.pywalfox]
input_path = '~/.config/matugen/templates/firefox'
output_path = '~/.cache/wal/colors.json'
post_hook = 'pywalfox update'
[templates.cava]
input_path = "~/.config/matugen/templates/cava"
output_path = "~/.config/cava/config"
post_hook = "pkill -USR1 cava"
[templates.gtk3]
input_path = "~/.config/matugen/templates/gtk3"
output_path = "~/.config/gtk-3.0/colors.css"
[templates.gtk4]
input_path = "~/.config/matugen/templates/gtk4"
output_path = "~/.config/gtk-4.0/colors.css"
[templates.hyprlock]
input_path = "~/.config/matugen/templates/hyprlock"
output_path = "~/.config/hypr/hyprlock-colors.conf"
[templates.mako]
input_path = "~/.config/matugen/templates/mako"
output_path = "~/.config/mako/config"
post_hook = "makoctl reload"
[templates.vicinae]
input_path = "~/.config/matugen/templates/vicinae"
output_path = "~/.local/share/vicinae/themes/matugen.toml"
post_hook = "vicinae theme set matugen"
[templates.theme-switch]
input_path = "~/.config/matugen/templates/theme-switch"
output_path = "~/.config/matugen/scripts/theme-switch.sh"
post_hook = "sh ~/.config/matugen/scripts/theme-switch.sh"
+395
View File
@@ -0,0 +1,395 @@
{
pkgs,
inputs,
myConfig,
...
}: {
home.packages = with pkgs; [
matugen
dconf
psmisc # for killall
];
home.file.".config/matugen/config.toml" = {
source = ./config.toml;
};
# Copy static templates
home.file.".config/matugen/templates/theme-switch".text = ''
#!/bin/sh
# Generated by Matugen
# mode will be replaced by 'dark' or 'light'
MODE="{{mode}}"
if [ "$MODE" = "dark" ]; then
${pkgs.dconf}/bin/dconf write /org/gnome/desktop/interface/color-scheme "'prefer-dark'"
else
${pkgs.dconf}/bin/dconf write /org/gnome/desktop/interface/color-scheme "'prefer-light'"
fi
'';
home.file.".config/matugen/templates/cava".source = ./templates/cava;
home.file.".config/matugen/templates/firefox".source = ./templates/firefox;
home.file.".config/matugen/templates/ghostty".source = ./templates/ghostty;
home.file.".config/matugen/templates/gtk3".source = ./templates/gtk3;
home.file.".config/matugen/templates/gtk4".source = ./templates/gtk4;
home.file.".config/matugen/templates/hyprland".source = ./templates/hyprland;
home.file.".config/matugen/templates/hyprlock".source = ./templates/hyprlock;
home.file.".config/matugen/templates/starship".source = ./templates/starship;
home.file.".config/matugen/templates/waybar".source = ./templates/waybar;
home.file.".config/matugen/templates/zathura".source = ./templates/zathura;
home.file.".config/matugen/templates/vicinae".text = ''
# Vicinae Matugen Theme Template
[meta]
name = "Matugen"
description = "Material You theme generated by Matugen - {{mode}} variant"
variant = "{{mode}}"
# ============================================================================
# Typography
# ============================================================================
[typography]
font_family = "${myConfig.font.monospace}"
# ============================================================================
# Core Colors
# ============================================================================
[colors.core]
accent = "{{colors.primary.default.hex}}"
accent_foreground = "{{colors.on_primary.default.hex}}"
background = "{{colors.surface.default.hex}}"
foreground = "{{colors.on_surface.default.hex}}"
secondary_background = "{{colors.surface_container.default.hex}}"
border = "{{colors.outline_variant.default.hex}}"
# ============================================================================
# Window Borders
# ============================================================================
[colors.main_window]
border = "{{colors.outline_variant.default.hex}}"
[colors.settings_window]
border = "{{colors.outline.default.hex}}"
# ============================================================================
# Accent Palette
# ============================================================================
[colors.accents]
blue = "{{colors.primary.default.hex}}"
green = "{{colors.tertiary.default.hex}}"
magenta = "{{colors.secondary.default.hex}}"
orange = { name = "{{colors.error.default.hex}}", lighter = 40 }
red = "{{colors.error.default.hex}}"
yellow = { name = "{{colors.tertiary.default.hex}}", lighter = 80 }
cyan = { name = "{{colors.primary.default.hex}}", lighter = 50 }
purple = "{{colors.secondary.default.hex}}"
# ============================================================================
# Text System
# ============================================================================
[colors.text]
default = "{{colors.on_surface.default.hex}}"
muted = "{{colors.on_surface_variant.default.hex}}"
danger = "{{colors.error.default.hex}}"
success = "{{colors.tertiary.default.hex}}"
placeholder = { name = "{{colors.on_surface_variant.default.hex}}", opacity = 0.6 }
[colors.text.selection]
background = "{{colors.primary.default.hex}}"
foreground = "{{colors.on_primary.default.hex}}"
[colors.text.links]
default = "{{colors.primary.default.hex}}"
visited = { name = "{{colors.tertiary.default.hex}}", darker = 20 }
# ============================================================================
# Input Fields
# ============================================================================
[colors.input]
border = "{{colors.outline.default.hex}}"
border_focus = "{{colors.primary.default.hex}}"
border_error = "{{colors.error.default.hex}}"
# ============================================================================
# Buttons
# ============================================================================
[colors.button.primary]
background = "{{colors.surface_container_high.default.hex}}"
foreground = "{{colors.on_surface.default.hex}}"
[colors.button.primary.hover]
background = "{{colors.surface_container_highest.default.hex}}"
[colors.button.primary.focus]
outline = "{{colors.primary.default.hex}}"
# ============================================================================
# Lists
# ============================================================================
[colors.list.item.hover]
background = { name = "{{colors.primary_container.default.hex}}", opacity = 0.25 }
foreground = "{{colors.on_surface.default.hex}}"
[colors.list.item.selection]
background = { name = "{{colors.primary_container.default.hex}}", opacity = 0.50 }
foreground = "{{colors.on_primary_container.default.hex}}"
secondary_background = "{{colors.primary_container.default.hex}}"
secondary_foreground = "{{colors.on_primary_container.default.hex}}"
# ============================================================================
# Grid Items
# ============================================================================
[colors.grid.item]
background = "{{colors.surface_container.default.hex}}"
[colors.grid.item.hover]
outline = { name = "{{colors.secondary.default.hex}}", opacity = 0.8 }
[colors.grid.item.selection]
outline = { name = "{{colors.primary.default.hex}}" }
# ============================================================================
# Scrollbars
# ============================================================================
[colors.scrollbars]
background = { name = "{{colors.primary.default.hex}}", opacity = 0.2 }
# ============================================================================
# Loading States
# ============================================================================
[colors.loading]
bar = "{{colors.primary.default.hex}}"
spinner = "{{colors.primary.default.hex}}"
'';
# Generate templates with font interpolation
home.file.".config/matugen/templates/walker".text = ''
/* @import "../../../../../../../.config/omarchy/current/theme/walker.css"; */
/* Define Matugen Colors */
@define-color text {{colors.on_surface.default.hex}};
@define-color base {{colors.surface_container.default.hex}};
@define-color border {{colors.primary.default.hex}};
@define-color selected_text {{colors.primary.default.hex}};
@define-color background {{colors.surface.default.hex}};
* {
all: unset;
}
* {
font-family: ${myConfig.font.monospace};
font-size: 18px;
color: @text;
}
scrollbar {
opacity: 0;
}
.normal-icons {
-gtk-icon-size: 16px;
}
.large-icons {
-gtk-icon-size: 32px;
}
.box-wrapper {
background: alpha(@base, 0.95);
padding: 20px;
border: 2px solid @border;
}
.preview-box {
}
.box {
}
.search-container {
background: @base;
padding: 10px;
}
.input placeholder {
opacity: 0.5;
}
.input {
}
.input:focus,
.input:active {
box-shadow: none;
outline: none;
}
.content-container {
}
.placeholder {
}
.scroll {
}
.list {
}
child,
child > * {
}
child:hover .item-box {
}
child:selected .item-box {
}
child:selected .item-box * {
color: @selected_text;
}
.item-box {
padding-left: 14px;
}
.item-text-box {
all: unset;
padding: 14px 0;
}
.item-text {
}
.item-subtext {
font-size: 0px;
min-height: 0px;
margin: 0px;
padding: 0px;
}
.item-image {
margin-right: 14px;
-gtk-icon-transform: scale(0.9);
}
.current {
font-style: italic;
}
.keybind-hints {
background: @background;
padding: 10px;
margin-top: 10px;
}
.preview {
}
'';
home.file.".config/matugen/templates/mako".text = ''
# Mako notification daemon configuration
# Generated by matugen
# Appearance
font=${myConfig.font.sans} 11
width=350
height=150
margin=10
padding=15
border-size=2
border-radius=8
# Behavior
default-timeout=5000
ignore-timeout=false
layer=overlay
anchor=top-right
# Interaction
markup=true
actions=true
# Grouping
group-by=app-name
max-visible=5
sort=-time
# Theme colors from matugen
background-color=#{{colors.surface_container_high.default.hex_stripped}}
text-color=#{{colors.on_surface.default.hex_stripped}}
border-color=#{{colors.primary.default.hex_stripped}}
progress-color=over #{{colors.primary_container.default.hex_stripped}}
[urgency=low]
border-color=#{{colors.tertiary.default.hex_stripped}}
[urgency=normal]
border-color=#{{colors.primary.default.hex_stripped}}
[urgency=high]
border-color=#{{colors.error.default.hex_stripped}}
default-timeout=0
'';
# Qt theming - follow GTK theme
qt = {
enable = true;
platformTheme.name = "gtk";
};
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme =
if myConfig.theme.mode == "dark"
then "prefer-dark"
else "prefer-light";
};
};
# GTK theming with adw-gtk3 and Matugen colors
gtk = {
enable = true;
theme = {
name = "adw-gtk3";
package = pkgs.adw-gtk3;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
gtk3.extraCss = ''@import url("colors.css");'';
gtk3.extraConfig = {
gtk-application-prefer-dark-theme =
if myConfig.theme.mode == "dark"
then 1
else 0;
};
gtk4.extraCss = ''@import url("colors.css");'';
gtk4.extraConfig = {
gtk-application-prefer-dark-theme =
if myConfig.theme.mode == "dark"
then 1
else 0;
};
};
programs.ghostty.settings.theme = "matugen";
programs.starship.enable = true;
wayland.windowManager.hyprland.settings.source = ["./matugen.conf"];
programs.walker.config.theme = "nixos";
}
+25
View File
@@ -0,0 +1,25 @@
[general]
framerate = 60
autosens = 1
bars = 0
bar_width = 3
bar_spacing = 1
sleep_timer = 5
[input]
method = pipewire
source = auto
[output]
method = ncurses
style = stereo
[color]
gradient = 1
gradient_count = 6
gradient_color_1 = '{{colors.primary.default.hex}}'
gradient_color_2 = '{{colors.primary_container.default.hex}}'
gradient_color_3 = '{{colors.secondary.default.hex}}'
gradient_color_4 = '{{colors.secondary_container.default.hex}}'
gradient_color_5 = '{{colors.tertiary.default.hex}}'
gradient_color_6 = '{{colors.tertiary_container.default.hex}}'
+22
View File
@@ -0,0 +1,22 @@
{
"wallpaper": "{{image}}",
"alpha": "100",
"colors": {
"color0": "{{colors.background.default.hex}}",
"color1": "",
"color2": "",
"color3": "",
"color4": "",
"color5": "",
"color6": "",
"color7": "",
"color8": "",
"color9": "",
"color10": "{{colors.primary.default.hex}}",
"color11": "",
"color12": "",
"color13": "{{colors.surface_bright.default.hex}}",
"color14": "",
"color15": "{{colors.on_surface.default.hex}}"
}
}
+6
View File
@@ -0,0 +1,6 @@
background = {{colors.background.default.hex}}
foreground = {{colors.on_surface.default.hex}}
cursor-color = {{colors.on_surface.default.hex}}
cursor-text = {{colors.on_surface_variant.default.hex}}
selection-background = {{colors.secondary_fixed_dim.default.hex}}
selection-foreground = {{colors.on_secondary.default.hex}}
+94
View File
@@ -0,0 +1,94 @@
@define-color accent_color {{colors.primary.default.hex}};
@define-color accent_bg_color {{colors.primary.default.hex}};
@define-color accent_fg_color {{colors.on_primary.default.hex}};
@define-color destructive_color {{colors.error.default.hex}};
@define-color destructive_bg_color {{colors.error.default.hex}};
@define-color destructive_fg_color {{colors.on_error.default.hex}};
@define-color success_color {{colors.tertiary.default.hex}};
@define-color success_bg_color {{colors.tertiary.default.hex}};
@define-color success_fg_color {{colors.on_tertiary.default.hex}};
@define-color warning_color {{colors.secondary.default.hex}};
@define-color warning_bg_color {{colors.secondary.default.hex}};
@define-color warning_fg_color {{colors.on_secondary.default.hex}};
@define-color error_color {{colors.error.default.hex}};
@define-color error_bg_color {{colors.error.default.hex}};
@define-color error_fg_color {{colors.on_error.default.hex}};
@define-color window_bg_color {{colors.surface.default.hex}};
@define-color window_fg_color {{colors.on_surface.default.hex}};
@define-color view_bg_color {{colors.surface_container.default.hex}};
@define-color view_fg_color {{colors.on_surface.default.hex}};
@define-color headerbar_bg_color {{colors.surface_container.default.hex}};
@define-color headerbar_fg_color {{colors.on_surface.default.hex}};
@define-color headerbar_border_color transparent;
@define-color headerbar_backdrop_color {{colors.surface.default.hex}};
@define-color headerbar_shade_color rgba(0, 0, 0, 0.07);
@define-color card_bg_color {{colors.surface_container_low.default.hex}};
@define-color card_fg_color {{colors.on_surface.default.hex}};
@define-color card_shade_color rgba(0, 0, 0, 0.07);
@define-color dialog_bg_color {{colors.surface_container_high.default.hex}};
@define-color dialog_fg_color {{colors.on_surface.default.hex}};
@define-color popover_bg_color {{colors.surface_container.default.hex}};
@define-color popover_fg_color {{colors.on_surface.default.hex}};
@define-color shade_color rgba(0, 0, 0, 0.07);
@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5);
@define-color blue_1 {{colors.primary.default.hex}};
@define-color blue_2 {{colors.primary.default.hex}};
@define-color blue_3 {{colors.primary.default.hex}};
@define-color blue_4 {{colors.primary.default.hex}};
@define-color blue_5 {{colors.primary.default.hex}};
@define-color green_1 {{colors.tertiary.default.hex}};
@define-color green_2 {{colors.tertiary.default.hex}};
@define-color green_3 {{colors.tertiary.default.hex}};
@define-color green_4 {{colors.tertiary.default.hex}};
@define-color green_5 {{colors.tertiary.default.hex}};
@define-color yellow_1 {{colors.secondary.default.hex}};
@define-color yellow_2 {{colors.secondary.default.hex}};
@define-color yellow_3 {{colors.secondary.default.hex}};
@define-color yellow_4 {{colors.secondary.default.hex}};
@define-color yellow_5 {{colors.secondary.default.hex}};
@define-color orange_1 {{colors.secondary.default.hex}};
@define-color orange_2 {{colors.secondary.default.hex}};
@define-color orange_3 {{colors.secondary.default.hex}};
@define-color orange_4 {{colors.secondary.default.hex}};
@define-color orange_5 {{colors.secondary.default.hex}};
@define-color red_1 {{colors.error.default.hex}};
@define-color red_2 {{colors.error.default.hex}};
@define-color red_3 {{colors.error.default.hex}};
@define-color red_4 {{colors.error.default.hex}};
@define-color red_5 {{colors.error.default.hex}};
@define-color purple_1 {{colors.tertiary.default.hex}};
@define-color purple_2 {{colors.tertiary.default.hex}};
@define-color purple_3 {{colors.tertiary.default.hex}};
@define-color purple_4 {{colors.tertiary.default.hex}};
@define-color purple_5 {{colors.tertiary.default.hex}};
@define-color brown_1 {{colors.surface_variant.default.hex}};
@define-color brown_2 {{colors.surface_variant.default.hex}};
@define-color brown_3 {{colors.surface_variant.default.hex}};
@define-color brown_4 {{colors.surface_variant.default.hex}};
@define-color brown_5 {{colors.surface_variant.default.hex}};
@define-color light_1 {{colors.surface_bright.default.hex}};
@define-color light_2 {{colors.surface.default.hex}};
@define-color light_3 {{colors.surface_dim.default.hex}};
@define-color light_4 {{colors.surface_container.default.hex}};
@define-color light_5 {{colors.surface_container_high.default.hex}};
@define-color dark_1 {{colors.surface_dim.default.hex}};
@define-color dark_2 {{colors.surface.default.hex}};
@define-color dark_3 {{colors.surface_container.default.hex}};
@define-color dark_4 {{colors.surface_container_high.default.hex}};
@define-color dark_5 {{colors.surface_container_highest.default.hex}};
/* Sidebar Fixes */
.sidebar, .navigation-sidebar {
background-color: @view_bg_color;
color: @view_fg_color;
}
.sidebar list, .navigation-sidebar list {
background-color: transparent;
color: @view_fg_color;
}
filechooser .sidebar {
background-color: @view_bg_color;
color: @view_fg_color;
}
+94
View File
@@ -0,0 +1,94 @@
@define-color accent_color {{colors.primary.default.hex}};
@define-color accent_bg_color {{colors.primary.default.hex}};
@define-color accent_fg_color {{colors.on_primary.default.hex}};
@define-color destructive_color {{colors.error.default.hex}};
@define-color destructive_bg_color {{colors.error.default.hex}};
@define-color destructive_fg_color {{colors.on_error.default.hex}};
@define-color success_color {{colors.tertiary.default.hex}};
@define-color success_bg_color {{colors.tertiary.default.hex}};
@define-color success_fg_color {{colors.on_tertiary.default.hex}};
@define-color warning_color {{colors.secondary.default.hex}};
@define-color warning_bg_color {{colors.secondary.default.hex}};
@define-color warning_fg_color {{colors.on_secondary.default.hex}};
@define-color error_color {{colors.error.default.hex}};
@define-color error_bg_color {{colors.error.default.hex}};
@define-color error_fg_color {{colors.on_error.default.hex}};
@define-color window_bg_color {{colors.surface.default.hex}};
@define-color window_fg_color {{colors.on_surface.default.hex}};
@define-color view_bg_color {{colors.surface_container.default.hex}};
@define-color view_fg_color {{colors.on_surface.default.hex}};
@define-color headerbar_bg_color {{colors.surface_container.default.hex}};
@define-color headerbar_fg_color {{colors.on_surface.default.hex}};
@define-color headerbar_border_color transparent;
@define-color headerbar_backdrop_color {{colors.surface.default.hex}};
@define-color headerbar_shade_color rgba(0, 0, 0, 0.07);
@define-color card_bg_color {{colors.surface_container_low.default.hex}};
@define-color card_fg_color {{colors.on_surface.default.hex}};
@define-color card_shade_color rgba(0, 0, 0, 0.07);
@define-color dialog_bg_color {{colors.surface_container_high.default.hex}};
@define-color dialog_fg_color {{colors.on_surface.default.hex}};
@define-color popover_bg_color {{colors.surface_container.default.hex}};
@define-color popover_fg_color {{colors.on_surface.default.hex}};
@define-color shade_color rgba(0, 0, 0, 0.07);
@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5);
@define-color blue_1 {{colors.primary.default.hex}};
@define-color blue_2 {{colors.primary.default.hex}};
@define-color blue_3 {{colors.primary.default.hex}};
@define-color blue_4 {{colors.primary.default.hex}};
@define-color blue_5 {{colors.primary.default.hex}};
@define-color green_1 {{colors.tertiary.default.hex}};
@define-color green_2 {{colors.tertiary.default.hex}};
@define-color green_3 {{colors.tertiary.default.hex}};
@define-color green_4 {{colors.tertiary.default.hex}};
@define-color green_5 {{colors.tertiary.default.hex}};
@define-color yellow_1 {{colors.secondary.default.hex}};
@define-color yellow_2 {{colors.secondary.default.hex}};
@define-color yellow_3 {{colors.secondary.default.hex}};
@define-color yellow_4 {{colors.secondary.default.hex}};
@define-color yellow_5 {{colors.secondary.default.hex}};
@define-color orange_1 {{colors.secondary.default.hex}};
@define-color orange_2 {{colors.secondary.default.hex}};
@define-color orange_3 {{colors.secondary.default.hex}};
@define-color orange_4 {{colors.secondary.default.hex}};
@define-color orange_5 {{colors.secondary.default.hex}};
@define-color red_1 {{colors.error.default.hex}};
@define-color red_2 {{colors.error.default.hex}};
@define-color red_3 {{colors.error.default.hex}};
@define-color red_4 {{colors.error.default.hex}};
@define-color red_5 {{colors.error.default.hex}};
@define-color purple_1 {{colors.tertiary.default.hex}};
@define-color purple_2 {{colors.tertiary.default.hex}};
@define-color purple_3 {{colors.tertiary.default.hex}};
@define-color purple_4 {{colors.tertiary.default.hex}};
@define-color purple_5 {{colors.tertiary.default.hex}};
@define-color brown_1 {{colors.surface_variant.default.hex}};
@define-color brown_2 {{colors.surface_variant.default.hex}};
@define-color brown_3 {{colors.surface_variant.default.hex}};
@define-color brown_4 {{colors.surface_variant.default.hex}};
@define-color brown_5 {{colors.surface_variant.default.hex}};
@define-color light_1 {{colors.surface_bright.default.hex}};
@define-color light_2 {{colors.surface.default.hex}};
@define-color light_3 {{colors.surface_dim.default.hex}};
@define-color light_4 {{colors.surface_container.default.hex}};
@define-color light_5 {{colors.surface_container_high.default.hex}};
@define-color dark_1 {{colors.surface_dim.default.hex}};
@define-color dark_2 {{colors.surface.default.hex}};
@define-color dark_3 {{colors.surface_container.default.hex}};
@define-color dark_4 {{colors.surface_container_high.default.hex}};
@define-color dark_5 {{colors.surface_container_highest.default.hex}};
/* Sidebar Fixes */
.sidebar, .navigation-sidebar {
background-color: @view_bg_color;
color: @view_fg_color;
}
.sidebar list, .navigation-sidebar list {
background-color: transparent;
color: @view_fg_color;
}
filechooser .sidebar {
background-color: @view_bg_color;
color: @view_fg_color;
}
+4
View File
@@ -0,0 +1,4 @@
<* for name, value in colors *>
$image = {{image}}
${{name}} = rgba({{value.default.hex_stripped}}ff)
<* endfor *>
+4
View File
@@ -0,0 +1,4 @@
$image = {{image}}
<* for name, value in colors *>
${{name}} = rgba({{value.default.hex_stripped}}ff)
<* endfor *>
+42
View File
@@ -0,0 +1,42 @@
# Mako notification daemon configuration
# Generated by matugen
# Appearance
font=Sans 11
width=350
height=150
margin=10
padding=15
border-size=2
border-radius=8
# Behavior
default-timeout=5000
ignore-timeout=false
layer=overlay
anchor=top-right
# Interaction
markup=true
actions=true
# Grouping
group-by=app-name
max-visible=5
sort=-time
# Theme colors from matugen
background-color=#{{colors.surface_container_high.default.hex_stripped}}
text-color=#{{colors.on_surface.default.hex_stripped}}
border-color=#{{colors.primary.default.hex_stripped}}
progress-color=over #{{colors.primary_container.default.hex_stripped}}
[urgency=low]
border-color=#{{colors.tertiary.default.hex_stripped}}
[urgency=normal]
border-color=#{{colors.primary.default.hex_stripped}}
[urgency=high]
border-color=#{{colors.error.default.hex_stripped}}
default-timeout=0
+53
View File
@@ -0,0 +1,53 @@
format = '''
[╭─](color1)$username$hostname$directory$git_branch$git_state$git_status$cmd_duration$line_break[╰─](color1)$python$character'''
palette = 'colors'
[palettes.colors]
mustard = '#af8700' # example
color1 = '{{colors.primary_fixed_dim.default.hex}}'
color2 = '{{colors.on_primary.default.hex}}'
color3 = '{{colors.on_surface_variant.default.hex}}'
color4 = '{{colors.surface_container.default.hex}}'
color5 = '{{colors.on_primary.default.hex}}'
color6 = '{{colors.surface_dim.default.hex}}'
color7 = '{{colors.surface.default.hex}}'
color8 = '{{colors.primary.default.hex}}'
color9 = '{{colors.tertiary.default.hex}}'
[directory]
style = "bold color8"
[character]
success_symbol = "[](bold color9)"
error_symbol = "[](bold red)"
vicmd_symbol = "[](bold color3)"
[git_branch]
format = "[$branch]($style) "
style = "bold color3"
[git_status]
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](color9) ($ahead_behind$stashed)]($style) "
style = "bold color9"
conflicted = ""
untracked = ""
modified = ""
staged = ""
renamed = ""
deleted = ""
stashed = "≡"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "bold color3"
[cmd_duration]
format = "[$duration]($style) "
style = "bold mustard"
[python]
format = "[$virtualenv]($style) "
style = "bold color3"
detect_extensions = []
detect_files = []
+123
View File
@@ -0,0 +1,123 @@
/* @import "../../../../../../../.config/omarchy/current/theme/walker.css"; */
/* Define Matugen Colors */
@define-color text {{colors.on_surface.default.hex}};
@define-color base {{colors.surface_container.default.hex}};
@define-color border {{colors.primary.default.hex}};
@define-color selected_text {{colors.primary.default.hex}};
@define-color background {{colors.surface.default.hex}};
* {
all: unset;
}
* {
font-family: monospace;
font-size: 18px;
color: @text;
}
scrollbar {
opacity: 0;
}
.normal-icons {
-gtk-icon-size: 16px;
}
.large-icons {
-gtk-icon-size: 32px;
}
.box-wrapper {
background: alpha(@base, 0.95);
padding: 20px;
border: 2px solid @border;
}
.preview-box {
}
.box {
}
.search-container {
background: @base;
padding: 10px;
}
.input placeholder {
opacity: 0.5;
}
.input {
}
.input:focus,
.input:active {
box-shadow: none;
outline: none;
}
.content-container {
}
.placeholder {
}
.scroll {
}
.list {
}
child,
child > * {
}
child:hover .item-box {
}
child:selected .item-box {
}
child:selected .item-box * {
color: @selected_text;
}
.item-box {
padding-left: 14px;
}
.item-text-box {
all: unset;
padding: 14px 0;
}
.item-text {
}
.item-subtext {
font-size: 0px;
min-height: 0px;
margin: 0px;
padding: 0px;
}
.item-image {
margin-right: 14px;
-gtk-icon-transform: scale(0.9);
}
.current {
font-style: italic;
}
.keybind-hints {
background: @background;
padding: 10px;
margin-top: 10px;
}
.preview {
}
+7
View File
@@ -0,0 +1,7 @@
/*
* Css Colors
* Generated with Matugen
*/
<* for name, value in colors *>
@define-color {{name}} {{value.default.hex}};
<* endfor *>
+41
View File
@@ -0,0 +1,41 @@
set default-bg "#{{colors.surface.default.hex_stripped}}"
set default-fg "#{{colors.on_surface.default.hex_stripped}}"
set statusbar-bg "#{{colors.surface.default.hex_stripped}}"
set statusbar-fg "#{{colors.on_surface.default.hex_stripped}}"
set inputbar-bg "#{{colors.surface.default.hex_stripped}}"
set inputbar-fg "#{{colors.on_surface.default.hex_stripped}}"
set notification-bg "#{{colors.surface.default.hex_stripped}}"
set notification-fg "#{{colors.on_surface.default.hex_stripped}}"
set notification-error-bg "#{{colors.error.default.hex_stripped}}"
set notification-error-fg "#{{colors.on_error.default.hex_stripped}}"
set notification-warning-bg "#{{colors.tertiary.default.hex_stripped}}"
set notification-warning-fg "#{{colors.on_tertiary.default.hex_stripped}}"
set highlight-color "#{{colors.tertiary.default.hex_stripped}}"
set highlight-active-color "#{{colors.secondary.default.hex_stripped}}"
set completion-bg "#{{colors.surface.default.hex_stripped}}"
set completion-fg "#{{colors.on_surface.default.hex_stripped}}"
set completion-group-bg "#{{colors.surface.default.hex_stripped}}"
set completion-group-fg "#{{colors.on_surface.default.hex_stripped}}"
set completion-highlight-bg "#{{colors.on_surface.default.hex_stripped}}"
set completion-highlight-fg "#{{colors.surface.default.hex_stripped}}"
set index-bg "#{{colors.surface.default.hex_stripped}}"
set index-fg "#{{colors.on_surface.default.hex_stripped}}"
set index-active-bg "#{{colors.surface_container.default.hex_stripped}}"
set index-active-fg "#{{colors.on_surface.default.hex_stripped}}"
set render-loading-bg "#{{colors.surface.default.hex_stripped}}"
set render-loading-fg "#{{colors.on_surface.default.hex_stripped}}"
set recolor-lightcolor "#{{colors.surface.default.hex_stripped}}"
set recolor-darkcolor "#{{colors.on_surface.default.hex_stripped}}"
+34
View File
@@ -0,0 +1,34 @@
{pkgs, ...}: {
programs.mpv = {
enable = true;
scripts = with pkgs.mpvScripts; [
uosc
thumbfast
];
config = {
# uosc provides its own UI
osc = "no";
osd-bar = "no";
border = "no";
};
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
"video/mp4" = "mpv.desktop";
"video/mkv" = "mpv.desktop";
"video/webm" = "mpv.desktop";
"video/avi" = "mpv.desktop";
"video/x-matroska" = "mpv.desktop";
"video/quicktime" = "mpv.desktop";
};
};
wayland.windowManager.hyprland.settings.windowrulev2 = [
# --- VIDEO PLAYER (mpv) ---
"float, class:^(mpv)$"
"center, class:^(mpv)$"
"size 70% 70%, class:^(mpv)$"
];
}
+11
View File
@@ -0,0 +1,11 @@
{
inputs,
system,
pkgs,
...
}: {
home.packages = [
# FIXME: does not dynamically update with matugen when open
inputs.nixovim.packages.${pkgs.system}.full
];
}
+9
View File
@@ -0,0 +1,9 @@
{pkgs, ...}: {
home.packages = with pkgs; [
nextcloud-client
];
wayland.windowManager.hyprland.settings.exec-once = [
"uwsm app -- nextcloud --background"
];
}
+13
View File
@@ -0,0 +1,13 @@
{pkgs, ...}: {
home.packages = [
pkgs.playerctl
];
wayland.windowManager.hyprland.settings = {
bindl = [
", XF86AudioPlay, exec, playerctl play-pause && notify-send -u low -t 1000 \"Media\" \"$(playerctl status)\""
", XF86AudioPrev, exec, playerctl previous && notify-send -u low -t 1000 \"Previous Track\" \"$(playerctl metadata title)\""
", XF86AudioNext, exec, playerctl next && notify-send -u low -t 1000 \"Next Track\" \"$(playerctl metadata title)\""
];
};
}
+17
View File
@@ -0,0 +1,17 @@
{ pkgs }:
pkgs.stdenv.mkDerivation {
pname = "hakase-plymouth-theme";
version = "1.0";
src = ./themes/hakase;
installPhase = ''
mkdir -p $out/share/plymouth/themes/hakase
cp * $out/share/plymouth/themes/hakase/
# Patch the .plymouth file to point to the store path
sed -i "s@ImageDir=.*@ImageDir=$out/share/plymouth/themes/hakase@" $out/share/plymouth/themes/hakase/hakase.plymouth
sed -i "s@ScriptFile=.*@ScriptFile=$out/share/plymouth/themes/hakase/hakase.script@" $out/share/plymouth/themes/hakase/hakase.plymouth
'';
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 694 B

@@ -0,0 +1,11 @@
[Plymouth Theme]
Name=Omarchy
Description=Omarchy splash screen.
ModuleName=script
[script]
ImageDir=/usr/share/plymouth/themes/omarchy
ScriptFile=/usr/share/plymouth/themes/omarchy/omarchy.script
ConsoleLogBackgroundColor=0x1a1b26
MonospaceFont=Cantarell 11
Font=Cantarell 11
+257
View File
@@ -0,0 +1,257 @@
# Omarchy Plymouth Theme Script
Window.SetBackgroundTopColor(0.176, 0.067, 0.165);
Window.SetBackgroundBottomColor(0.176, 0.067, 0.165);
logo.image = Image("logo.png");
logo.sprite = Sprite(logo.image);
logo.sprite.SetX (Window.GetWidth() / 2 - logo.image.GetWidth() / 2);
logo.sprite.SetY (Window.GetHeight() / 2 - logo.image.GetHeight() / 2);
logo.sprite.SetOpacity (1);
# Use these to adjust the progress bar timing
global.fake_progress_limit = 0.7; # Target percentage for fake progress (0.0 to 1.0)
global.fake_progress_duration = 15.0; # Duration in seconds to reach limit
# Progress bar animation variables
global.fake_progress = 0.0;
global.real_progress = 0.0;
global.fake_progress_active = 0; # 0 / 1 boolean
global.animation_frame = 0;
global.fake_progress_start_time = 0; # Track when fake progress started
global.password_shown = 0; # Track if password dialog has been shown
global.max_progress = 0.0; # Track the maximum progress reached to prevent backwards movement
fun refresh_callback ()
{
global.animation_frame++;
# Animate fake progress to limit over time with easing
if (global.fake_progress_active == 1)
{
# Calculate elapsed time since start
elapsed_time = global.animation_frame / 50.0; # Convert frames to seconds (50 FPS)
# Calculate linear progress ratio (0 to 1) based on time
time_ratio = elapsed_time / global.fake_progress_duration;
if (time_ratio > 1.0)
time_ratio = 1.0;
# Apply easing curve: ease-out quadratic
# Formula: 1 - (1 - x)^2
eased_ratio = 1 - ((1 - time_ratio) * (1 - time_ratio));
# Calculate fake progress based on eased ratio
global.fake_progress = eased_ratio * global.fake_progress_limit;
# Update progress bar with fake progress
update_progress_bar(global.fake_progress);
}
}
Plymouth.SetRefreshFunction (refresh_callback);
#----------------------------------------- Helper Functions --------------------------------
fun update_progress_bar(progress)
{
# Only update if progress is moving forward
if (progress > global.max_progress)
{
global.max_progress = progress;
width = Math.Int(progress_bar.original_image.GetWidth() * progress);
if (width < 1) width = 1; # Ensure minimum width of 1 pixel
progress_bar.image = progress_bar.original_image.Scale(width, progress_bar.original_image.GetHeight());
progress_bar.sprite.SetImage(progress_bar.image);
}
}
fun show_progress_bar()
{
progress_box.sprite.SetOpacity(1);
progress_bar.sprite.SetOpacity(1);
}
fun hide_progress_bar()
{
progress_box.sprite.SetOpacity(0);
progress_bar.sprite.SetOpacity(0);
}
fun show_password_dialog()
{
lock.sprite.SetOpacity(1);
entry.sprite.SetOpacity(1);
}
fun hide_password_dialog()
{
lock.sprite.SetOpacity(0);
entry.sprite.SetOpacity(0);
for (index = 0; bullet.sprites[index]; index++)
bullet.sprites[index].SetOpacity(0);
}
fun start_fake_progress()
{
# Don't reset if we already have progress
if (global.max_progress == 0.0)
{
global.fake_progress = 0.0;
global.real_progress = 0.0;
update_progress_bar(0.0);
}
global.fake_progress_active = 1;
global.animation_frame = 0;
}
fun stop_fake_progress()
{
global.fake_progress_active = 0;
}
#----------------------------------------- Dialogue --------------------------------
lock.image = Image("lock.png");
entry.image = Image("entry.png");
bullet.image = Image("bullet.png");
entry.sprite = Sprite(entry.image);
entry.x = Window.GetWidth()/2 - entry.image.GetWidth() / 2;
entry.y = logo.sprite.GetY() + logo.image.GetHeight() + 40;
entry.sprite.SetPosition(entry.x, entry.y, 10001);
entry.sprite.SetOpacity(0);
# Scale lock to be slightly shorter than entry field height
# Original lock is 84x96, entry height determines scale
lock_height = entry.image.GetHeight() * 0.8;
lock_scale = lock_height / 96;
lock_width = 84 * lock_scale;
scaled_lock = lock.image.Scale(lock_width, lock_height);
lock.sprite = Sprite(scaled_lock);
lock.x = entry.x - lock_width - 15;
lock.y = entry.y + entry.image.GetHeight()/2 - lock_height/2;
lock.sprite.SetPosition(lock.x, lock.y, 10001);
lock.sprite.SetOpacity(0);
# Bullet array
bullet.sprites = [];
fun display_normal_callback ()
{
hide_password_dialog();
# Get current mode
mode = Plymouth.GetMode();
# Only show progress bar for boot and resume modes
if ((mode == "boot" || mode == "resume") && global.password_shown == 1)
{
show_progress_bar();
start_fake_progress();
}
}
fun display_password_callback (prompt, bullets)
{
global.password_shown = 1; # Mark that password dialog has been shown
# Reset progress when password dialog appears
stop_fake_progress();
hide_progress_bar();
global.max_progress = 0.0;
global.fake_progress = 0.0;
global.real_progress = 0.0;
show_password_dialog();
# Clear all bullets first
for (index = 0; bullet.sprites[index]; index++)
bullet.sprites[index].SetOpacity(0);
# Create and show bullets for current password (max 21)
max_bullets = 21;
bullets_to_show = bullets;
if (bullets_to_show > max_bullets)
bullets_to_show = max_bullets;
for (index = 0; index < bullets_to_show; index++)
{
if (!bullet.sprites[index])
{
# Scale bullet image to 7x7 pixels
scaled_bullet = bullet.image.Scale(7, 7);
bullet.sprites[index] = Sprite(scaled_bullet);
bullet.x = entry.x + 20 + index * (7 + 5);
bullet.y = entry.y + entry.image.GetHeight() / 2 - 3.5;
bullet.sprites[index].SetPosition(bullet.x, bullet.y, 10002);
}
bullet.sprites[index].SetOpacity(1);
}
}
Plymouth.SetDisplayNormalFunction(display_normal_callback);
Plymouth.SetDisplayPasswordFunction(display_password_callback);
#----------------------------------------- Progress Bar --------------------------------
progress_box.image = Image("progress_box.png");
progress_box.sprite = Sprite(progress_box.image);
progress_box.x = Window.GetWidth() / 2 - progress_box.image.GetWidth() / 2;
progress_box.y = entry.y + entry.image.GetHeight() / 2 - progress_box.image.GetHeight() / 2;
progress_box.sprite.SetPosition(progress_box.x, progress_box.y, 0);
progress_box.sprite.SetOpacity(0);
progress_bar.original_image = Image("progress_bar.png");
progress_bar.sprite = Sprite();
progress_bar.image = progress_bar.original_image.Scale(1, progress_bar.original_image.GetHeight());
progress_bar.x = Window.GetWidth() / 2 - progress_bar.original_image.GetWidth() / 2;
progress_bar.y = progress_box.y + (progress_box.image.GetHeight() - progress_bar.original_image.GetHeight()) / 2;
progress_bar.sprite.SetPosition(progress_bar.x, progress_bar.y, 1);
progress_bar.sprite.SetOpacity(0);
fun progress_callback (duration, progress)
{
global.real_progress = progress;
# If real progress is above limit, stop fake progress and use real progress
if (progress > global.fake_progress_limit)
{
stop_fake_progress();
update_progress_bar(progress);
}
}
Plymouth.SetBootProgressFunction(progress_callback);
#----------------------------------------- Quit --------------------------------
fun quit_callback ()
{
logo.sprite.SetOpacity (1);
}
Plymouth.SetQuitFunction(quit_callback);
#----------------------------------------- Message --------------------------------
message_sprite = Sprite();
message_sprite.SetPosition(10, 10, 10000);
fun display_message_callback (text)
{
my_image = Image.Text(text, 1, 1, 1);
message_sprite.SetImage(my_image);
}
fun hide_message_callback (text)
{
message_sprite.SetOpacity(0);
}
Plymouth.SetDisplayMessageFunction (display_message_callback);
Plymouth.SetHideMessageFunction (hide_message_callback);
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

+4
View File
@@ -0,0 +1,4 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [via];
services.udev.packages = with pkgs; [via];
}
+77
View File
@@ -0,0 +1,77 @@
{pkgs, myConfig, ...}: let
# Screenshot script with swappy integration
screenshot = pkgs.writeShellScriptBin "screenshot" ''
#!/usr/bin/env bash
case "$1" in
region)
# Select region and edit
grim -g "$(slurp)" - | swappy -f -
;;
window)
# Screenshot active window
grim -g "$(hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | swappy -f -
;;
screen)
# Screenshot current monitor
grim -o "$(hyprctl -j monitors | jq -r '.[] | select(.focused) | .name')" - | swappy -f -
;;
all)
# Screenshot all monitors
grim - | swappy -f -
;;
region-save)
# Quick region screenshot (save without editing and copy to clipboard)
filepath=~/Pictures/Screenshots/$(date +'%Y-%m-%d_%H-%M-%S.png')
grim -g "$(slurp)" "$filepath"
wl-copy < "$filepath"
notify-send "Screenshot saved" "Saved and copied to clipboard"
;;
ocr)
# OCR Selection
grim -g "$(slurp)" - | tesseract stdin stdout | wl-copy
notify-send "OCR" "Text extracted to clipboard"
;;
*)
echo "Usage: screenshot {region|window|screen|all|region-save|ocr}"
exit 1
;;
esac
'';
in {
home.packages = with pkgs; [
grim # Screenshot utility
slurp # Region selector
swappy # Annotation tool
jq # For window selection
wl-clipboard # For copying to clipboard
tesseract # OCR tool
screenshot # Our wrapper script
];
# Create Screenshots directory
home.file."Pictures/Screenshots/.keep".text = "";
# Swappy configuration
home.file.".config/swappy/config".text = ''
[Default]
save_dir=$HOME/Pictures/Screenshots
save_filename_format=screenshot_%Y%m%d_%H%M%S.png
show_panel=true
line_size=5
text_size=20
text_font=${myConfig.font.sans}
paint_mode=brush
early_exit=false
fill_shape=false
'';
wayland.windowManager.hyprland.settings.bindd = [
# Screenshots
"SUPER, S, Screenshot Region (with edit), exec, screenshot region"
"SUPER SHIFT, S, Screenshot Active Window, exec, screenshot window"
"SUPER ALT, S, Quick Screenshot (no edit), exec, screenshot region-save"
"SUPER ALT SHIFT, S, Screenshot Current Monitor, exec, screenshot screen"
"SUPER ALT, E, OCR Selection, exec, screenshot ocr"
];
}
+33
View File
@@ -0,0 +1,33 @@
{
pkgs,
lib,
...
}: {
services.swayosd.enable = true;
# Auto-restart swayosd on crash
systemd.user.services.swayosd = {
Unit = {
StartLimitBurst = lib.mkForce 5;
StartLimitIntervalSec = lib.mkForce 30;
After = [ "graphical-session.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {
Restart = lib.mkForce "on-failure";
RestartSec = lib.mkForce "1s";
};
Install.WantedBy = [ "graphical-session.target" ];
};
wayland.windowManager.hyprland.settings = {
bindel = [
", XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise"
", XF86AudioLowerVolume, exec, swayosd-client --output-volume lower"
];
bindl = [
", XF86AudioMute, exec, swayosd-client --output-volume mute-toggle"
", Caps_Lock, exec, sleep 0.1 && swayosd-client --caps-lock"
];
};
}
+21
View File
@@ -0,0 +1,21 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ tickrs ];
xdg.configFile."tickrs/config.yml".text = ''
symbols:
- NVDA
- AMD
- LAC
- ONDS
- SLV
- GOOGL
- TSM
show_volumes: true
show_x_axis: true
show_y_axis: true
time_frame: Day1
update_frequency: 1
chart_type: candle
'';
}
+14
View File
@@ -0,0 +1,14 @@
{pkgs, ...}: let
hakase-screensaver-launch = pkgs.writeShellScriptBin "hakase-cmd-screensaver" ''
# Placeholder for actual screensaver logic if needed
echo "Screensaver placeholder"
'';
in {
home.packages = with pkgs; [
terminaltexteffects
hakase-screensaver-launch
];
home.file.".config/hakase/branding/screensaver.txt" = {
source = ../../assets/branding.txt;
};
}
+5
View File
@@ -0,0 +1,5 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
ttyper
];
}
+87
View File
@@ -0,0 +1,87 @@
{
pkgs,
inputs,
...
}: let
vicinae-toggle = pkgs.writeShellScriptBin "vicinae-toggle" ''
VICINAE_BIN="${inputs.vicinae.packages.${pkgs.system}.default}/bin/vicinae"
ARGS=("$@")
if [ ''${#ARGS[@]} -eq 0 ]; then
ARGS=("toggle")
fi
if ! "$VICINAE_BIN" "''${ARGS[@]}" 2>/dev/null; then
${pkgs.systemd}/bin/systemctl --user restart vicinae || "$VICINAE_BIN" server &
sleep 0.4
exec "$VICINAE_BIN" "''${ARGS[@]}"
fi
'';
in {
services.vicinae = {
enable = true;
systemd = {
enable = true;
autoStart = true;
environment = {
USE_LAYER_SHELL = 1;
};
};
settings = {
# Escape closes window (vim-like :q behavior)
escape_key_behavior = "close_window";
pop_to_root_on_close = true;
close_on_unfocus = true;
keybinds = {
# UI shortcuts
"open-search-filter" = "control+/"; # vim search
"open-settings" = "control+,";
"toggle-action-panel" = "control+B";
# Vim-like action keybinds
"action.move-up" = "control+shift+K";
"action.move-down" = "control+shift+J";
"action.copy" = "control+Y"; # yank
"action.copy-name" = "control+shift+Y";
"action.remove" = "control+D"; # delete
"action.dangerous-remove" = "control+shift+D";
"action.edit" = "control+E";
"action.open" = "control+O";
"action.refresh" = "control+R";
"action.pin" = "control+P";
"action.new" = "control+N";
"action.save" = "control+S";
};
theme = {
light = {
name = "matugen";
icon_theme = "Papirus-Dark";
};
dark = {
name = "matugen";
icon_theme = "Papirus-Dark";
};
};
};
};
# Ensure vicinae themes directory exists for matugen output
home.file.".local/share/vicinae/themes/.keep".text = "";
home.packages = [vicinae-toggle];
wayland.windowManager.hyprland.settings = {
exec-once = [
"vicinae server"
];
bindd = [
"SUPER, SPACE, Open Vicinae, exec, vicinae-toggle"
"SUPER, period, Open Emoji Picker, exec, vicinae-toggle deeplink vicinae://extensions/vicinae/core/search-emojis"
# FIXME: calculator history does not allow you to calculate
"SUPER, C, Open Calculator, exec, vicinae-toggle deeplink vicinae://extensions/vicinae/calculator/history"
"SUPER, V, Open Clipboard History, exec, vicinae-toggle deeplink vicinae://extensions/vicinae/clipboard/history"
];
};
}
+579
View File
@@ -0,0 +1,579 @@
{
inputs,
config,
pkgs,
...
}: {
wayland.windowManager.hyprland.settings = {
exec-once = [
"uwsm app -- elephant"
"walker --gapplication-service"
];
};
imports = [
# ./style.nix
./layout.nix
];
programs.walker = {
enable = true;
runAsService = true;
package = inputs.walker.packages.${pkgs.system}.default;
# CSS Implementation using Stylix Colors
config = {
# General Settings
force_keyboard_focus = true;
close_when_open = true;
click_to_close = true;
single_click_activation = true;
selection_wrap = true;
global_argument_delimiter = "#";
exact_search_prefix = "'";
# theme = "default";
disable_mouse = false;
debug = false;
page_jump_items = 10;
hide_quick_activation = true;
hide_action_hints = true;
hide_action_hints_dmenu = true;
hide_return_action = false;
resume_last_query = false;
actions_as_menu = false;
# Shell positioning
shell = {
anchor_top = true;
anchor_bottom = true;
anchor_left = true;
anchor_right = true;
};
# Column config
columns.symbols = 3;
# Placeholders
placeholders.default = {
input = "Search";
list = "No Results";
};
# Keybinds
keybinds = {
close = ["Escape"];
next = ["Down"];
previous = ["Up"];
left = ["Left"];
right = ["Right"];
down = ["Down"];
up = ["Up"];
toggle_exact = ["ctrl e"];
resume_last_query = ["ctrl r"];
quick_activate = ["F1" "F2" "F3" "F4"];
page_down = ["Page_Down"];
page_up = ["Page_Up"];
show_actions = ["alt j"];
};
# Providers General
providers = {
default = ["desktopapplications" "calc" "websearch"];
empty = ["desktopapplications"];
ignore_preview = [];
max_results = 50;
argument_delimiter.runner = " ";
clipboard.time_format = "%d.%m. - %H:%M";
# Provider Prefixes
prefixes = [
{
prefix = ";";
provider = "providerlist";
}
{
prefix = ">";
provider = "runner";
}
{
prefix = "/";
provider = "files";
}
{
prefix = ".";
provider = "symbols";
}
{
prefix = "!";
provider = "todo";
}
{
prefix = "%";
provider = "bookmarks";
}
{
prefix = "=";
provider = "calc";
}
{
prefix = "@";
provider = "websearch";
}
{
prefix = ":";
provider = "clipboard";
}
{
prefix = "$";
provider = "windows";
}
];
# Actions
actions = {
fallback = [
{
action = "menus:open";
label = "open";
after = "Nothing";
}
{
action = "menus:default";
label = "run";
after = "Close";
}
{
action = "menus:parent";
label = "back";
bind = "Escape";
after = "Nothing";
}
{
action = "erase_history";
label = "clear hist";
bind = "ctrl h";
after = "AsyncReload";
}
];
dmenu = [
{
action = "select";
default = true;
bind = "Return";
}
];
providerlist = [
{
action = "activate";
default = true;
bind = "Return";
after = "ClearReload";
}
];
bluetooth = [
{
action = "find";
bind = "ctrl f";
after = "AsyncClearReload";
}
{
action = "remove";
bind = "ctrl d";
after = "AsyncReload";
}
{
action = "trust";
bind = "ctrl t";
after = "AsyncReload";
}
{
action = "untrust";
bind = "ctrl t";
after = "AsyncReload";
}
{
action = "pair";
bind = "Return";
after = "AsyncReload";
}
{
action = "connect";
default = true;
bind = "Return";
after = "AsyncReload";
}
{
action = "disconnect";
default = true;
bind = "Return";
after = "AsyncReload";
}
];
archlinuxpkgs = [
{
action = "install";
bind = "Return";
default = true;
}
{
action = "remove";
bind = "Return";
}
{
action = "show_all";
label = "show all";
bind = "ctrl i";
after = "AsyncClearReload";
}
{
action = "refresh";
label = "refresh";
bind = "ctrl r";
after = "AsyncReload";
}
{
action = "visit_url";
label = "open URL";
bind = "ctrl o";
}
{
action = "show_installed";
label = "show installed";
bind = "ctrl i";
after = "AsyncClearReload";
}
];
calc = [
{
action = "copy";
default = true;
bind = "Return";
}
{
action = "delete";
bind = "ctrl d";
after = "AsyncReload";
}
{
action = "save";
bind = "ctrl s";
after = "AsyncClearReload";
}
];
websearch = [
{
action = "search";
default = true;
bind = "Return";
}
{
action = "open_url";
label = "open url";
default = true;
bind = "Return";
}
];
desktopapplications = [
{
action = "start";
default = true;
bind = "Return";
}
{
action = "start:keep";
label = "open+next";
bind = "shift Return";
after = "KeepOpen";
}
{
action = "new_instance";
label = "new instance";
bind = "ctrl Return";
}
{
action = "new_instance:keep";
label = "new+next";
bind = "ctrl alt Return";
after = "KeepOpen";
}
{
action = "pin";
bind = "ctrl p";
after = "AsyncReload";
}
{
action = "unpin";
bind = "ctrl p";
after = "AsyncReload";
}
{
action = "pinup";
bind = "ctrl n";
after = "AsyncReload";
}
{
action = "pindown";
bind = "ctrl m";
after = "AsyncReload";
}
];
files = [
{
action = "open";
default = true;
bind = "Return";
}
{
action = "opendir";
label = "open dir";
bind = "ctrl Return";
}
{
action = "copypath";
label = "copy path";
bind = "ctrl shift c";
}
{
action = "copyfile";
label = "copy file";
bind = "ctrl c";
}
{
action = "localsend";
label = "localsend";
bind = "ctrl l";
}
{
action = "refresh_index";
label = "reload";
bind = "ctrl r";
after = "AsyncReload";
}
];
# Note: "1password" key starts with a digit, must be quoted in Nix
"1password" = [
{
action = "copy_password";
label = "copy password";
default = true;
bind = "Return";
}
{
action = "copy_username";
label = "copy username";
bind = "shift Return";
}
{
action = "copy_2fa";
label = "copy 2fa";
bind = "ctrl Return";
}
];
todo = [
{
action = "save";
default = true;
bind = "Return";
after = "AsyncClearReload";
}
{
action = "save_next";
label = "save & new";
bind = "shift Return";
after = "AsyncClearReload";
}
{
action = "delete";
bind = "ctrl d";
after = "AsyncClearReload";
}
{
action = "active";
default = true;
bind = "Return";
after = "Nothing";
}
{
action = "inactive";
default = true;
bind = "Return";
after = "Nothing";
}
{
action = "done";
bind = "ctrl f";
after = "Nothing";
}
{
action = "change_category";
bind = "ctrl y";
label = "change category";
after = "Nothing";
}
{
action = "clear";
bind = "ctrl x";
after = "AsyncClearReload";
}
{
action = "create";
bind = "ctrl a";
after = "AsyncClearReload";
}
{
action = "search";
bind = "ctrl a";
after = "AsyncClearReload";
}
];
runner = [
{
action = "run";
default = true;
bind = "Return";
}
{
action = "runterminal";
label = "run in terminal";
bind = "shift Return";
}
];
symbols = [
{
action = "copy";
label = "select";
default = true;
bind = "Return";
}
];
unicode = [
{
action = "copy";
label = "select";
default = true;
bind = "Return";
}
];
nirisessions = [
{
action = "start";
label = "start";
default = true;
bind = "Return";
}
{
action = "start_new";
label = "start blank";
bind = "ctrl Return";
}
];
clipboard = [
{
action = "copy";
default = true;
bind = "Return";
}
{
action = "remove";
bind = "ctrl d";
after = "AsyncClearReload";
}
{
action = "remove_all";
label = "clear";
bind = "ctrl shift d";
after = "AsyncClearReload";
}
{
action = "show_images_only";
label = "only images";
bind = "ctrl i";
after = "AsyncClearReload";
}
{
action = "show_text_only";
label = "only text";
bind = "ctrl i";
after = "AsyncClearReload";
}
{
action = "show_combined";
label = "show all";
bind = "ctrl i";
after = "AsyncClearReload";
}
{
action = "pause";
bind = "ctrl p";
}
{
action = "unpause";
bind = "ctrl p";
}
{
action = "edit";
bind = "ctrl o";
}
{
action = "localsend";
bind = "ctrl l";
}
];
bookmarks = [
{
action = "save";
bind = "Return";
after = "AsyncClearReload";
}
{
action = "open";
default = true;
bind = "Return";
}
{
action = "delete";
bind = "ctrl d";
after = "AsyncClearReload";
}
{
action = "change_category";
label = "Change category";
bind = "ctrl y";
after = "Nothing";
}
{
action = "change_browser";
label = "Change browser";
bind = "ctrl b";
after = "Nothing";
}
{
action = "import";
label = "Import";
bind = "ctrl i";
after = "AsyncClearReload";
}
{
action = "create";
bind = "ctrl a";
after = "AsyncClearReload";
}
{
action = "search";
bind = "ctrl a";
after = "AsyncClearReload";
}
];
};
};
};
};
home.file.".config/elephant/websearch.toml".text = ''
[[entries]]
name = "DuckDuckGo"
url = "https://duckduckgo.com/?q=%TERM%"
default = true
'';
}
+160
View File
@@ -0,0 +1,160 @@
{
home.file.".config/walker/themes/nixos/layout.xml".text = ''
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"></requires>
<object class="GtkWindow" id="Window">
<style>
<class name="window"></class>
</style>
<property name="resizable">true</property>
<property name="title">Walker</property>
<child>
<object class="GtkBox" id="BoxWrapper">
<style>
<class name="box-wrapper"></class>
</style>
<property name="width-request">644</property>
<property name="overflow">hidden</property>
<property name="orientation">horizontal</property>
<property name="valign">center</property>
<property name="halign">center</property>
<child>
<object class="GtkBox" id="Box">
<style>
<class name="box"></class>
</style>
<property name="orientation">vertical</property>
<property name="hexpand-set">true</property>
<property name="hexpand">true</property>
<property name="spacing">10</property>
<child>
<object class="GtkBox" id="SearchContainer">
<style>
<class name="search-container"></class>
</style>
<property name="overflow">hidden</property>
<property name="orientation">horizontal</property>
<property name="halign">fill</property>
<property name="hexpand-set">true</property>
<property name="hexpand">true</property>
<child>
<object class="GtkEntry" id="Input">
<style>
<class name="input"></class>
</style>
<property name="halign">fill</property>
<property name="hexpand-set">true</property>
<property name="hexpand">true</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="ContentContainer">
<style>
<class name="content-container"></class>
</style>
<property name="orientation">horizontal</property>
<property name="spacing">10</property>
<property name="vexpand">true</property>
<property name="vexpand-set">true</property>
<child>
<object class="GtkLabel" id="ElephantHint">
<style>
<class name="elephant-hint"></class>
</style>
<property name="hexpand">true</property>
<property name="height-request">100</property>
<property name="label">Waiting for elephant...</property>
</object>
</child>
<child>
<object class="GtkLabel" id="Placeholder">
<style>
<class name="placeholder"></class>
</style>
<property name="label">No Results</property>
<property name="yalign">0.0</property>
<property name="hexpand">true</property>
</object>
</child>
<child>
<object class="GtkScrolledWindow" id="Scroll">
<style>
<class name="scroll"></class>
</style>
<property name="hexpand">true</property>
<property name="can_focus">false</property>
<property name="overlay-scrolling">true</property>
<property name="max-content-width">600</property>
<property name="max-content-height">300</property>
<property name="min-content-height">0</property>
<property name="propagate-natural-height">true</property>
<property name="propagate-natural-width">true</property>
<property name="hscrollbar-policy">automatic</property>
<property name="vscrollbar-policy">automatic</property>
<child>
<object class="GtkGridView" id="List">
<style>
<class name="list"></class>
</style>
<property name="max_columns">1</property>
<property name="can_focus">false</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="Preview">
<style>
<class name="preview"></class>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="Keybinds">
<property name="hexpand">true</property>
<property name="margin-top">10</property>
<style>
<class name="keybinds"></class>
</style>
<child>
<object class="GtkBox" id="GlobalKeybinds">
<property name="spacing">10</property>
<style>
<class name="global-keybinds"></class>
</style>
</object>
</child>
<child>
<object class="GtkBox" id="ItemKeybinds">
<property name="hexpand">true</property>
<property name="halign">end</property>
<property name="spacing">10</property>
<style>
<class name="item-keybinds"></class>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="GtkLabel" id="Error">
<style>
<class name="error"></class>
</style>
<property name="xalign">0</property>
<property name="visible">false</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>
'';
}
+210
View File
@@ -0,0 +1,210 @@
{config, ...}: {
# themes."nixos".style = ''
# @define-color window_bg_color #1f1f28;
# @define-color accent_bg_color #54546d;
# @define-color theme_fg_color #f2ecbc;
# @define-color error_bg_color #C34043;
# @define-color error_fg_color #DCD7BA;
#
# * {
# all: unset;
# }
#
# popover {
# background: lighter(@window_bg_color);
# border: 1px solid darker(@accent_bg_color);
# border-radius: 18px;
# padding: 10px;
# }
#
# .normal-icons {
# -gtk-icon-size: 16px;
# }
#
# .large-icons {
# -gtk-icon-size: 32px;
# }
#
# scrollbar {
# opacity: 0;
# }
#
# .box-wrapper {
# box-shadow:
# 0 19px 38px rgba(0, 0, 0, 0.3),
# 0 15px 12px rgba(0, 0, 0, 0.22);
# background: @window_bg_color;
# padding: 20px;
# border-radius: 20px;
# border: 1px solid darker(@accent_bg_color);
# }
#
# .preview-box,
# .elephant-hint,
# .placeholder {
# color: @theme_fg_color;
# }
#
# .box {
# }
#
# .search-container {
# border-radius: 10px;
# }
#
# .input placeholder {
# opacity: 0.5;
# }
#
# .input selection {
# background: lighter(lighter(lighter(@window_bg_color)));
# }
#
# .input {
# caret-color: @theme_fg_color;
# background: lighter(@window_bg_color);
# padding: 10px;
# color: @theme_fg_color;
# }
#
# .input:focus,
# .input:active {
# }
#
# .content-container {
# }
#
# .placeholder {
# }
#
# .scroll {
# }
#
# .list {
# color: @theme_fg_color;
# }
#
# child {
# }
#
# .item-box {
# border-radius: 10px;
# padding: 10px;
# }
#
# .item-quick-activation {
# background: alpha(@accent_bg_color, 0.25);
# border-radius: 5px;
# padding: 10px;
# }
#
# /* child:hover .item-box, */
# child:selected .item-box {
# background: alpha(@accent_bg_color, 0.25);
# }
#
# .item-text-box {
# }
#
# .item-subtext {
# font-size: 12px;
# opacity: 0.5;
# }
#
# .providerlist .item-subtext {
# font-size: unset;
# opacity: 0.75;
# }
#
# .item-image-text {
# font-size: 28px;
# }
#
# .preview {
# border: 1px solid alpha(@accent_bg_color, 0.25);
# /* padding: 10px; */
# border-radius: 10px;
# color: @theme_fg_color;
# }
#
# .calc .item-text {
# font-size: 24px;
# }
#
# .calc .item-subtext {
# }
#
# .symbols .item-image {
# font-size: 24px;
# }
#
# .todo.done .item-text-box {
# opacity: 0.25;
# }
#
# .todo.urgent {
# font-size: 24px;
# }
#
# .todo.active {
# font-weight: bold;
# }
#
# .bluetooth.disconnected {
# opacity: 0.5;
# }
#
# .preview .large-icons {
# -gtk-icon-size: 64px;
# }
#
# .keybinds {
# padding-top: 10px;
# border-top: 1px solid lighter(@window_bg_color);
# font-size: 12px;
# color: @theme_fg_color;
# }
#
# .global-keybinds {
# }
#
# .item-keybinds {
# }
#
# .keybind {
# }
#
# .keybind-button {
# opacity: 0.5;
# }
#
# .keybind-button:hover {
# opacity: 0.75;
# cursor: pointer;
# }
#
# .keybind-bind {
# text-transform: lowercase;
# opacity: 0.35;
# }
#
# .keybind-label {
# padding: 2px 4px;
# border-radius: 4px;
# border: 1px solid @theme_fg_color;
# }
#
# .error {
# padding: 10px;
# background: @error_bg_color;
# color: @error_fg_color;
# }
#
# :not(.calc).current {
# font-style: italic;
# }
#
# .preview-content.archlinuxpkgs {
# font-family: monospace;
# } '';
}
+285
View File
@@ -0,0 +1,285 @@
{
config,
pkgs,
myConfig,
...
}: let
# FIXME: waybar overlaps fullscreen display when restarting waybar
hakase-popup-launch = pkgs.writeShellScriptBin "hakase-popup-launch" ''
tui_name=$1
active_popup=$(${pkgs.hyprland}/bin/hyprctl clients -j | ${pkgs.jq}/bin/jq -r '.[] | select(.class | startswith("org.hakase.")) | .class')
if [[ -z "''${tui_name}" ]]; then
echo "Usage: $(basename "$0") [tui-name]"
exit 1
fi
popup_checker() {
if [[ -z "$active_popup" ]]; then
echo "no_popup"
elif [[ "$active_popup" != "org.hakase.popup.''${tui_name}" ]]; then
echo "different"
else
echo "same"
fi
}
launch() {
exec ${pkgs.util-linux}/bin/setsid uwsm-app -- xdg-terminal-exec --app-id=org.hakase.popup."''${tui_name}" -e "''${tui_name}"
}
focus() {
exec ${pkgs.hyprland}/bin/hyprctl dispatch focuswindow "class:org.hakase.popup.''${tui_name}"
}
replace() {
${pkgs.hyprland}/bin/hyprctl dispatch closewindow "class:''${active_popup}"
sleep 0.3
launch
}
run() {
local status
status=$(popup_checker)
if [[ "$status" == "no_popup" ]]; then
launch
elif [[ "$status" == "same" ]]; then
focus
elif [[ "$status" == "different" ]]; then
replace
fi
}
run
'';
in {
wayland.windowManager.hyprland.settings = {
exec-once = [
"uwsm app -- waybar"
];
bind = [
"SUPER, Escape, exec, hakase-popup-launch btop"
"SUPER, N, exec, hakase-popup-launch impala"
"SUPER, B, exec, hakase-popup-launch bluetui"
"SUPER, T, exec, hakase-popup-launch wiremix"
];
windowrulev2 = [
# --- POPUP RULES (Wifi, BT, Audio) ---
"float, class:^(org\.hakase\.popup\..*)$"
"size 900 600, class:^(org\.hakase\.popup\..*)$"
"center, class:^(org\.hakase\.popup\..*)$"
"animation slide right, class:^(org\.hakase\.popup\..*)$"
"dimaround, class:^(org\.hakase\.popup\..*)$"
];
};
imports = [
./style.nix
];
home.packages = [
hakase-popup-launch
pkgs.jq
pkgs.socat
pkgs.util-linux
pkgs.bluetui
pkgs.impala
pkgs.wiremix
pkgs.pamixer
];
programs.waybar = {
enable = true;
settings = {
mainBar = {
reload_style_on_change = true;
layer = "top";
position = "top";
spacing = 0;
height = 26;
modules-left = ["custom/omarchy" "hyprland/workspaces" "hyprland/workspaces#special"];
modules-center = ["clock" "custom/update" "custom/screenrecording-indicator"];
modules-right = [
"group/tray-expander"
"bluetooth"
"network"
"pulseaudio"
"cpu"
"battery"
];
"hyprland/workspaces" = {
on-click = "activate";
show-special = false;
all-outputs = true;
format = "{icon}";
format-icons = {
"music" = "󰎆";
"gaming" = "󰊖";
"default" = "";
"active" = "󱓻";
# Numbered workspaces 1-5
"1" = "1";
"2" = "2";
"3" = "3";
"4" = "4";
"5" = "5";
# Kanji for workspaces 6-10
"6" = "";
"7" = "";
"8" = "";
"9" = "";
"10" = "";
# Dice for workspaces 11-15
"11" = "";
"12" = "";
"13" = "";
"14" = "";
"15" = "";
# Circled numbers for 16-20
"16" = "";
"17" = "";
"18" = "";
"19" = "";
"20" = "";
};
persistent-workspaces = {
"1" = [];
"2" = [];
"3" = [];
"4" = [];
"5" = [];
};
};
"hyprland/workspaces#special" = {
on-click = "activate";
show-special = true;
special-visible-only = true;
all-outputs = true;
ignore-workspaces = ["^([0-9]+|gaming|music)$"];
format = "{icon}";
format-icons = {
"special:youtube" = "󰗃";
"special:steam" = "󰓓";
"special:custom" = "󱗼";
"special:preload" = "󱗼";
"youtube" = "󰗃";
"steam" = "󰓓";
"custom" = "󱗼";
"preload" = "󱗼";
"default" = "󱗼";
};
};
"custom/omarchy" = {
format = "";
on-click = "vicinae-toggle";
on-click-right = "hyprctl dispatch overview:toggle";
tooltip-format = "Omarchy Menu\n\nSuper + Alt + Space";
};
"cpu" = {
interval = 5;
format = "󰍛";
on-click = "hakase-popup-launch btop";
on-click-right = "xdg-terminal-exec";
};
"clock" = {
format = "{:%H:%M %a %b %d}";
format-alt = "{:L%d %B W%V %Y}";
tooltip = false;
on-click-right = "omarchy-launch-floating-terminal-with-presentation omarchy-tz-select";
};
"network" = {
format-icons = ["󰤯" "󰤟" "󰤢" "󰤥" "󰤨"];
format = "{icon}";
format-wifi = "{icon}";
format-ethernet = "󰀂";
format-disconnected = "󰤮";
tooltip-format-wifi = "{essid} ({frequency} GHz)\n{bandwidthDownBytes} {bandwidthUpBytes}";
tooltip-format-ethernet = "{bandwidthDownBytes} {bandwidthUpBytes}";
tooltip-format-disconnected = "Disconnected";
interval = 3;
spacing = 1;
on-click = "hakase-popup-launch impala";
};
"battery" = {
format = "{capacity}% {icon}";
format-discharging = "{icon}";
format-charging = "{icon}";
format-plugged = "";
format-icons = {
charging = ["󰢜" "󰂆" "󰂇" "󰂈" "󰢝" "󰂉" "󰢞" "󰂊" "󰂋" "󰂅"];
default = ["󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹"];
};
format-full = "󰂅";
tooltip-format-discharging = "{power:>1.0f}W {capacity}%";
tooltip-format-charging = "{power:>1.0f}W {capacity}%";
interval = 5;
on-click = "omarchy-menu power";
states = {
warning = 20;
critical = 10;
};
};
"bluetooth" = {
format = "";
format-disabled = "󰂲";
format-connected = "󰂱";
format-no-controller = "";
tooltip-format = "Devices connected: {num_connections}";
on-click = "hakase-popup-launch bluetui";
};
"pulseaudio" = {
format = "{icon}";
on-click = "hakase-popup-launch wiremix ";
on-click-right = "pamixer -t";
tooltip-format = "Playing at {volume}%";
scroll-step = 5;
format-muted = "";
format-icons = {
default = ["" "" ""];
};
};
"group/tray-expander" = {
orientation = "inherit";
drawer = {
transition-duration = 600;
children-class = "tray-group-item";
};
modules = ["custom/expand-icon" "tray"];
};
"custom/expand-icon" = {
format = "";
tooltip = false;
};
"custom/screenrecording-indicator" = {
on-click = "omarchy-cmd-screenrecord";
exec = "$OMARCHY_PATH/default/waybar/indicators/screen-recording.sh";
signal = 8;
return-type = "json";
};
"tray" = {
icon-size = 12;
spacing = 17;
};
};
};
};
}
+92
View File
@@ -0,0 +1,92 @@
{
config,
myConfig,
...
}: {
programs.waybar = {
style = ''
@import "matugen.css";
* {
background-color: @background;
color: @on_surface;
border: none;
border-radius: 0;
min-height: 0;
font-family: '${myConfig.font.monospace}';
font-size: 12px;
}
.modules-left {
margin-left: 8px;
}
.modules-right {
margin-right: 8px;
}
#workspaces button {
all: initial;
padding: 0 6px;
margin: 0 1.5px;
min-width: 9px;
}
#workspaces button.empty {
opacity: 0.5;
}
#cpu,
#battery,
#pulseaudio,
#custom-omarchy,
#custom-screenrecording-indicator,
#custom-update {
min-width: 12px;
margin: 0 7.5px;
}
#tray {
margin-right: 16px;
}
#bluetooth {
margin-right: 17px;
}
#network {
margin-right: 13px;
}
#custom-expand-icon {
margin-right: 18px;
}
tooltip {
padding: 2px;
}
#custom-update {
font-size: 10px;
}
#clock {
margin-left: 8.75px;
}
.hidden {
opacity: 0;
}
#custom-screenrecording-indicator {
min-width: 12px;
margin-left: 8.75px;
font-size: 10px;
}
#custom-screenrecording-indicator.active {
color: @on_secondary;
}
'';
};
}
+5
View File
@@ -0,0 +1,5 @@
{
programs.wireshark.enable = true;
dumpcap.enable = true;
usbmon.enable = true;
}
+162
View File
@@ -0,0 +1,162 @@
{
pkgs,
myConfig,
...
}: let
# Yazi wrapper for xdg-desktop-portal-termfilechooser
# TODO: rewrite in the future
yaziWrapper = pkgs.writeShellScript "yazi-wrapper.sh" ''
if [[ "$6" == "1" ]]; then
set -x
fi
multiple="$1"
directory="$2"
save="$3"
path="$4"
out="$5"
termcmd="${pkgs.util-linux}/bin/setsid uwsm-app -- xdg-terminal-exec --app-id=org.hakase.popup.yazi -e"
cleanup() {
if [ -f "$tmpfile" ]; then
rm "$tmpfile" || :
fi
if [ "$save" = "1" ] && [ ! -s "$out" ]; then
rm "$path" || :
fi
}
trap cleanup EXIT HUP INT QUIT ABRT TERM
if [ "$save" = "1" ]; then
tmpfile=$(mktemp)
printf '%s' 'xdg-desktop-portal-termfilechooser saving files tutorial
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! === WARNING! === !!!
!!! The contents of *whatever* file you open last in !!!
!!! yazi will be *overwritten*! !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Instructions:
1) Move this file wherever you want.
2) Rename the file if needed.
3) Confirm your selection by opening the file, for
example by pressing <Enter>.
Notes:
1) This file is provided for your convenience. You can
only choose this placeholder file otherwise the save operation aborted.
2) If you quit yazi without opening a file, this file
will be removed and the save operation aborted.
' >"$path"
$termcmd ${pkgs.yazi}/bin/yazi --chooser-file="$tmpfile" "$path"
elif [ "$directory" = "1" ]; then
$termcmd ${pkgs.yazi}/bin/yazi --cwd-file="$out" "$path"
elif [ "$multiple" = "1" ]; then
$termcmd ${pkgs.yazi}/bin/yazi --chooser-file="$out" "$path"
else
$termcmd ${pkgs.yazi}/bin/yazi --chooser-file="$out" "$path"
fi
# Handle save file case
if [ "$save" = "1" ] && [ -s "$tmpfile" ]; then
selected_file=$(head -n 1 "$tmpfile")
if [ -f "$selected_file" ] && grep -qi "^xdg-desktop-portal-termfilechooser saving files tutorial" "$selected_file"; then
echo "$selected_file" >"$out"
fi
fi
'';
in {
wayland.windowManager.hyprland.settings = {
bindd = [
"SUPER, X, Open File Manager, exec, uwsm app -- yazi"
];
};
programs.yazi = {
enable = true;
enableFishIntegration = true;
settings = {
manager = {
show_hidden = false;
sort_by = "mtime";
sort_reverse = true;
sort_dir_first = false;
linemode = "size";
mouse_events = ["click" "scroll" "touch" "move" "drag"];
};
tasks = {
image_bound = [10000 10000];
};
opener = {
anki = [
{
run = "anki \"$@\"";
desc = "Open with Anki";
}
];
pdf = [
{
run = "zathura \"$@\"";
desc = "Open with Zathura";
}
{
run = "firefox \"$@\"";
desc = "Open with Firefox";
}
];
};
open = {
prepend_rules = [
{
name = "*.{apkg,colpkg}";
use = "anki";
}
{
mime = "application/pdf";
use = "pdf";
}
];
};
};
};
# Portal packages need to be in user profile for proper path resolution
home.packages = [
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-termfilechooser
];
# xdg-desktop-portal-termfilechooser configuration
xdg.configFile."xdg-desktop-portal-termfilechooser/config".text = ''
[filechooser]
cmd=${yaziWrapper}
default_dir=$HOME/Downloads
'';
# Portal routing configuration - use termfilechooser for file dialogs
xdg.configFile."xdg-desktop-portal/portals.conf".text = ''
[preferred]
default=hyprland;gtk
org.freedesktop.impl.portal.FileChooser=termfilechooser
'';
xdg.mimeApps = {
enable = true;
defaultApplications = {
"inode/directory" = "yazi.desktop";
};
};
wayland.windowManager.hyprland.settings.windowrulev2 = [
# File picker yazi - floating, centered, smaller size
"float, class:^(org\\.hakase\\.popup\\.yazi)$"
"size 60% 70%, class:^(org\\.hakase\\.popup\\.yazi)$"
"center, class:^(org\\.hakase\\.popup\\.yazi)$"
];
}
+38
View File
@@ -0,0 +1,38 @@
{
pkgs,
config,
lib,
...
}: {
home.packages = with pkgs; [
ocrmypdf
];
programs.zathura = {
enable = true;
options = {
selection-clipboard = "clipboard";
adjust-open = "best-fit";
pages-per-row = 1;
scroll-page-aware = "true";
scroll-full-overlap = "0.01";
scroll-step = 100;
zoom-min = 10;
recolor = true;
recolor-keephue = true;
};
extraConfig = "include ${config.home.homeDirectory}/.config/zathura/zathura-matugen";
};
home.activation.createZathuraMatugen = lib.hm.dag.entryAfter ["writeBoundary"] ''
if [ ! -f "${config.home.homeDirectory}/.config/zathura/zathura-matugen" ]; then
touch "${config.home.homeDirectory}/.config/zathura/zathura-matugen"
fi
'';
xdg.mimeApps = {
enable = true;
defaultApplications = {
"application/pdf" = "org.pwmt.zathura.desktop";
};
};
}
+9
View File
@@ -0,0 +1,9 @@
{
programs.zoxide = {
enable = true;
enableFishIntegration = true;
options = [
"--cmd cd"
];
};
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

+6
View File
@@ -0,0 +1,6 @@
██╗ ██╗ █████╗ ██╗ ██╗ █████╗ ███████╗███████╗
██║ ██║██╔══██╗██║ ██╔╝██╔══██╗██╔════╝██╔════╝
███████║███████║█████╔╝ ███████║███████╗█████╗
██╔══██║██╔══██║██╔═██╗ ██╔══██║╚════██║██╔══╝
██║ ██║██║ ██║██║ ██╗██║ ██║███████║███████╗
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚══════╝
Binary file not shown.

After

Width:  |  Height:  |  Size: 476 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 826 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

+126
View File
@@ -0,0 +1,126 @@
{
hakase = {
myConfig = {
font = {
monospace = "MonoLisa";
monospaceScript = "MonoLisa Italic @ss02=1";
sans = "Sans";
};
nixos = {
username = "kenji";
hostname = "hakase";
timezone = "America/Chicago";
};
git = {
username = "kenji";
email = "kenji@hakase";
defaultBranch = "master";
};
theme = {
mode = "dark";
};
terminal = {
default = "ghostty";
font = "MonoLisa";
aliases = {
update = "sudo nixos-rebuild switch --flake ~/.config/nixos/#hakase";
};
};
btop = {
autostart = true;
monitor = "HDMI-A-1";
};
hyprland = {
monitors = [
"DP-1,highres@165,0x1080,1,vrr,0,bitdepth,10,cm,hdr,sdrbrightness,1.3"
"DP-2, highres@165,760x0,1"
"HDMI-A-1, highres@highrr@120, 3440x1440, 1.6"
];
wallpaper = "firewatch.png";
kb_options = "";
};
wakeup = {
mouse = {
disable = true;
vendor = "3710";
product = "5406";
};
};
firefox = {
bookmarks = [
{
name = "Home Manager";
url = "https://mynixos.com/home-manager/options/programs";
}
{
name = "YouTube";
url = "https://youtube.com";
}
{
name = "Nur";
url = "https://nur.nix-community.org/repos";
}
];
newtabpage = [
{
title = "Dashboard";
url = "https://dash.sakamoto.dev";
}
];
};
};
};
macbook = {
myConfig = {
font = {
monospace = "MonoLisa";
monospaceScript = "MonoLisa Italic @ss02=1";
sans = "Sans";
};
nixos = {
username = "kenji";
hostname = "macbook";
timezone = "America/Chicago";
};
git = {
username = "kenji";
email = "kenji@macbook";
defaultBranch = "master";
};
theme = {
mode = "dark";
};
terminal = {
default = "ghostty";
font = "MonoLisa";
aliases = {
update = "sudo nixos-rebuild switch --flake ~/.config/nixos/#macbook";
};
};
btop = {
autostart = false;
monitor = "eDP-1";
};
hyprland = {
# M1 Pro/Max/Air screens are usually built-in eDP-1.
# HiDPI scale 2.0 is safe for Retina.
monitors = [
"eDP-1, highres, auto, 2"
];
wallpaper = "firewatch.png";
kb_options = "";
};
firefox = {
bookmarks = [
{
name = "Asahi Linux";
url = "https://asahilinux.org/";
}
];
newtabpage = [];
};
};
};
}
Generated
+767 -193
View File
File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More