Add nerd-dictation toggle, swap hyprsunset for gammastep, monitor layout

- Bind $mod+C to toggle nerd-dictation in hyprland and i3
- Replace hyprsunset with gammastep (added to packages.txt)
- Add nwg-displays monitor/workspace configs and DP-2 rotation
- Snacks keymaps picker on <leader>?, disable which-key default
- Document colors+base build system in CLAUDE.md

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
2026-07-07 13:08:00 +01:00
co-authored by Claude Fable 5
parent b0a45417ea
commit f2f5039433
11 changed files with 131 additions and 79 deletions
+11
View File
@@ -16,6 +16,17 @@ This is a dotfiles/config repository for Arch Linux (Manjaro) using `yay` as the
- **Submodule**: `hatsune-miku-windows-linux-cursors` - cursor theme (init with `git submodule update --init --recursive`)
- **Packages**: `packages.txt` - list of packages installed via `yay -S`
## Build System
Some configs are built by concatenating a `colors.*` file with a `base.*` file. The build outputs are gitignored. **Always edit the source (`base.*`) files, never the built outputs.**
| Component | Sources | Build output | Build command |
|-----------|---------|--------------|---------------|
| Hyprland | `hypr/colors.conf` + `hypr/base.conf` | `hypr/hyprland.conf` | `hypr/build.sh` |
| Waybar CSS | `waybar/colors.css` + `waybar/base.css` | `waybar/style.css` | `waybar/build.sh` |
After editing a base file, run the corresponding `build.sh` to regenerate the output.
## Key Conventions
- Configs are symlinked into `~/.config/` (see README.md for exact symlink commands per component)
+5 -2
View File
@@ -35,7 +35,7 @@ exec-once = wl-paste --watch cliphist store
exec-once = dunst
exec-once = hypridle
exec-once = hyprpaper
exec-once = hyprsunset
exec-once = gammastep -m wayland -l 51.5074:-0.1278 -t 6500:3500
exec-once = waterfox
exec-once = waybar
# NOTE: ff-theme-util and fix_xcursor are X11-specific; drop or find Wayland equivalents
@@ -120,7 +120,7 @@ misc {
#############
input {
kb_layout = gb
kb_layout =
kb_options = caps:swapescape,grp:alt_shift_toggle
follow_mouse = 1
sensitivity = 0
@@ -164,6 +164,9 @@ bind = $mod SHIFT, Print, exec, grim -g "$(slurp)" ~/screenshot.png
# Xkill equivalent
bind = $mod CTRL, X, exec, hyprctl kill
# Toggle nerd-dictation
bind = $mod, C, exec, pgrep -f "nerd-dictation begin" >/dev/null && nerd-dictation end || nerd-dictation begin --simulate-input-tool=YDOTOOL
# Lock screen
bind = $mod, 9, exec, hyprlock # replaces blurlock; configure hyprlock separately
+10 -6
View File
@@ -17,6 +17,7 @@ $color_white = rgb(FFFFFF)
################
monitor=,preferred,auto,1
monitor = DP-2, 2560x1440, 2560x0, 1, transform, 1
###################
@@ -45,7 +46,7 @@ exec-once = wl-paste --watch cliphist store
exec-once = dunst
exec-once = hypridle
exec-once = hyprpaper
exec-once = hyprsunset
exec-once = gammastep -m wayland -l 51.5074:-0.1278 -t 6500:3500
exec-once = waterfox
exec-once = waybar
# NOTE: ff-theme-util and fix_xcursor are X11-specific; drop or find Wayland equivalents
@@ -58,10 +59,10 @@ exec-once = waybar
env = XDG_SESSION_TYPE,wayland
# NVIDIA-specific env vars — uncomment if running on nvidia:
# env = LIBVA_DRIVER_NAME,nvidia
# env = GBM_BACKEND,nvidia-drm
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# env = WLR_NO_HARDWARE_CURSORS,1
env = LIBVA_DRIVER_NAME,nvidia
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
#####################
### LOOK AND FEEL ###
@@ -130,7 +131,7 @@ misc {
#############
input {
kb_layout = gb
kb_layout =
kb_options = caps:swapescape,grp:alt_shift_toggle
follow_mouse = 1
sensitivity = 0
@@ -174,6 +175,9 @@ bind = $mod SHIFT, Print, exec, grim -g "$(slurp)" ~/screenshot.png
# Xkill equivalent
bind = $mod CTRL, X, exec, hyprctl kill
# Toggle nerd-dictation
bind = $mod, C, exec, pgrep -f "nerd-dictation begin" >/dev/null && nerd-dictation end || nerd-dictation begin --simulate-input-tool=YDOTOOL
# Lock screen
bind = $mod, 9, exec, hyprlock # replaces blurlock; configure hyprlock separately
+5
View File
@@ -0,0 +1,5 @@
# Generated by nwg-displays on 2026-05-30 at 01:47:19. Do not edit manually.
monitor=DP-1,[email protected],0x0,1.0
monitor=DP-1,transform,1
monitor=DP-2,[email protected],1440x0,1.0
+15
View File
@@ -0,0 +1,15 @@
-- Generated by nwg-displays on 2026-05-30 at 01:47:19. Do not edit manually.
hl.monitor({
output = "DP-1",
mode = "[email protected]",
position = "0x0",
scale = 1.0,
transform = 1
})
hl.monitor({
output = "DP-2",
mode = "[email protected]",
position = "1440x0",
scale = 1.0
})
View File
+3
View File
@@ -92,6 +92,9 @@ bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
# bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
# Toggle nerd-dictation
bindsym $mod+c exec --no-startup-id "pgrep -f 'nerd-dictation begin' >/dev/null && nerd-dictation end || nerd-dictation begin"
focus_follows_mouse yes
# change focus
+4
View File
@@ -32,6 +32,7 @@ exec --no-startup-id pamac-tray
exec --no-startup-id clipit
exec --no-startup-id dunst
exec --no-startup-id xautolock -time 90 -locker blurlock
exec_always --no-startup-id xrandr --output DP-2 --rotate left
# exec --no-startup-id nitrogen ~/scripts/background.jpg
# exec --no-startup-id blueman-applet
# exec_always --no-startup-id sbxkb
@@ -102,6 +103,9 @@ bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
# bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
# Toggle nerd-dictation
bindsym $mod+c exec --no-startup-id "pgrep -x nerd-dictation && nerd-dictation end || nerd-dictation begin"
focus_follows_mouse yes
# change focus
+10
View File
@@ -1,6 +1,16 @@
return {
{
"snacks.nvim",
keys = {
{
"<leader>?",
function()
Snacks.picker.keymaps()
end,
desc = "Search Keymaps",
mode = { "n", "x" },
},
},
opts = {
dashboard = {
preset = {
+3 -7
View File
@@ -42,17 +42,13 @@ return {
},
-- better descriptions
{ "gx", desc = "Open with system app" },
{ "gc", group = "comment", desc = "Toggle comment" },
},
},
},
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Keymaps (which-key)",
},
-- disable LazyVim's default <leader>? so the snacks keymaps picker owns it
{ "<leader>?", false },
{
"<c-w><space>",
function()
+1
View File
@@ -31,6 +31,7 @@ slurp
mako
brightnessctl
gammastep
lxappearance