Fixed my weird startx issue

This commit is contained in:
Abhay Rana 2015-07-09 01:12:43 +05:30
parent 2d2e5bb1a3
commit 887ceda2e7
2 changed files with 4 additions and 40 deletions

View File

@ -16,7 +16,8 @@ exec --no-startup-id nitrogen --restore
exec --no-startup-id volumeicon
exec --no-startup-id redshift-gtk
exec --no-startup-id compton --config ~/.compton.conf
exec urxvtd -q -f -o
exec --no-startup-id nm-applet
exec urxvtd -q -f -o #terminal
# Set default backlight
exec xbacklight -set 15
@ -188,7 +189,6 @@ mode "resize" {
bindsym $mod+r mode "resize"
# backlight support
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
@ -221,6 +221,7 @@ client.urgent #aa0000 #990000 #ffffff
# Special assignments for programs
assign [class="Transmission-gtk"] → $WS3
# Window assignments
for_window [class="Wine"] floating enable
for_window [class="Transmission-gtk"] floating enable

View File

@ -1,40 +1,3 @@
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#twm &
#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login
xrdb ~/.Xresources
exec i3