Compare commits
18 Commits
f1bb185f8a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| b22e381660 | |||
| 232e6a03c5 | |||
| 8936d060d3 | |||
| add9175859 | |||
| 6a6a579912 | |||
| c2a1117e55 | |||
| 25603469ae | |||
| db1807b6e2 | |||
| 7b6bb320ac | |||
| 154156f965 | |||
| 8e1c81c55c | |||
| 3bf01d1b04 | |||
| d986312dd4 | |||
| 5aac8f0d8a | |||
| 507029e62a | |||
| 34c82f1820 | |||
| 35123a80dc | |||
| eac7a059f8 |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
return {
|
return {
|
||||||
browser="firefox",
|
browser="firefox",
|
||||||
terminal="new-terminal",
|
terminal="new-terminal",
|
||||||
email="thomas@forgione.fr",
|
email="thomas@tforgione.fr",
|
||||||
email2="thomas@polymny.studio",
|
email2="thomas@polymny.studio",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -565,16 +565,16 @@ globalkeys = awful.util.table.join(
|
|||||||
end, {description="start the web browser", group="shortcuts"}),
|
end, {description="start the web browser", group="shortcuts"}),
|
||||||
|
|
||||||
awful.key({modkey}, "z", function()
|
awful.key({modkey}, "z", function()
|
||||||
awful.spawn.easy_async(options.browser .. " https://gitea.tforgione.fr/tforgione/todo/issues https://git.polymny.net/user/oauth2/polymny-studio https://web.telegram.org https://web.whatsapp.com/ https://discord.com/app https://nuage.polymny.studio/index.php/apps/calendar/", function() end)
|
awful.spawn.easy_async(options.browser .. " http://jdb.localhost/todo.html https://web.telegram.org https://web.whatsapp.com/ https://discord.com/app https://nuage.polymny.studio/index.php/apps/calendar/ https://mail.infomaniak.com/2 https://mail.infomaniak.com/0", function() end)
|
||||||
naughty.notify({title = "Starting social media"})
|
naughty.notify({title = "Starting social media"})
|
||||||
end, {description="Open social media", group="shortcuts"}),
|
end, {description="Open social media", group="shortcuts"}),
|
||||||
|
|
||||||
awful.key({modkey}, "l", function()
|
awful.key({modkey}, "l", function()
|
||||||
awful.spawn.easy_async_with_shell('sleep 1sec; xset dpms force off; slock', function() end)
|
awful.spawn.easy_async_with_shell('sleep 1; xset dpms force off; slock', function() end)
|
||||||
end, { description="Locks the screen", group="screen control"}),
|
end, { description="Locks the screen", group="screen control"}),
|
||||||
|
|
||||||
awful.key({modkey, "Shift"}, "l", function()
|
awful.key({modkey, "Shift"}, "l", function()
|
||||||
awful.spawn.easy_async_with_shell('sleep 1sec; xset dpms force off', function() end)
|
awful.spawn.easy_async_with_shell('sleep 1; xset dpms force off', function() end)
|
||||||
end, { description="Turns off the screen", group="screen control"}),
|
end, { description="Turns off the screen", group="screen control"}),
|
||||||
|
|
||||||
awful.key({modkey, "Shift"}, "Tab", function()
|
awful.key({modkey, "Shift"}, "Tab", function()
|
||||||
@@ -605,17 +605,13 @@ globalkeys = awful.util.table.join(
|
|||||||
|
|
||||||
awful.key({modkey, "Shift"}, "m", function()
|
awful.key({modkey, "Shift"}, "m", function()
|
||||||
awful.spawn.easy_async('sleep 0.5', function()
|
awful.spawn.easy_async('sleep 0.5', function()
|
||||||
for i = 1, #options.email do
|
os.execute('xdotool type --clearmodifiers ' .. options.email)
|
||||||
os.execute('xdotool type --clearmodifiers ' .. options.email:sub(i,i))
|
|
||||||
end
|
|
||||||
end)
|
end)
|
||||||
end, {description="Automatically enters the key to type your email", group="shortcuts"}),
|
end, {description="Automatically enters the key to type your email", group="shortcuts"}),
|
||||||
|
|
||||||
awful.key({modkey, "Shift"}, "ù", function()
|
awful.key({modkey, "Shift"}, "ù", function()
|
||||||
awful.spawn.easy_async('sleep 0.5', function()
|
awful.spawn.easy_async('sleep 0.5', function()
|
||||||
for i = 1, #options.email2 do
|
os.execute('xdotool type --clearmodifiers ' .. options.email2)
|
||||||
os.execute('xdotool type --clearmodifiers ' .. options.email2:sub(i,i))
|
|
||||||
end
|
|
||||||
end)
|
end)
|
||||||
end, {description="Automatically enters the key to type your secondary email", group="shortcuts"}),
|
end, {description="Automatically enters the key to type your secondary email", group="shortcuts"}),
|
||||||
|
|
||||||
@@ -624,8 +620,12 @@ globalkeys = awful.util.table.join(
|
|||||||
end, {description="Opens mailspring", group="shortcuts"}),
|
end, {description="Opens mailspring", group="shortcuts"}),
|
||||||
|
|
||||||
awful.key({modkey}, "e", function()
|
awful.key({modkey}, "e", function()
|
||||||
awful.spawn.easy_async("emojinput", function() end)
|
awful.spawn.easy_async("firefox ext+container:name=Yuzzit&url=https://yip.atlassian.net/ ext+container:name=Yuzzit&url=https://app.slack.com/client/T03UFFGJK/D07KS0S1LDT ext+container:name=Yuzzit&url=https://app.gather.town/app/bZRkf3gh7MIximOa/ytopenspace", function() end)
|
||||||
end, {description="Starts emojinput", group="shortcuts"}),
|
end, {description="Starts yuzzit", group="shortcuts"}),
|
||||||
|
|
||||||
|
awful.key({modkey}, ",", function()
|
||||||
|
awful.spawn.easy_async("firefox ext+container:name=Yuzzit&url=https://duckduckgo.com", function() end)
|
||||||
|
end, {description="Starts yuzzit empty window", group="shortcuts"}),
|
||||||
|
|
||||||
awful.key({ modkey }, "p", function()
|
awful.key({ modkey }, "p", function()
|
||||||
awful.spawn.easy_async("pavucontrol", function(e) end)
|
awful.spawn.easy_async("pavucontrol", function(e) end)
|
||||||
|
|||||||
Reference in New Issue
Block a user