From e936bde947ed0e36f6b63bd0d0375efc6aaf6682 Mon Sep 17 00:00:00 2001 From: Marina Barros Date: Tue, 24 Mar 2026 22:09:12 -0300 Subject: usando doas no lugar do sudo sempre que possível MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fish/conf.d/fundle.fish | 13 +++++++++++++ fish/conf.d/plugins.fish | 13 ------------- fish/config.fish | 7 ++++++- hypr/hyprland.conf | 3 +++ 4 files changed, 22 insertions(+), 14 deletions(-) create mode 100644 fish/conf.d/fundle.fish delete mode 100644 fish/conf.d/plugins.fish diff --git a/fish/conf.d/fundle.fish b/fish/conf.d/fundle.fish new file mode 100644 index 0000000..564400f --- /dev/null +++ b/fish/conf.d/fundle.fish @@ -0,0 +1,13 @@ +if not functions --query fundle + eval (curl --silent \ + --fail \ + --location \ + "https://raw.githubusercontent.com/danhper/fundle/refs/heads/master/install-fundle.fish") +end + +fundle plugin "franciscolourenco/done" +fundle plugin "jorgebucaran/autopair.fish" +fundle plugin "patrickf1/fzf.fish" +fundle plugin "jorgebucaran/hydro" + +fundle init diff --git a/fish/conf.d/plugins.fish b/fish/conf.d/plugins.fish deleted file mode 100644 index 564400f..0000000 --- a/fish/conf.d/plugins.fish +++ /dev/null @@ -1,13 +0,0 @@ -if not functions --query fundle - eval (curl --silent \ - --fail \ - --location \ - "https://raw.githubusercontent.com/danhper/fundle/refs/heads/master/install-fundle.fish") -end - -fundle plugin "franciscolourenco/done" -fundle plugin "jorgebucaran/autopair.fish" -fundle plugin "patrickf1/fzf.fish" -fundle plugin "jorgebucaran/hydro" - -fundle init diff --git a/fish/config.fish b/fish/config.fish index d970f12..7871906 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -13,10 +13,15 @@ status is-interactive; and begin set --global --export LEDGER_FILE "$HOME/finanças/dindin.journal" - set --global --export PASSWORD_STORE_DIR "$HOME/.local/share/pass " + set --global --export PASSWORD_STORE_DIR "$HOME/.local/share/pass" set --global --export GPG_TTY (tty) gpg-connect-agent --quiet updatestartuptty /bye >/dev/null + # use `doas(1)` no lugar de `sudo(1)`, se aplicável + if command --query doas + bind --user alt-s "fish_commandline_prepend doas" + end + if functions --query fzf_configure_bindings fzf_configure_bindings --directory=\ct --variables=\ev end diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 8e2813d..206b03b 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -31,6 +31,9 @@ master { $mod = SUPER $terminal = kitty +# pro xwayland-satellite funcionar +env = DISPLAY, :0 + exec-once = xwayland-satellite exec-once = dbus-update-activation-environment --systemd --all WAYLAND_DISPLAY XDG_CURRENT_DESKTOP MOZ_ENABLE_WAYLAND PASSWORD_STORE_DIR && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target exec-once = wpaperd -- cgit v1.2.3