diff options
Diffstat (limited to 'x')
| -rw-r--r-- | x/.Xresources | 18 | ||||
| -rw-r--r-- | x/.xinitrc | 23 |
2 files changed, 30 insertions, 11 deletions
diff --git a/x/.Xresources b/x/.Xresources index 63035d7..d58b278 100644 --- a/x/.Xresources +++ b/x/.Xresources | |||
| @@ -57,14 +57,14 @@ URxvt*inheritPixmap: False | |||
| 57 | *color15: #e0dede | 57 | *color15: #e0dede |
| 58 | 58 | ||
| 59 | ! Perls | 59 | ! Perls |
| 60 | !URxvt.perl-ext-common : default,matcher,keyboard-select,url-select | 60 | URxvt.perl-ext-common : default,matcher,keyboard-select,url-select |
| 61 | !URxvt.resize-font.step: 1 | 61 | URxvt.resize-font.step: 1 |
| 62 | !URxvt.keysym.M-Escape : perl:keyboard-select:activate | 62 | URxvt.keysym.M-Escape : perl:keyboard-select:activate |
| 63 | !URxvt.keysym.M-u : perl:url-select:select_next | 63 | URxvt.keysym.M-u : perl:url-select:select_next |
| 64 | !URxvt.keysym.M-s : perl:keyboard-select:search | 64 | URxvt.keysym.M-s : perl:keyboard-select:search |
| 65 | !URxvt.perl-ext-common : tabbed,default,matcher | 65 | !URxvt.perl-ext-common : tabbed,default,matcher |
| 66 | !Urxvt.perl-lib : /usr/lib/urxvt/perl/ | 66 | !Urxvt.perl-lib : /usr/lib/urxvt/perl/ |
| 67 | !URxvt.url-select.launcher : firefox | 67 | URxvt.url-select.launcher : firefox |
| 68 | !URxvt.url-select.autocopy : true | 68 | URxvt.url-select.autocopy : true |
| 69 | !URxvt.url-select.underline : true | 69 | URxvt.url-select.underline : true |
| 70 | !URxvt.url-select.button: 1 | 70 | URxvt.url-select.button: 1 |
| @@ -40,6 +40,25 @@ if [ -n "$DISPLAY" ]; then | |||
| 40 | xset b off | 40 | xset b off |
| 41 | fi | 41 | fi |
| 42 | 42 | ||
| 43 | xsetroot -cursor_name left_ptr | 43 | # load additional configs |
| 44 | xset +fp /usr/share/fonts/liberation-fonts | 44 | if [ "$2" = "nvidia" ]; then |
| 45 | XINIT_D="/etc/X11/nvidia/xinit/xinitrc.d" | ||
| 46 | else | ||
| 47 | XINIT_D="/etc/X11/xinit/xinitrc.d" | ||
| 48 | fi | ||
| 49 | |||
| 50 | if [ -d "$XINIT_D" ]; then | ||
| 51 | for f in "$XINIT_D/?*.sh" ; do | ||
| 52 | [ -x "$f" ] && . "$f" | ||
| 53 | done | ||
| 54 | unset f | ||
| 55 | fi | ||
| 56 | unset XINIT_D | ||
| 57 | |||
| 58 | # additional nvidia specific settings | ||
| 59 | if [ "$2" = "nvidia" ]; then | ||
| 60 | xrandr --setprovideroutputsource modesetting NVIDIA-0 | ||
| 61 | xrandr --auto | ||
| 62 | fi | ||
| 63 | |||
| 45 | exec bspwm | 64 | exec bspwm |
