got rid of xkb fix in rc.lua, moved it to autostart, fixed history for zsh and added autostart
This commit is contained in:
parent
c60c920622
commit
28ea9a5565
3 changed files with 12 additions and 2 deletions
11
autostart
Executable file
11
autostart
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
xkbcomp $DISPLAY - | egrep -v "group . = AltGr;" | xkbcomp - $DISPLAY
|
||||||
|
if [[ -z $(pgrep nm-applet) ]]; then
|
||||||
|
nm-applet 2>&1 >/dev/null &
|
||||||
|
fi
|
||||||
|
if [[ -z $(pgrep roccateventhandler) ]]; then
|
||||||
|
roccateventhandler 2>&1 >/dev/null &
|
||||||
|
fi
|
||||||
|
#if [[ -z $(pgrep jackd) ]]; then
|
||||||
|
# /usr/bin/jackd -R -dalsa -dhw:CODEC -r44100 -p256 -n3 &
|
||||||
|
#fi
|
2
rc.lua
2
rc.lua
|
@ -662,8 +662,6 @@ client.connect_signal('unfocus', function(c) c.border_color = beautiful.border_n
|
||||||
-- {{{ Autostart
|
-- {{{ Autostart
|
||||||
-- don't forget you sync this file
|
-- don't forget you sync this file
|
||||||
-- this shit runs every time you restart your wm, dumbass.
|
-- this shit runs every time you restart your wm, dumbass.
|
||||||
---- apply the workaround to make mouse work outside en-us keyboard layout
|
|
||||||
awful.util.spawn_with_shell('xkbcomp $DISPLAY - | egrep -v "group . = AltGr;" | xkbcomp - $DISPLAY')
|
|
||||||
---- set keyboard layouts
|
---- set keyboard layouts
|
||||||
awful.util.spawn_with_shell('setxkbmap -layout us,ru -variant altgr-intl,typewriter -option ctrl:nocaps,grp:win_space_toggle,compose:menu,grp_led:scroll')
|
awful.util.spawn_with_shell('setxkbmap -layout us,ru -variant altgr-intl,typewriter -option ctrl:nocaps,grp:win_space_toggle,compose:menu,grp_led:scroll')
|
||||||
---- populate xrdb with .Xresources config
|
---- populate xrdb with .Xresources config
|
||||||
|
|
1
shellrc
1
shellrc
|
@ -121,6 +121,7 @@ if is_zsh; then
|
||||||
unsetopt BEEP NO_MATCH NOTIFY
|
unsetopt BEEP NO_MATCH NOTIFY
|
||||||
|
|
||||||
SAVEHIST=1000
|
SAVEHIST=1000
|
||||||
|
HISTSIZE=1000
|
||||||
HISTFILE="${HOME}/.histfile"
|
HISTFILE="${HOME}/.histfile"
|
||||||
|
|
||||||
extras=( "${HOME}/.zshrc.extras" )
|
extras=( "${HOME}/.zshrc.extras" )
|
||||||
|
|
Loading…
Reference in a new issue