summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2020-04-19 10:13:00 +0200
committerache <ache@ache.one>2020-04-19 10:13:00 +0200
commit00b23019700b7fbacd163c3a990185ac7947dc47 (patch)
tree58307303fec58f74606666666699961f551ce42b
parentImproove ESSID print (diff)
Sakura term
-rw-r--r--rc.lua37
1 files changed, 23 insertions, 14 deletions
diff --git a/rc.lua b/rc.lua
index d5b3e0f..b6db451 100644
--- a/rc.lua
+++ b/rc.lua
@@ -69,10 +69,11 @@ end
-- {{{ Variable definitions
-- Themes define colours, icons, and wallpapers
-beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/customII/theme.lua")
+beautiful.init(os.getenv("HOME") .. "/.config/awesome/" ..
+ "themes/customII/theme.lua")
-- This is used later as the default terminal and editor to run.
-terminal = "roxterm"
+terminal = "sakura"
editor = os.getenv("EDITOR") or "vim"
editor_cmd = terminal .. " -e " .. editor
@@ -345,10 +346,6 @@ function act()
end
)
-
-
-
-
--{{ E-mail notification
awful.spawn.easy_async(
"bash -c \"which hasMail > /dev/null 2>&1 && hasMail\"",
@@ -576,15 +573,15 @@ awful.key({ modkey, "Shift" }, "s", hotkeys_popup.show_help, {descriptio
-- Raccourcis perso
awful.key({ }, "XF86AudioRaiseVolume", function ()
- awful.util.spawn("pamixer -i 8") end),
+ awful.util.spawn("pamixer -i 2") end),
awful.key({ }, "XF86AudioLowerVolume", function ()
- awful.util.spawn("pamixer -d 8") end),
+ awful.util.spawn("pamixer -d 2") end),
awful.key({ }, "XF86AudioMute", function ()
awful.util.spawn("pamixer -t") end),
awful.key({ }, "F12", function ()
- awful.util.spawn("pamixer -i 8") end),
+ awful.util.spawn("pamixer -i 2") end),
awful.key({ }, "F10", function ()
- awful.util.spawn("pamixer -d 8") end),
+ awful.util.spawn("pamixer -d 2") end),
awful.key({ }, "F11", function ()
awful.util.spawn("pamixer -t") end),
@@ -600,13 +597,15 @@ awful.key({ modkey, "Shift" }, "s", hotkeys_popup.show_help, {descriptio
awful.util.spawn("mpc next") end),
awful.key({ "Control" }, "F10", function ()
awful.util.spawn("mpc prev") end),
+ awful.key({ modkey }, "F11", function ()
+ awful.util.spawn("pavucontrol") end),
awful.key({ modkey}, "F1", function ()
- awful.util.spawn("roxterm -e bash -c \"systemctl --user start mpd;mpc random on;mpc repeat on;ncmpcpp\"") end,
+ awful.util.spawn("sakura -e ncmpcpp") end,
{description = "MPD", group = "awesome"}),
awful.key({ modkey, "Mod1" }, "F2", function ()
- awful.util.spawn("roxterm -e fish -c mutt") end,
+ awful.util.spawn("sakura -e mutt") end,
{description = "mutt", group = "awesome"}),
awful.key({ modkey, "Control" }, "F3", function ()
naughty.destroy_all_notifications(nil,naughty.notificationClosedReason.dismissedByUser)
@@ -657,7 +656,9 @@ awful.key({ modkey, "Shift" }, "s", hotkeys_popup.show_help, {descriptio
awful.key({ modkey, "Control" }, "w", function () act() end,
{description = "Actualise Wibox", group = "awesome"}),
awful.key({ modkey, "Shift" }, "w", function () awful.util.spawn("passmenu --type") end,
- {description = "Passwd promt", group = "awesome"}),
+ {description = "🔑 Passwd promt", group = "awesome"}),
+ awful.key({ modkey, "Mod1" }, "w", function () awful.util.spawn("passmenu --type -matching fuzzy") end,
+ {description = "🔑 Passwd promt alt", group = "awesome"}),
awful.key({ modkey, "Control" }, "x", function () awful.util.spawn("locker") end,
{description = "Lock screen", group = "awesome"}),
@@ -731,6 +732,15 @@ awful.key({ modkey, "Shift" }, "s", hotkeys_popup.show_help, {descriptio
]]
awful.util.spawn("rofi -show run -modi run")
end,{description = "Run rofi prompt", group = "awesome"}),
+ awful.key({ modkey }, "!",
+ function ()
+ awful.util.spawn("physlock")
+ end,{description = "🔐 lock screen", group = "awesome"}),
+ awful.key({ modkey }, ":",
+ function ()
+ awful.util.spawn("splatmoji type /home/ache/.config/splatmoji/perso_emoji_list.tsv /home/ache/.config/splatmoji/kaomoji.tsv")
+ end,{description = "emoji picker", group = "awesome"}),
+
-- Menubar
awful.key({ modkey }, "p", function()
local list=client.get()
@@ -1019,4 +1029,3 @@ awful.util.spawn_with_shell("setxkbmap -option grab:break_actions")
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
-