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+i border normal
bindsym $mod+shift+i border 1pixel bindsym $mod+shift+i border 1pixel
# Run a terminal # Run a terminal
bindsym $mod+Return exec urxvtc bindsym $mod+Return exec urxvt
bindsym $mod+shift+Return exec urxvtc -cd `xcwd` bindsym $mod+shift+Return exec urxvt -cd `xcwd`
# Terminate program # Terminate program
bindsym $mod+shift+c kill bindsym $mod+shift+c kill
# XF86 Buttons # 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 ~/.xmodmap
exec --no-startup-id ~/xmodmap.sh exec --no-startup-id ~/xmodmap.sh
# Misc # 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/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/redshift -l 36.3:-80.3 -t 4000:2000
exec --no-startup-id /usr/bin/parcellite 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 +fp built-ins
/usr/bin/xset s off /usr/bin/xset s off
/usr/bin/xset -dpms /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 if [ "$(hostname)" = "MMLin" ]; then
xrandr --output HDMI1 --primary xrandr --output HDMI1 --primary
xmodmap <(echo pointer = 3 2 1) xmodmap <(echo pointer = 3 2 1)
elif [ "$(hostname)" = "G2" ]; then elif [ "$(hostname)" = "G2" ]; then
#TODO: Figure out what the display is called #TODO: Figure out what the display is called
#xrandr --output HDMI1 --primary xrandr --output eDP1 --primary
xmodmap <(echo pointer = 1 2 3) xmodmap <(echo pointer = 1 2 3)
fi fi
feh --bg-scale $(shuf -n1 <(realpath /home/stonewareslord/owncloud/wallpaper/$(hostname))) feh --bg-scale $(shuf -n1 <(realpath /home/stonewareslord/owncloud/wallpaper/$(hostname)))

View File

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

View File

@ -299,20 +299,12 @@ endif
"256 color vim in terminal | https://github.com/godlygeek/csapprox "256 color vim in terminal | https://github.com/godlygeek/csapprox
" } " }
" Syntax { " Syntax {
Plug 'elzr/vim-json' Plug 'sheerun/vim-polyglot'
"JSON highlighting | https://github.com/elzr/vim-json "Many languages | https://github.com/sheerun/vim-polyglot
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 'superbrothers/vim-vimperator' Plug 'superbrothers/vim-vimperator'
"Vimperator for vim | https://github.com/superbrothers/vim-vimperator "Vimperator for vim | https://github.com/superbrothers/vim-vimperator
Plug 'PotatoesMaster/i3-vim-syntax' Plug 'PotatoesMaster/i3-vim-syntax'
"i3 syntax | https://github.com/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 { " Misc {
Plug 'mattn/flappyvird-vim' Plug 'mattn/flappyvird-vim'

View File

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