diff --git a/dot_config/atuin/private_config.toml b/dot_config/atuin/private_config.toml index 3ffc976..514e6b1 100644 --- a/dot_config/atuin/private_config.toml +++ b/dot_config/atuin/private_config.toml @@ -355,15 +355,15 @@ name = "cyberdream" ## Set to false to disable the popup. ## This can also be controlled with the ATUIN_TMUX_POPUP environment variable. ## Note: The tmux popup is currently supported in zsh, bash, and fish shells. This currently doesn't work with iTerm native tmux integration. -# enabled = false +enabled = true ## Width of the tmux popup window ## Can be a percentage, or integer (e.g. "100" means 100 characters wide) -# width = "80%" +width = "80%" ## Height of the tmux popup window ## Can be a percentage, or integer (e.g. "100" means 100 lines tall) -# height = "60%" +height = "60%" [ui] diff --git a/dot_config/kitty/kitty.conf b/dot_config/kitty/kitty.conf index 1d42d08..c823f90 100644 --- a/dot_config/kitty/kitty.conf +++ b/dot_config/kitty/kitty.conf @@ -15,8 +15,6 @@ cursor_trail_start_threshold 0 cursor_trail_decay 0.01 0.05 cursor_blink_interval 0 -# real socket is @kitty-local-; scripts must use $KITTY_LISTEN_ON, not this name -listen_on unix:@kitty-local enabled_layouts splits:split_axis=vertical,stack # launch aliases @@ -90,4 +88,4 @@ bold_font auto italic_font auto bold_italic_font auto # END_KITTY_FONTS -include themes/noctalia.conf +include themes/cyberdream.conf diff --git a/dot_config/niri/exact_config.d/70-binds.kdl b/dot_config/niri/exact_config.d/70-binds.kdl index 0716bd7..8561e4e 100644 --- a/dot_config/niri/exact_config.d/70-binds.kdl +++ b/dot_config/niri/exact_config.d/70-binds.kdl @@ -33,8 +33,8 @@ binds { Super+Ctrl+A { spawn "vicinae" "vicinae://launch/applications/com.anthropic.Claude"; } Super+Ctrl+G { spawn "vicinae" "vicinae://launch/applications/gemini-desktop"; } Super+Alt+Ctrl+H { spawn "hermes" "desktop"; } - Super+Alt+Ctrl+J { spawn "niri-launch" "kitty"; } - Super+Alt+Ctrl+K { spawn "niri-launch" "brave-origin-nightly"; } + Super+Alt+Ctrl+J { spawn "niri-launch-terminal"; } + Super+Alt+Ctrl+K { spawn "niri-launch-browser"; } Super+Alt+Ctrl+O { spawn "niri-launch" "obsidian"; } Super+Alt+Ctrl+W { spawn "vicinae" "vicinae://launch/applications/tldraw_offline"; } Super+Alt+Ctrl+E { spawn "vicinae" "vicinae://launch/applications/com.fastmail.Fastmail"; } diff --git a/dot_config/yazi/keymap.toml b/dot_config/yazi/keymap.toml index 3476442..04fcc09 100644 --- a/dot_config/yazi/keymap.toml +++ b/dot_config/yazi/keymap.toml @@ -137,4 +137,14 @@ desc = "Open in nvim vertical split" [[mgr.prepend_keymap]] on = "" run = 'shell -- yazi-nvim-open split %s' -desc = "Open in nvim horizontal split" \ No newline at end of file +desc = "Open in nvim horizontal split" + +[[mgr.prepend_keymap]] +on = "A" +run = "create --dir" +desc = "Create a directory" + +[[mgr.prepend_keymap]] +on = "N" +run = "bulk_create" +desc = "Bulk create files" \ No newline at end of file diff --git a/dot_config/yazi/theme.toml b/dot_config/yazi/theme.toml index bc5cb70..e321a81 100644 --- a/dot_config/yazi/theme.toml +++ b/dot_config/yazi/theme.toml @@ -1,7 +1,7 @@ [flavor] -light = "noctalia" -dark = "noctalia" -use = "noctalia" +light = "cyberdream" +dark = "cyberdream" +use = "cyberdream" [icon] prepend_dirs = [ diff --git a/dot_local/bin/executable_niri-launch b/dot_local/bin/executable_niri-launch old mode 100755 new mode 100644 index a80f214..eaf05ea --- a/dot_local/bin/executable_niri-launch +++ b/dot_local/bin/executable_niri-launch @@ -51,12 +51,24 @@ elif [[ "$APP" == kitty-* ]]; then elif [[ "$APP" == "ghostty" ]]; then # Cycle through Ghostty terminals (case-insensitive app_id match) INSTANCES=($(niri msg -j windows | jq -r '.[] | select(.app_id | test("ghostty"; "i")) | .id')) +elif [[ "$APP" == "browser" ]]; then + # Cycle through all browsers (brave/chromium/firefox), launch default if none + INSTANCES=($(niri msg -j windows | jq -r '.[] | select((.app_id // "") | ascii_downcase | test("^(brave|chromium|firefox)")) | .id')) + DEFAULT_SPAWN="brave-origin-nightly" +elif [[ "$APP" == "terminal" ]]; then + # Cycle through all terminals (ghostty/kitty/alacritty), launch default if none + INSTANCES=($(niri msg -j windows | jq -r '.[] | select((.app_id // "") | ascii_downcase | test("kitty|alacritty|ghostty")) | .id')) + DEFAULT_SPAWN="kitty" else INSTANCES=($(niri msg -j windows | jq -r ".[] | select(.app_id==\"${APP}\") | .id")) fi # Launch if no instances if [ ${#INSTANCES[@]} -eq 0 ]; then + if [ -n "${DEFAULT_SPAWN:-}" ]; then + niri msg action spawn -- $DEFAULT_SPAWN + exit 0 + fi # Removed "kitty" from this block so it falls through to the spawn command if [[ "$APP" == "webapp" || "$APP" == "ghostty" ]]; then echo "No ${APP} windows running"