Update awesome keybinds, conky details
This commit is contained in:
@@ -63,16 +63,16 @@ clientkeys =
|
|||||||
end,
|
end,
|
||||||
{description = "toggle sticky", group = "client"}
|
{description = "toggle sticky", group = "client"}
|
||||||
),
|
),
|
||||||
--awful.key(
|
awful.key(
|
||||||
-- {modkey},
|
{modkey},
|
||||||
-- "n",
|
"n",
|
||||||
-- function(c)
|
function(c)
|
||||||
-- -- The client currently has the input focus, so it cannot be
|
-- The client currently has the input focus, so it cannot be
|
||||||
-- -- minimized, since minimized clients can't have the focus.
|
-- minimized, since minimized clients can't have the focus.
|
||||||
-- c.minimized = true
|
c.minimized = true
|
||||||
-- end,
|
end,
|
||||||
-- {description = "minimize", group = "client"}
|
{description = "minimize", group = "client"}
|
||||||
--),
|
),
|
||||||
awful.key(
|
awful.key(
|
||||||
{modkey},
|
{modkey},
|
||||||
"m",
|
"m",
|
||||||
@@ -82,15 +82,6 @@ clientkeys =
|
|||||||
end,
|
end,
|
||||||
{description = "(un)maximize", group = "client"}
|
{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(
|
awful.key(
|
||||||
{modkey, "Shift"},
|
{modkey, "Shift"},
|
||||||
"m",
|
"m",
|
||||||
|
@@ -27,19 +27,6 @@ globalkeys =
|
|||||||
end,
|
end,
|
||||||
{description = "quit awesome", group = "awesome"}
|
{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(
|
awful.key(
|
||||||
{modkey},
|
{modkey},
|
||||||
"j",
|
"j",
|
||||||
@@ -50,28 +37,12 @@ globalkeys =
|
|||||||
),
|
),
|
||||||
awful.key(
|
awful.key(
|
||||||
{modkey},
|
{modkey},
|
||||||
"k",
|
"h",
|
||||||
function()
|
function()
|
||||||
awful.client.focus.byidx(-1)
|
awful.client.focus.byidx(-1)
|
||||||
end,
|
end,
|
||||||
{description = "focus previous by index", group = "client"}
|
{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(
|
awful.key(
|
||||||
{modkey},
|
{modkey},
|
||||||
"u",
|
"u",
|
||||||
@@ -211,7 +182,7 @@ globalkeys =
|
|||||||
function()
|
function()
|
||||||
awful.spawn("/home/nick/.config/awesome/scripts/switch_theme.sh", false)
|
awful.spawn("/home/nick/.config/awesome/scripts/switch_theme.sh", false)
|
||||||
end,
|
end,
|
||||||
{description = "switch theme", group = "hotkey"}
|
{description = "switch theme", group = "hotkeys"}
|
||||||
),
|
),
|
||||||
awful.key(
|
awful.key(
|
||||||
{modkey},
|
{modkey},
|
||||||
@@ -239,7 +210,7 @@ globalkeys =
|
|||||||
),
|
),
|
||||||
awful.key(
|
awful.key(
|
||||||
{modkey},
|
{modkey},
|
||||||
"h",
|
"k",
|
||||||
function()
|
function()
|
||||||
awful.tag.incmwfact(-0.05)
|
awful.tag.incmwfact(-0.05)
|
||||||
end,
|
end,
|
||||||
|
@@ -4,7 +4,7 @@ conky.config = {
|
|||||||
use_xft = true,
|
use_xft = true,
|
||||||
font = 'Meslo LGS NF:size=12',
|
font = 'Meslo LGS NF:size=12',
|
||||||
xftalpha = 0.8,
|
xftalpha = 0.8,
|
||||||
update_interval = 1,
|
update_interval = 5,
|
||||||
update_interval_on_battery = 15,
|
update_interval_on_battery = 15,
|
||||||
total_run_times = 0,
|
total_run_times = 0,
|
||||||
own_window = true,
|
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 < 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 < 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} > ┬─────────────
|
${offset 450} MEM < $mem/$memmax - ${lua_parse format %2.0f $memperc}% ${membar 8,150} > ┬─────────────
|
||||||
|
Reference in New Issue
Block a user