This commit is contained in:
Didictateur 2026-06-02 08:14:21 +02:00
parent e1af670e47
commit e861999040
2 changed files with 2 additions and 1 deletions

View file

@ -32,7 +32,7 @@ alias flush="sudo rm -rf ~/.local/share/Trash"
alias tp='trash-put' alias tp='trash-put'
alias power='upower -i /org/freedesktop/UPower/devices/battery_BAT0' alias power='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
alias space='df -h /' alias space='df -h /'
alias cache='sudo pacman -Scc && docker system prune -a --volumes && flush' alias cache='sudo pacman -Sc && docker system prune -a --volumes && flush'
alias die='shutdown -h now' alias die='shutdown -h now'
alias protu='ls -la -h' alias protu='ls -la -h'
alias ll='ls -a' alias ll='ls -a'

View file

@ -265,6 +265,7 @@ bind = $mainMod, L, exec, libreoffice
bind = $mainMod, A, fullscreen bind = $mainMod, A, fullscreen
bind = ,code:107, exec, command hyprshot -o ~/images/screenshot -m window bind = ,code:107, exec, command hyprshot -o ~/images/screenshot -m window
bind = $mainMod, code:107, exec, command hyprshot -o ~/images/screenshot -m region bind = $mainMod, code:107, exec, command hyprshot -o ~/images/screenshot -m region
bind = CTRL ALT, code:107, exec, sh -c 'PIDFILE=/tmp/wf-recorder.pid; if [ -f "$PIDFILE" ]; then kill "$(cat "$PIDFILE")"; rm "$PIDFILE"; notify-send "Capture arrêtée"; else mkdir -p ~/Videos; FILE=~/Videos/recording-$(date +%Y-%m-%d_%H-%M-%S).mp4; GEOM=$(hyprctl activewindow -j | jq -r "\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"); wf-recorder -g "$GEOM" -f "$FILE" & echo $! > "$PIDFILE"; notify-send "Capture fenêtre active" "$FILE"; fi'
# Function commands # Function commands
bind = $mainMod, F1, exec, pavucontrol bind = $mainMod, F1, exec, pavucontrol