From 8c71a28d91b52fe7e883f1cce58575b065d58611 Mon Sep 17 00:00:00 2001 From: finga Date: Sat, 31 May 2025 12:45:29 +0200 Subject: [PATCH 1/2] zshenv: Add alias for cams Use mpv to show a cameras feed on the screen. --- .zshenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshenv b/.zshenv index 587c879..fc48316 100644 --- a/.zshenv +++ b/.zshenv @@ -41,7 +41,7 @@ alias gwc='git ls-files | xargs cat | wc' alias c2pdf='enscript -r -2 --highlight=c --line-numbers -o - $(git ls-files | grep -v .png | grep -v .xcf | grep -v .map) | ps2pdf -' alias feh='feh -FZ' alias white='i3lock' -alias cal='ncal -bM' +alias cam='mpv --profile=low-latency --untimed /dev/video0' # # Shortcuts From 04652a38185ab569c0690178ca9dc00dcca315e2 Mon Sep 17 00:00:00 2001 From: finga Date: Sat, 31 May 2025 12:46:26 +0200 Subject: [PATCH 2/2] zprofile: Set env vars for Fcitx Use Fcitx to ad-hoc change input methods. --- .zprofile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zprofile b/.zprofile index 7c2dd02..eedc7c6 100644 --- a/.zprofile +++ b/.zprofile @@ -29,3 +29,8 @@ fi # ssh agent eval `ssh-agent` + +# fcitx setup +export XMODIFIERS=@im=fcitx +export QT_IM_MODULE=fcitx +export GTK_IM_MODULE=fcitx