Added ~/.xinitrc to the repository.
In addition, a host-specific file that will be executed by .xinitrc was added in ~/.xinitrc.d/.
This commit is contained in:
17
i3/i3/config
17
i3/i3/config
@@ -15,14 +15,6 @@ set $mod Mod4
|
|||||||
# The default terminal
|
# The default terminal
|
||||||
set $terminal terminator
|
set $terminal terminator
|
||||||
|
|
||||||
# Keyboard options
|
|
||||||
set $keyboard_layout de
|
|
||||||
set $keyboard_options nodeadkeys
|
|
||||||
|
|
||||||
# Mouse options
|
|
||||||
set $mouse_repeat_delay 150
|
|
||||||
set $mouse_repeat_speed 30
|
|
||||||
|
|
||||||
# Path to the exit script
|
# Path to the exit script
|
||||||
set $path_i3exit ~/.i3/scripts/i3exit.bash
|
set $path_i3exit ~/.i3/scripts/i3exit.bash
|
||||||
|
|
||||||
@@ -260,15 +252,6 @@ bar
|
|||||||
# Start the wallpaper changer.
|
# Start the wallpaper changer.
|
||||||
exec --no-startup-id $path_wallchanger $wallpaper_directory $wallpaper_interval > $wallpaper_logfile
|
exec --no-startup-id $path_wallchanger $wallpaper_directory $wallpaper_interval > $wallpaper_logfile
|
||||||
|
|
||||||
# Set keyboard layout
|
|
||||||
exec --no-startup-id setxkbmap $keyboard_layout $keyboard_options
|
|
||||||
|
|
||||||
# Set key repeat delay
|
|
||||||
exec --no-startup-id xset r rate $mouse_repeat_delay $mouse_repeat_speed
|
|
||||||
|
|
||||||
# Enable vertical edge scroll for the touchpad
|
|
||||||
exec --no-startup-id synclient VertEdgeScroll=1
|
|
||||||
|
|
||||||
# Start wicd in tray
|
# Start wicd in tray
|
||||||
exec --no-startup-id wicd-gtk --tray
|
exec --no-startup-id wicd-gtk --tray
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ backup_dir="$HOME/.dotfiles.bak/"
|
|||||||
|
|
||||||
# the following folders inside $config_dir will be inspected and the
|
# the following folders inside $config_dir will be inspected and the
|
||||||
# contents symlinked:
|
# contents symlinked:
|
||||||
symlink_folders='bash git i3 vim zsh conky terminator'
|
symlink_folders='bash git i3 vim zsh conky terminator x'
|
||||||
|
|
||||||
MAPPING_SEPARATOR='::'
|
MAPPING_SEPARATOR='::'
|
||||||
|
|
||||||
|
|||||||
28
x/xinitrc
Executable file
28
x/xinitrc
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
||||||
|
for f in /etc/X11/xinit/xinitrc.d/*; do
|
||||||
|
[ -x "$f" ] && . "$f"
|
||||||
|
done
|
||||||
|
unset f
|
||||||
|
fi
|
||||||
|
|
||||||
|
[ -f /etc/xprofile ] && source /etc/xprofile
|
||||||
|
[ -f ~/.xprofile ] && source ~/.xprofile
|
||||||
|
|
||||||
|
# execute the host-specific .xinitrc-addition
|
||||||
|
hostfile="$HOME/.xinitrc.d/$(hostname).xinitrc"
|
||||||
|
[[ -f "$hostfile" ]] && bash "$hostfile" &
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
e17)
|
||||||
|
exec enlightenment_start
|
||||||
|
;;
|
||||||
|
i3)
|
||||||
|
exec i3
|
||||||
|
;;
|
||||||
|
xfce4) ;;
|
||||||
|
*)
|
||||||
|
exec i3
|
||||||
|
;;
|
||||||
|
esac
|
||||||
4
x/xinitrc.d/netbook.xinitrc
Executable file
4
x/xinitrc.d/netbook.xinitrc
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# enable vertical edge scrolling
|
||||||
|
synclient VertEdgeScroll=1
|
||||||
Reference in New Issue
Block a user