Stop using dangerous urxtd (segfault happy)

This commit is contained in:
Austen Adler 2016-09-15 23:35:17 -04:00
parent ccf9c8e2c7
commit c8f4134b69
No known key found for this signature in database
GPG Key ID: 7ECEE590CCDFE3F1
5 changed files with 12 additions and 15 deletions

View File

@ -33,8 +33,8 @@ bindsym $mod+shift+z exec xdotool click 3
bindsym $mod+i border normal
bindsym $mod+shift+i border 1pixel
# Run a terminal
bindsym $mod+Return exec urxvtc
bindsym $mod+shift+Return exec urxvtc -cd `xcwd`
bindsym $mod+Return exec urxvt
bindsym $mod+shift+Return exec urxvt -cd `xcwd`
# Terminate program
bindsym $mod+shift+c kill
# XF86 Buttons
@ -175,7 +175,7 @@ exec --no-startup-id "~/.i3/run.sh wall"
exec --no-startup-id xmodmap ~/.xmodmap
exec --no-startup-id ~/xmodmap.sh
# Misc
exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/urxvtc'
exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/urxvt'
#exec --no-startup-id /usr/bin/shutter --min_at_startup
exec --no-startup-id /usr/bin/redshift -l 36.3:-80.3 -t 4000:2000
exec --no-startup-id /usr/bin/parcellite

View File

@ -44,13 +44,14 @@ if [ "$1" = "boot" ];then
/usr/bin/xset +fp built-ins
/usr/bin/xset s off
/usr/bin/xset -dpms
/usr/bin/urxvtd -q -f -o
# This will segfault and ruin your day
#/usr/bin/urxvtd -q -f -o
if [ "$(hostname)" = "MMLin" ]; then
xrandr --output HDMI1 --primary
xmodmap <(echo pointer = 3 2 1)
elif [ "$(hostname)" = "G2" ]; then
#TODO: Figure out what the display is called
#xrandr --output HDMI1 --primary
xrandr --output eDP1 --primary
xmodmap <(echo pointer = 1 2 3)
fi
feh --bg-scale $(shuf -n1 <(realpath /home/stonewareslord/owncloud/wallpaper/$(hostname)))

View File

@ -92,6 +92,7 @@ run(){
echo "Building..." >&2
gcc -Wall -std=c99 "${1:r}.c" -o "${1:r}" && (echo "Running..." >&2;./"${1:r}")
}
alias nmrestart='nmcli radio wifi off;nmcli radio wifi on'
alias mtr='mtr -t'
alias tg='telegram-cli -N -W'
alias perm='stat -c "%a %n"'

View File

@ -299,20 +299,12 @@ endif
"256 color vim in terminal | https://github.com/godlygeek/csapprox
" }
" Syntax {
Plug 'elzr/vim-json'
"JSON highlighting | https://github.com/elzr/vim-json
Plug 'groenewege/vim-less'
"LESS highlighting | https://github.com/groenewege/vim-less
Plug 'pangloss/vim-javascript'
"JS syntax and indentation | https://github.com/pangloss/vim-javascript
Plug 'sheerun/vim-polyglot'
"Many languages | https://github.com/sheerun/vim-polyglot
Plug 'superbrothers/vim-vimperator'
"Vimperator for vim | https://github.com/superbrothers/vim-vimperator
Plug 'PotatoesMaster/i3-vim-syntax'
"i3 syntax | https://github.com/PotatoesMaster/i3-vim-syntax
Plug 'https://github.com/fatih/vim-go'
"go syntax | https://github.com/fatih/vim-go
Plug 'https://github.com/evidens/vim-twig'
"Twig highlighting | https://github.com/evidens/vim-twig
" }
" Misc {
Plug 'mattn/flappyvird-vim'

View File

@ -21,6 +21,9 @@ b-create() {
b-rename() {
borg rename -v "$REPO"::"$1" "$2"
}
b-info() {
borg info "$REPO"::"$1"
}
b-cmd() {
echo "$REPO"
}