iso-profiles/mabox-linux/desktop-overlay/etc/skel/.config/espanso/user/cmdline.yml

18 lines
543 B
YAML
Raw Normal View History

2020-11-06 11:52:59 +01:00
name: cmdline
parent: default
matches:
# processes eating ram and cpu
- trigger: "topmem"
replace: "ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head"
- trigger: "topcpu"
replace: "ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%cpu | head"
- trigger: ":jctl"
replace: "journalctl -p 3 -xb"
- trigger: ":pacu"
replace: "sudo pacman -Syyu"
- trigger: ":pacmirr"
replace: "sudo pacman-mirrors -f5"
- trigger: ":rr"
replace: "curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash"