Compare commits
5 commits
ea5125c0a9
...
de1c2b26e1
Author | SHA1 | Date | |
---|---|---|---|
de1c2b26e1 | |||
d446677697 | |||
e305c45b4f | |||
c13767b2d5 | |||
305f2806c7 |
4 changed files with 8 additions and 20 deletions
|
@ -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) %{
|
||||
hook global WinSetOption filetype=(zig|go|typescript|javascript) %{
|
||||
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,17 +53,6 @@ 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
|
||||
# ------------
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -6,7 +6,6 @@ exec fuzzel \
|
|||
--font='monospace:pixelsize=22' \
|
||||
--prompt='➦ ' \
|
||||
--width=40 \
|
||||
--no-icons \
|
||||
--background=${background}ff \
|
||||
--text-color=${foreground}ff \
|
||||
--match-color=${accent}ff \
|
||||
|
|
10
.zprofile
10
.zprofile
|
@ -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/sway"
|
||||
log="$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
|
||||
mkdir -p "$HOME/.local/share/river"
|
||||
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log"
|
||||
exec env \
|
||||
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
||||
XDG_CURRENT_DESKTOP=sway \
|
||||
XDG_SESSION_DESKTOP=sway \
|
||||
dbus-run-session sway >"$log" 2>&1
|
||||
XDG_CURRENT_DESKTOP=river \
|
||||
XDG_SESSION_DESKTOP=river \
|
||||
dbus-run-session river >"$log" 2>&1
|
||||
fi
|
||||
source ~/.zshrc
|
||||
|
|
Loading…
Reference in a new issue