Compare commits

..

No commits in common. "de1c2b26e16e21f3a0fbe7d94d8710be233dca3a" and "ea5125c0a9a75077762c06d434c1fd32bf4e121f" have entirely different histories.

4 changed files with 20 additions and 8 deletions

View file

@ -24,7 +24,7 @@ set global lsp_diagnostic_line_warning_sign '┊'
set global lsp_hover_anchor true
set global lsp_auto_show_code_actions true
set global lsp_auto_highlight_references true
hook global WinSetOption filetype=(zig|go|typescript|javascript) %{
hook global WinSetOption filetype=(zig|go) %{
map buffer user r ': lsp-rename-prompt<ret>' -docstring "LSP Rename"
map buffer user a ': lsp-code-actions<ret>' -docstring "LSP Code actions"
map buffer user , ': lsp-hover<ret>' -docstring "LSP hover"
@ -53,6 +53,17 @@ hook global WinSetOption filetype=go %{
hook buffer BufWritePre .* format-buffer
}
# ------------
# Usar Foot
# ------------
hook global KakBegin .* %{ set-option global termcmd "footclient sh -c" }
define-command fzf-terminal -params 1.. -shell-completion %{
set-option global termcmd "footclient --app-id=fzf sh -c"
wayland-terminal %arg{@}
set-option global termcmd "footclient sh -c"
}
# ------------
# Keybindings genericas
# ------------

View file

@ -3,8 +3,8 @@ profile {
}
profile {
output HDMI-A-1 enable position 1366,0 scale 1
#output LVDS-1 enable position 0,312
output LVDS-1 disable
output LVDS-1 enable position 0,312
#output LVDS-1 disable
}
profile 420-sola {

View file

@ -6,6 +6,7 @@ exec fuzzel \
--font='monospace:pixelsize=22' \
--prompt='➦ ' \
--width=40 \
--no-icons \
--background=${background}ff \
--text-color=${foreground}ff \
--match-color=${accent}ff \

View file

@ -5,12 +5,12 @@ if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
XDG_RUNTIME_DIR="/run/user/$(id -u)"
mkdir -p "$XDG_RUNTIME_DIR"
chmod 700 "$XDG_RUNTIME_DIR"
mkdir -p "$HOME/.local/share/river"
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log"
mkdir -p "$HOME/.local/share/sway"
log="$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
exec env \
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
XDG_CURRENT_DESKTOP=river \
XDG_SESSION_DESKTOP=river \
dbus-run-session river >"$log" 2>&1
XDG_CURRENT_DESKTOP=sway \
XDG_SESSION_DESKTOP=sway \
dbus-run-session sway >"$log" 2>&1
fi
source ~/.zshrc