fix: no gpg and ssh communication

fix: arduino-hid script as one-liner
This commit is contained in:
Tobias Reisinger 2019-09-24 01:54:56 +02:00
parent 20e031f9dd
commit 507466219c
2 changed files with 3 additions and 1 deletions

View file

@ -45,3 +45,5 @@ PS1="$PURPLE\u$nc@$CYAN\H$nc:$GREEN\w$YELLOW"'$(__git_ps1)'"$nc\\n$GREEN\$$nc "
export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:~/bin export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:~/bin
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent

View file

@ -182,7 +182,7 @@ bindsym XF86AudioPrev exec playerctl previous
### Launchers ### Launchers
exec_always ln -sf /mnt/shome/tobias/* /home/tobias/ exec_always ln -sf /mnt/shome/tobias/* /home/tobias/
exec_always bash /home/tobias/projects/scripts/arduino_hid.sh exec_always hid_info=$(xinput -list | grep -i 'Arduino LLC Arduino Micro.*keyboard' | grep -o 'id=..');hid_info=${hid_info:3:4};setxkbmap -device "$hid_info" us;
exec_always setxkbmap de exec_always setxkbmap de
exec sleep 8; env GTK_THEME=Adwaita:light firefox exec sleep 8; env GTK_THEME=Adwaita:light firefox