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:
@@ -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`)
|
- **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`
|
- **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
|
## Key Conventions
|
||||||
|
|
||||||
- Configs are symlinked into `~/.config/` (see README.md for exact symlink commands per component)
|
- Configs are symlinked into `~/.config/` (see README.md for exact symlink commands per component)
|
||||||
|
|||||||
+5
-2
@@ -35,7 +35,7 @@ exec-once = wl-paste --watch cliphist store
|
|||||||
exec-once = dunst
|
exec-once = dunst
|
||||||
exec-once = hypridle
|
exec-once = hypridle
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpaper
|
||||||
exec-once = hyprsunset
|
exec-once = gammastep -m wayland -l 51.5074:-0.1278 -t 6500:3500
|
||||||
exec-once = waterfox
|
exec-once = waterfox
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
# NOTE: ff-theme-util and fix_xcursor are X11-specific; drop or find Wayland equivalents
|
# NOTE: ff-theme-util and fix_xcursor are X11-specific; drop or find Wayland equivalents
|
||||||
@@ -120,7 +120,7 @@ misc {
|
|||||||
#############
|
#############
|
||||||
|
|
||||||
input {
|
input {
|
||||||
kb_layout = gb
|
kb_layout =
|
||||||
kb_options = caps:swapescape,grp:alt_shift_toggle
|
kb_options = caps:swapescape,grp:alt_shift_toggle
|
||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
sensitivity = 0
|
sensitivity = 0
|
||||||
@@ -164,6 +164,9 @@ bind = $mod SHIFT, Print, exec, grim -g "$(slurp)" ~/screenshot.png
|
|||||||
# Xkill equivalent
|
# Xkill equivalent
|
||||||
bind = $mod CTRL, X, exec, hyprctl kill
|
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
|
# Lock screen
|
||||||
bind = $mod, 9, exec, hyprlock # replaces blurlock; configure hyprlock separately
|
bind = $mod, 9, exec, hyprlock # replaces blurlock; configure hyprlock separately
|
||||||
|
|
||||||
|
|||||||
+10
-6
@@ -17,6 +17,7 @@ $color_white = rgb(FFFFFF)
|
|||||||
################
|
################
|
||||||
|
|
||||||
monitor=,preferred,auto,1
|
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 = dunst
|
||||||
exec-once = hypridle
|
exec-once = hypridle
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpaper
|
||||||
exec-once = hyprsunset
|
exec-once = gammastep -m wayland -l 51.5074:-0.1278 -t 6500:3500
|
||||||
exec-once = waterfox
|
exec-once = waterfox
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
# NOTE: ff-theme-util and fix_xcursor are X11-specific; drop or find Wayland equivalents
|
# 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
|
env = XDG_SESSION_TYPE,wayland
|
||||||
# NVIDIA-specific env vars — uncomment if running on nvidia:
|
# NVIDIA-specific env vars — uncomment if running on nvidia:
|
||||||
# env = LIBVA_DRIVER_NAME,nvidia
|
env = LIBVA_DRIVER_NAME,nvidia
|
||||||
# env = GBM_BACKEND,nvidia-drm
|
env = GBM_BACKEND,nvidia-drm
|
||||||
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
# env = WLR_NO_HARDWARE_CURSORS,1
|
env = WLR_NO_HARDWARE_CURSORS,1
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
### LOOK AND FEEL ###
|
### LOOK AND FEEL ###
|
||||||
@@ -130,7 +131,7 @@ misc {
|
|||||||
#############
|
#############
|
||||||
|
|
||||||
input {
|
input {
|
||||||
kb_layout = gb
|
kb_layout =
|
||||||
kb_options = caps:swapescape,grp:alt_shift_toggle
|
kb_options = caps:swapescape,grp:alt_shift_toggle
|
||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
sensitivity = 0
|
sensitivity = 0
|
||||||
@@ -174,6 +175,9 @@ bind = $mod SHIFT, Print, exec, grim -g "$(slurp)" ~/screenshot.png
|
|||||||
# Xkill equivalent
|
# Xkill equivalent
|
||||||
bind = $mod CTRL, X, exec, hyprctl kill
|
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
|
# Lock screen
|
||||||
bind = $mod, 9, exec, hyprlock # replaces blurlock; configure hyprlock separately
|
bind = $mod, 9, exec, hyprlock # replaces blurlock; configure hyprlock separately
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -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
|
||||||
|
})
|
||||||
@@ -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+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
|
||||||
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
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
|
focus_follows_mouse yes
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ exec --no-startup-id pamac-tray
|
|||||||
exec --no-startup-id clipit
|
exec --no-startup-id clipit
|
||||||
exec --no-startup-id dunst
|
exec --no-startup-id dunst
|
||||||
exec --no-startup-id xautolock -time 90 -locker blurlock
|
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 nitrogen ~/scripts/background.jpg
|
||||||
# exec --no-startup-id blueman-applet
|
# exec --no-startup-id blueman-applet
|
||||||
# exec_always --no-startup-id sbxkb
|
# 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+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
|
||||||
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
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
|
focus_follows_mouse yes
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
|
|||||||
@@ -1,6 +1,16 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"snacks.nvim",
|
"snacks.nvim",
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>?",
|
||||||
|
function()
|
||||||
|
Snacks.picker.keymaps()
|
||||||
|
end,
|
||||||
|
desc = "Search Keymaps",
|
||||||
|
mode = { "n", "x" },
|
||||||
|
},
|
||||||
|
},
|
||||||
opts = {
|
opts = {
|
||||||
dashboard = {
|
dashboard = {
|
||||||
preset = {
|
preset = {
|
||||||
|
|||||||
@@ -1,73 +1,69 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"folke/which-key.nvim",
|
"folke/which-key.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts_extend = { "spec" },
|
opts_extend = { "spec" },
|
||||||
opts = {
|
opts = {
|
||||||
preset = "helix",
|
preset = "helix",
|
||||||
defaults = {},
|
defaults = {},
|
||||||
spec = {
|
spec = {
|
||||||
{
|
{
|
||||||
mode = { "n", "x" },
|
mode = { "n", "x" },
|
||||||
{ "<leader><tab>", group = "tabs" },
|
{ "<leader><tab>", group = "tabs" },
|
||||||
{ "<leader>c", group = "code" },
|
{ "<leader>c", group = "code" },
|
||||||
{ "<leader>d", group = "debug" },
|
{ "<leader>d", group = "debug" },
|
||||||
{ "<leader>dp", group = "profiler" },
|
{ "<leader>dp", group = "profiler" },
|
||||||
{ "<leader>f", group = "file/find" },
|
{ "<leader>f", group = "file/find" },
|
||||||
{ "<leader>g", group = "git" },
|
{ "<leader>g", group = "git" },
|
||||||
{ "<leader>gh", group = "hunks" },
|
{ "<leader>gh", group = "hunks" },
|
||||||
{ "<leader>q", group = "quit/session" },
|
{ "<leader>q", group = "quit/session" },
|
||||||
{ "<leader>s", group = "search" },
|
{ "<leader>s", group = "search" },
|
||||||
{ "<leader>u", group = "ui" },
|
{ "<leader>u", group = "ui" },
|
||||||
{ "<leader>x", group = "diagnostics/quickfix" },
|
{ "<leader>x", group = "diagnostics/quickfix" },
|
||||||
{ "[", group = "prev" },
|
{ "[", group = "prev" },
|
||||||
{ "]", group = "next" },
|
{ "]", group = "next" },
|
||||||
{ "g", group = "goto" },
|
{ "g", group = "goto" },
|
||||||
{ "gs", group = "surround" },
|
{ "gs", group = "surround" },
|
||||||
{ "z", group = "fold" },
|
{ "z", group = "fold" },
|
||||||
{
|
{
|
||||||
"<leader>b",
|
"<leader>b",
|
||||||
group = "buffer",
|
group = "buffer",
|
||||||
expand = function()
|
expand = function()
|
||||||
return require("which-key.extras").expand.buf()
|
return require("which-key.extras").expand.buf()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"<leader>w",
|
"<leader>w",
|
||||||
group = "windows",
|
group = "windows",
|
||||||
proxy = "<c-w>",
|
proxy = "<c-w>",
|
||||||
expand = function()
|
expand = function()
|
||||||
return require("which-key.extras").expand.win()
|
return require("which-key.extras").expand.win()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
-- better descriptions
|
-- better descriptions
|
||||||
{ "gx", desc = "Open with system app" },
|
{ "gx", desc = "Open with system app" },
|
||||||
},
|
{ "gc", group = "comment", desc = "Toggle comment" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
keys = {
|
},
|
||||||
{
|
keys = {
|
||||||
"<leader>?",
|
-- disable LazyVim's default <leader>? so the snacks keymaps picker owns it
|
||||||
function()
|
{ "<leader>?", false },
|
||||||
require("which-key").show({ global = false })
|
{
|
||||||
end,
|
"<c-w><space>",
|
||||||
desc = "Buffer Keymaps (which-key)",
|
function()
|
||||||
},
|
require("which-key").show({ keys = "<c-w>", loop = true })
|
||||||
{
|
end,
|
||||||
"<c-w><space>",
|
desc = "Window Hydra Mode (which-key)",
|
||||||
function()
|
},
|
||||||
require("which-key").show({ keys = "<c-w>", loop = true })
|
},
|
||||||
end,
|
config = function(_, opts)
|
||||||
desc = "Window Hydra Mode (which-key)",
|
local wk = require("which-key")
|
||||||
},
|
wk.setup(opts)
|
||||||
},
|
if not vim.tbl_isempty(opts.defaults) then
|
||||||
config = function(_, opts)
|
LazyVim.warn("which-key: opts.defaults is deprecated. Please use opts.spec instead.")
|
||||||
local wk = require("which-key")
|
wk.register(opts.defaults)
|
||||||
wk.setup(opts)
|
end
|
||||||
if not vim.tbl_isempty(opts.defaults) then
|
end,
|
||||||
LazyVim.warn("which-key: opts.defaults is deprecated. Please use opts.spec instead.")
|
},
|
||||||
wk.register(opts.defaults)
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ slurp
|
|||||||
|
|
||||||
mako
|
mako
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
gammastep
|
||||||
|
|
||||||
lxappearance
|
lxappearance
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user