commit e0a54706cd7bfa450a3c86d4cdd5c60eab896bfa
parent 111c78b6e7625865da76b4d9b0d4e14e79a55bd2
Author: mokou <mokou@fastmail.com>
Date: Thu, 8 Apr 2021 14:18:11 +0200
More small changes
Diffstat:
2 files changed, 6 insertions(+), 23 deletions(-)
diff --git a/dot_config/fish/executable_config.fish b/dot_config/fish/executable_config.fish
@@ -39,7 +39,7 @@ source ~/.config/fish/private.fish
# Environment variables
set -x EDITOR "vim"
set -x USER "lu"
-set -x SHELL /opt/homebrew/bin/fish
+set -x SHELL (which fish)
set -x TERM xterm-256color
set -x N_PREFIX ~/n
set -x GTK_IM_MODULE ibus
@@ -94,9 +94,10 @@ alias hp "hg push"
alias hpl "hg pull"
alias hs "hg status"
alias hl "hg log"
-
-# asdf support
-echo -e "\nsource "(brew --prefix asdf)"/asdf.fish" >> ~/.config/fish/config.fish
+# XBPS Aliases
+alias xi "sudo xbps-install"
+alias xq "xbps-query"
+alias xr "sudo xbps-remove"
# Aliases that overwrite other, existing commands
if command --search hub > /dev/null do
diff --git a/dot_config/sway/executable_screen.sh b/dot_config/sway/executable_screen.sh
@@ -60,22 +60,4 @@ case $opt in # active window / selection / whole screen
esac
# === TAKE ACTION ON FILE ===
-# in a loop, user may want to take many actions
-# while
-action="$(zenity --title="[Grim] Took screenshot: $img" --width=600 --height=300 --list \
- --column='Command' --column='Choose an action:' <<- EOF
- wl-copy < "\$img"
- Copy image to clipboard
- rm "\$img"; break
- Delete image and exit
- $viewer "\$img"
- View image with $viewer
- $editor "\$img"
- Edit image with $editor
- mkdir -p "\$ssdir"; cp "\$img" "\$ssdir"
- Save image to $ssdir
-EOF
-)"
-#do
- eval "$action"
-#done
+wl-copy < $img