-
Notifications
You must be signed in to change notification settings - Fork 2
/
profile_work.lua
30 lines (26 loc) · 1.12 KB
/
profile_work.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
mythememod = {
font = "Liberation Sans 12",
font_monospace = "Liberation Mono 12",
menu_height = "24"
}
myawesomemenu = {
{ "cheat sheet", cheatsheet_command },
{ "edit config", terminal .. " --default-working-directory .config/awesome" },
{ "restart", awesome.restart },
{ "quit", {
{ "yes", aal.quit_awesome },
{ "no", function() end } } }
}
mywiboxprops = { height = 24 }
mykeybindings = awful.util.table.join(
awful.key({ modkey }, "\\", function () aal.run_shell_command(zk.config_home .. "bin/chrome-default-user.sh") end),
awful.key({ modkey, "Shift" }, "\\", function () aal.run_shell_command(zk.config_home .. "bin/chrome-personal.sh") end)
)
function myautostarts()
aal.run_shell_command("redshift -O 6100")
-- Set mouse speed. (Negative value sets it slower than default).
aal.run_shell_command("xinput set-prop 'Logitech USB Optical Mouse' --type=float 'libinput Accel Speed' -0.2")
-- something wrong with my workstation that I need to restart ibus-daemon
-- to get it actually work.
aal.run_shell_command(zk.config_home .. "bin/restart_ibus.sh")
end