@@ -1,6 +1,6 @@ | |||
#!/bin/sh | |||
echo "What the heck? :---DD" | |||
printf %s "$(mpw -t x gpg 2>/dev/null)" | xclip -sel c -l 1 | |||
gpg2 -d -q "$HOME/.password.gpg" | xclip -l 1 | |||
gpg2 -d -q "$HOME/sns/password.gpg" | xclip -l 1 | |||
mpw -t x ssh -M "$(xclip -o)" 2>/dev/null | xclip -sel c -l 1 | |||
ssh-add |
@@ -1,7 +1,7 @@ | |||
#!/usr/bin/env elvish | |||
t="" | |||
if (eq 0 (count $args)) { | |||
sites=[(keys (cat ~/.mpw.d/SolitudeSF.mpsites.json | from-json)[sites])] | |||
@sites=(keys (from-json <~/.mpw.d/(get-env MPW_FULLNAME).mpsites.json)[sites]) | |||
if (eq ?(tty -s) $ok) { | |||
t=(echo &sep="\n" $@sites | fzy) | |||
} else { | |||
@@ -10,4 +10,4 @@ if (eq 0 (count $args)) { | |||
} else { | |||
t=$args[0] | |||
} | |||
mpw -t x -M (gpg2 -d -q ~/.password.gpg) $t 2>/dev/null | xclip -sel c -r | |||
mpw -t x -M (gpg2 -d -q ~/sns/password.gpg) $t 2>/dev/null | xclip -sel c -r |
@@ -14,3 +14,7 @@ bspc rule -a Firefox desktop='^2' | |||
bspc rule -a mpv state=floating | |||
bspc rule -a Peek state=floating | |||
bspc rule -a kittyfloat state=floating | |||
bspc rule -a 'labview' state=floating | |||
bspc rule -a 'Matlab-GLEE' state=floating | |||
bspc rule -a 'MATLAB R2018b' state=floating |
@@ -76,7 +76,7 @@ format-online = <label-song> <toggle> <icon-prev> <icon-next> | |||
[module/github] | |||
type = internal/github | |||
token = ${file:<{$HOME}>/.github} | |||
token = ${file:<{$HOME}>/sns/github.key} | |||
empty-notifications = false | |||
interval = 10 | |||
format = <label> |