summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc3
-rw-r--r--.config/sway/config3
2 files changed, 4 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index 01e951e..6e12bc1 100644
--- a/.bashrc
+++ b/.bashrc
@@ -19,12 +19,11 @@ alias gitstat='git status'
alias ip='ip --color=auto'
function my_xdg_open() { nohup xdg-open "$1" > /dev/null 2>&1 & }
alias open=my_xdg_open
-alias wsc='grim -g "$(slurp)" - | wl-copy'
-alias wss='grim -g "$(slurp)"'
alias jupy='jupyter notebook'
alias mygpg='gpg --list-secret-keys --fingerprint --fingerprint'
alias horizons='telnet horizons.jpl.nasa.gov 6775' # a NASA server providing data about planet positions and velocities
alias today='date +"%Y-%m-%d"'
+alias wlrecord='wf-recorder -a -g "$(slurp)"'
GOPATH=$HOME/go
PATH=$PATH:~/bin
diff --git a/.config/sway/config b/.config/sway/config
index 116e617..585c797 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -244,4 +244,7 @@ input * {
xkb_layout "de"
}
+# a screenshot utility (pacman -S grim slurp swappy otf-font-awesome wl-clipboard)
+bindsym $mod+i exec grim -g "$(slurp)" - | swappy -f -
+
include /etc/sway/config.d/*