This commit is contained in:
cool-mist
2025-05-31 10:53:48 +05:30
parent 7f72ebf4ff
commit dfcce749e8
3 changed files with 381 additions and 360 deletions
+1 -1
View File
@@ -130,4 +130,4 @@ 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
+11 -4
View File
@@ -77,9 +77,9 @@ awful.layout.layouts = {
awful.layout.suit.max.fullscreen, awful.layout.suit.max.fullscreen,
awful.layout.suit.magnifier, awful.layout.suit.magnifier,
awful.layout.suit.corner.nw, awful.layout.suit.corner.nw,
-- awful.layout.suit.corner.ne, awful.layout.suit.corner.ne,
-- awful.layout.suit.corner.sw, awful.layout.suit.corner.sw,
-- awful.layout.suit.corner.se, awful.layout.suit.corner.se,
} }
-- }}} -- }}}
@@ -160,7 +160,7 @@ local tasklist_buttons = gears.table.join(
awful.screen.connect_for_each_screen(function(s) awful.screen.connect_for_each_screen(function(s)
-- Each screen has its own tag table. -- 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 -- Create a promptbox for each screen
s.mypromptbox = awful.widget.prompt() s.mypromptbox = awful.widget.prompt()
@@ -265,6 +265,13 @@ globalkeys = gears.table.join(
end, end,
{ description = "change active monitor", group = "display" }), { 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 -- Lock screen
awful.key({ modkey }, "q", function() awful.spawn.with_shell('dm-tool lock') end, awful.key({ modkey }, "q", function() awful.spawn.with_shell('dm-tool lock') end,
{ description = "lock", group = "power" }), { description = "lock", group = "power" }),
+17 -3
View File
@@ -48,12 +48,25 @@ local act = wezterm.action
config.keys = { config.keys = {
{ key = '}', mods = 'SHIFT|CTRL', action = act.SplitVertical { domain = 'CurrentPaneDomain' } }, { key = '}', mods = 'SHIFT|CTRL', action = act.SplitVertical { domain = 'CurrentPaneDomain' } },
{ key = '|', mods = 'SHIFT|CTRL', action = act.SplitHorizontal { 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 = 'T', mods = 'SHIFT|CTRL', action = act.SpawnTab 'CurrentPaneDomain' },
{ key = 'z', mods = 'CTRL', action = act.TogglePaneZoomState }, { key = 'z', mods = 'CTRL', action = act.TogglePaneZoomState },
{ key = 'w', mods = 'CTRL', action = act.CloseCurrentPane { confirm = true } }, { 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 = 'K', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Up' },
{ key = 'J', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Down' }, { key = 'J', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Down' },
{ key = 'LeftArrow', mods = 'SHIFT|CTRL', action = act.AdjustPaneSize { 'Left', 5 } }, { 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 = 'UpArrow', mods = 'SHIFT|CTRL', action = act.AdjustPaneSize { 'Up', 5 } },
{ key = 'DownArrow', mods = 'SHIFT|CTRL', action = act.AdjustPaneSize { 'Down', 5 } }, { key = 'DownArrow', mods = 'SHIFT|CTRL', action = act.AdjustPaneSize { 'Down', 5 } },
} }
config.use_fancy_tab_bar = false config.use_fancy_tab_bar = false
config.show_tabs_in_tab_bar = true config.show_tabs_in_tab_bar = true
config.show_new_tab_button_in_tab_bar = false config.show_new_tab_button_in_tab_bar = false