diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2025-03-31 12:16:47 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2025-03-31 12:16:47 -0400 |
commit | 4ccdb6fb1f53bc6c799ece8c2f03a0fede093acd (patch) | |
tree | 9d3a73a81547fff442263c28bdfd9d1e98895d5d | |
parent | f4c4550e327d9090c82a735d39d104d0bedb602d (diff) |
34 files changed, 627 insertions, 1145 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml deleted file mode 100644 index 910151a..0000000 --- a/.config/alacritty/alacritty.yml +++ /dev/null @@ -1,920 +0,0 @@ ---- -# Configuration for Alacritty, the GPU enhanced terminal emulator. -# Import additional configuration files -# -# Imports are loaded in order, skipping all missing files, with the importing -# file being loaded last. If a field is already present in a previous import, it -# will be replaced. -# -# All imports must either be absolute paths starting with `/`, or paths relative -# to the user's home directory starting with `~/`. -# import: -# - /path/to/alacritty.yml -# Any items in the `env` entry below will be added as -# environment variables. Some entries may override variables -# set by alacritty itself. -env: - # TERM variable - # - # This value is used to set the `$TERM` environment variable for - # each instance of Alacritty. If it is not present, alacritty will - # check the local terminfo database and use `alacritty` if it is - # available, otherwise `xterm-256color` is used. - TERM: alacritty -window: - # Window dimensions (changes require restart) - # - # Number of lines/columns (not pixels) in the terminal. Both lines and columns - # must be non-zero for this to take effect. The number of columns must be at - # least `2`, while using a value of `0` for columns and lines will fall back - # to the window manager's recommended size - # dimensions: - # columns: 0 - # lines: 0 - - # Window position (changes require restart) - # - # Specified in number of pixels. - # If the position is not set, the window manager will handle the placement. - # position: - # x: 0 - # y: 0 - - # Window padding (changes require restart) - # - # Blank space added around the window in pixels. This padding is scaled - # by DPI and the specified value is always added at both opposing sides. - padding: - x: 6 - y: 18 - - # Spread additional padding evenly around the terminal content. - # dynamic_padding: false - - # Window decorations - # - # Values for `decorations`: - # - full: Borders and title bar - # - none: Neither borders nor title bar - # - # Values for `decorations` (macOS only): - # - transparent: Title bar, transparent background and title bar buttons - # - buttonless: Title bar, transparent background and no title bar buttons - # decorations: full - - # Background opacity - # - # Window opacity as a floating point number from `0.0` to `1.0`. - # The value `0.0` is completely transparent and `1.0` is opaque. - opacity: 0.82 - - # Startup Mode (changes require restart) - # - # Values for `startup_mode`: - # - Windowed - # - Maximized - # - Fullscreen - # - # Values for `startup_mode` (macOS only): - # - SimpleFullscreen - # startup_mode: Windowed - - # Window title - title: Terminal - - # Allow terminal applications to change Alacritty's window title. - dynamic_title: true - - # Window class (Linux/BSD only): - class: - # Application instance name - instance: Alacritty - # General application class - general: AlacrittyApp - - # Decorations theme variant -# -# Override the variant of the System theme/GTK theme/Wayland client side -# decorations. Commonly supported values are `Dark`, `Light`, and `None` for -# auto pick-up. Set this to `None` to use the default theme variant. -# decorations_theme_variant: None -# Resize increments -# -# Prefer resizing window by discrete steps equal to cell dimensions. -# resize_increments: false -# Make `Option` key behave as `Alt` (macOS only): -# - OnlyLeft -# - OnlyRight -# - Both -# - None (default) -# option_as_alt: None -scrolling: - # Maximum number of lines in the scrollback buffer. - # Specifying '0' will disable scrolling. - history: 10000 - - # Scrolling distance multiplier. - # multiplier: 3 - - # Font configuration -font: - # Normal (roman) font face - normal: - # Font family - # - # Default: - # - (macOS) Menlo - # - (Linux/BSD) monospace - # - (Windows) Consolas - family: monospace - - # The `style` can be specified to pick a specific face. - # style: Regular - - # Bold font face - bold: - # Font family - # - # If the bold family is not specified, it will fall back to the - # value specified for the normal font. - family: monospace - - # The `style` can be specified to pick a specific face. - style: Bold - - # Italic font face - italic: - # Font family - # - # If the italic family is not specified, it will fall back to the - # value specified for the normal font. - family: monospace - - # The `style` can be specified to pick a specific face. - style: Italic - - # Bold italic font face - bold_italic: - # Font family - # - # If the bold italic family is not specified, it will fall back to the - # value specified for the normal font. - family: monospace - - # The `style` can be specified to pick a specific face. - style: Bold Italic - - # Point size - size: 11 - - # Offset is the extra space around each character. `offset.y` can be thought - # of as modifying the line spacing, and `offset.x` as modifying the letter - # spacing. - # offset: - # x: 0 - # y: 1 - - # Glyph offset determines the locations of the glyphs within their cells with - # the default being at the bottom. Increasing `x` moves the glyph to the - # right, increasing `y` moves the glyph upward. - # glyph_offset: - # x: 0 - # y: 1 - - # Use built-in font for box drawing characters. - # - # If `true`, Alacritty will use a custom built-in font for box drawing - # characters (Unicode points 2500 - 259f). - # - builtin_box_drawing: true - - # If `true`, bold text is drawn using the bright color variants. - draw_bold_text_with_bright_colors: false -# Colors (Tomorrow Night) -# colors: -# Default colors -# primary: -# background: '#1d1f21' -# foreground: '#c5c8c6' - -# Bright and dim foreground colors -# -# The dimmed foreground color is calculated automatically if it is not -# present. If the bright foreground color is not set, or -# `draw_bold_text_with_bright_colors` is `false`, the normal foreground -# color will be used. -# dim_foreground: '# 828482' -# bright_foreground: '# eaeaea' - -# Cursor colors -# -# Colors which should be used to draw the terminal cursor. -# -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like # ff00ff. -# cursor: -# text: CellBackground -# cursor: CellForeground - -# Vi mode cursor colors -# -# Colors for the cursor when the vi mode is active. -# -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like # ff00ff. -# vi_mode_cursor: -# text: CellBackground -# cursor: CellForeground - -# Search colors -# -# Colors used for the search bar and match highlighting. -# search: -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like # ff00ff. -# matches: -# foreground: '#000000' -# background: '#ffffff' -# focused_match: -# foreground: '#ffffff' -# background: '#000000' - -# Keyboard hints -# hints: -# First character in the hint label -# -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like # ff00ff. -# start: -# foreground: '#1d1f21' -# background: '#e9ff5e' - -# All characters after the first one in the hint label -# -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like # ff00ff. -# end: -# foreground: '#e9ff5e' -# background: '#1d1f21' - -# Line indicator -# -# Color used for the indicator displaying the position in history during -# search and vi mode. -# -# By default, these will use the opposing primary color. -# line_indicator: -# foreground: None -# background: None - -# Footer bar -# -# Color used for the footer bar on the bottom, used by search regex input, -# hyperlink URI preview, etc. -# -# footer_bar: -# background: '#c5c8c6' -# foreground: '#1d1f21' - -# Selection colors -# -# Colors which should be used to draw the selection area. -# -# Allowed values are CellForeground/CellBackground, which reference the -# affected cell, or hexadecimal colors like # ff00ff. -# selection: -# text: CellBackground -# background: CellForeground - -# Normal colors -# normal: -# black: '#1d1f21' -# red: '#cc6666' -# green: '#b5bd68' -# yellow: '#f0c674' -# blue: '#81a2be' -# magenta: '#b294bb' -# cyan: '#8abeb7' -# white: '#c5c8c6' - -# Bright colors -# bright: -# black: '#666666' -# red: '#d54e53' -# green: '#b9ca4a' -# yellow: '#e7c547' -# blue: '#7aa6da' -# magenta: '#c397d8' -# cyan: '#70c0b1' -# white: '#eaeaea' -# Dim colors -# -# If the dim colors are not set, they will be calculated automatically based -# on the `normal` colors. -# dim: -# black: '#131415' -# red: '#864343' -# green: '#777c44' -# yellow: '#9e824c' -# blue: '#556a7d' -# magenta: '#75617b' -# cyan: '#5b7d78' -# white: '#828482' -# Indexed Colors -# -# The indexed colors include all colors from 16 to 256. -# When these are not set, they're filled with sensible defaults. -# -# Example: -# `- { index: 16, color: '#ff00ff' }` -# -# indexed_colors: [] -# Transparent cell backgrounds -# -# Whether or not `window.opacity` applies to all cell backgrounds or only to -# the default background. When set to `true` all cells will be transparent -# regardless of their background color. -# transparent_background_colors: false -# Bell -# -# The bell is rung every time the BEL control character is received. -bell: - # Visual Bell Animation - # - # Animation effect for flashing the screen when the visual bell is rung. - # - # Values for `animation`: - # - Ease - # - EaseOut - # - EaseOutSine - # - EaseOutQuad - # - EaseOutCubic - # - EaseOutQuart - # - EaseOutQuint - # - EaseOutExpo - # - EaseOutCirc - # - Linear - animation: EaseOutExpo - - # Duration of the visual bell flash in milliseconds. A `duration` of `0` will - # disable the visual bell animation. - duration: 200 - - # Visual bell animation color. - color: '#7d4b23' - - # Bell Command - # - # This program is executed whenever the bell is rung. - # - # When set to `command: None`, no command will be executed. - # - # Example: - # command: - # program: notify-send - # args: ["Hello, World!"] - # - # command: - # program: notify-send - # args: ["Beep!"] - # selection: -# This string contains all characters that are used as separators for -# "semantic words" in Alacritty. -# semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" - -# When set to `true`, selected text will be copied to the primary clipboard. -save_to_clipboard: true -cursor: - # Cursor style - # style: - # Cursor shape - # - # Values for `shape`: - # - ▇ Block - # - _ Underline - # - | Beam - shape: Block - - # Cursor blinking state - # - # Values for `blinking`: - # - Never: Prevent the cursor from ever blinking - # - Off: Disable blinking by default - # - On: Enable blinking by default - # - Always: Force the cursor to always blink - blinking: false -# Vi mode cursor style -# -# If the vi mode cursor style is `None` or not specified, it will fall back to -# the style of the active value of the normal cursor. -# -# See `cursor.style` for available options. -# vi_mode_style: None - -# Cursor blinking interval in milliseconds. -# blink_interval: 750 - -# Time after which cursor stops blinking, in seconds. -# -# Specifying '0' will disable timeout for blinking. -# blink_timeout: 5 - -# If this is `true`, the cursor will be rendered as a hollow box when the -# window is not focused. -# unfocused_hollow: true - -# Thickness of the cursor relative to the cell width as floating point number -# from `0.0` to `1.0`. -# thickness: 0.15 -# Live config reload (changes require restart) -# live_config_reload: true -# Shell -# -# You can set `shell.program` to the path of your favorite shell, e.g. -# `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the -# shell. -# -# Default: -# - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset -# - (Windows) powershell -# shell: -# program: -# args: -# - --login -# Startup directory -# -# Directory the shell is started in. If this is unset, or `None`, the working -# directory of the parent process will be used. -# working_directory: $HOME -# Offer IPC using `alacritty msg` (unix only) -# ipc_socket: true -mouse: - # Click settings - # - # The `double_click` and `triple_click` settings control the time - # alacritty should wait for accepting multiple clicks as one double - # or triple click. - double_click: {threshold: 300} - triple_click: {threshold: 300} - - # If this is `true`, the cursor is temporarily hidden when typing. - hide_when_typing: true -# Hints -# -# Terminal hints can be used to find text or hyperlink in the visible part of -# the terminal and pipe it to other applications. -hints: - # Keys used for the hint labels. - alphabet: jfkdls;ahgurieowpq - - # List with all available hints - # - # Each hint must have any of `regex` or `hyperlinks` field and either an - # `action` or a `command` field. The fields `mouse`, `binding` and - # `post_processing` are optional. - # - # The `hyperlinks` option will cause OSC 8 escape sequence hyperlinks to be - # highlighted. - # - # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and - # `mouse.mods` accept the same values as they do in the `key_bindings` section. - # - # The `mouse.enabled` field controls if the hint should be underlined while - # the mouse with all `mouse.mods` keys held or the vi mode cursor is above it. - # - # If the `post_processing` field is set to `true`, heuristics will be used to - # shorten the match if there are characters likely not to be part of the hint - # (e.g. a trailing `.`). This is most useful for URIs and applies only to - # `regex` matches. https://google.ca - # - # Values for `action`: - # - Copy - # Copy the hint's text to the clipboard. - # - Paste - # Paste the hint's text to the terminal or search. - # - Select - # Select the hint's text. - # - MoveViModeCursor - # Move the vi mode cursor to the beginning of the hint. - enabled: - - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\0\ - -\x1F\x7F-\x9F<>\"\\s{-}\\^⟨⟩`]+" - hyperlinks: true - command: xdg-open - post_processing: true - mouse: - enabled: true - mods: None -# binding: -# key: U -# mods: Control|Shift -# Mouse bindings -# -# Mouse bindings are specified as a list of objects, much like the key -# bindings further below. -# -# To trigger mouse bindings when an application running within Alacritty -# captures the mouse, the `Shift` modifier is automatically added as a -# requirement. -# -# Each mouse binding will specify a: -# -# - `mouse`: -# -# - Middle -# - Left -# - Right -# - Numeric identifier such as `5` -# -# - `action` (see key bindings for actions not exclusive to mouse mode) -# -# - Mouse exclusive actions: -# -# - ExpandSelection -# Expand the selection to the current mouse cursor location. -# -# And optionally: -# -# - `mods` (see key bindings) -# mouse_bindings: -# - { mouse: Right, action: ExpandSelection } -# - { mouse: Right, mods: Control, action: ExpandSelection } -# - { mouse: Middle, mode: ~Vi, action: PasteSelection } -# Key bindings -# -# Key bindings are specified as a list of objects. For example, this is the -# default paste binding: -# -# `- { key: V, mods: Control|Shift, action: Paste }` -# -# Each key binding will specify a: -# -# - `key`: Identifier of the key pressed -# -# - A-Z -# - F1-F24 -# - Key0-Key9 -# -# A full list with available key codes can be found here: -# https://docs.rs/winit/*/winit/event/enum.VirtualKeyCode.html#variants -# -# Instead of using the name of the keys, the `key` field also supports using -# the scancode of the desired key. Scancodes have to be specified as a -# decimal number. This command will allow you to display the hex scancodes -# for certain keys: -# -# `showkey --scancodes`. -# -# Then exactly one of: -# -# - `chars`: Send a byte sequence to the running application -# -# The `chars` field writes the specified string to the terminal. This makes -# it possible to pass escape sequences. To find escape codes for bindings -# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside -# of tmux. Note that applications use terminfo to map escape sequences back -# to keys. It is therefore required to update the terminfo when changing an -# escape sequence. -# -# - `action`: Execute a predefined action -# -# - ToggleViMode -# - SearchForward -# Start searching toward the right of the search origin. -# - SearchBackward -# Start searching toward the left of the search origin. -# - Copy -# - Paste -# - IncreaseFontSize -# - DecreaseFontSize -# - ResetFontSize -# - ScrollPageUp -# - ScrollPageDown -# - ScrollHalfPageUp -# - ScrollHalfPageDown -# - ScrollLineUp -# - ScrollLineDown -# - ScrollToTop -# - ScrollToBottom -# - ClearHistory -# Remove the terminal's scrollback history. -# - Hide -# Hide the Alacritty window. -# - Minimize -# Minimize the Alacritty window. -# - Quit -# Quit Alacritty. -# - ToggleFullscreen -# - ToggleMaximized -# - SpawnNewInstance -# Spawn a new instance of Alacritty. -# - CreateNewWindow -# Create a new Alacritty window from the current process. -# - ClearLogNotice -# Clear Alacritty's UI warning and error notice. -# - ClearSelection -# Remove the active selection. -# - ReceiveChar -# - None -# -# - Vi mode exclusive actions: -# -# - Open -# Perform the action of the first matching hint under the vi mode cursor -# with `mouse.enabled` set to `true`. -# - ToggleNormalSelection -# - ToggleLineSelection -# - ToggleBlockSelection -# - ToggleSemanticSelection -# Toggle semantic selection based on `selection.semantic_escape_chars`. -# - CenterAroundViCursor -# Center view around vi mode cursor -# -# - Vi mode exclusive cursor motion actions: -# -# - Up -# One line up. -# - Down -# One line down. -# - Left -# One character left. -# - Right -# One character right. -# - First -# First column, or beginning of the line when already at the first column. -# - Last -# Last column, or beginning of the line when already at the last column. -# - FirstOccupied -# First non-empty cell in this terminal row, or first non-empty cell of -# the line when already at the first cell of the row. -# - High -# Top of the screen. -# - Middle -# Center of the screen. -# - Low -# Bottom of the screen. -# - SemanticLeft -# Start of the previous semantically separated word. -# - SemanticRight -# Start of the next semantically separated word. -# - SemanticLeftEnd -# End of the previous semantically separated word. -# - SemanticRightEnd -# End of the next semantically separated word. -# - WordLeft -# Start of the previous whitespace separated word. -# - WordRight -# Start of the next whitespace separated word. -# - WordLeftEnd -# End of the previous whitespace separated word. -# - WordRightEnd -# End of the next whitespace separated word. -# - Bracket -# Character matching the bracket at the cursor's location. -# - SearchNext -# Beginning of the next match. -# - SearchPrevious -# Beginning of the previous match. -# - SearchStart -# Start of the match to the left of the vi mode cursor. -# - SearchEnd -# End of the match to the right of the vi mode cursor. -# -# - Search mode exclusive actions: -# - SearchFocusNext -# Move the focus to the next search match. -# - SearchFocusPrevious -# Move the focus to the previous search match. -# - SearchConfirm -# - SearchCancel -# - SearchClear -# Reset the search regex. -# - SearchDeleteWord -# Delete the last word in the search regex. -# - SearchHistoryPrevious -# Go to the previous regex in the search history. -# - SearchHistoryNext -# Go to the next regex in the search history. -# -# - macOS exclusive actions: -# - ToggleSimpleFullscreen -# Enter fullscreen without occupying another space. -# -# - Linux/BSD exclusive actions: -# -# - CopySelection -# Copy from the selection buffer. -# - PasteSelection -# Paste from the selection buffer. -# -# - `command`: Fork and execute a specified command plus arguments -# -# The `command` field must be a map containing a `program` string and an -# `args` array of command line parameter strings. For example: -# `{ program: "alacritty", args: ["-e", "vttest"] }` -# -# And optionally: -# -# - `mods`: Key modifiers to filter binding actions -# -# - Command -# - Control -# - Option -# - Super -# - Shift -# - Alt -# -# Multiple `mods` can be combined using `|` like this: -# `mods: Control|Shift`. -# Whitespace and capitalization are relevant and must match the example. -# -# - `mode`: Indicate a binding for only specific terminal reported modes -# -# This is mainly used to send applications the correct escape sequences -# when in different modes. -# -# - AppCursor -# - AppKeypad -# - Search -# - Alt -# - Vi -# -# A `~` operator can be used before a mode to apply the binding whenever -# the mode is *not* active, e.g. `~Alt`. -# -# Bindings are always filled by default, but will be replaced when a new -# binding with the same triggers is defined. To unset a default binding, it can -# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for -# a no-op if you do not wish to receive input characters for that binding. -# -# If the same trigger is assigned to multiple actions, all of them are executed -# in the order they were defined in. -key_bindings: - #- { key: Paste, action: Paste } - #- { key: Copy, action: Copy } - #- { key: L, mods: Control, action: ClearLogNotice } - #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } - #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp } - #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown } - #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop } - #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom } - - # (Windows, Linux, and BSD only) - - {key: V, mods: Alt, action: Paste} - - {key: C, mods: Alt, action: Copy} - - {key: J, mods: Alt, action: ScrollLineDown} - - {key: K, mods: Alt, action: ScrollLineUp} - - {key: K, mods: Alt|Shift, action: IncreaseFontSize} - - {key: J, mods: Alt|Shift, action: DecreaseFontSize} - # - { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward } - # - { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward } - # - { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection } - # - { key: Insert, mods: Shift, action: PasteSelection } - # - { key: Key0, mods: Control, action: ResetFontSize } - # - { key: Equals, mods: Control, action: IncreaseFontSize } - # - { key: Plus, mods: Control, action: IncreaseFontSize } - # - { key: NumpadAdd, mods: Control, action: IncreaseFontSize } - # - { key: Minus, mods: Control, action: DecreaseFontSize } - # - { key: NumpadSubtract, mods: Control, action: DecreaseFontSize } -# Vi Mode -#- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } -#- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom } -#- { key: Escape, mode: Vi|~Search, action: ClearSelection } -#- { key: I, mode: Vi|~Search, action: ToggleViMode } -#- { key: I, mode: Vi|~Search, action: ScrollToBottom } -#- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode } -#- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp } -#- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown } -#- { key: G, mode: Vi|~Search, action: ScrollToTop } -#- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom } -#- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp } -#- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } -#- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } -#- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } -#- { key: Y, mode: Vi|~Search, action: Copy } -#- { key: Y, mode: Vi|~Search, action: ClearSelection } -#- { key: Copy, mode: Vi|~Search, action: ClearSelection } -#- { key: V, mode: Vi|~Search, action: ToggleNormalSelection } -#- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection } -#- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } -#- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } -#- { key: Return, mode: Vi|~Search, action: Open } -#- { key: Z, mode: Vi|~Search, action: CenterAroundViCursor } -#- { key: K, mode: Vi|~Search, action: Up } -#- { key: J, mode: Vi|~Search, action: Down } -#- { key: H, mode: Vi|~Search, action: Left } -#- { key: L, mode: Vi|~Search, action: Right } -#- { key: Up, mode: Vi|~Search, action: Up } -#- { key: Down, mode: Vi|~Search, action: Down } -#- { key: Left, mode: Vi|~Search, action: Left } -#- { key: Right, mode: Vi|~Search, action: Right } -#- { key: Key0, mode: Vi|~Search, action: First } -#- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last } -#- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied } -#- { key: H, mods: Shift, mode: Vi|~Search, action: High } -#- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } -#- { key: L, mods: Shift, mode: Vi|~Search, action: Low } -#- { key: B, mode: Vi|~Search, action: SemanticLeft } -#- { key: W, mode: Vi|~Search, action: SemanticRight } -#- { key: E, mode: Vi|~Search, action: SemanticRightEnd } -#- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft } -#- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight } -#- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd } -#- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket } -#- { key: Slash, mode: Vi|~Search, action: SearchForward } -#- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward } -#- { key: N, mode: Vi|~Search, action: SearchNext } -#- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious } - -# Search Mode -#- { key: Return, mode: Search|Vi, action: SearchConfirm } -#- { key: Escape, mode: Search, action: SearchCancel } -#- { key: C, mods: Control, mode: Search, action: SearchCancel } -#- { key: U, mods: Control, mode: Search, action: SearchClear } -#- { key: W, mods: Control, mode: Search, action: SearchDeleteWord } -#- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious } -#- { key: N, mods: Control, mode: Search, action: SearchHistoryNext } -#- { key: Up, mode: Search, action: SearchHistoryPrevious } -#- { key: Down, mode: Search, action: SearchHistoryNext } -#- { key: Return, mode: Search|~Vi, action: SearchFocusNext } -#- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious } - -# (Windows only) -#- { key: Return, mods: Alt, action: ToggleFullscreen } - -# (macOS only) -#- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" } -#- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory } -#- { key: Key0, mods: Command, action: ResetFontSize } -#- { key: Equals, mods: Command, action: IncreaseFontSize } -#- { key: Plus, mods: Command, action: IncreaseFontSize } -#- { key: NumpadAdd, mods: Command, action: IncreaseFontSize } -#- { key: Minus, mods: Command, action: DecreaseFontSize } -#- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize } -#- { key: V, mods: Command, action: Paste } -#- { key: C, mods: Command, action: Copy } -#- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection } -#- { key: H, mods: Command, action: Hide } -#- { key: H, mods: Command|Alt, action: HideOtherApplications } -#- { key: M, mods: Command, action: Minimize } -#- { key: Q, mods: Command, action: Quit } -#- { key: W, mods: Command, action: Quit } -#- { key: N, mods: Command, action: CreateNewWindow } -#- { key: F, mods: Command|Control, action: ToggleFullscreen } -#- { key: F, mods: Command, mode: ~Search, action: SearchForward } -#- { key: B, mods: Command, mode: ~Search, action: SearchBackward } - -# debug: -# Display the time it takes to redraw each frame. -# render_timer: false - -# Keep the log file after quitting Alacritty. -# persistent_logging: false - -# Log level -# -# Values for `log_level`: -# - false -# - Error -# - Warn -# - Info -# - Debug -# - Trace -# log_level: Warn -# Renderer override. -# - glsl3 -# - gles2 -# - gles2_pure -# renderer: None -# Print all received window events. -# print_events: false -# Highlight window damage information. -# highlight_damage: false -# Friffle port from .Xresources using terminal.sexy -colors: - # Default colors - primary: - background: '0x111a1f' # 111a1f - foreground: '0xacb3b5' # acb3b5 - - # Normal colors - normal: - black: '0x111a1f' # 111a1f - red: '0x8d7856' # 8d7856 - green: '0x798362' # 798362 - yellow: '0x9b9257' # 9b9257 - blue: '0x63768a' # 63768a - magenta: '0xb7416e' # b7416e - cyan: '0x6998b3' # 6998b3 - white: '0xc5c8c6' # c5c8c6 - - # Bright colors - bright: - black: '0x868b8d' # 868b8d - red: '0x810002' # 810002 - green: '0x037500' # 037500 - yellow: '0xebcb88' # ebcb88 - blue: '0x779988' # 779988 - magenta: '0x738c9c' # 738c9c - cyan: '0x66aabb' # 66aabb - white: '0xc0c7ca' # c0c7ca diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf new file mode 100644 index 0000000..af4692d --- /dev/null +++ b/.config/btop/btop.conf @@ -0,0 +1,248 @@ +#? Config file for btop v. 1.4.0 + +#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. +#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" +color_theme = "/usr/share/btop/themes/everforest-dark-hard.theme" + +#* If the theme set background should be shown, set to False if you want terminal background transparency. +theme_background = False + +#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. +truecolor = True + +#* Set to true to force tty mode regardless if a real tty has been detected or not. +#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols. +force_tty = False + +#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. +#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box. +#* Use whitespace " " as separator between different presets. +#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty" +presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty" + +#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists. +#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. +vim_keys = True + +#* Rounded corners on boxes, is ignored if TTY mode is ON. +rounded_corners = True + +#* Default symbols to use for graph creation, "braille", "block" or "tty". +#* "braille" offers the highest resolution but might not be included in all fonts. +#* "block" has half the resolution of braille but uses more common characters. +#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY. +#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view. +graph_symbol = "braille" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_cpu = "default" + +# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty". +graph_symbol_gpu = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_mem = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_net = "default" + +# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". +graph_symbol_proc = "default" + +#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace. +shown_boxes = "cpu net proc mem" + +#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. +update_ms = 200 + +#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", +#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. +proc_sorting = "memory" + +#* Reverse sorting order, True or False. +proc_reversed = False + +#* Show processes as a tree. +proc_tree = False + +#* Use the cpu graph colors in the process list. +proc_colors = True + +#* Use a darkening gradient in the process list. +proc_gradient = True + +#* If process cpu usage should be of the core it's running on or usage of the total available cpu power. +proc_per_core = False + +#* Show process memory as bytes instead of percent. +proc_mem_bytes = True + +#* Show cpu graph for each process. +proc_cpu_graphs = True + +#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) +proc_info_smaps = False + +#* Show proc box on left side of screen instead of right. +proc_left = False + +#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). +proc_filter_kernel = False + +#* In tree-view, always accumulate child process resources in the parent process. +proc_aggregate = False + +#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. +#* Select from a list of detected attributes from the options menu. +cpu_graph_upper = "total" + +#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available. +#* Select from a list of detected attributes from the options menu. +cpu_graph_lower = "user" + +#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off". +show_gpu_info = "Auto" + +#* Toggles if the lower CPU graph should be inverted. +cpu_invert_lower = True + +#* Set to True to completely disable the lower CPU graph. +cpu_single_graph = False + +#* Show cpu box at bottom of screen instead of top. +cpu_bottom = False + +#* Shows the system uptime in the CPU box. +show_uptime = True + +#* Show cpu temperature. +check_temp = True + +#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. +cpu_sensor = "Auto" + +#* Show temperatures for cpu cores also if check_temp is True and sensors has been found. +show_coretemp = True + +#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. +#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. +#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries. +#* Example: "4:0 5:1 6:3" +cpu_core_map = "" + +#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine". +temp_scale = "celsius" + +#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. +base_10_sizes = False + +#* Show CPU frequency. +show_cpu_freq = True + +#* Draw a clock at top of screen, formatting according to strftime, empty string to disable. +#* Special formatting: /host = hostname | /user = username | /uptime = system uptime +clock_format = "%X" + +#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. +background_update = True + +#* Custom cpu model name, empty string to disable. +custom_cpu_name = "" + +#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". +#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user". +disks_filter = "" + +#* Show graphs instead of meters for memory values. +mem_graphs = True + +#* Show mem box below net box instead of above. +mem_below_net = False + +#* Count ZFS ARC in cached and available memory. +zfs_arc_cached = True + +#* If swap memory should be shown in memory box. +show_swap = True + +#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. +swap_disk = True + +#* If mem box should be split to also show disks info. +show_disks = False + +#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. +only_physical = True + +#* Read disks list from /etc/fstab. This also disables only_physical. +use_fstab = True + +#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) +zfs_hide_datasets = False + +#* Set to true to show available disk space for privileged users. +disk_free_priv = False + +#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. +show_io_stat = True + +#* Toggles io mode for disks, showing big graphs for disk read/write speeds. +io_mode = False + +#* Set to True to show combined read/write io graphs in io mode. +io_graph_combined = False + +#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". +#* Example: "/mnt/media:100 /:20 /boot:1". +io_graph_speeds = "" + +#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. +net_download = 100 + +net_upload = 100 + +#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. +net_auto = True + +#* Sync the auto scaling for download and upload to whichever currently has the highest scale. +net_sync = True + +#* Starts with the Network Interface specified here. +net_iface = "" + +#* Show battery stats in top right if battery is present. +show_battery = True + +#* Which battery to use if multiple are present. "Auto" for auto detection. +selected_battery = "Auto" + +#* Show power stats of battery next to charge indicator. +show_battery_watts = True + +#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". +#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. +log_level = "WARNING" + +#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. +nvml_measure_pcie_speeds = True + +#* Horizontally mirror the GPU graph. +gpu_mirror_graph = True + +#* Custom gpu0 model name, empty string to disable. +custom_gpu_name0 = "" + +#* Custom gpu1 model name, empty string to disable. +custom_gpu_name1 = "" + +#* Custom gpu2 model name, empty string to disable. +custom_gpu_name2 = "" + +#* Custom gpu3 model name, empty string to disable. +custom_gpu_name3 = "" + +#* Custom gpu4 model name, empty string to disable. +custom_gpu_name4 = "" + +#* Custom gpu5 model name, empty string to disable. +custom_gpu_name5 = "" diff --git a/.config/gh-dash/config.yml b/.config/gh-dash/config.yml new file mode 100644 index 0000000..9c3c2a4 --- /dev/null +++ b/.config/gh-dash/config.yml @@ -0,0 +1,79 @@ +prSections: +- title: My Pull Requests + filters: is:open author:@me + type: null +- title: Needs My Review + filters: is:open review-requested:@me + type: null +- title: Involved + filters: is:open involves:@me -author:@me + type: null +issuesSections: +- title: My Issues + filters: is:open author:@me +- title: Assigned + filters: is:open assignee:@me +- title: Involved + filters: is:open involves:@me -author:@me +repo: + branchesRefetchIntervalSeconds: 30 + prsRefetchIntervalSeconds: 60 +defaults: + preview: + open: true + width: 50 + prsLimit: 20 + issuesLimit: 20 + view: prs + layout: + prs: + updatedAt: + width: 5 + createdAt: + width: 5 + repo: + width: 20 + author: + width: 15 + authorIcon: + hidden: false + assignees: + width: 20 + hidden: true + base: + width: 15 + hidden: true + lines: + width: 15 + issues: + updatedAt: + width: 5 + createdAt: + width: 5 + repo: + width: 15 + creator: + width: 10 + creatorIcon: + hidden: false + assignees: + width: 20 + hidden: true + refetchIntervalMinutes: 30 +keybindings: + universal: [] + issues: [] + prs: [] + branches: [] +repoPaths: {} +theme: + ui: + sectionsShowCount: true + table: + showSeparator: true + compact: false +pager: + diff: "" +confirmQuit: false +showAuthorIcons: true +smartFilteringAtLaunch: true diff --git a/.config/ghostty/config b/.config/ghostty/config new file mode 100644 index 0000000..7c3c780 --- /dev/null +++ b/.config/ghostty/config @@ -0,0 +1,80 @@ +# Window +# window-decoration = client +window-theme = dark +resize-overlay = never +confirm-close-surface = false + +# macOS +macos-titlebar-style = transparent +macos-titlebar-proxy-icon = hidden +macos-option-as-alt = true +macos-icon = official + +# linux weirdness +window-decoration = none +window-padding-x = 0 +window-padding-y = 0 + +# Kitty Images +image-storage-limit = 3200000000 + +# Mouse +mouse-hide-while-typing = true + +# Keybinds +keybind = alt+shift+k=increase_font_size:1 +keybind = alt+shift+j=decrease_font_size:1 +keybind = super+shift+c=copy_to_clipboard +keybind = super+shift+v=paste_from_clipboard + +# Clipboard +clipboard-read = allow +clipboard-write = allow +copy-on-select = true + +# Background and Transparency +background = #111a1f +background-opacity = 0.8 +unfocused-split-opacity = 06 +background-blur = true +background-blur-radius = 15 + +# Fonts and Cursor +font-family = "Vulf Mono" +font-size = 15 + +cursor-style = block +cursor-color = #66aabb +cursor-opacity = 0.8 + +# custom-shader-animation = true +# custom-shader = ~/.config/ghostty/shaders/starfield.glsl + +# Colorscheme + +# black +palette = 0=#111a1f +palette = 8=#868b8d +# red +palette = 1=#8d7856 +palette = 9=#810002 +# green +palette = 2=#798362 +palette = 10=#037500 +# yellow +palette = 3=#9b9257 +palette = 11=#ebcb88 +# blue +palette = 4=#63768a +palette = 12=#779988 +# magenta +palette = 5=#b7416e +palette = 13=#738c9c +# cyan +palette = 6=#6998b3 +palette = 14=#66aabb +# white +palette = 7=#c5c8c6 +palette = 15=#c0c7ca + +# vim:ft=ghostty diff --git a/.config/glow/glow.yml b/.config/glow/glow.yml new file mode 100644 index 0000000..1e10148 --- /dev/null +++ b/.config/glow/glow.yml @@ -0,0 +1,10 @@ +# style name or JSON path (default "auto") +style: "auto" +# show local files only; no network (TUI-mode only) +local: false +# mouse support (TUI-mode only) +mouse: false +# use pager to display markdown +pager: false +# word-wrap at width +width: 80
\ No newline at end of file diff --git a/.config/glow/themes/dark.yml b/.config/glow/themes/dark.yml new file mode 100644 index 0000000..ce3dda1 --- /dev/null +++ b/.config/glow/themes/dark.yml @@ -0,0 +1,25 @@ +--- {document: {block_prefix: "\n", block_suffix: "\n", color: '252', margin: 2}, +block_quote: {indent: 1, indent_token: '│ '}, paragraph: {}, list: {level_indent: 2}, +heading: {block_suffix: "\n", color: '39', bold: true}, h1: {prefix: ' ', suffix: ' ', +color: '228', background_color: '63', bold: true}, h2: {prefix: '## '}, h3: {prefix: '### '}, +h4: {prefix: '#### '}, h5: {prefix: '##### '}, h6: {prefix: '###### ', color: '35', +bold: false}, text: {}, strikethrough: {crossed_out: true}, emph: {italic: true}, +strong: {bold: true}, hr: {color: '240', format: "\n--------\n"}, item: {block_prefix: '• '}, +enumeration: {block_prefix: '. '}, task: {ticked: '[✓] ', unticked: '[ ] '}, link: { +color: '30', underline: true}, link_text: {color: '35', bold: true}, image: {color: '212', +underline: true}, image_text: {color: '243', format: 'Image: {{.text}} →'}, code: { +prefix: ' ', suffix: ' ', color: '203', background_color: '236'}, code_block: {color: '244', +margin: 2, chroma: {text: {color: '#C4C4C4'}, error: {color: '#F1F1F1', background_color: '#F05B5B'}, +comment: {color: '#676767'}, comment_preproc: {color: '#FF875F'}, keyword: {color: '#00AAFF'}, +keyword_reserved: {color: '#FF5FD2'}, keyword_namespace: {color: '#FF5F87'}, keyword_type: { +color: '#6E6ED8'}, operator: {color: '#EF8080'}, punctuation: {color: '#E8E8A8'}, +name: {color: '#C4C4C4'}, name_builtin: {color: '#FF8EC7'}, name_tag: {color: '#B083EA'}, +name_attribute: {color: '#7A7AE6'}, name_class: {color: '#F1F1F1', underline: true, +bold: true}, name_constant: {}, name_decorator: {color: '#FFFF87'}, name_exception: {}, +name_function: {color: '#00D787'}, name_other: {}, literal: {}, literal_number: { +color: '#6EEFC0'}, literal_date: {}, literal_string: {color: '#C69669'}, literal_string_escape: { +color: '#AFFFD7'}, generic_deleted: {color: '#FD5B5B'}, generic_emph: {italic: true}, +generic_inserted: {color: '#00D787'}, generic_strong: {bold: true}, generic_subheading: { +color: '#777777'}, background: {background_color: '#373737'}}}, table: {}, definition_list: {}, +definition_term: {}, definition_description: {block_prefix: "\n\U0001F836 "}, html_block: {}, +html_span: {}} diff --git a/.config/gtk-3.0/gtk.css b/.config/gtk-3.0/gtk.css new file mode 100644 index 0000000..64c61fd --- /dev/null +++ b/.config/gtk-3.0/gtk.css @@ -0,0 +1,12 @@ +/* No (default) title bar on wayland */ +headerbar.default-decoration { + /* You may need to tweak these values depending on your GTK theme */ + margin-bottom: 50px; + margin-top: -100px; +} + +/* rm -rf window shadows */ +window.csd, /* gtk4? */ +window.csd decoration { /* gtk3 */ + box-shadow: none; +} diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..2cfd6d0 --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1,2 @@ +[Settings] +gtk-dialog-use-header=false diff --git a/.config/gtk-4.0/gtk.css b/.config/gtk-4.0/gtk.css new file mode 120000 index 0000000..beb3b06 --- /dev/null +++ b/.config/gtk-4.0/gtk.css @@ -0,0 +1 @@ +../gtk-3.0/gtk.css
\ No newline at end of file diff --git a/.config/gtk-4.0/settings.ini b/.config/gtk-4.0/settings.ini new file mode 120000 index 0000000..fbea1af --- /dev/null +++ b/.config/gtk-4.0/settings.ini @@ -0,0 +1 @@ +../gtk-3.0/settings.ini
\ No newline at end of file diff --git a/.config/kanshi/config b/.config/kanshi/config new file mode 100644 index 0000000..4ad7029 --- /dev/null +++ b/.config/kanshi/config @@ -0,0 +1,45 @@ +output "eDP-1" alias $mainmon +output "LG Electronics LG ULTRAWIDE 0x0002DCA5" alias $widemon + + +profile dualmon { + output $mainmon { + enable + mode 2256x1504@59.999 + position 0,0 + transform normal + scale 1 + } + output $widemon { + enable + mode 2560x1080@59.978 + position 2256,424 + transform 180 + scale 1 + } + exec monchange +} + + +profile singlemon { + output $mainmon { + enable + mode 2256x1504@59.999 + position 0,0 + transform normal + scale 1 + } + exec monchange +} + +profile singlewide { + output $mainmon disable + output $widemon { + enable + mode 2256x1504@59.9789 + position 0,0 + transform 180 + scale 1 + } + exec monchange +} diff --git a/.config/mpv/scripts/modules.lua b/.config/mpv/scripts/modules.lua deleted file mode 100644 index 37b69b3..0000000 --- a/.config/mpv/scripts/modules.lua +++ /dev/null @@ -1,3 +0,0 @@ -local mpv_scripts_dir_path = os.getenv("HOME") .. "/.config/mpv/scripts/" -function load(relative_path) dofile(mpv_scripts_dir_path .. relative_path) end -load("mpvSockets/mpvSockets.lua") diff --git a/.config/screenlayout/quick-presentation b/.config/screenlayout/quick-presentation deleted file mode 100755 index 8a8123b..0000000 --- a/.config/screenlayout/quick-presentation +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -mainmon="eDP" - -# List monitors with xrandr -# Keep all linues that contain " connected" -# Remove the main monitor from the list -# Remove all disconnected monitors -# Delete empty lines -# Get the first non-main monitor -# Sanitize the output (keep only the monitor name) -othermon="$(xrandr | grep " connected" | - sed "s/.*$mainmon\s.*//g; - /^$/d; - s/\([A-Z0-9]\+\) .*/\1/g" | - head -n 1)" - -xrandr --output "$mainmon" --auto --output "$othermon" --auto --above "$mainmon" - -makewall diff --git a/.config/screenlayout/workstation-dualmon b/.config/screenlayout/workstation-dualmon deleted file mode 100755 index 08c080f..0000000 --- a/.config/screenlayout/workstation-dualmon +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -xrandr --output eDP --primary --mode 2256x1504 --pos 2560x0 --rotate normal --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --mode 2560x1080 --pos 0x0 --rotate inverted --output DisplayPort-3 --off --output DisplayPort-4 --off --output DisplayPort-5 --off --output DisplayPort-6 --off --output DisplayPort-7 --off -makewall diff --git a/.config/screenlayout/workstation-singlemon b/.config/screenlayout/workstation-singlemon deleted file mode 100755 index e75dd9a..0000000 --- a/.config/screenlayout/workstation-singlemon +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -xrandr --output eDP --primary --mode 2256x1504 --pos 0x0 --rotate normal --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --off --output DisplayPort-3 --off --output DisplayPort-4 --off --output DisplayPort-5 --off --output DisplayPort-6 --off --output DisplayPort-7 --off -makewall diff --git a/.config/wireman/themes/dracula.toml b/.config/wireman/themes/dracula.toml new file mode 100644 index 0000000..672ffd6 --- /dev/null +++ b/.config/wireman/themes/dracula.toml @@ -0,0 +1,42 @@ +[colors] +black = "#282a36" +white = "#f8f8f2" +gray = "#585c74" +pink = "#ff79c6" +purple = "#bd93f9" +orange = "#ffb86c" +orange-dark = "#e9b781" +cyan = "#8be9fd" +cyan-dark = "#3d808f" + +[base.focused] +foreground = "white" +background = "black" + +[base.unfocused] +foreground = "gray" +background = "black" + +[highlight.focused] +foreground = "orange" +background = "black" + +[highlight.unfocused] +foreground = "orange-dark" +background = "black" + +[title.focused] +foreground = "cyan" +background = "black" + +[title.unfocused] +foreground = "cyan-dark" +background = "black" + +[border.focused] +foreground = "white" +background = "black" + +[border.unfocused] +foreground = "gray" +background = "black" diff --git a/.config/wireman/themes/transparent.toml b/.config/wireman/themes/transparent.toml new file mode 100644 index 0000000..b9caa55 --- /dev/null +++ b/.config/wireman/themes/transparent.toml @@ -0,0 +1,32 @@ +[colors] +black = "#101116" +white = "#f1f5f9" +orange = "#ebcb88" +orange-dark = "#b7416d" +gray = "#738c9c" +cyan = "#66aabb" +cyan-dark = "#798362" + +[base.focused] +foreground = "white" + +[base.unfocused] +foreground = "gray" + +[highlight.focused] +foreground = "orange" + +[highlight.unfocused] +foreground = "orange-dark" + +[title.focused] +foreground = "cyan" + +[title.unfocused] +foreground = "cyan-dark" + +[border.focused] +foreground = "white" + +[border.unfocused] +foreground = "gray" diff --git a/.config/wireman/wireman.toml b/.config/wireman/wireman.toml new file mode 100644 index 0000000..551793c --- /dev/null +++ b/.config/wireman/wireman.toml @@ -0,0 +1,25 @@ +includes = [ + "$HOME/Workspace/rafta/master", + "$HOME/Workspace/rafta/master/external" +] +files = [ + "resources/schema.proto", +] + +[history] +directory = "" +autosave = true +disabled = false + +[server] +default_address = "http://localhost:50051" +default_auth_header = "" + +[logging] +level = "Debug" +directory = "$HOME/.cache" + +[ui] +skin = "$HOME/.config/wireman/themes/transparent.toml" + +[tls] diff --git a/.local/bin/lazydocker b/.local/bin/lazydocker Binary files differdeleted file mode 100755 index c356cb3..0000000 --- a/.local/bin/lazydocker +++ /dev/null diff --git a/.local/bin/makewall.bak b/.local/bin/makewall.bak deleted file mode 100755 index b098dff..0000000 --- a/.local/bin/makewall.bak +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -wallDir="${XDG_CONFIG_HOME:-$HOME}/wallpapers" - -# Acquire the list of connected displays -displays="$(wlr-randr --json | jq -r '.[] | select(.enabled) | .name')" -echo "$displays" - -# If there is a wallpaper with a filename matching the display -# name, set it as the wallpaper for that display. -# ex: DP-1.jpg and DP-1.png are both valid filenames -# Otherwise, set the wallpaper to the default wallpaper -# (default.png or default.jpg) -setDisplay() { - case $(ls $wallDir) in - *"$1"*) - wall=$(ls $wallDir | grep "$1" | head -n 1) - ;; - *) - wall=$(ls $wallDir | grep "default" | head -n 1) - ;; - esac - swaybg --output $1 -m fill --image $wallDir/$wall & -} - -# Set the wallpaper for each display -killall swaybg >/dev/null 2>&1 -for display in $displays; do - setDisplay $display -done diff --git a/.local/bin/media-notify b/.local/bin/media-notify deleted file mode 100755 index dd9563f..0000000 --- a/.local/bin/media-notify +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# Create a temporary directory -current="$(mktemp -d)" -raw="$(playerctl metadata)" diff --git a/.local/bin/newsup b/.local/bin/newsup deleted file mode 100755 index b94ca37..0000000 --- a/.local/bin/newsup +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -# Set as a cron job to check for new RSS entries for newsboat. -# If newsboat is open, sends it an "R" key to refresh. - -ping -q -c 1 1.1.1.1 > /dev/null || exit - -/usr/bin/notify-send -t 1 -i "$HOME/.fonts/svg/rss.svg" -a RSS "Updating RSS feeds..." - -pgrep -x newsboat >/dev/null && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name newsboat)" R && exit - -echo " " > /tmp/newsupdate && kill -37 $(pidof dwmblocks) -/usr/bin/newsboat -x reload -rm -f /tmp/newsupdate -/usr/bin/notify-send -t 1 -a " RSS" "RSS feed update complete." && kill -37 $(pidof dwmblocks) diff --git a/.local/bin/previewclean b/.local/bin/previewclean deleted file mode 100755 index 8b0a570..0000000 --- a/.local/bin/previewclean +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -threshold="200000" # 200 MB -previewdir="${XDG_CACHE_HOME:-$HOME/.cache}/lf" - -# Check if the total size of the preview directory exceeds the threshold -# and remove the last viewed file until it doesn't -while [ "$(du -s "$previewdir" | cut -f1)" -gt "$threshold" ]; do - rm -f "$(find "$previewdir" -type f -printf '%T+ %p\n' | sort | head -n1 | cut -d' ' -f2)" -done diff --git a/.local/bin/quitapp b/.local/bin/quitapp deleted file mode 100755 index 60a8644..0000000 --- a/.local/bin/quitapp +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -active_window="$(xdotool getwindowfocus)" -active_class=$(xprop -id "$active_window" WM_CLASS | awk '{print $4}') - -if [ "$active_class" = '"firefox"' ]; then - xdotool windowclose "$active_window" -else - kill -15 "$(xdotool getwindowfocus getwindowpid)" -fi - diff --git a/.local/bin/remaps b/.local/bin/remaps deleted file mode 100755 index ed6ae43..0000000 --- a/.local/bin/remaps +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# This script is called on startup to remap keys. -# Increase key speed via a rate change -xset r rate 300 50 -# Map the caps lock key to super... -setxkbmap -option caps:super -# But when it is pressed only once, treat it as escape. -killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' -# Map the menu button to right super as well. -xmodmap -e 'keycode 135 = Super_R' diff --git a/.local/bin/rotdir b/.local/bin/rotdir deleted file mode 100755 index d171f29..0000000 --- a/.local/bin/rotdir +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# When I open an image from the file manager in nsxiv (the image viewer), I want -# to be able to press the next/previous keys to key through the rest of the -# images in the same directory. This script "rotates" the content of a -# directory based on the first chosen file, so that if I open the 15th image, -# if I press next, it will go to the 16th etc. Autistic, I know, but this is -# one of the reasons that nsxiv is great for being able to read standard input. - -[ -z "$1" ] && echo "usage: rotdir regex 2>&1" && exit 1 -base="$(basename "$1")" -ls "$PWD" | awk -v BASE="$base" 'BEGIN { lines = ""; m = 0; } { if ($0 == BASE) { m = 1; } } { if (!m) { if (lines) { lines = lines"\n"; } lines = lines""$0; } else { print $0; } } END { print lines; }' diff --git a/.local/bin/scope b/.local/bin/scope deleted file mode 120000 index 7d5b41b..0000000 --- a/.local/bin/scope +++ /dev/null @@ -1 +0,0 @@ -/home/master/.config/lf/scope
\ No newline at end of file diff --git a/.local/bin/shortcutgen-v1 b/.local/bin/shortcutgen-v1 deleted file mode 100755 index fa08875..0000000 --- a/.local/bin/shortcutgen-v1 +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh - -[ -f "$XDG_CONFIG_HOME/shortcutrc" ] && src="$XDG_CONFIG_HOME/shortcutrc" || exit 1 - -# If you do not want to create a specific file, replace the path with /dev/null -lf_filepath="${XDG_CONFIG_HOME:-$HOME/.config}/lf/shortcuts" -zsh_filepath="${XDG_CACHE_HOME:-$HOME/.cache}/zsh-shortcuts" -env_filepath="${XDG_CACHE_HOME:-$HOME/.cache}/env-shortcuts" - -awk ' -BEGIN { - FS="," - OFS="," -} - -# Function to remove whitespaces from a string -function remove_whitespace(str) { - gsub(/[[:space:]]/, "", str) - return str -} - -{ - # Remove comments - gsub(/#.*/, "") - - # Remove whitespaces from column 2 - $2 = remove_whitespace($2) - - # Remove leading and trailing whitespaces from column 3 - gsub(/^[[:space:]]+|[[:space:]]+$/, "", $3) - - # whenever a line contains only commas, replace it with an empty string - # so that we can check if a line is empty or not - gsub(/^,+$|^,+|,+$|,+,/, "", $0) - - # Check if line is empty or contains only whitespace - if (NF) { - - # Convert column 2 to lowercase - lc_col2 = tolower($2) - - # Convert column 2 to uppercase - uc_col2 = toupper($2) - - # Write to $XDG_CONFIG_HOME/lf/shortcuts - print "map g" lc_col2 " " $3 > ENVIRON["XDG_CONFIG_HOME"] "/lf/shortcuts" - - # Write to $XDG_CACHE_HOME/zsh-shortcuts - print "alias g" lc_col2 "=\"cd " $3 "\"" > ENVIRON["XDG_CACHE_HOME"] "/zsh-shortcuts" - - # Write to $XDG_CACHE_HOME/env-shortcuts - print "export G" uc_col2 "=\"" $3 "\"" > ENVIRON["XDG_CACHE_HOME"] "/env-shortcuts" - } -} -' XDG_CONFIG_HOME="$XDG_CONFIG_HOME" XDG_CACHE_HOME="$XDG_CACHE_HOME" "$src" diff --git a/.local/bin/shortcutgen.bak b/.local/bin/shortcutgen.bak deleted file mode 100755 index fe5ed75..0000000 --- a/.local/bin/shortcutgen.bak +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - - -# raw (basic processing before converting to specific formats) -# - remove comments -# - remove empty lines -# - remove spacing (keep commas between columns) -# - remove trailing whitespace - -# Strip comments, remove empty lines, condense spacing, remove trailing whitespace -raw="$(sed 's/#.*//g;s/,[[:space:]]*/,/g;/^$/d;s/[[:space:]]*$//g' <"${XDG_CONFIG_HOME:-$HOME/.config}/shortcutrc")" - -# lf (sourced by lfrc) -echo "$raw" | sed 's/\(.*\),\(.*\),\(.*\)/map g\2 cd \3/' >"${XDG_CONFIG_HOME:-$HOME/.config}/lf/shortcuts" - -# Shell aliases (read by zshrc) -echo "$raw" | sed 's/\(.*\),\(.*\),\(.*\)/alias g\2="cd \3"/' >"${XDG_CACHE_HOME:-$HOME/.cache}/zsh-shortcuts" - -# Environment variables (read by .profile) -echo "$raw" | sed 's/^\(.*\),\(.*\),/export G\U\2=,/;s/,\(.*\)/\1/' >"${XDG_CACHE_HOME:-$HOME/.cache}/env-shortcuts" - - - diff --git a/.local/bin/strm b/.local/bin/strm deleted file mode 120000 index c1a120b..0000000 --- a/.local/bin/strm +++ /dev/null @@ -1 +0,0 @@ -/home/master/.local/src/strm/strm
\ No newline at end of file diff --git a/.local/bin/tmux-r b/.local/bin/tmux-r deleted file mode 100755 index 6b4819c..0000000 --- a/.local/bin/tmux-r +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -session="R" - -# Check if the session exists, discarding output -# We can check $? for the exit status (zero for success, non-zero for failure) -tmux has-session -t $session 2>/dev/null - -if [ $? != 0 ]; then - # Set up your session - tmux new-session -d -s "$session" R -q --no-save - # R -q --no-save - # ([ -e /usr/bin/R ] && R -q --no-save) || python -q -fi - -# Attach to created session -tmux attach-session -t $session diff --git a/.local/bin/winit b/.local/bin/winit deleted file mode 100755 index 1fd2d9e..0000000 --- a/.local/bin/winit +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# winit: Wayland Init (using dwl) - -dwl & -swaybg -i ~/.config/wallpaper/default.jpg & diff --git a/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml b/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml new file mode 100644 index 0000000..82407de --- /dev/null +++ b/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml @@ -0,0 +1,19 @@ +device_name = "AT Translated Set 2 keyboard" + +# capslock+escape combo +[[dual_role]] +input = "KEY_CAPSLOCK" +hold = ["KEY_LEFTMETA"] +tap = ["KEY_ESC"] + +# Left shift + "(" combo +[[dual_role]] +input = "KEY_LEFTSHIFT" +hold = ["KEY_LEFTSHIFT"] +tap = ["KEY_KPLEFTPAREN"] + +# Right shift + ")" combo +[[dual_role]] +input = "KEY_RIGHTSHIFT" +hold = ["KEY_RIGHTSHIFT"] +tap = ["KEY_KPRIGHTPAREN"] diff --git a/.local/share/noteworthy/evremap/etc/init.d/evremap b/.local/share/noteworthy/evremap/etc/init.d/evremap new file mode 100755 index 0000000..2a2f713 --- /dev/null +++ b/.local/share/noteworthy/evremap/etc/init.d/evremap @@ -0,0 +1,6 @@ +#!/sbin/openrc-run + +supervisor=supervise-daemon +command="/usr/local/bin/evremap" +command_args="remap /etc/conf.d/evremap.toml" + |