From cda8641815f5be7cd8039618f67fc8694b05448b Mon Sep 17 00:00:00 2001 From: Didictateur Date: Mon, 15 Jun 2026 22:53:14 +0200 Subject: [PATCH] update .bashrc --- .bashrc | 14 ++++++++++---- hypr/hyprland.conf | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.bashrc b/.bashrc index f5d8ec0..4cf7b7c 100644 --- a/.bashrc +++ b/.bashrc @@ -28,11 +28,16 @@ alias olagem='sudo /root/.cargo/bin/olagem' alias tartar='sudo tar -xvzf' alias zz="history | fzf | sed 's/^[ \t]*[0-9]*[ \t]*//' | bash" alias update='sudo pacman -Syu' -alias flush="sudo rm -rf ~/.local/share/Trash" +alias flush="rm -rf ~/.local/share/Trash/*" alias tp='trash-put' alias power='upower -i /org/freedesktop/UPower/devices/battery_BAT0' alias space='df -h /' alias cache='sudo pacman -Sc && docker system prune -a --volumes && flush' +virus() { + sudo freshclam + local cible=${1:-.} + clamscan -r --bell "$cible" +} alias die='shutdown -h now' alias protu='ls -la -h' alias ll='ls -a' @@ -45,7 +50,7 @@ alias sc='syncthing --browser-only' alias gp='sudo -E gparted' alias ddd='sudo dd bs=4M status=progress oflag=sync' ff() { - firefox "$@" & + firefox "$@" & disown } function search { if [ $# -ne 2 ]; then @@ -57,8 +62,9 @@ function search { fi sudo find "$folder" -name "$wanted" 2>/dev/null } -alias search='search' -alias where='sudo find / -name 2>/dev/null' +where() { + sudo find / -name "$1" 2>/dev/null +} alias t='tree -d' setGithub() { if [ $# -lt 1 ]; then diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index a3273d1..9da664f 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -250,7 +250,7 @@ bind = $mainMod, Return, exec, $terminal bind = $mainMod, Q, killactive, bind = $mainMod, X, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit bind = $mainMod, E, exec, $fileManager -bind = $mainMod, T, exec, typora +bind = $mainMod, T, exec, thunderbird bind = $mainMod, G, exec, steam bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, $menu