change: wezterm window config ; add: tacky-borders config ; change: wezterm font to ComicShannsMono
This commit is contained in:
408
configs/glaze_wm_w/config.yaml
Normal file → Executable file
408
configs/glaze_wm_w/config.yaml
Normal file → Executable file
@@ -1,143 +1,315 @@
|
|||||||
gaps:
|
general:
|
||||||
inner_gap: 2
|
# Commands to run when the WM has started. This is useful for running a
|
||||||
outer_gap: 2
|
# script or launching another application.
|
||||||
|
# Example: The below command launches Zebar.
|
||||||
|
startup_commands: ['shell-exec zebar']
|
||||||
|
|
||||||
bar:
|
# Commands to run just before the WM is shutdown.
|
||||||
height: 25
|
# Example: The below command kills Zebar.
|
||||||
opacity: 1.0
|
shutdown_commands: ['shell-exec taskkill /IM zebar.exe /F']
|
||||||
background: "#1C1B19"
|
|
||||||
foreground: "white"
|
# Commands to run after the WM config is reloaded.
|
||||||
#font_family: "Segoe UI"
|
config_reload_commands: []
|
||||||
font_family: "Iosevka Nerd Font"
|
|
||||||
font_size: "12"
|
# Whether to automatically focus windows underneath the cursor.
|
||||||
padding: "1 6 1 6"
|
focus_follows_cursor: false
|
||||||
border_width: "1"
|
|
||||||
border_color: "white"
|
# Whether to switch back and forth between the previously focused
|
||||||
components_left:
|
# workspace when focusing the current workspace.
|
||||||
- type: "workspaces"
|
toggle_workspace_on_refocus: false
|
||||||
focused_workspace_background: "#8192B3"
|
|
||||||
displayed_workspace_background: "#42403e"
|
cursor_jump:
|
||||||
default_workspace_background: "#101010"
|
# Whether to automatically move the cursor on the specified trigger.
|
||||||
components_right:
|
enabled: true
|
||||||
- type: "clock"
|
|
||||||
time_formatting: "hh:mm tt ddd MMM d"
|
# Trigger for cursor jump:
|
||||||
|
# - 'monitor_focus': Jump when focus changes between monitors.
|
||||||
|
# - 'window_focus': Jump when focus changes between windows.
|
||||||
|
trigger: 'monitor_focus'
|
||||||
|
|
||||||
|
# How windows should be hidden when switching workspaces.
|
||||||
|
# - 'cloak': Recommended. Hides windows with no animation.
|
||||||
|
# - 'hide': Legacy method (v3.5 and earlier) that has a brief animation,
|
||||||
|
# but has stability issues with some apps.
|
||||||
|
hide_method: 'cloak'
|
||||||
|
|
||||||
|
# Affects which windows get shown in the native Windows taskbar. Has no
|
||||||
|
# effect if `hide_method: 'hide'`.
|
||||||
|
# - 'true': Show all windows (regardless of workspace).
|
||||||
|
# - 'false': Only show windows from the currently shown workspaces.
|
||||||
|
show_all_in_taskbar: false
|
||||||
|
|
||||||
|
gaps:
|
||||||
|
# Whether to scale the gaps with the DPI of the monitor.
|
||||||
|
scale_with_dpi: true
|
||||||
|
|
||||||
|
# Gap between adjacent windows.
|
||||||
|
inner_gap: '7px'
|
||||||
|
|
||||||
|
# Gap between windows and the screen edge.
|
||||||
|
outer_gap:
|
||||||
|
top: '50px'
|
||||||
|
right: '5px'
|
||||||
|
bottom: '5px'
|
||||||
|
left: '5px'
|
||||||
|
|
||||||
|
window_effects:
|
||||||
|
# Visual effects to apply to the focused window.
|
||||||
|
focused_window:
|
||||||
|
# Highlight the window with a colored border.
|
||||||
|
# ** Exclusive to Windows 11 due to API limitations.
|
||||||
|
border:
|
||||||
|
enabled: false # Enable if tacky-borders is not installed
|
||||||
|
color: '#ffffff'
|
||||||
|
|
||||||
|
# Remove the title bar from the window's frame. Note that this can
|
||||||
|
# cause rendering issues for some applications.
|
||||||
|
hide_title_bar:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
# Change the corner style of the window's frame.
|
||||||
|
# ** Exclusive to Windows 11 due to API limitations.
|
||||||
|
corner_style:
|
||||||
|
enabled: false
|
||||||
|
# Allowed values: 'square', 'rounded', 'small_rounded'.
|
||||||
|
style: 'rounded'
|
||||||
|
|
||||||
|
# Change the transparency of the window.
|
||||||
|
transparency:
|
||||||
|
enabled: false
|
||||||
|
# Can be something like '95%' or '0.95' for slightly transparent windows.
|
||||||
|
# '0' or '0%' is fully transparent (and, by consequence, unfocusable).
|
||||||
|
opacity: '95%'
|
||||||
|
|
||||||
|
# Visual effects to apply to non-focused windows.
|
||||||
|
other_windows:
|
||||||
|
border:
|
||||||
|
enabled: true
|
||||||
|
color: '#a1a1a1'
|
||||||
|
hide_title_bar:
|
||||||
|
enabled: false
|
||||||
|
corner_style:
|
||||||
|
enabled: false
|
||||||
|
style: 'square'
|
||||||
|
transparency:
|
||||||
|
enabled: false
|
||||||
|
opacity: '0%'
|
||||||
|
|
||||||
|
window_behavior:
|
||||||
|
# New windows are created in this state whenever possible.
|
||||||
|
# Allowed values: 'tiling', 'floating'.
|
||||||
|
initial_state: 'tiling'
|
||||||
|
|
||||||
|
# Sets the default options for when a new window is created. This also
|
||||||
|
# changes the defaults for when the state change commands, like
|
||||||
|
# `set-floating`, are used without any flags.
|
||||||
|
state_defaults:
|
||||||
|
floating:
|
||||||
|
# Whether to center floating windows by default.
|
||||||
|
centered: true
|
||||||
|
|
||||||
|
# Whether to show floating windows as always on top.
|
||||||
|
shown_on_top: false
|
||||||
|
|
||||||
|
fullscreen:
|
||||||
|
# Maximize the window if possible. If the window doesn't have a
|
||||||
|
# maximize button, then it'll be fullscreen'ed normally instead.
|
||||||
|
maximized: true
|
||||||
|
|
||||||
|
# Whether to show fullscreen windows as always on top.
|
||||||
|
shown_on_top: false
|
||||||
|
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: 1
|
- name: '1'
|
||||||
- name: 2
|
- name: '2'
|
||||||
- name: 3
|
- name: '3'
|
||||||
- name: 4
|
- name: '4'
|
||||||
- name: 5
|
- name: '5'
|
||||||
- name: 6
|
- name: '6'
|
||||||
- name: 7
|
- name: '7'
|
||||||
- name: 8
|
- name: '8'
|
||||||
- name: 9
|
- name: '9'
|
||||||
|
|
||||||
|
window_rules:
|
||||||
|
- commands: ['ignore']
|
||||||
|
match:
|
||||||
|
# Ignores any Zebar windows.
|
||||||
|
- window_process: { equals: 'zebar' }
|
||||||
|
|
||||||
|
# Ignores picture-in-picture windows for browsers.
|
||||||
|
- window_title: { regex: '[Pp]icture.in.[Pp]icture' }
|
||||||
|
window_class: { regex: 'Chrome_WidgetWin_1|MozillaDialogClass' }
|
||||||
|
|
||||||
|
# Ignore rules for various 3rd-party apps.
|
||||||
|
- window_process: { equals: 'PowerToys' }
|
||||||
|
window_class: { regex: 'HwndWrapper\[PowerToys\.PowerAccent.*?\]' }
|
||||||
|
- window_process: { equals: 'PowerToys' }
|
||||||
|
window_title: { regex: '.*? - Peek' }
|
||||||
|
- window_process: { equals: 'Lively' }
|
||||||
|
window_class: { regex: 'HwndWrapper' }
|
||||||
|
|
||||||
|
binding_modes:
|
||||||
|
# When enabled, the focused window can be resized via arrow keys or HJKL.
|
||||||
|
- name: 'resize'
|
||||||
|
keybindings:
|
||||||
|
- commands: ['resize --width -2%']
|
||||||
|
bindings: ['h', 'left']
|
||||||
|
- commands: ['resize --width +2%']
|
||||||
|
bindings: ['l', 'right']
|
||||||
|
- commands: ['resize --height +2%']
|
||||||
|
bindings: ['k', 'up']
|
||||||
|
- commands: ['resize --height -2%']
|
||||||
|
bindings: ['j', 'down']
|
||||||
|
# Press enter/escape to return to default keybindings.
|
||||||
|
- commands: ['wm-disable-binding-mode --name resize']
|
||||||
|
bindings: ['escape', 'enter']
|
||||||
|
|
||||||
keybindings:
|
keybindings:
|
||||||
- command: "focus left"
|
# Shift focus in a given direction.
|
||||||
bindings: ["Alt+H", "Alt+Left"]
|
- commands: ['focus --direction left']
|
||||||
|
bindings: ['alt+h', 'alt+left']
|
||||||
|
- commands: ['focus --direction right']
|
||||||
|
bindings: ['alt+l', 'alt+right']
|
||||||
|
- commands: ['focus --direction up']
|
||||||
|
bindings: ['alt+k', 'alt+up']
|
||||||
|
- commands: ['focus --direction down']
|
||||||
|
bindings: ['alt+j', 'alt+down']
|
||||||
|
|
||||||
- command: "focus right"
|
# Move focused window in a given direction.
|
||||||
bindings: ["Alt+L", "Alt+Right"]
|
- commands: ['move --direction left']
|
||||||
|
bindings: ['alt+shift+h', 'alt+shift+left']
|
||||||
|
- commands: ['move --direction right']
|
||||||
|
bindings: ['alt+shift+l', 'alt+shift+right']
|
||||||
|
- commands: ['move --direction up']
|
||||||
|
bindings: ['alt+shift+k', 'alt+shift+up']
|
||||||
|
- commands: ['move --direction down']
|
||||||
|
bindings: ['alt+shift+j', 'alt+shift+down']
|
||||||
|
|
||||||
- command: "focus up"
|
# Resize focused window by a percentage or pixel amount.
|
||||||
bindings: ["Alt+K", "Alt+Up"]
|
- commands: ['resize --width -2%']
|
||||||
|
bindings: ['alt+u']
|
||||||
|
- commands: ['resize --width +2%']
|
||||||
|
bindings: ['alt+p']
|
||||||
|
- commands: ['resize --height +2%']
|
||||||
|
bindings: ['alt+o']
|
||||||
|
- commands: ['resize --height -2%']
|
||||||
|
bindings: ['alt+i']
|
||||||
|
|
||||||
- command: "focus down"
|
# As an alternative to the resize keybindings above, resize mode enables
|
||||||
bindings: ["Alt+J", "Alt+Down"]
|
# resizing via arrow keys or HJKL. The binding mode is defined above with
|
||||||
|
# the name 'resize'.
|
||||||
|
- commands: ['wm-enable-binding-mode --name resize']
|
||||||
|
bindings: ['alt+r']
|
||||||
|
|
||||||
- command: "move left"
|
# Disables window management and all other keybindings until alt+shift+p
|
||||||
bindings: ["Alt+Shift+H", "Alt+Shift+Left"]
|
# is pressed again.
|
||||||
|
- commands: ['wm-toggle-pause']
|
||||||
|
bindings: ['alt+shift+p']
|
||||||
|
|
||||||
- command: "move right"
|
# Change tiling direction. This determines where new tiling windows will
|
||||||
bindings: ["Alt+Shift+L", "Alt+Shift+Right"]
|
# be inserted.
|
||||||
|
- commands: ['toggle-tiling-direction']
|
||||||
|
bindings: ['alt+v']
|
||||||
|
|
||||||
- command: "move up"
|
# Change focus from tiling windows -> floating -> fullscreen.
|
||||||
bindings: ["Alt+Shift+K", "Alt+Shift+Up"]
|
- commands: ['wm-cycle-focus']
|
||||||
|
bindings: ['alt+space']
|
||||||
|
|
||||||
- command: "move down"
|
# Change the focused window to be floating.
|
||||||
bindings: ["Alt+Shift+J", "Alt+Shift+Down"]
|
- commands: ['toggle-floating --centered']
|
||||||
|
bindings: ['alt+shift+space']
|
||||||
|
|
||||||
- command: "resize width -2%"
|
# Change the focused window to be tiling.
|
||||||
binding: "Alt+U"
|
- commands: ['toggle-tiling']
|
||||||
|
bindings: ['alt+t']
|
||||||
|
|
||||||
- command: "resize width +2%"
|
# Change the focused window to be fullscreen.
|
||||||
binding: "Alt+P"
|
- commands: ['toggle-fullscreen']
|
||||||
|
bindings: ['alt+f']
|
||||||
|
|
||||||
- command: "resize height +2%"
|
# Minimize focused window.
|
||||||
binding: "Alt+O"
|
- commands: ['toggle-minimized']
|
||||||
|
bindings: ['alt+m']
|
||||||
|
|
||||||
- command: "resize height -2%"
|
# Close focused window.
|
||||||
binding: "Alt+I"
|
- commands: ['close']
|
||||||
|
bindings: ['alt+shift+q']
|
||||||
|
|
||||||
- command: "layout horizontal"
|
# Kill GlazeWM process safely.
|
||||||
binding: "Alt+Shift+V"
|
- commands: ['wm-exit']
|
||||||
|
bindings: ['alt+shift+e']
|
||||||
|
|
||||||
- command: "layout vertical"
|
# Re-evaluate configuration file.
|
||||||
binding: "Alt+V"
|
- commands: ['wm-reload-config']
|
||||||
|
bindings: ['alt+shift+r']
|
||||||
|
|
||||||
- command: "toggle focus mode"
|
# Redraw all windows.
|
||||||
binding: "Alt+Space"
|
- commands: ['wm-redraw']
|
||||||
|
bindings: ['alt+shift+w']
|
||||||
|
|
||||||
- command: "toggle floating"
|
# Launch CMD terminal. Alternatively, use `shell-exec wt` or
|
||||||
binding: "Alt+Shift+Space"
|
# `shell-exec %ProgramFiles%/Git/git-bash.exe` to start Windows
|
||||||
|
# Terminal and Git Bash respectively.
|
||||||
|
- commands: ['shell-exec cmd']
|
||||||
|
bindings: ['alt+enter']
|
||||||
|
|
||||||
- command: "close"
|
# Focus the next/previous active workspace defined in `workspaces` config.
|
||||||
binding: "Alt+Shift+Q"
|
- commands: ['focus --next-active-workspace']
|
||||||
|
bindings: ['alt+s']
|
||||||
|
- commands: ['focus --prev-active-workspace']
|
||||||
|
bindings: ['alt+a']
|
||||||
|
|
||||||
- command: "exit wm"
|
# Focus the workspace that last had focus.
|
||||||
binding: "Alt+Shift+E"
|
- commands: ['focus --recent-workspace']
|
||||||
|
bindings: ['alt+d']
|
||||||
|
|
||||||
- command: "focus workspace 1"
|
# Change focus to a workspace defined in `workspaces` config.
|
||||||
binding: "Alt+1"
|
- commands: ['focus --workspace 1']
|
||||||
|
bindings: ['alt+1']
|
||||||
|
- commands: ['focus --workspace 2']
|
||||||
|
bindings: ['alt+2']
|
||||||
|
- commands: ['focus --workspace 3']
|
||||||
|
bindings: ['alt+3']
|
||||||
|
- commands: ['focus --workspace 4']
|
||||||
|
bindings: ['alt+4']
|
||||||
|
- commands: ['focus --workspace 5']
|
||||||
|
bindings: ['alt+5']
|
||||||
|
- commands: ['focus --workspace 6']
|
||||||
|
bindings: ['alt+6']
|
||||||
|
- commands: ['focus --workspace 7']
|
||||||
|
bindings: ['alt+7']
|
||||||
|
- commands: ['focus --workspace 8']
|
||||||
|
bindings: ['alt+8']
|
||||||
|
- commands: ['focus --workspace 9']
|
||||||
|
bindings: ['alt+9']
|
||||||
|
|
||||||
- command: "focus workspace 2"
|
# Move the focused window's parent workspace to a monitor in a given
|
||||||
binding: "Alt+2"
|
# direction.
|
||||||
|
- commands: ['move-workspace --direction left']
|
||||||
|
bindings: ['alt+shift+a']
|
||||||
|
- commands: ['move-workspace --direction right']
|
||||||
|
bindings: ['alt+shift+f']
|
||||||
|
- commands: ['move-workspace --direction up']
|
||||||
|
bindings: ['alt+shift+d']
|
||||||
|
- commands: ['move-workspace --direction down']
|
||||||
|
bindings: ['alt+shift+s']
|
||||||
|
|
||||||
- command: "focus workspace 3"
|
# Move focused window to a workspace defined in `workspaces` config.
|
||||||
binding: "Alt+3"
|
- commands: ['move --workspace 1', 'focus --workspace 1']
|
||||||
|
bindings: ['alt+shift+1']
|
||||||
- command: "focus workspace 4"
|
- commands: ['move --workspace 2', 'focus --workspace 2']
|
||||||
binding: "Alt+4"
|
bindings: ['alt+shift+2']
|
||||||
|
- commands: ['move --workspace 3', 'focus --workspace 3']
|
||||||
- command: "focus workspace 5"
|
bindings: ['alt+shift+3']
|
||||||
binding: "Alt+5"
|
- commands: ['move --workspace 4', 'focus --workspace 4']
|
||||||
|
bindings: ['alt+shift+4']
|
||||||
- command: "focus workspace 6"
|
- commands: ['move --workspace 5', 'focus --workspace 5']
|
||||||
binding: "Alt+6"
|
bindings: ['alt+shift+5']
|
||||||
|
- commands: ['move --workspace 6', 'focus --workspace 6']
|
||||||
- command: "focus workspace 7"
|
bindings: ['alt+shift+6']
|
||||||
binding: "Alt+7"
|
- commands: ['move --workspace 7', 'focus --workspace 7']
|
||||||
|
bindings: ['alt+shift+7']
|
||||||
- command: "focus workspace 8"
|
- commands: ['move --workspace 8', 'focus --workspace 8']
|
||||||
binding: "Alt+8"
|
bindings: ['alt+shift+8']
|
||||||
|
- commands: ['move --workspace 9', 'focus --workspace 9']
|
||||||
- command: "focus workspace 9"
|
bindings: ['alt+shift+9']
|
||||||
binding: "Alt+9"
|
|
||||||
|
|
||||||
- commands: ["move to workspace 1", "focus workspace 1"]
|
|
||||||
binding: "Alt+Shift+1"
|
|
||||||
|
|
||||||
- commands: ["move to workspace 2", "focus workspace 2"]
|
|
||||||
binding: "Alt+Shift+2"
|
|
||||||
|
|
||||||
- commands: ["move to workspace 3", "focus workspace 3"]
|
|
||||||
binding: "Alt+Shift+3"
|
|
||||||
|
|
||||||
- commands: ["move to workspace 4", "focus workspace 4"]
|
|
||||||
binding: "Alt+Shift+4"
|
|
||||||
|
|
||||||
- commands: ["move to workspace 5", "focus workspace 5"]
|
|
||||||
binding: "Alt+Shift+5"
|
|
||||||
|
|
||||||
- commands: ["move to workspace 6", "focus workspace 6"]
|
|
||||||
binding: "Alt+Shift+6"
|
|
||||||
|
|
||||||
- commands: ["move to workspace 7", "focus workspace 7"]
|
|
||||||
binding: "Alt+Shift+7"
|
|
||||||
|
|
||||||
- commands: ["move to workspace 8", "focus workspace 8"]
|
|
||||||
binding: "Alt+Shift+8"
|
|
||||||
|
|
||||||
- commands: ["move to workspace 9", "focus workspace 9"]
|
|
||||||
bindings: ["Alt+Shift+9"]
|
|
||||||
|
|||||||
12
configs/wezterm_g/.wezterm.lua
Executable file
12
configs/wezterm_g/.wezterm.lua
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
local wezterm = require 'wezterm'
|
||||||
|
local config = {}
|
||||||
|
|
||||||
|
config.color_scheme = 'GruvboxDark'
|
||||||
|
config.font = wezterm.font 'ComicShannsMono Nerd Font Mono'
|
||||||
|
config.font_size = 16
|
||||||
|
config.enable_tab_bar = false
|
||||||
|
config.window_close_confirmation = "NeverPrompt"
|
||||||
|
config.default_domain = 'WSL:Arch'
|
||||||
|
config.audible_bell = 'Disabled'
|
||||||
|
|
||||||
|
return config
|
||||||
Reference in New Issue
Block a user