-
Notifications
You must be signed in to change notification settings - Fork 5
/
autostart.lua
47 lines (36 loc) · 1.45 KB
/
autostart.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
-- Standard awesome library
local spawn = require("awful.spawn")
-- Startup programs
-- Programs starting before spawn_with_shell
--
-- Gnome stuff
os.execute("/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &")
os.execute("gnome-terminal &")
--os.execute("wicd-client -t &")
-- Keyboard configuration
--
-- US keyboard
os.execute("setxkbmap -model pc105 -layout us -variant intl -option grp:shift_caps_toggle &")
-- Programs starting with spawn_with_shell
-- Gnome components
spawn.with_shell("/usr/libexec/gsd-xsettings")
--testing spawn.with_shell("gnome-keyring-daemon")
-- Network applet
spawn.with_shell("sleep 3; nm-applet")
-- Power management
spawn.with_shell("xfce4-power-manager")
-- Volume icon
spawn.with_shell("sleep 3; volumeicon")
-- Deactivate keyboard while typing macbook pro
-- spawn.with_shell("rm ~/.dispad.pid; dispad -F")
-- Start Conky
spawn.with_shell("conky -c /home/$USER/.config/awesome/conky/conky_simple/conkyrc")
-- Start Dropbox Daemon
spawn.with_shell("dropbox start")
-- Set wallpaper and screensaver
spawn.with_shell("feh --bg-fill /home/$USER/.config/awesome/wallpaper/funnysystem.jpg")
spawn.with_shell("xscreensaver -no-splash")
-- Configuration scripts and HiDPI specifics macbook pro
spawn.with_shell("/home/$USER/.config/awesome/scripts/xmodmapawesome")
spawn.with_shell("sleep 3; xrdb -merge /home/$USER/.config/awesome/scripts/Xdefaults.hidpi")
--spawn.with_shell("sh ~/.config/awesome/scripts/monitorretina")