1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00

first commit

This commit is contained in:
XNM
2023-09-28 03:29:43 +03:00
commit 9124fc4fc7
136 changed files with 11135 additions and 0 deletions

View File

@@ -0,0 +1,156 @@
local wezterm = require 'wezterm'
local act = wezterm.action
return {
color_scheme = 'Catppuccin Macchiato',
enable_tab_bar = false,
inactive_pane_hsb = {
saturation = 0.9,
brightness = 0.7,
},
-- enable_scroll_bar = true,
background = {
{
source = {
Color="#24273a"
},
height = "100%",
width = "100%",
},
{
source = {
File = '/home/xnm/.config/wezterm/lain.gif',
},
opacity = 0.05,
vertical_align = "Middle",
horizontal_align = "Center",
height = "1424",
width = "2024",
repeat_y = "NoRepeat",
repeat_x = "NoRepeat",
},
},
launch_menu = {
{
args = { 'btop' },
},
{
args = { 'cmatrix' },
},
{
args = { 'pipes-rs' },
},
},
keys = {
{
key = 'j',
mods = 'CTRL|SHIFT',
action = act.ScrollByPage(1)
},
{
key = 'k',
mods = 'CTRL|SHIFT',
action = act.ScrollByPage(-1)
},
{
key = 'g',
mods = 'CTRL|SHIFT',
action = act.ScrollToTop
},
{
key = 'e',
mods = 'CTRL|SHIFT',
action = act.ScrollToBottom
},
{
key = 'p',
mods = 'CTRL|SHIFT|SUPER',
action = act.PaneSelect
},
{
key = 'o',
mods = 'CTRL|SHIFT|SUPER',
action = act.PaneSelect { mode = "SwapWithActive" }
},
{
key = '%',
mods = 'CTRL|SHIFT|SUPER',
action = act.SplitVertical { domain = 'CurrentPaneDomain' }
},
{
key = '"',
mods = 'CTRL|SHIFT|SUPER',
action = act.SplitHorizontal { domain = 'CurrentPaneDomain' }
},
{
key = 'LeftArrow',
mods = 'CTRL|SHIFT|SUPER',
action = act.AdjustPaneSize { 'Left', 1 }
},
{
key = 'RightArrow',
mods = 'CTRL|SHIFT|SUPER',
action = act.AdjustPaneSize { 'Right', 1 }
},
{
key = 'UpArrow',
mods = 'CTRL|SHIFT|SUPER',
action = act.AdjustPaneSize { 'Up', 1 }
},
{
key = 'DownArrow',
mods = 'CTRL|SHIFT|SUPER',
action = act.AdjustPaneSize { 'Down', 1 }
},
{
key = 'h',
mods = 'CTRL|SHIFT|SUPER',
action = act.ActivatePaneDirection 'Left'
},
{
key = 'l',
mods = 'CTRL|SHIFT|SUPER',
action = act.ActivatePaneDirection 'Right'
},
{
key = 'k',
mods = 'CTRL|SHIFT|SUPER',
action = act.ActivatePaneDirection 'Up'
},
{
key = 'j',
mods = 'CTRL|SHIFT|SUPER',
action = act.ActivatePaneDirection 'Down'
},
{
key = 'z',
mods = 'CTRL|SHIFT|SUPER',
action = act.TogglePaneZoomState
},
{
key = 'q',
mods = 'CTRL|SHIFT|SUPER',
action = act.CloseCurrentPane { confirm = true }
},
{
key = 'b',
mods = 'CTRL|SHIFT|SUPER',
action = act.RotatePanes 'CounterClockwise'
},
{
key = 'n',
mods = 'CTRL|SHIFT|SUPER',
action = act.RotatePanes 'Clockwise'
},
{
key = 'd',
mods = 'CTRL|SHIFT',
action = act.ShowLauncher
},
{
key = ':',
mods = 'CTRL|SHIFT',
action = act.ClearSelection
},
},
}