Modifications

This commit is contained in:
Austen Adler 2018-03-15 10:42:18 -04:00
parent e83f83b1a2
commit 5f54ec79d0
2 changed files with 5 additions and 3 deletions

View File

@ -81,8 +81,8 @@ bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split bindsym $mod+e layout toggle split
bindsym $mod+shift+space floating toggle bindsym $mod+shift+space floating toggle
#bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
bindsym $mod+space exec "~/.i3/run.sh window" #bindsym $mod+space exec "~/.i3/run.sh window"
bindsym $mod+1 $x_switch 1 bindsym $mod+1 $x_switch 1
bindsym $mod+2 $x_switch 2 bindsym $mod+2 $x_switch 2
bindsym $mod+3 $x_switch 3 bindsym $mod+3 $x_switch 3

View File

@ -112,7 +112,9 @@ if [ "$1" = "screenshot" ]; then
\rm -f ~/last-photo/*(N) \rm -f ~/last-photo/*(N)
sleep .2 sleep .2
#DISPLAY=:0.0 xfce4-screenshooter -r -s ~/last-photo #DISPLAY=:0.0 xfce4-screenshooter -r -s ~/last-photo
DISPLAY=:0.0 import "$HOME/last-photo/$(date +'%Y-%m-%d_%T').png" local FNAME="$HOME/last-photo/$(date +'%Y-%m-%d_%T').png"
DISPLAY=:0.0 import "${FNAME}"
DISPLAY=:0.0 xclip -selection clipboard -t image/png -i "${FNAME}"
#DISPLAY=:0.0 scrot -s "$HOME/last-photo/$(date +'%Y-%m-%d_%T').png" #DISPLAY=:0.0 scrot -s "$HOME/last-photo/$(date +'%Y-%m-%d_%T').png"
\cp ~/last-photo/* ~/Pictures \cp ~/last-photo/* ~/Pictures
fi fi