From a8ca3868aa2341f994281bd69105f396cdcce1c4 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Tue, 2 Nov 2021 01:20:39 -0700 Subject: [PATCH] zsh: add ydotool alias --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 08645c8..79a55c7 100644 --- a/.zshrc +++ b/.zshrc @@ -109,6 +109,9 @@ # List available X displays. Useful for finding what display to export when connected over ssh. alias lsx='ls /tmp/.X11-unix | tr "X" ":"' + # Make ydotool actually usable for short things + alias ydotool='(sudo ydotoold &) && sleep 0.05 && sudo ydotool' + # Edit config files alias \ nvc='(cd ~/.config/nvim/lua/blake && nvim ../../init.lua)' \