Some cahnges
This commit is contained in:
parent
3f644805cd
commit
a86e342735
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
ANSWER=$(echo -e "suspend\nlock\nlogout\nshutdown\nreboot" | rofi -dmenu)
|
||||||
|
|
||||||
|
case $ANSWER in
|
||||||
|
"suspend") systemctl suspend;;
|
||||||
|
"lock") xset s activate;;
|
||||||
|
"logout") echo 'awesome.quit()' | awesome-client;;
|
||||||
|
"shutdown") shutdown now;;
|
||||||
|
"reboot") reboot;;
|
||||||
|
esac
|
|
@ -283,9 +283,8 @@ globalkeys = gears.table.join(
|
||||||
{description = "open a terminal", group = "launcher"}),
|
{description = "open a terminal", group = "launcher"}),
|
||||||
awful.key({ modkey, "Control" }, "r", awesome.restart,
|
awful.key({ modkey, "Control" }, "r", awesome.restart,
|
||||||
{description = "reload awesome", group = "awesome"}),
|
{description = "reload awesome", group = "awesome"}),
|
||||||
awful.key({ modkey, "Shift" }, "e", awesome.quit,
|
awful.key({ modkey, "Shift" }, "e", function() awful.spawn("/home/daan/.config/awesome/exit.sh") end,
|
||||||
{description = "quit awesome", group = "awesome"}),
|
{description = "quit awesome", group = "awesome"}),
|
||||||
|
|
||||||
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
|
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
|
||||||
{description = "increase master width factor", group = "layout"}),
|
{description = "increase master width factor", group = "layout"}),
|
||||||
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end,
|
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end,
|
||||||
|
|
Loading…
Reference in New Issue