diff options
| author | 2026-03-25 01:09:12 +0000 | |
|---|---|---|
| committer | 2026-03-25 01:10:17 +0000 | |
| commit | e936bde947ed0e36f6b63bd0d0375efc6aaf6682 (patch) | |
| tree | bee46168a11955577cb686e933087cfc5adf8334 | |
| parent | 02d218373477ea3c61835048eb45a9cf6a203012 (diff) | |
usando doas no lugar do sudo sempre que possível
| -rw-r--r-- | fish/conf.d/fundle.fish (renamed from fish/conf.d/plugins.fish) | 0 | ||||
| -rw-r--r-- | fish/config.fish | 7 | ||||
| -rw-r--r-- | hypr/hyprland.conf | 3 |
3 files changed, 9 insertions, 1 deletions
diff --git a/fish/conf.d/plugins.fish b/fish/conf.d/fundle.fish index 564400f..564400f 100644 --- a/fish/conf.d/plugins.fish +++ b/fish/conf.d/fundle.fish 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 |
