commit 9218b4224eb4065eef65a28759615c3d39733d76 (tree)
parent 54ef9daaa2265c6c43ac627b55c47f2fd6cb117c
Author: Motiejus Jakštys <motiejus@uber.com>
Date: Tue, 27 Oct 2020 19:01:51 +0200
changes in locking and dev
Diffstat:
5 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/X/.config/awesome/rc.lua b/X/.config/awesome/rc.lua
@@ -369,7 +369,7 @@ globalkeys = gears.table.join(
awful.util.spawn("brightness down")
end),
awful.key({ modkey }, "x", function()
- awful.spawn.with_shell("sleep 0.2; xset dpms force off")
+ awful.spawn.with_shell("sleep 0.2; slock xset dpms force off")
end)
)
diff --git a/X/.xsessionrc b/X/.xsessionrc
@@ -7,6 +7,4 @@ nm-applet &
blueman-applet &
pnmixer &
compton --daemon
-xscreensaver -no-splash &
-xss-lock -- xscreensaver-command -lock &
-#xss-lock -- i3lock --ignore-empty-password --pointer win --color=3a6ea5 &
+xss-lock -- slock xset dpms force off &
diff --git a/bash/.profile_motiejus b/bash/.profile_motiejus
@@ -51,12 +51,6 @@ alias gf='git remote | parallel --verbose git fetch'
export UBER_HOME=/home/motiejus/Uber
export UBER_OWNER=motiejus@uber.com
-bazel() {
- arg1=$1
- shift
- env bazel "$arg1" --color=yes "$@" 3>&1 1>&2 2>&3 | grep -Ev 'DEBUG: .*401 Unauthorized$'
-}
-
secret () {
output=~/"${1}".$(date +%s).enc
gpg --encrypt --armor --output "${output}" -r motiejus@jakstys.lt "${1}" && echo "${1} -> ${output}"
diff --git a/git/.gitconfig b/git/.gitconfig
@@ -6,3 +6,13 @@
followRedirects = true
[pull]
ff = only
+[sendmail]
+ confirm = auto
+[protocol]
+ version = 2
+
+[sendemail]
+ smtpEncryption = tls
+ smtpServer = smtp.gmail.com
+ smtpUser = desired.mta@gmail.com
+ smtpServerPort = 587
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
@@ -53,7 +53,7 @@ au FileType go let g:go_template_autocreate = 0
au FileType go let g:go_fmt_command = "goimports"
let g:go_fmt_command = "goimports"
let g:go_fmt_options = {
- \ 'goimports': '-local inventory,go.uber.org,google.golang.org,code.uber.internal,thriftrw,thrift,gogoproto,go.uber.org,golang.org,github.com,mock',
+ \ 'goimports': '-local selector,inventory,gopkg.in,google.golang.org,code.uber.internal,thriftrw,thrift,gogoproto,go.uber.org,golang.org,github.com,mock',
\ }
let $USEGO111MODULE="off"