update
This commit is contained in:
parent
e1af670e47
commit
e861999040
2 changed files with 2 additions and 1 deletions
2
.bashrc
2
.bashrc
|
|
@ -32,7 +32,7 @@ alias flush="sudo 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 -Scc && docker system prune -a --volumes && flush'
|
||||
alias cache='sudo pacman -Sc && docker system prune -a --volumes && flush'
|
||||
alias die='shutdown -h now'
|
||||
alias protu='ls -la -h'
|
||||
alias ll='ls -a'
|
||||
|
|
|
|||
|
|
@ -265,6 +265,7 @@ bind = $mainMod, L, exec, libreoffice
|
|||
bind = $mainMod, A, fullscreen
|
||||
bind = ,code:107, exec, command hyprshot -o ~/images/screenshot -m window
|
||||
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
|
||||
bind = $mainMod, F1, exec, pavucontrol
|
||||
|
|
|
|||
Loading…
Reference in a new issue