parent
982aa92e80
commit
75afff12e9
8 changed files with 78 additions and 47 deletions
@ -0,0 +1,19 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
# A simple wrapper around scrot |
||||||
|
# |
||||||
|
# When run, the screenshot will be added to she clipboard |
||||||
|
|
||||||
|
case $1 in |
||||||
|
"window") |
||||||
|
file=$(scrot -u '/tmp/%F_%T_$wx$h.png' -e 'echo /tmp/%F_%T_$wx$h.png') |
||||||
|
;; |
||||||
|
"select") |
||||||
|
file=$(sleep 0.2; scrot -s '/tmp/%F_%T_$wx$h.png' -e 'echo /tmp/%F_%T_$wx$h.png') |
||||||
|
;; |
||||||
|
*) |
||||||
|
file=$(scrot '/tmp/%F_%T_$wx$h.png' -e 'echo /tmp/%F_%T_$wx$h.png') |
||||||
|
;; |
||||||
|
esac |
||||||
|
|
||||||
|
xclip -selection clipboard -target image/png -i "$file" |
@ -0,0 +1 @@ |
|||||||
|
Subproject commit bdc4d25b7af384533e17fb47c2acceb7126dfd34 |
@ -1,12 +1,20 @@ |
|||||||
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap |
# Make keyboard layout coleemak but pushing both shifts will toggle to qwerty |
||||||
|
setxkbmap -layout gb,gb -variant "colemak," -option grp:shifts_toggle |
||||||
|
# Make key firing much faster |
||||||
xset r rate 200 70 |
xset r rate 200 70 |
||||||
|
# Need this for making qt applications use gtk theme ( I think ) |
||||||
export QT_QPA_PLATFORMTHEME=qt5ct |
export QT_QPA_PLATFORMTHEME=qt5ct |
||||||
|
# Use gnome keyring |
||||||
|
killall gnome-keyring-d 2> /dev/null |
||||||
export `gnome-keyring-daemon -d` |
export `gnome-keyring-daemon -d` |
||||||
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh) |
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh) |
||||||
export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg) |
export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg) |
||||||
dbus-update-activation-environment --systemd DISPLAY |
dbus-update-activation-environment --systemd DISPLAY |
||||||
#exec xrdb .Xresources |
#exec xrdb .Xresources |
||||||
#xbindkeys |
#xbindkeys |
||||||
exec i3 -V >> ~/i3log-$(date + '%F-%k-%M-%S') 2>&1 |
#exec i3 -V >> ~/i3log-$(date + '%F-%k-%M-%S') 2>&1 |
||||||
|
while :; do |
||||||
|
dwm |
||||||
|
done; |
||||||
#exec sh /home/jonathan/.conky/conky-startup.sh |
#exec sh /home/jonathan/.conky/conky-startup.sh |
||||||
#xcape |
#xcape |
||||||
|
Loading…
Reference in new issue