mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
chs: re-add drifted files
This commit is contained in:
1 parent
e78ba5ab49
commit
ec151d2349
6 files changed
+32
-12
No files matched your search
@@ -355,15 +355,15 @@ name = "cyberdream"
|
|||||||
## Set to false to disable the popup.
|
## Set to false to disable the popup.
|
||||||
## This can also be controlled with the ATUIN_TMUX_POPUP environment variable.
|
## 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.
|
## 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
|
## Width of the tmux popup window
|
||||||
## Can be a percentage, or integer (e.g. "100" means 100 characters wide)
|
## Can be a percentage, or integer (e.g. "100" means 100 characters wide)
|
||||||
# width = "80%"
|
width = "80%"
|
||||||
|
|
||||||
## Height of the tmux popup window
|
## Height of the tmux popup window
|
||||||
## Can be a percentage, or integer (e.g. "100" means 100 lines tall)
|
## Can be a percentage, or integer (e.g. "100" means 100 lines tall)
|
||||||
# height = "60%"
|
height = "60%"
|
||||||
|
|
||||||
[ui]
|
[ui]
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,6 @@ cursor_trail_start_threshold 0
|
|||||||
cursor_trail_decay 0.01 0.05
|
cursor_trail_decay 0.01 0.05
|
||||||
cursor_blink_interval 0
|
cursor_blink_interval 0
|
||||||
|
|
||||||
# real socket is @kitty-local-<PID>; scripts must use $KITTY_LISTEN_ON, not this name
|
|
||||||
listen_on unix:@kitty-local
|
|
||||||
enabled_layouts splits:split_axis=vertical,stack
|
enabled_layouts splits:split_axis=vertical,stack
|
||||||
|
|
||||||
# launch aliases
|
# launch aliases
|
||||||
@@ -90,4 +88,4 @@ bold_font auto
|
|||||||
italic_font auto
|
italic_font auto
|
||||||
bold_italic_font auto
|
bold_italic_font auto
|
||||||
# END_KITTY_FONTS
|
# END_KITTY_FONTS
|
||||||
include themes/noctalia.conf
|
include themes/cyberdream.conf
|
||||||
@@ -33,8 +33,8 @@ binds {
|
|||||||
Super+Ctrl+A { spawn "vicinae" "vicinae://launch/applications/com.anthropic.Claude"; }
|
Super+Ctrl+A { spawn "vicinae" "vicinae://launch/applications/com.anthropic.Claude"; }
|
||||||
Super+Ctrl+G { spawn "vicinae" "vicinae://launch/applications/gemini-desktop"; }
|
Super+Ctrl+G { spawn "vicinae" "vicinae://launch/applications/gemini-desktop"; }
|
||||||
Super+Alt+Ctrl+H { spawn "hermes" "desktop"; }
|
Super+Alt+Ctrl+H { spawn "hermes" "desktop"; }
|
||||||
Super+Alt+Ctrl+J { spawn "niri-launch" "kitty"; }
|
Super+Alt+Ctrl+J { spawn "niri-launch-terminal"; }
|
||||||
Super+Alt+Ctrl+K { spawn "niri-launch" "brave-origin-nightly"; }
|
Super+Alt+Ctrl+K { spawn "niri-launch-browser"; }
|
||||||
Super+Alt+Ctrl+O { spawn "niri-launch" "obsidian"; }
|
Super+Alt+Ctrl+O { spawn "niri-launch" "obsidian"; }
|
||||||
Super+Alt+Ctrl+W { spawn "vicinae" "vicinae://launch/applications/tldraw_offline"; }
|
Super+Alt+Ctrl+W { spawn "vicinae" "vicinae://launch/applications/tldraw_offline"; }
|
||||||
Super+Alt+Ctrl+E { spawn "vicinae" "vicinae://launch/applications/com.fastmail.Fastmail"; }
|
Super+Alt+Ctrl+E { spawn "vicinae" "vicinae://launch/applications/com.fastmail.Fastmail"; }
|
||||||
|
|||||||
@@ -137,4 +137,14 @@ desc = "Open in nvim vertical split"
|
|||||||
[[mgr.prepend_keymap]]
|
[[mgr.prepend_keymap]]
|
||||||
on = "<C-x>"
|
on = "<C-x>"
|
||||||
run = 'shell -- yazi-nvim-open split %s'
|
run = 'shell -- yazi-nvim-open split %s'
|
||||||
desc = "Open in nvim horizontal split"
|
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"
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
[flavor]
|
[flavor]
|
||||||
light = "noctalia"
|
light = "cyberdream"
|
||||||
dark = "noctalia"
|
dark = "cyberdream"
|
||||||
use = "noctalia"
|
use = "cyberdream"
|
||||||
[icon]
|
[icon]
|
||||||
|
|
||||||
prepend_dirs = [
|
prepend_dirs = [
|
||||||
|
|||||||
Executable → Regular
+12
@@ -51,12 +51,24 @@ elif [[ "$APP" == kitty-* ]]; then
|
|||||||
elif [[ "$APP" == "ghostty" ]]; then
|
elif [[ "$APP" == "ghostty" ]]; then
|
||||||
# Cycle through Ghostty terminals (case-insensitive app_id match)
|
# Cycle through Ghostty terminals (case-insensitive app_id match)
|
||||||
INSTANCES=($(niri msg -j windows | jq -r '.[] | select(.app_id | test("ghostty"; "i")) | .id'))
|
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
|
else
|
||||||
INSTANCES=($(niri msg -j windows | jq -r ".[] | select(.app_id==\"${APP}\") | .id"))
|
INSTANCES=($(niri msg -j windows | jq -r ".[] | select(.app_id==\"${APP}\") | .id"))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Launch if no instances
|
# Launch if no instances
|
||||||
if [ ${#INSTANCES[@]} -eq 0 ]; then
|
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
|
# Removed "kitty" from this block so it falls through to the spawn command
|
||||||
if [[ "$APP" == "webapp" || "$APP" == "ghostty" ]]; then
|
if [[ "$APP" == "webapp" || "$APP" == "ghostty" ]]; then
|
||||||
echo "No ${APP} windows running"
|
echo "No ${APP} windows running"
|
||||||
|
|||||||
Reference in new issue
Block a user