Skip to content

Instantly share code, notes, and snippets.

@illucent
Created November 19, 2015 23:49
Show Gist options
  • Select an option

  • Save illucent/b09bcbfa828d6743c87c to your computer and use it in GitHub Desktop.

Select an option

Save illucent/b09bcbfa828d6743c87c to your computer and use it in GitHub Desktop.
#!/bin/bash
# xinitrc - @netzverweigerer (Github/Twitter)
# xmessage wrapper script, stops annoying xmessage popups
alias xmessage="$HOME/bin/xmessage"
# terminal enthuasiast friendly keyboard repeat rate
xset r rate 220 15
# enable X11 terminate keyboard shortcut (Ctrl-Alt-Backspace)
setxkbmap -option terminate:ctrl_alt_bksp
# Stop annoying beeps
xset b off
# Extend $PATH
export PATH=$PATH:$HOME/git/bspwm:$HOME/git/sxhkd
# Load Xresources defaults
xrdb < $HOME/.Xresources
# Set wallpaper
$HOME/git/wp/wp
# Enable "ctrl-alt-backspace" (Kill X)
(sleep 2; setxkbmap -option terminate:ctrl_alt_bksp)
# Execute WM/DE
$HOME/git/fluxbox/fluxbox
# Fallback
xterm -fg gray70 -bg black
# Sleep for a while to ensure not running into dead loops
sleep 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment