From 2e8785fdabbcbdcf4603b362d767126315625ac7 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Sat, 20 Aug 2016 13:55:41 +0200 Subject: [PATCH] minimized some stuff --- shell/.bashrc | 2 +- x/.config/i3/config | 7 +++---- x/.local/bin/bg | 4 +--- x/.xinitrc | 14 ++------------ 4 files changed, 7 insertions(+), 20 deletions(-) mode change 100644 => 100755 x/.xinitrc diff --git a/shell/.bashrc b/shell/.bashrc index de7e106..92ad795 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -10,7 +10,7 @@ export TERMINAL=urxvtc export EDITOR=vim export TERM=screen export BROWSER=firefox -export PAGER=less +export PAGER=more export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass export NOTMUCH_CONFIG=~/.mutt/notmuch-config diff --git a/x/.config/i3/config b/x/.config/i3/config index f8534f5..2eb31db 100644 --- a/x/.config/i3/config +++ b/x/.config/i3/config @@ -15,12 +15,11 @@ set $fontsize 12 # lock the screen after 10 minutes exec xautolock -locker ~/.local/bin/lock.sh &\ - display -window root /tmp/bg.png &\ dunst &\ - /usr/sbin/wpa_gui -t &\ - urxvtd -q -o -f &\ - xrdb -merge ~/.Xresources &\ + ~/.local/bin/bg &\ + urxvtd -q -o &\ setxkbmap -layout dvorak,ru -variant ,phonetic_dvorak -option compose:ralt,grp:menu_toggle +# xrdb -merge ~/.Xresources &\ # Printscreen current window bindsym Shift+Print exec ~/.local/bin/scr window diff --git a/x/.local/bin/bg b/x/.local/bin/bg index 08dbe89..b7e28a4 100755 --- a/x/.local/bin/bg +++ b/x/.local/bin/bg @@ -1,4 +1,2 @@ #!/bin/bash -xbacklight -set 50 || true -convert -size "$(xrandr | grep -Po "(?<=connected )\\d+x\\d+")" \ - plasma:fractal -modulate 20,100,10 png:- | display -window root +convert -size 1x1 xc:black png:- | display -window root diff --git a/x/.xinitrc b/x/.xinitrc old mode 100644 new mode 100755 index 08f1db1..18727cd --- a/x/.xinitrc +++ b/x/.xinitrc @@ -1,13 +1,3 @@ -fbgrab /tmp/bg.png - -envfile="$HOME/.gnupg/gpg-agent.env" -if [[ -e "$envfile" ]] && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null -then - eval "$(cat "$envfile")" -else - eval "$(gpg-agent --daemon --enable-ssh-support --write-env-file "$envfile")" -fi -export GPG_AGENT_INFO -export SSH_AUTH_SOCK - +#!/bin/bash +#eval "$(gpg-agent --daemon)" exec i3 -- 2.20.1