i3-wide env vars and stuff moved to .config from HOME
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
urxvt.perl-ext-common: default,tabbed,matcher,resize-font,-tabbed
|
||||
|
||||
|
||||
! font config
|
||||
URxvt.font: xft:hack:size=10
|
||||
URxvt.boldFont: xft:hack:size=10:bold
|
||||
URxvt.italicFont: xft:hack:size=10:italic
|
||||
URxvt.boldItalicFont: xft:hack:size=10:bolditalic
|
||||
! xft:SauceCodePro Nerd Font
|
||||
! xft:Inconsolata for Powerline
|
||||
! xft:Droid Sans Mono for Powerline
|
||||
! xft:Roboto Mono for Powerline
|
||||
! xft:Go Mono for Powerline
|
||||
! xft:DejaVu Sans Mono for Powerline
|
||||
! xft:hack
|
||||
|
||||
! bindings
|
||||
URxvt.keysym.C-minus: resize-font:smaller
|
||||
URxvt.keysym.C-plus: resize-font:bigger
|
||||
URxvt.keysym.C-equal: resize-font:reset
|
||||
URxvt.keysym.C-question: resize-font:show
|
||||
URxvt.keysym.Shift-Control-V: eval:paste_clipboard
|
||||
URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
|
||||
|
||||
! font config
|
||||
Xft.dpi: 108
|
||||
Xft.antialias: true
|
||||
Xft.hinting: true
|
||||
Xft.rgba: rgb
|
||||
Xft.autohint: false
|
||||
Xft.hintstyle: hintslight
|
||||
Xft.lcdfilter: lcddefault
|
||||
|
||||
! fade text when focus is lost
|
||||
*fading: 8
|
||||
*fadeColor: black
|
||||
|
||||
! cursor when hovering
|
||||
Xcursor.theme: Maia-Cursor
|
||||
Xcursor.size: 0
|
||||
|
||||
! settings
|
||||
URxvt*scrollBar: false
|
||||
URxvt*saveLines: 5000
|
||||
URxvt.iso14755: false
|
||||
@@ -0,0 +1,12 @@
|
||||
[core]
|
||||
filemode = false
|
||||
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||
autorcrlf = true
|
||||
[user]
|
||||
name = Henrik Bakken
|
||||
email = bakken.henrik@gmail.com
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
export TERMINAL=st
|
||||
export VISUAL=nvim
|
||||
export EDITOR=nvim
|
||||
export PAGER=bat
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
RESOLUTION=$(xrandr -q|sed -n 's/.*current[ ]\([0-9]*\) x \([0-9]*\),.*/\1x\2/p')
|
||||
|
||||
# lock the screen
|
||||
import -silent -window root jpeg:- | convert - -scale 20% -blur 0x2.5 -resize 500% RGB:- | \
|
||||
i3lock --raw $RESOLUTION:rgb -i /dev/stdin -e $@
|
||||
|
||||
# sleep 1 adds a small delay to prevent possible race conditions with suspend
|
||||
sleep 1
|
||||
|
||||
xset dpms force off
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user