diff options
author | xengineering <me@xengineering.eu> | 2021-12-07 12:59:46 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2021-12-07 12:59:46 +0100 |
commit | 9a4355c8c9ee9e1b3984c3776edf0ec4b4720163 (patch) | |
tree | 95e98a1180329b9d3dad222c4419179ccee65e3b | |
parent | b4e6ccfaf2aecae83d91083783a80c2eb6aa7c19 (diff) | |
download | dotfiles-9a4355c8c9ee9e1b3984c3776edf0ec4b4720163.tar dotfiles-9a4355c8c9ee9e1b3984c3776edf0ec4b4720163.tar.zst dotfiles-9a4355c8c9ee9e1b3984c3776edf0ec4b4720163.zip |
Update Screen Capturing for Wayland / Sway
-rw-r--r-- | .bashrc | 3 | ||||
-rw-r--r-- | .config/sway/config | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -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/* |