Update awesome keybinds, conky details
This commit is contained in:
@@ -63,16 +63,16 @@ clientkeys =
|
||||
end,
|
||||
{description = "toggle sticky", group = "client"}
|
||||
),
|
||||
--awful.key(
|
||||
-- {modkey},
|
||||
-- "n",
|
||||
-- function(c)
|
||||
-- -- The client currently has the input focus, so it cannot be
|
||||
-- -- minimized, since minimized clients can't have the focus.
|
||||
-- c.minimized = true
|
||||
-- end,
|
||||
-- {description = "minimize", group = "client"}
|
||||
--),
|
||||
awful.key(
|
||||
{modkey},
|
||||
"n",
|
||||
function(c)
|
||||
-- The client currently has the input focus, so it cannot be
|
||||
-- minimized, since minimized clients can't have the focus.
|
||||
c.minimized = true
|
||||
end,
|
||||
{description = "minimize", group = "client"}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
"m",
|
||||
@@ -82,15 +82,6 @@ clientkeys =
|
||||
end,
|
||||
{description = "(un)maximize", group = "client"}
|
||||
),
|
||||
awful.key(
|
||||
{modkey, "Control"},
|
||||
"m",
|
||||
function(c)
|
||||
c.maximized_vertical = not c.maximized_vertical
|
||||
c:raise()
|
||||
end,
|
||||
{description = "(un)maximize vertically", group = "client"}
|
||||
),
|
||||
awful.key(
|
||||
{modkey, "Shift"},
|
||||
"m",
|
||||
|
@@ -27,19 +27,6 @@ globalkeys =
|
||||
end,
|
||||
{description = "quit awesome", group = "awesome"}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
"x",
|
||||
function()
|
||||
awful.prompt.run {
|
||||
prompt = "Run Lua code: ",
|
||||
textbox = awful.screen.focused().mypromptbox.widget,
|
||||
exe_callback = awful.util.eval,
|
||||
history_path = awful.util.get_cache_dir() .. "/history_eval"
|
||||
}
|
||||
end,
|
||||
{description = "lua execute prompt", group = "awesome"}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
"j",
|
||||
@@ -50,28 +37,12 @@ globalkeys =
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
"k",
|
||||
"h",
|
||||
function()
|
||||
awful.client.focus.byidx(-1)
|
||||
end,
|
||||
{description = "focus previous by index", group = "client"}
|
||||
),
|
||||
awful.key(
|
||||
{modkey, "Shift"},
|
||||
"j",
|
||||
function()
|
||||
awful.client.swap.byidx(1)
|
||||
end,
|
||||
{description = "swap with next client by index", group = "client"}
|
||||
),
|
||||
awful.key(
|
||||
{modkey, "Shift"},
|
||||
"k",
|
||||
function()
|
||||
awful.client.swap.byidx(-1)
|
||||
end,
|
||||
{description = "swap with previous client by index", group = "client"}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
"u",
|
||||
@@ -211,7 +182,7 @@ globalkeys =
|
||||
function()
|
||||
awful.spawn("/home/nick/.config/awesome/scripts/switch_theme.sh", false)
|
||||
end,
|
||||
{description = "switch theme", group = "hotkey"}
|
||||
{description = "switch theme", group = "hotkeys"}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
@@ -239,7 +210,7 @@ globalkeys =
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
"h",
|
||||
"k",
|
||||
function()
|
||||
awful.tag.incmwfact(-0.05)
|
||||
end,
|
||||
|
@@ -4,7 +4,7 @@ conky.config = {
|
||||
use_xft = true,
|
||||
font = 'Meslo LGS NF:size=12',
|
||||
xftalpha = 0.8,
|
||||
update_interval = 1,
|
||||
update_interval = 5,
|
||||
update_interval_on_battery = 15,
|
||||
total_run_times = 0,
|
||||
own_window = true,
|
||||
@@ -63,8 +63,8 @@ ${offset 300} └ UPTIME < $uptime >
|
||||
|
||||
|
||||
|
||||
$alignr ${offset -220} < wlp4s0:${if_empty ${exec iwgetid}} Offline$else ${exec iwgetid | sed 's/wlp4s0 ESSID://g'} - ${exec ifconfig wlp4s0 | grep "inet " | awk '{print $2}'}$endif > ┐
|
||||
$alignr ${offset -100} < eno1:${if_empty ${exec ifconfig eno1 | grep "inet " | awk '{print $2}'}} Offline$else ${exec ifconfig wlp4s0 | grep "inet " | awk '{print $2}'}$endif > ┴────────────
|
||||
$alignr < wlp4s0:${if_empty ${exec iwgetid}} Offline$else ${exec iwgetid | sed 's/wlp4s0 ESSID://g'} - ${exec ifconfig wlp4s0 | grep "inet " | awk '{print $2}'}$endif > ┐
|
||||
$alignr < eno1:${if_empty ${exec ifconfig eno1 | grep "inet " | awk '{print $2}'}} Offline$else ${exec ifconfig wlp4s0 | grep "inet " | awk '{print $2}'}$endif > ┴────────────
|
||||
|
||||
|
||||
${offset 450} MEM < $mem/$memmax - ${lua_parse format %2.0f $memperc}% ${membar 8,150} > ┬─────────────
|
||||
|
Reference in New Issue
Block a user