mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2026-03-23 05:55:12 +00:00
cleanup
This commit is contained in:
parent
e199213ff1
commit
6fdb2e1568
16
rc.lua
16
rc.lua
|
|
@ -84,29 +84,15 @@ end
|
||||||
run_once "compton --vsync opengl-swc --backend glx"
|
run_once "compton --vsync opengl-swc --backend glx"
|
||||||
|
|
||||||
-- This function implements the XDG autostart specification
|
-- This function implements the XDG autostart specification
|
||||||
--[
|
|
||||||
awful.spawn.with_shell(
|
awful.spawn.with_shell(
|
||||||
'if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi;'
|
'if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi;'
|
||||||
.. 'xrdb -merge <<< "awesome.started:true";'
|
.. 'xrdb -merge <<< "awesome.started:true";'
|
||||||
-- list each of your autostart commands, followed by ; inside single quotes, followed by ..
|
-- list each of your autostart commands, followed by ; inside single quotes, followed by ..
|
||||||
.. 'dex --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:${XDG_CONFIG_HOME:-$HOME/.config}/autostart"' -- https://github.com/jceb/dex
|
.. 'dex --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:${XDG_CONFIG_HOME:-$HOME/.config}/autostart"' -- https://github.com/jceb/dex
|
||||||
)
|
)
|
||||||
--]]
|
|
||||||
|
|
||||||
-- Change keymaps
|
-- Change keymaps
|
||||||
-- [
|
awful.spawn.with_shell "if [ -f ~/.Xmodmap ]; then xmodmap ~/.Xmodmap; fi"
|
||||||
awful.spawn.with_shell [[ conf=$(
|
|
||||||
cat <<EOF
|
|
||||||
keycode 66 = Control_R
|
|
||||||
keycode 105 = Caps_Lock
|
|
||||||
clear lock
|
|
||||||
add lock = Caps_Lock
|
|
||||||
clear control
|
|
||||||
add control = Control_L Control_R
|
|
||||||
EOF
|
|
||||||
);
|
|
||||||
echo "$conf" | xmodmap - ]]
|
|
||||||
-- ]]
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Variable definitions
|
-- {{{ Variable definitions
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue