Created
November 19, 2015 23:49
-
-
Save illucent/b09bcbfa828d6743c87c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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