Add screenshot debug; Fix sh stuff in environment

This commit is contained in:
Tobias Reisinger 2021-04-01 19:00:33 +02:00
parent 0dc9ab97ab
commit 9ca659dbe7
3 changed files with 7 additions and 5 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
alias .evim='$EDITOR $HOME/.config/vim/vimrc'
alias .ebspwm='$EDITOR $HOME/.config/bspwm/bspwmrc'

View file

@ -1,7 +1,7 @@
#!/usr/bin/env sh
#!/bin/sh
source "$HOME/.config/user-dirs.dirs"
source "$XDG_CONFIG_HOME/locale.conf"
. "$HOME/.config/user-dirs.dirs"
. "$XDG_CONFIG_HOME/locale.conf"
export CM_LAUNCHER='rofi'

View file

@ -11,7 +11,9 @@ then
xclip -t image/png $path -selection clipboard
s3cmd put -P $path s3://$s3_bucket/$file
echo "$s3_host/$s3_bucket/$file" | xclip -selection primary
echo -n "$s3_host/$s3_bucket/$file" | xclip -selection primary
notify-send -a "Screenshot" "Uploaded screenshot to s3"
fi