From af149d8463324de0edad9d3c1755b2659dace0b8 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Thu, 26 May 2016 11:15:13 +0200 Subject: [PATCH] update locking mechanism --- shell/.bash_profile | 2 +- vim/.vimrc | 4 ++-- x/.Xresources | 7 +++++-- x/.config/i3/config | 3 ++- x/.config/i3status/config | 1 + 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/shell/.bash_profile b/shell/.bash_profile index c7ab42d..c165d61 100644 --- a/shell/.bash_profile +++ b/shell/.bash_profile @@ -1,2 +1,2 @@ [[ -f ~/.bashrc ]] && . ~/.bashrc -[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx || true +#[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx || true diff --git a/vim/.vimrc b/vim/.vimrc index 7811221..804f1ba 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -9,7 +9,7 @@ autocmd! bufwritepost .Xresources !xrdb -merge % " Some general options syntax enable filetype indent plugin on -color elflord +color torte set encoding=utf-8 set history=1000 set number @@ -28,7 +28,7 @@ set shiftwidth=4 set tabstop=4 " List characters to mark trailing whitespace etc -set listchars=nbsp:¬,tab:▸\ ,eol:↩,extends:»,precedes:«,trail:• +"set listchars=nbsp:¬,tab:▸\ ,eol:↩,extends:»,precedes:«,trail:• set nolist " Move through long lines as they were short multiple lines diff --git a/x/.Xresources b/x/.Xresources index 52017db..a34029f 100644 --- a/x/.Xresources +++ b/x/.Xresources @@ -34,13 +34,16 @@ URxvt.urgentOnBell: 1 URxvt.visualBell: 1 URxvt.loginShell: 1 URxvt.scrollBar: 0 -URxvt.saveLines: 10000 +URxvt.saveLines: 1000 URxvt.internalBorder: 1 URxvt.externalBorder: 1 URxvt.mouseWheelScrollPage: 0 URxvt.pastableTabs: 1 URxvt.cursorBlink: 0 -URxvt.perl-ext-common: font-size +URxvt.perl-ext-common: font-size,matcher +URxvt.url-launcher: /usr/bin/xdg-open +URxvt.matcher.button: 1 +URxvt.keysym.C-Right: perl:matcher:list URxvt.keysym.C-Up: perl:font-size:increase URxvt.keysym.C-Down: perl:font-size:decrease URxvt.keysym.C-Left: perl:font-size:reset diff --git a/x/.config/i3/config b/x/.config/i3/config index 479c40c..9297591 100644 --- a/x/.config/i3/config +++ b/x/.config/i3/config @@ -14,9 +14,10 @@ set $font DejaVu Sans Mono set $fontsize 12 # lock the screen after 10 minutes -exec xautolock -locker 'echo RELOADAGENT | gpg-connect-agent; i3lock' +exec xautolock -locker '/home/mart/.local/bin/lock.sh' # set a background exec ~/.local/bin/bg +# Start the notification daemon exec dunst # Printscreen current window diff --git a/x/.config/i3status/config b/x/.config/i3status/config index 38c201c..c3ded1b 100644 --- a/x/.config/i3status/config +++ b/x/.config/i3status/config @@ -13,6 +13,7 @@ order += "tztime local" battery 0 { format = "%status %percentage %remaining" + integer_battery_capacity = true format_down = "No battery" status_chr = "⚇ CHR" status_bat = "⚡ BAT" -- 2.20.1