Updates
This commit is contained in:
+2
-2
@@ -128,6 +128,6 @@ export PATH=$PATH:$CARGO_HOME/bin
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
export PATH=$PATH:$XDG_CONFIG_HOME
|
||||
#
|
||||
export CHIPS_LAB_HOME=$HOME/projects/homelab/services
|
||||
export CHIPS_LAB_HOME=$HOME/projects/homelab/services
|
||||
|
||||
joke -c programming | cowsay -f tux
|
||||
# joke -c programming | cowsay -f tux
|
||||
|
||||
@@ -77,9 +77,9 @@ awful.layout.layouts = {
|
||||
awful.layout.suit.max.fullscreen,
|
||||
awful.layout.suit.magnifier,
|
||||
awful.layout.suit.corner.nw,
|
||||
-- awful.layout.suit.corner.ne,
|
||||
-- awful.layout.suit.corner.sw,
|
||||
-- awful.layout.suit.corner.se,
|
||||
awful.layout.suit.corner.ne,
|
||||
awful.layout.suit.corner.sw,
|
||||
awful.layout.suit.corner.se,
|
||||
}
|
||||
-- }}}
|
||||
|
||||
@@ -160,7 +160,7 @@ local tasklist_buttons = gears.table.join(
|
||||
|
||||
awful.screen.connect_for_each_screen(function(s)
|
||||
-- Each screen has its own tag table.
|
||||
awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8" }, s, awful.layout.layouts[2])
|
||||
awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8" }, s, awful.layout.layouts[3])
|
||||
|
||||
-- Create a promptbox for each screen
|
||||
s.mypromptbox = awful.widget.prompt()
|
||||
@@ -265,6 +265,13 @@ globalkeys = gears.table.join(
|
||||
end,
|
||||
{ description = "change active monitor", group = "display" }),
|
||||
|
||||
awful.key({ modkey, "Control" }, "l",
|
||||
function()
|
||||
local xrandr = require("xrandr")
|
||||
xrandr.xrandr()
|
||||
end,
|
||||
{ description = "change active monitor", group = "display" }),
|
||||
|
||||
-- Lock screen
|
||||
awful.key({ modkey }, "q", function() awful.spawn.with_shell('dm-tool lock') end,
|
||||
{ description = "lock", group = "power" }),
|
||||
@@ -290,8 +297,8 @@ clientkeys = gears.table.join(
|
||||
c.floating = false
|
||||
end),
|
||||
|
||||
awful.key({modkey, "Shift"}, 'n',
|
||||
function ()
|
||||
awful.key({ modkey, "Shift" }, 'n',
|
||||
function()
|
||||
for c in awful.client.iterate(
|
||||
function(c)
|
||||
return true
|
||||
@@ -299,7 +306,7 @@ clientkeys = gears.table.join(
|
||||
c.minimized = false
|
||||
end
|
||||
end,
|
||||
{description = "min/max all windows", group = "client"}),
|
||||
{ description = "min/max all windows", group = "client" }),
|
||||
|
||||
awful.key(
|
||||
{ modkey, "Shift" }, "w",
|
||||
|
||||
@@ -48,12 +48,25 @@ local act = wezterm.action
|
||||
config.keys = {
|
||||
{ key = '}', mods = 'SHIFT|CTRL', action = act.SplitVertical { domain = 'CurrentPaneDomain' } },
|
||||
{ key = '|', mods = 'SHIFT|CTRL', action = act.SplitHorizontal { domain = 'CurrentPaneDomain' } },
|
||||
{ key = '"', mods = 'SHIFT|CTRL', action = act.SplitVertical { domain = 'CurrentPaneDomain' } },
|
||||
{ key = 'T', mods = 'SHIFT|CTRL', action = act.SpawnTab 'CurrentPaneDomain' },
|
||||
{ key = 'z', mods = 'CTRL', action = act.TogglePaneZoomState },
|
||||
{ key = 'w', mods = 'CTRL', action = act.CloseCurrentPane { confirm = true } },
|
||||
{ key = 'H', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Left' },
|
||||
{ key = 'L', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Right' },
|
||||
{
|
||||
key = 'H',
|
||||
mods = 'SHIFT|CTRL',
|
||||
action = act.Multiple {
|
||||
act.ActivatePaneDirection 'Left',
|
||||
act.SetPaneZoomState(true),
|
||||
}
|
||||
},
|
||||
{
|
||||
key = 'L',
|
||||
mods = 'SHIFT|CTRL',
|
||||
action = act.Multiple {
|
||||
act.ActivatePaneDirection 'Right',
|
||||
act.SetPaneZoomState(true),
|
||||
}
|
||||
},
|
||||
{ key = 'K', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Up' },
|
||||
{ key = 'J', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Down' },
|
||||
{ key = 'LeftArrow', mods = 'SHIFT|CTRL', action = act.AdjustPaneSize { 'Left', 5 } },
|
||||
@@ -61,6 +74,7 @@ config.keys = {
|
||||
{ key = 'UpArrow', mods = 'SHIFT|CTRL', action = act.AdjustPaneSize { 'Up', 5 } },
|
||||
{ key = 'DownArrow', mods = 'SHIFT|CTRL', action = act.AdjustPaneSize { 'Down', 5 } },
|
||||
}
|
||||
|
||||
config.use_fancy_tab_bar = false
|
||||
config.show_tabs_in_tab_bar = true
|
||||
config.show_new_tab_button_in_tab_bar = false
|
||||
|
||||
Reference in New Issue
Block a user