Add screenshot debug; Fix sh stuff in environment
This commit is contained in:
parent
0dc9ab97ab
commit
9ca659dbe7
3 changed files with 7 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
alias .evim='$EDITOR $HOME/.config/vim/vimrc'
|
||||
alias .ebspwm='$EDITOR $HOME/.config/bspwm/bspwmrc'
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue