Compare commits

..
2 Commits
Author SHA1 Message Date
gitadmin 0ae9a204aa feat(desktop): add ydotool integration for Hyprland
ydotool provides keyboard input simulation on Wayland,
required by Hyprland keybinding daemons like ydotool.
Adds user to input/render/video groups for access, and
conditionally enables the ydotool user service only
when the input group is available.
2026-07-22 23:57:52 -04:00
gitadmin 32edcb9019 chore: add remote-dev desktop entries, zero tool, ostt model, brain allow
- New .desktop entries for steve-dev, bianca, dupont remote hosts
- Register them in mise.toml symlinks
- Add zero (mise plugin) to config
- Switch ostt whisper model medium->small
- Allow obsidian vault in pi permission system
- Fish alias cleanup (remove unnecessary =, add zero alias)
2026-07-22 23:57:11 -04:00
11 changed files with 47 additions and 13 deletions
+9 -8
View File
@@ -48,13 +48,14 @@ if status is-interactive
command -q fabric && alias ai "fabric -p \$(fabric-ai -l | fzf)" command -q fabric && alias ai "fabric -p \$(fabric-ai -l | fzf)"
command -q xdg-open && alias o "xdg-open" command -q xdg-open && alias o "xdg-open"
command -q lazygit && alias lg lazygit command -q lazygit && alias lg lazygit
command -q zero.js && alias zero 'zero.js'
if command -q nvim if command -q nvim
set -gx EDITOR nvim set -gx EDITOR nvim
alias oo="cd $SECOND_BRAIN" alias oo "cd $SECOND_BRAIN"
alias on="nvim '+Obsidian new'" alias on "nvim '+Obsidian new'"
alias os="nvim '+Obsidian search'" alias os "nvim '+Obsidian search'"
alias mini="NVIM_APPNAME=mini.nvim nvim" alias mini "NVIM_APPNAME=mini.nvim nvim"
end end
command -q jj && alias rev "jj log -G -T 'commit_id.short(8)'" command -q jj && alias rev "jj log -G -T 'commit_id.short(8)'"
@@ -75,12 +76,12 @@ if status is-interactive
# Commands to run in interactive sessions can go here # Commands to run in interactive sessions can go here
if command -q eza if command -q eza
alias ll="eza -l -g --icons" alias ll "eza -l -g --icons"
alias ls="eza -al --color=always --group-directories-first" alias ls "eza -al --color=always --group-directories-first"
end end
command -q bat && alias cat="bat" command -q bat && alias cat "bat"
command -q git && alias g=git command -q git && alias g git
set -gx VISUAL $EDITOR set -gx VISUAL $EDITOR
+1
View File
@@ -6,6 +6,7 @@ age = "latest"
bun = "latest" bun = "latest"
codex = "latest" codex = "latest"
copilot-cli = "latest" copilot-cli = "latest"
"github:Gitlawb/zero" = "latest"
"github:ZinoKader/portal" = "latest" "github:ZinoKader/portal" = "latest"
"github:danielmiessler/fabric" = "latest" "github:danielmiessler/fabric" = "latest"
"github:mrusme/reader" = "latest" "github:mrusme/reader" = "latest"
+1 -2
View File
@@ -2,7 +2,7 @@ config_version = "0.0.25"
[transcription] [transcription]
provider = "whisper" provider = "whisper"
model = "medium" model = "small"
[audio] [audio]
device = "default" device = "default"
@@ -25,4 +25,3 @@ paste_key = "ctrl+shift+v"
restore_clipboard = true restore_clipboard = true
restore_delay_ms = 750 restore_delay_ms = 750
post_popup_delay_ms = 1000 post_popup_delay_ms = 1000
@@ -15,7 +15,8 @@
"sudo *": "ask" "sudo *": "ask"
}, },
"external_directory": { "external_directory": {
"*": "deny" "*": "deny",
"~/Documents/sjb-brain/*": "allow"
} }
}, },
"debugLog": false, "debugLog": false,
+9
View File
@@ -0,0 +1,9 @@
[Desktop Entry]
Version=1.0
Name=bianca
Comment=remote dev
Exec=foot -a bianca mise exec -- herdr --remote bianca
Terminal=false
Type=Application
Icon=foot
StartupNotify=true
+9
View File
@@ -0,0 +1,9 @@
[Desktop Entry]
Version=1.0
Name=dupont
Comment=remote dev
Exec=foot -a dupont mise exec -- herdr --remote dupont
Terminal=false
Type=Application
Icon=foot
StartupNotify=true
+9
View File
@@ -0,0 +1,9 @@
[Desktop Entry]
Version=1.0
Name=Steve dev
Comment=remote dev
Exec=foot -a steve-dev mise exec -- herdr --remote steve-dev
Terminal=false
Type=Application
Icon=foot
StartupNotify=true
-1
View File
@@ -5,7 +5,6 @@ Icon=foot
Terminal=false Terminal=false
Categories=System;TerminalEmulator; Categories=System;TerminalEmulator;
Keywords=shell;prompt;command;commandline; Keywords=shell;prompt;command;commandline;
Name=Terminal Name=Terminal
GenericName=Terminal GenericName=Terminal
Comment=A wayland native terminal emulator Comment=A wayland native terminal emulator
+1
View File
@@ -16,6 +16,7 @@ else
fi fi
if [[ -x "$(command -v systemctl)" ]]; then if [[ -x "$(command -v systemctl)" ]]; then
sudo usermod -aG "input,render,video" $USER
sudo systemctl enable --now sddm.service sudo systemctl enable --now sddm.service
sudo systemctl enable --now udisks2.service sudo systemctl enable --now udisks2.service
fi fi
+5 -1
View File
@@ -63,6 +63,9 @@ dotfiles.default_mode = "symlink-each"
"~/.local/share/applications/RampClient.desktop" = { source = "desktop/RampClient.desktop", mode = "symlink" } "~/.local/share/applications/RampClient.desktop" = { source = "desktop/RampClient.desktop", mode = "symlink" }
"~/.local/share/applications/terminal.desktop" = { source = "desktop/terminal.desktop", mode = "symlink" } "~/.local/share/applications/terminal.desktop" = { source = "desktop/terminal.desktop", mode = "symlink" }
"~/.local/share/applications/tmux.desktop" = { source = "desktop/tmux.desktop", mode = "symlink" } "~/.local/share/applications/tmux.desktop" = { source = "desktop/tmux.desktop", mode = "symlink" }
"~/.local/share/applications/steve-dev.desktop" = { source = "desktop/steve-dev.desktop", mode = "symlink" }
"~/.local/share/applications/bianca.desktop" = { source = "desktop/bianca.desktop", mode = "symlink" }
"~/.local/share/applications/dupont.desktop" = { source = "desktop/dupont.desktop", mode = "symlink" }
# scripts. # scripts.
"~/.local/bin/hyprland-activeworkspace" = { source = "script/hyprland-activeworkspace", mode = "symlink" } "~/.local/bin/hyprland-activeworkspace" = { source = "script/hyprland-activeworkspace", mode = "symlink" }
@@ -152,7 +155,8 @@ description = "setup gui"
run = [ run = [
'xdg-settings set default-web-browser firefox.desktop', 'xdg-settings set default-web-browser firefox.desktop',
'gsettings set org.gnome.desktop.interface gtk-enable-primary-paste true', 'gsettings set org.gnome.desktop.interface gtk-enable-primary-paste true',
'systemctl --user enable --now syncthing', 'id -nG sjb | grep -qw "input" && systemctl --user enable ydotool',
'systemctl --user enable syncthing',
'systemctl --user enable mako.service', 'systemctl --user enable mako.service',
'systemctl --user enable hypridle.service', 'systemctl --user enable hypridle.service',
'systemctl --user enable awww-daemon.service', 'systemctl --user enable awww-daemon.service',
+1
View File
@@ -99,6 +99,7 @@ xdg-user-dirs
xorg-xwayland xorg-xwayland
xournalpp xournalpp
yaru-icon-theme yaru-icon-theme
ydotool
zathura zathura
zathura-pdf-poppler zathura-pdf-poppler
zed zed