diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/alacritty/alacritty.yml | 853 | ||||
-rw-r--r-- | .config/greenclip.toml | 11 | ||||
-rw-r--r-- | .config/picom/picom.conf | 117 | ||||
-rw-r--r-- | .config/polybar/config | 212 | ||||
-rwxr-xr-x | .config/polybar/launch.sh | 13 | ||||
-rw-r--r-- | .config/regolith/i3/config | 692 |
6 files changed, 1898 insertions, 0 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..fe48d47 --- /dev/null +++ b/.config/alacritty/alacritty.yml @@ -0,0 +1,853 @@ +# 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. 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: 6 + + # 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 + + # 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: Alacritty + + # 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: Alacritty + + # GTK theme variant (Linux/BSD only) + # + # Override the variant of the GTK theme. Commonly supported values are `dark` + # and `light`. Set this to `None` to use the default theme variant. + #gtk_theme_variant: 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.0 + + # 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: 0 + + # 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: 0 + + # Thin stroke font rendering (macOS only) + # + # Thin strokes are suitable for retina displays, but for non-retina screens + # it is recommended to set `use_thin_strokes` to `false`. + #use_thin_strokes: 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' + + #bar: + # background: '#c5c8c6' + # foreground: '#1d1f21' + + # Keyboard regex hints + #hints: + # Fist 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 + + # 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: [] + +# 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: 0 + + # Visual bell animation color. + #color: '#ffffff' + + # 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: None + +# 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. +#background_opacity: 1.0 +background_opacity: 0.9 + +#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: false + +#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: Off + + # 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 + + # 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: +# - (macOS) /bin/bash --login +# - (Linux/BSD) user login shell +# - (Windows) powershell +#shell: +# program: /bin/bash +# 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: None + +# Send ESC (\x1b) before characters when alt is pressed. +#alt_send_esc: 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: false + +# Regex hints +# +# Terminal hints can be used to find text 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 a `regex` and either an `action` or a `command` field. + # The fields `mouse`, `binding` and `post_processing` are optional. + # + # The fields `command`, `binding.key`, `binding.mods` 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. + # + # 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: "(mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ + # [^\u0000-\u001F\u007F-\u009F<>\" {-}\\^⟨⟩`]+" + # 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) +# +# And optionally: +# +# - `mods` (see key bindings) +#mouse_bindings: +# - { mouse: Middle, 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/glutin/*/glutin/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 +# - SpawnNewInstance +# Spawn a new instance of Alacritty. +# - 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`. +# +# - 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 } + + # Vi Mode + #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom } + #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } + #- { key: Escape, mode: Vi|~Search, action: ClearSelection } + #- { key: I, mode: Vi|~Search, action: ScrollToBottom } + #- { key: I, mode: Vi|~Search, action: ToggleViMode } + #- { 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: 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, Linux, and BSD only) + #- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste } + #- { key: C, mods: Control|Shift, action: Copy } + #- { 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 } + + # (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: SpawnNewInstance } + #- { 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`: + # - Off + # - Error + # - Warn + # - Info + # - Debug + # - Trace + #log_level: Warn + + # Print all received window events. + #print_events: false diff --git a/.config/greenclip.toml b/.config/greenclip.toml new file mode 100644 index 0000000..9343a4e --- /dev/null +++ b/.config/greenclip.toml @@ -0,0 +1,11 @@ + +[greenclip] + blacklisted_applications = [] + enable_image_support = true + history_file = "/home/adam/.cache/greenclip.history" + image_cache_directory = "/tmp/greenclip" + max_history_length = 20 + max_selection_size_bytes = 0 + static_history = [] + trim_space_from_selection = true + use_primary_selection_as_input = false diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf new file mode 100644 index 0000000..fb5ee93 --- /dev/null +++ b/.config/picom/picom.conf @@ -0,0 +1,117 @@ +vsync = true; + +################################# +# +# Opacity +# +################################# + +inactive-opacity = 1; +active-opacity = 1; +frame-opacity = 1; +inactive-opacity-override = false; + +# Dim inactive windows. (0.0 - 1.0) +inactive-dim = 0.03; +# Do not let dimness adjust based on window opacity. +inactive-dim-fixed = true; +# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred. +blur-background = true; + +# Blur background of opaque windows with transparent frames as well. +# blur-background-frame = true; + +# Do not let blur radius adjust based on window opacity. +blur-background-fixed = false; + +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'" +]; + +opacity-rule = [ + "95:class_g = 'URxvt' && !_NET_WM_STATE@:32a", + "0:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_HIDDEN'", + "0:_NET_WM_STATE@[1]:32a *= '_NET_WM_STATE_HIDDEN'", + "0:_NET_WM_STATE@[2]:32a *= '_NET_WM_STATE_HIDDEN'", + "0:_NET_WM_STATE@[3]:32a *= '_NET_WM_STATE_HIDDEN'", + "0:_NET_WM_STATE@[4]:32a *= '_NET_WM_STATE_HIDDEN'", + "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'" +]; + + +################################# +# +# Other +# +################################# + +# Try to detect WM windows and mark them as active. +mark-wmwin-focused = true; +# Mark all non-WM but override-redirect windows active (e.g. menus). +mark-ovredir-focused = true; +# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events. +# Usually more reliable but depends on a EWMH-compliant WM. +use-ewmh-active-win = true; +# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on. +detect-rounded-corners = true; + +# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows. +# This prevents opacity being ignored for some apps. +# For example without this enabled my xfce4-notifyd is 100% opacity no matter what. +detect-client-opacity = true; + +# Specify refresh rate of the screen. +# If not specified or 0, picom will try detecting this with X RandR extension. +refresh-rate = 144; + +# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games. +# Known to cause flickering when redirecting/unredirecting windows. +# paint-on-overlay may make the flickering less obvious. +unredir-if-possible = true; + +# Specify a list of conditions of windows that should always be considered focused. +focus-exclude = [ ]; + +# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time. +detect-transient = true; +# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time. +# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too. +detect-client-leader = true; + + +################################# +# +# Window type settings +# +################################# + +wintypes: +{ + tooltip = + { + # fade: Fade the particular type of windows. + fade = true; + # shadow: Give those windows shadow + shadow = false; + # opacity: Default opacity for the type of windows. + opacity = 0.85; + # focus: Whether to always consider windows of this type focused. + focus = true; + }; + dock = { shadow = true; } + dnd = { shadow = false; } + popup_menu = { + opacity = 1.0; + shadow = false; + fade = false; + } + dropdown_menu = { + opacity = 1.0; + fade = false; + } +}; diff --git a/.config/polybar/config b/.config/polybar/config new file mode 100644 index 0000000..67fe125 --- /dev/null +++ b/.config/polybar/config @@ -0,0 +1,212 @@ +[colors] +;background = ${xrdb:color0:#222} +;background = #10152c +;background = #080f1f +background = #090809 +background-alt = #1b2f60 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #254183 +primary = #ffb52a +secondary = #e60053 +alert = #bd2c40 + + + +[bar/bar1] +monitor = DP-2 +width = 100% +height = 25 +;offset-x = 1% +;offset-y = 1% +radius = 0 +fixed-center = false +bottom = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 0 +line-color = #f00 + +border-size = 0 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +;font-0 = SFNS Display:style=Bold:size=12;3 +font-0 = SFNS Display:style=Regular:size=13;3 +font-1 = Font Awesome 5 Free Regular:size=12;3 +font-2 = Font Awesome 5 Free Solid:size=12;3 + +modules-left = i3 +modules-center = +modules-right = xkeyboard pulseaudio date + +tray-position = right +tray-padding = 2 +;tray-background = #0063ff + +cursor-click = pointer +cursor-scroll = ns-resize + +enable-ipc = true + + + +[bar/bar2] +monitor = DP-4.8 +width = 100% +height = 25 +;offset-x = 1% +;offset-y = 1% +radius = 0 +fixed-center = false +bottom = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 0 +line-color = #f00 + +border-size = 0 +border-color = #00000000 + +padding-left = 0 +padding-right = 0 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = SFNS Display:style=Regular:size=13;3 +font-1 = Font Awesome 5 Free Regular:size=12;3 +font-2 = Font Awesome 5 Free Solid:size=12;3 + +modules-left = i3 +modules-center = +modules-right = date + +tray-position = none +tray-padding = 2 +;tray-background = #0063ff + +cursor-click = pointer +cursor-scroll = ns-resize + +enable-ipc = true + + + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +;format-prefix = " " +;format-prefix-foreground = ${colors.foreground} +;format-prefix-background = ${colors.background-alt} + +;label-layout = "%layout% " +label-layout = " %layout% " +label-layout-background = ${colors.background-alt} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-background = ${colors.secondary} + + + +[module/i3] +type = internal/i3 +format = <label-state> <label-mode> +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +pin-workspaces = true + +label-mode-padding = 3 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-foreground = #f1e98a +label-focused-underline= ${colors.primary} +label-focused-padding = 3 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %index% +label-unfocused-padding = 3 + +; visible = Active workspace on unfocused monitor +label-visible = %index% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %index% +label-urgent-background = ${colors.alert} +label-urgent-padding = 3 + +; Separator in between workspaces +; label-separator = | + + + +[module/date] +type = internal/date +interval = 5 + +date = "" +date-alt = " %a %b %d" + +time = %H:%M +time-alt = %H:%M + +;format-prefix = " " +;format-prefix-background = ${colors.background-alt} +;format-prefix-foreground = ${colors.foreground} +;format-underline = #0a6cf5 + +label = " %date% %time% " +label-background = ${colors.background-alt} + + + +[module/pulseaudio] +type = internal/pulseaudio + +format-volume = <label-volume> + +label-volume = " %percentage% " +label-volume-foreground = ${root.foreground} +label-volume-background = ${colors.background-alt} + +label-muted = " muted " +label-muted-foreground = #999 +label-muted-background = ${colors.background-alt} + + + +[settings] +screenchange-reload = true +;compositing-background = xor +;compositing-background = screen +;compositing-foreground = source +;compositing-border = over +;pseudo-transparency = false + + + +[global/wm] +margin-top = 5 +margin-bottom = 5 + +; vim:ft=dosini diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh new file mode 100755 index 0000000..5f19326 --- /dev/null +++ b/.config/polybar/launch.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# Terminate already running bar instances +killall -q polybar +# If all your bars have ipc enabled, you can also use +# polybar-msg cmd quit + +# Launch bar1 and bar2 +echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log +polybar bar1 2>&1 | tee -a /tmp/polybar1.log & disown +polybar bar2 2>&1 | tee -a /tmp/polybar2.log & disown + +echo "Bars launched..."
\ No newline at end of file diff --git a/.config/regolith/i3/config b/.config/regolith/i3/config new file mode 100644 index 0000000..ecddd9e --- /dev/null +++ b/.config/regolith/i3/config @@ -0,0 +1,692 @@ +############################################################################### +# i3-gaps config file for the Regolith Desktop Environment +# +# Please see http://i3wm.org/docs/userguide.html for a complete reference! +# +############################################################################### +# +# In this config file many values are taken from Xresources with the directive +# set_from_resource: +# +# set_from_resource <i3 variable name> <Xresources key> <default value> +# +# This configuration file utilizes Xresource variables to change configuration +# without having to make a copy of this config file. +# The benefit to not copying this file is easier upgrades in the future. +# To update a value in this config without making a copy, update the Xresource +# value in the file ~/.config/regolith/Xresources. +# +# For example, to change the bar position to the top of the screen this is the +# i3 config entry in this file: +# set_from_resource $i3-wm.bar.position i3-wm.bar.position bottom +# +# So add this line to ~/.config/regolith/Xresources to change it's value: +# i3-wm.bar.position: top +# +# Reload i3 after making Xresource changes. Learn more at +# https://regolith-linux.org/docs/howto/override-xres/ +# +############################################################################### +# +# This file uses a machine-parsable format for comments. The schema is: +# ## <Category> // <Action> // <Keybinding> ## +# Learn more at https://github.com/regolith-linux/remontoire +# +############################################################################### + +############################################################################### +# Key Mappings +############################################################################### + +# Meta Key - Alt key is Mod1, and Windows key is Mod4 +set_from_resource $mod i3-wm.mod Mod4 +set_from_resource $alt i3-wm.alt Mod1 + +set_from_resource $i3-wm.binding. i3-wm.binding. + +############################################################################### +# Workspace Names +# These are the labels which define each i3 workspace. +############################################################################### + +set_from_resource $ws1 i3-wm.workspace.01.name "1" +set_from_resource $ws2 i3-wm.workspace.02.name "2" +set_from_resource $ws3 i3-wm.workspace.03.name "3" +set_from_resource $ws4 i3-wm.workspace.04.name "4" +set_from_resource $ws5 i3-wm.workspace.05.name "5" +set_from_resource $ws6 i3-wm.workspace.06.name "6" +set_from_resource $ws7 i3-wm.workspace.07.name "7" +set_from_resource $ws8 i3-wm.workspace.08.name "8" +set_from_resource $ws9 i3-wm.workspace.09.name "9" +set_from_resource $ws10 i3-wm.workspace.10.name "10" +set_from_resource $ws11 i3-wm.workspace.11.name "11" +set_from_resource $ws12 i3-wm.workspace.12.name "12" +set_from_resource $ws13 i3-wm.workspace.13.name "13" +set_from_resource $ws14 i3-wm.workspace.14.name "14" +set_from_resource $ws15 i3-wm.workspace.15.name "15" +set_from_resource $ws16 i3-wm.workspace.16.name "16" +set_from_resource $ws17 i3-wm.workspace.17.name "17" +set_from_resource $ws18 i3-wm.workspace.18.name "18" +set_from_resource $ws19 i3-wm.workspace.19.name "19" + +############################################################################### +# Workspace Keys +# These are the keys which will be used while binding workspace switching +############################################################################### + +set_from_resource $ws1_key i3-wm.workspace.01.key 1 +set_from_resource $ws2_key i3-wm.workspace.02.key 2 +set_from_resource $ws3_key i3-wm.workspace.03.key 3 +set_from_resource $ws4_key i3-wm.workspace.04.key 4 +set_from_resource $ws5_key i3-wm.workspace.05.key 5 +set_from_resource $ws6_key i3-wm.workspace.06.key 6 +set_from_resource $ws7_key i3-wm.workspace.07.key 7 +set_from_resource $ws8_key i3-wm.workspace.08.key 8 +set_from_resource $ws9_key i3-wm.workspace.09.key 9 +set_from_resource $ws10_key i3-wm.workspace.10.key 0 + +############################################################################### +# Launcher dialogs +############################################################################### + +## Launch // Terminal // <> Enter ## +set_from_resource $i3-wm.binding.terminal i3-wm.binding.terminal Return +bindsym $mod+$i3-wm.binding.terminal exec /snap/bin/alacritty + +## Launch // Browser // <> b ## +set_from_resource $i3-wm.binding.browser i3-wm.binding.browser b +bindsym $mod+$i3-wm.binding.browser exec gtk-launch $(xdg-settings get default-web-browser) + +set_from_resource $rofiTheme rofi.theme /etc/regolith/styles/lascaille/rofi.rasi + +## Launch // Application // <> Space ## +set_from_resource $i3-wm.binding.launcher.app i3-wm.binding.launcher.app d +set_from_resource $i3-wm.program.launcher.app i3-wm.program.launcher.app rofi -show drun -theme $rofiTheme +bindsym $mod+$i3-wm.binding.launcher.app exec $i3-wm.program.launcher.app + +## Launch // Command // <><Shift> Space ## +set_from_resource $i3-wm.binding.launcher.cmd i3-wm.binding.launcher.cmd Shift+space +set_from_resource $i3-wm.program.launcher.cmd i3-wm.program.launcher.cmd rofi -show run -theme $rofiTheme +bindsym $mod+$i3-wm.binding.launcher.cmd exec $i3-wm.program.launcher.cmd + +## Navigate // Window by Name // <><Ctrl> Space ## +set_from_resource $i3-wm.binding.launcher.window i3-wm.binding.launcher.window Ctrl+space +set_from_resource $i3-wm.program.launcher.window i3-wm.program.launcher.window rofi -show window -theme $rofiTheme +bindsym $mod+$i3-wm.binding.launcher.window exec $i3-wm.program.launcher.window + +## Launch // This Dialog // <><Shift> ? ## +set_from_resource $i3-wm.binding.help i3-wm.binding.help Shift+question +set_from_resource $i3-wm.program.help i3-wm.program.help /usr/bin/remontoire-toggle +bindsym $mod+$i3-wm.binding.help exec --no-startup-id $i3-wm.program.help + +## Launch // File Search // <><Alt> Space ## +set_from_resource $i3-wm.binding.file_search i3-wm.binding.file_search Mod1+space +set_from_resource $i3-wm.program.file_search i3-wm.program.file_search rofi -show find -modi find:/usr/share/rofi/modi/finder.sh +bindsym $mod+$i3-wm.binding.file_search exec $i3-wm.program.file_search + +## Launch // Look Selector // <><Alt> l ## +set_from_resource $i3-wm.binding.look_selector i3-wm.binding.look_selector Mod1+l +set_from_resource $i3-wm.program.look_selector i3-wm.program.look_selector rofi -show look -modi look:/usr/share/rofi/modi/look-selector.sh +bindsym $mod+$i3-wm.binding.look_selector exec $i3-wm.program.look_selector + +## Launch // Clipboard // <Alt> b ## +set_from_resource $i3-wm.binding.clipboard i3-wm.binding.clipboard Mod1+b +set_from_resource $i3-wm.program.clipboard i3-wm.program.clipboard rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' +bindsym $i3-wm.binding.clipboard exec $i3-wm.program.clipboard + + +############################################################################### +# Window and Workspace Navigation +############################################################################### + +## Navigate // Relative Parent // <> a ##/ +set_from_resource $i3-wm.binding.focus_parent i3-wm.binding.focus_parent a +bindsym $mod+$i3-wm.binding.focus_parent focus parent + +## Navigate // Relative Child // <> z ##/ +set_from_resource $i3-wm.binding.focus_child i3-wm.binding.focus_child z +bindsym $mod+$i3-wm.binding.focus_child focus child + +## Navigate // Relative Window // <> ↑ ↓ ← → ## +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +## Navigate // Relative Window // <> k j h l ## +set_from_resource $i3-wm.binding.left i3-wm.binding.left h +set_from_resource $i3-wm.binding.right i3-wm.binding.right l +set_from_resource $i3-wm.binding.up i3-wm.binding.up k +set_from_resource $i3-wm.binding.down i3-wm.binding.down j +bindsym $mod+$i3-wm.binding.left focus left +bindsym $mod+$i3-wm.binding.down focus down +bindsym $mod+$i3-wm.binding.up focus up +bindsym $mod+$i3-wm.binding.right focus right + +## Navigate // Workspaces 1-10 // <> 0..9 ## +bindsym $mod+$ws1_key workspace number $ws1 +bindsym $mod+$ws2_key workspace number $ws2 +bindsym $mod+$ws3_key workspace number $ws3 +bindsym $mod+$ws4_key workspace number $ws4 +bindsym $mod+$ws5_key workspace number $ws5 +bindsym $mod+$ws6_key workspace number $ws6 +bindsym $mod+$ws7_key workspace number $ws7 +bindsym $mod+$ws8_key workspace number $ws8 +bindsym $mod+$ws9_key workspace number $ws9 +bindsym $mod+$ws10_key workspace number $ws10 +## Navigate // Workspace 11 - 19 // <><Ctrl> 1..9 ## +bindsym $mod+Ctrl+$ws1_key workspace number $ws11 +bindsym $mod+Ctrl+$ws2_key workspace number $ws12 +bindsym $mod+Ctrl+$ws3_key workspace number $ws13 +bindsym $mod+Ctrl+$ws4_key workspace number $ws14 +bindsym $mod+Ctrl+$ws5_key workspace number $ws15 +bindsym $mod+Ctrl+$ws6_key workspace number $ws16 +bindsym $mod+Ctrl+$ws7_key workspace number $ws17 +bindsym $mod+Ctrl+$ws8_key workspace number $ws18 +bindsym $mod+Ctrl+$ws9_key workspace number $ws19 + +## Navigate // Next Workspace // <> Tab ## +set_from_resource $i3-wm.binding.ws_next i3-wm.binding.ws_next Tab +bindsym $mod+$i3-wm.binding.ws_next workspace next + +## Navigate // Next Workspace // <><Alt> → ## +set_from_resource $i3-wm.binding.ws_next2 i3-wm.binding.ws_next2 Mod1+Right +bindsym $mod+$i3-wm.binding.ws_next2 workspace next + +## Navigate // Next Workspace on Output // <><Ctrl> Tab ## +set_from_resource $i3-wm.binding.ws_next_on_output i3-wm.binding.ws_next_on_output Ctrl+Tab +bindsym $mod+$i3-wm.binding.ws_next_on_output workspace next_on_output + +## Navigate // Next Workspace on Output // <><Ctrl> l ## +set_from_resource $i3-wm.binding.ws_next_on_output2 i3-wm.binding.ws_next_on_output2 Ctrl+l +bindsym $mod+$i3-wm.binding.ws_next_on_output2 workspace next_on_output + +## Navigate // Previous Workspace // <><Shift> Tab ## +set_from_resource $i3-wm.binding.ws_prev i3-wm.binding.ws_prev Shift+Tab +bindsym $mod+$i3-wm.binding.ws_prev workspace prev + +## Navigate // Previous Workspace // <><Alt> ← ## +set_from_resource $i3-wm.binding.ws_prev2 i3-wm.binding.ws_prev2 Mod1+Left +bindsym $mod+$i3-wm.binding.ws_prev2 workspace prev + +## Navigate // Previous Workspace on Output // <><Ctrl><Shift> Tab ## +set_from_resource $i3-wm.binding.ws_prev_on_output i3-wm.binding.ws_prev_on_output Ctrl+Shift+Tab +bindsym $mod+$i3-wm.binding.ws_prev_on_output workspace prev_on_output + +## Navigate // Previous Workspace on Output // <><Ctrl> h ## +set_from_resource $i3-wm.binding.ws_prev_on_output2 i3-wm.binding.ws_prev_on_output2 Ctrl+h +bindsym $mod+$i3-wm.binding.ws_prev_on_output2 workspace prev_on_output + +## Navigate // Next Free Workspace // <> ` ## +set_from_resource $i3-wm.binding.next_free i3-wm.binding.next_free grave +bindsym $mod+$i3-wm.binding.next_free exec --no-startup-id /usr/bin/i3-next-workspace + +## Navigate // Scratchpad // <><Ctrl> a ## +set_from_resource $i3-wm.binding.scratchpad i3-wm.binding.scratchpad Ctrl+a +bindsym $mod+$i3-wm.binding.scratchpad scratchpad show + +############################################################################### +# Window and Workspace Configuration +############################################################################### + +## Modify // Window Position // <><Shift> ↑ ↓ ← → ## +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +## Modify // Window Position // <><Shift> k j h l ## +set_from_resource $i3-wm.binding.move_left i3-wm.binding.move_left Shift+h +set_from_resource $i3-wm.binding.move_right i3-wm.binding.move_right Shift+l +set_from_resource $i3-wm.binding.move_up i3-wm.binding.move_up Shift+k +set_from_resource $i3-wm.binding.move_down i3-wm.binding.move_down Shift+j +bindsym $mod+$i3-wm.binding.move_left move left +bindsym $mod+$i3-wm.binding.move_down move down +bindsym $mod+$i3-wm.binding.move_up move up +bindsym $mod+$i3-wm.binding.move_right move right + +## Modify // Containing Workspace // <><Ctrl><Shift> ↑ ↓ ← → ## +bindsym $mod+Ctrl+Shift+Left move workspace to output left +bindsym $mod+Ctrl+Shift+Down move workspace to output down +bindsym $mod+Ctrl+Shift+Up move workspace to output up +bindsym $mod+Ctrl+Shift+Right move workspace to output right + +## Modify // Containing Workspace // <><Ctrl><Shift> k j h l ## +set_from_resource $i3-wm.binding.take_left i3-wm.binding.take_left Ctrl+Shift+h +set_from_resource $i3-wm.binding.take_right i3-wm.binding.take_right Ctrl+Shift+l +set_from_resource $i3-wm.binding.take_up i3-wm.binding.take_up Ctrl+Shift+k +set_from_resource $i3-wm.binding.take_down i3-wm.binding.take_down Ctrl+Shift+j +bindsym $mod+$i3-wm.binding.take_left move workspace to output left +bindsym $mod+$i3-wm.binding.take_down move workspace to output down +bindsym $mod+$i3-wm.binding.take_up move workspace to output up +bindsym $mod+$i3-wm.binding.take_right move workspace to output right + +## Modify // Vertical Window Orientation // <> v ## +set_from_resource $i3-wm.binding.split_v i3-wm.binding.split_v v +bindsym $mod+$i3-wm.binding.split_v split vertical + +## Modify // Horizontal Window Orientation // <> g ## +set_from_resource $i3-wm.binding.split_h i3-wm.binding.split_h g +bindsym $mod+$i3-wm.binding.split_h split horizontal + +## Modify // Toggle Window Orientation // <> Backspace ## +set_from_resource $i3-wm.binding.orientation_toggle i3-wm.binding.orientation_toggle BackSpace +bindsym $mod+$i3-wm.binding.orientation_toggle split toggle + +## Modify // Window Fullscreen Toggle // <> f ## +set_from_resource $i3-wm.binding.fullscreen_toggle i3-wm.binding.fullscreen_toggle f +bindsym $mod+$i3-wm.binding.fullscreen_toggle fullscreen toggle + +## Modify // Window Floating Toggle // <><Shift> f ## +set_from_resource $i3-wm.binding.float_toggle i3-wm.binding.float_toggle Shift+f +bindsym $mod+Shift+$i3-wm.binding.float_toggle floating toggle + +## Modify // Move to Scratchpad // <><Ctrl> m ## +set_from_resource $i3-wm.binding.move_scratchpad i3-wm.binding.move_scratchpad Ctrl+m +bindsym $mod+$i3-wm.binding.move_scratchpad move to scratchpad + +## Modify // Tile/Float Focus Toggle // <><Shift> t ## +set_from_resource $i3-wm.binding.focus_toggle i3-wm.binding.focus_toggle Shift+t +bindsym $mod+$i3-wm.binding.focus_toggle focus mode_toggle + +## Modify // Window Layout Mode // <> t ## +set_from_resource $i3-wm.binding.layout_mode i3-wm.binding.layout_mode t +bindsym $mod+$i3-wm.binding.layout_mode layout toggle tabbed splith splitv + +## Modify // Move Window to Workspace 1 - 10 // <><Shift> 0..9 ## +bindsym $mod+Shift+$ws1_key move container to workspace number $ws1 +bindsym $mod+Shift+$ws2_key move container to workspace number $ws2 +bindsym $mod+Shift+$ws3_key move container to workspace number $ws3 +bindsym $mod+Shift+$ws4_key move container to workspace number $ws4 +bindsym $mod+Shift+$ws5_key move container to workspace number $ws5 +bindsym $mod+Shift+$ws6_key move container to workspace number $ws6 +bindsym $mod+Shift+$ws7_key move container to workspace number $ws7 +bindsym $mod+Shift+$ws8_key move container to workspace number $ws8 +bindsym $mod+Shift+$ws9_key move container to workspace number $ws9 +bindsym $mod+Shift+$ws10_key move container to workspace number $ws10 +## Modify // Move Window to Workspace 11 - 19// <><Ctrl><Shift> 1..9 ## +bindsym $mod+Shift+Ctrl+$ws1_key move container to workspace number $ws11 +bindsym $mod+Shift+Ctrl+$ws2_key move container to workspace number $ws12 +bindsym $mod+Shift+Ctrl+$ws3_key move container to workspace number $ws13 +bindsym $mod+Shift+Ctrl+$ws4_key move container to workspace number $ws14 +bindsym $mod+Shift+Ctrl+$ws5_key move container to workspace number $ws15 +bindsym $mod+Shift+Ctrl+$ws6_key move container to workspace number $ws16 +bindsym $mod+Shift+Ctrl+$ws7_key move container to workspace number $ws17 +bindsym $mod+Shift+Ctrl+$ws8_key move container to workspace number $ws18 +bindsym $mod+Shift+Ctrl+$ws9_key move container to workspace number $ws19 + +## Modify // Move Window to Next Free Workspace // <><Shift> ` ## +set_from_resource $i3-wm.binding.move_next_free i3-wm.binding.move_next_free Shift+grave +bindsym $mod+$i3-wm.binding.move_next_free exec --no-startup-id /usr/bin/i3-next-workspace --move-window + +# move focused container to workspace, move to workspace +## Modify // Carry Window to Workspace 1 - 10// <><Alt> 0..9 ## +bindsym $mod+$alt+$ws1_key move container to workspace number $ws1; workspace number $ws1 +bindsym $mod+$alt+$ws2_key move container to workspace number $ws2; workspace number $ws2 +bindsym $mod+$alt+$ws3_key move container to workspace number $ws3; workspace number $ws3 +bindsym $mod+$alt+$ws4_key move container to workspace number $ws4; workspace number $ws4 +bindsym $mod+$alt+$ws5_key move container to workspace number $ws5; workspace number $ws5 +bindsym $mod+$alt+$ws6_key move container to workspace number $ws6; workspace number $ws6 +bindsym $mod+$alt+$ws7_key move container to workspace number $ws7; workspace number $ws7 +bindsym $mod+$alt+$ws8_key move container to workspace number $ws8; workspace number $ws8 +bindsym $mod+$alt+$ws9_key move container to workspace number $ws9; workspace number $ws9 +bindsym $mod+$alt+$ws10_key move container to workspace number $ws10; workspace number $ws10 +## Modify // Carry Window to Workspace 11 - 19 // <><Alt><Ctrl> 1..9 ## +bindsym $mod+$alt+Ctrl+$ws1_key move container to workspace number $ws11; workspace number $ws11 +bindsym $mod+$alt+Ctrl+$ws2_key move container to workspace number $ws12; workspace number $ws12 +bindsym $mod+$alt+Ctrl+$ws3_key move container to workspace number $ws13; workspace number $ws13 +bindsym $mod+$alt+Ctrl+$ws4_key move container to workspace number $ws14; workspace number $ws14 +bindsym $mod+$alt+Ctrl+$ws5_key move container to workspace number $ws15; workspace number $ws15 +bindsym $mod+$alt+Ctrl+$ws6_key move container to workspace number $ws16; workspace number $ws16 +bindsym $mod+$alt+Ctrl+$ws7_key move container to workspace number $ws17; workspace number $ws17 +bindsym $mod+$alt+Ctrl+$ws8_key move container to workspace number $ws18; workspace number $ws18 +bindsym $mod+$alt+Ctrl+$ws9_key move container to workspace number $ws19; workspace number $ws19 + +## Modify // Carry Window to Next Free Workspace // <><Alt> ` ## +set_from_resource $i3-wm.binding.take_next_free i3-wm.binding.take_next_free Mod1+grave +bindsym $mod+$i3-wm.binding.take_next_free exec --no-startup-id /usr/bin/i3-next-workspace --move-window-and-follow + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# Hiding borders adjacent to the screen edges. +# The "smart" setting hides borders on workspaces with only one window visible. +set_from_resource $i3-wm.hide.edge.borders i3-wm.hide.edge.borders smart +hide_edge_borders $i3-wm.hide.edge.borders + +############################################################################### +# Session Management +############################################################################### + +## Session // Exit App // <><Shift> q ## +set_from_resource $i3-wm.binding.exit_app i3-wm.binding.exit_app Shift+q +bindsym $mod+$i3-wm.binding.exit_app [con_id="__focused__"] kill + +## Session // Terminate App // <><Alt> q ## +set_from_resource $i3-wm.binding.kill_app i3-wm.binding.kill_app Mod1+q +bindsym $mod+$i3-wm.binding.kill_app [con_id="__focused__"] exec --no-startup-id kill -9 $(xdotool getwindowfocus getwindowpid) + +## Session // Reload i3 Config // <><Shift> c ## +set_from_resource $i3-wm.binding.reload i3-wm.binding.reload Shift+c +bindsym $mod+$i3-wm.binding.reload reload + +## Session // Refresh Session // <><Shift> r ## +set_from_resource $i3-wm.binding.refresh i3-wm.binding.refresh Shift+r +set_from_resource $i3-wm.program.refresh_ui i3-wm.program.refresh_ui /usr/bin/regolith-look refresh +bindsym $mod+$i3-wm.binding.refresh exec --no-startup-id $i3-wm.program.refresh_ui + +## Session // Restart i3 // <><Ctrl> r ## +set_from_resource $i3-wm.binding.restart i3-wm.binding.restart Ctrl+r +bindsym $mod+$i3-wm.binding.restart restart + +## Session // Logout // <><Shift> e ## +set_from_resource $i3-wm.binding.logout i3-wm.binding.logout Shift+e +set_from_resource $i3-wm.program.logout i3-wm.program.logout /usr/bin/gnome-session-quit --logout +bindsym $mod+$i3-wm.binding.logout exec $i3-wm.program.logout + +## Session // Reboot // <><Shift> b ## +set_from_resource $i3-wm.binding.reboot i3-wm.binding.reboot Shift+b +set_from_resource $i3-wm.program.reboot i3-wm.program.reboot /usr/bin/gnome-session-quit --reboot +bindsym $mod+$i3-wm.binding.reboot exec $i3-wm.program.reboot + +## Session // Power Down // <><Shift> p ## +set_from_resource $i3-wm.binding.shutdown i3-wm.binding.shutdown Shift+p +set_from_resource $i3-wm.program.shutdown i3-wm.program.shutdown /usr/bin/gnome-session-quit --power-off +bindsym $mod+$i3-wm.binding.shutdown exec $i3-wm.program.shutdown + +## Session // Lock Screen // <> Escape ## +set_from_resource $i3-wm.binding.lock i3-wm.binding.lock Escape +set_from_resource $i3-wm.program.lock i3-wm.program.lock dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock +bindsym $mod+$i3-wm.binding.lock exec $i3-wm.program.lock + +## Session // Sleep // <><Shift> s ## +set_from_resource $i3-wm.binding.sleep i3-wm.binding.sleep Shift+s +set_from_resource $i3-wm.program.sleep i3-wm.program.sleep systemctl suspend +bindsym $mod+$i3-wm.binding.sleep exec $i3-wm.program.sleep + +############################################################################### +# System Management +############################################################################### + +## Modify // Settings // <> c ## +set_from_resource $i3-wm.binding.settings i3-wm.binding.settings c +set_from_resource $i3-wm.program.settings i3-wm.program.settings gnome-control-center --class=floating_window +bindsym $mod+$i3-wm.binding.settings exec $i3-wm.program.settings + +## Launch // File Browser // <> e ## +set_from_resource $i3-wm.binding.files i3-wm.binding.files e +set_from_resource $i3-wm.program.files i3-wm.program.files /usr/bin/pcmanfm +bindsym $mod+$i3-wm.binding.files exec $i3-wm.program.files + +## Launch // Notification Viewer // <> n ## +set_from_resource $i3-wm.binding.notification_ui i3-wm.binding.notification_ui n +set_from_resource $i3-wm.program.notification_ui i3-wm.program.notification_ui /usr/bin/rofication-gui +bindsym $mod+$i3-wm.binding.notification_ui exec $i3-wm.program.notification_ui + +############################################################################### +# Workspace Management +############################################################################### + +# i3-snapshot for load/save current layout +## Modify // Save Window Layout // <> , ## +set_from_resource $i3-wm.binding.save_layout i3-wm.binding.save_layout comma +bindsym $mod+$i3-wm.binding.save_layout exec /usr/bin/i3-snapshot -o > /tmp/i3-snapshot +## Modify // Load Window Layout // <> . ## +set_from_resource $i3-wm.binding.load_layout i3-wm.binding.load_layout period +bindsym $mod+$i3-wm.binding.load_layout exec /usr/bin/i3-snapshot -c < /tmp/i3-snapshot + +# Toggle bar visibility +## Modify // Toggle Bar // <> i ## +set_from_resource $i3-wm.binding.bar_toggle i3-wm.binding.bar_toggle i +bindsym $mod+$i3-wm.binding.bar_toggle bar mode toggle + +# Cause Settings app to float above tiled windows +floating_maximum_size -1 x -1 +for_window [class="floating_window"] floating enable +for_window [window_role="pop-up"] floating enable +for_window [window_role="About"] floating enable + +for_window [window_role="gnome-calculator"] floating enable +for_window [title="GNOME Tweaks"] floating enable + +# Jetbrains +for_window [class="^com-intellij-updater-Runner$" title="^Update$"] floating enable +for_window [instance="^sun-awt-X11-XDialogPeer$" title="^Complete Installation$"] floating enable + +# Unity +for_window [class="^Unity$" title="^Starting Unity...$"] floating enable +for_window [class="^Unity$" title="^Hold On$"] floating enable +for_window [class="^Unity$" title="^Preparing Package$"] floating enable +for_window [class="^Unity$" title="^Importing Package$"] floating enable + +# Steam https://github.com/ValveSoftware/steam-for-linux/issues/1040 +for_window [title="Friends List"] floating enable +for_window [class="^Steam$" title="^Friends$"] floating enable +for_window [class="^Steam$" title="Steam - News"] floating enable +for_window [title="Steam - News"] floating enable +for_window [class="^Steam$" title=".* - Chat"] floating enable +for_window [class="^Steam$" title="^Settings$"] floating enable +for_window [class="^Steam$" title=".* - event started"] floating enable +for_window [class="^Steam$" title=".* CD key"] floating enable +for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable +for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable +for_window [title="Steam Guard - Computer Authorization Required"] floating enable +for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable +for_window [title="^Steam Keyboard$"] floating enable + + +set_from_resource $i3-wm.workspace.auto_back_and_forth i3-wm.workspace.auto_back_and_forth no +workspace_auto_back_and_forth $i3-wm.workspace.auto_back_and_forth + +############################################################################### +# Window Resize and Gaps +############################################################################### + +set_from_resource $i3-wm.binding.inc_gaps i3-wm.binding.inc_gaps plus +set_from_resource $i3-wm.binding.dec_gaps i3-wm.binding.dec_gaps minus + +set_from_resource $i3-wm.binding.inc_gaps_big i3-wm.binding.inc_gaps_big Shift+plus +set_from_resource $i3-wm.binding.dec_gaps_big i3-wm.binding.dec_gaps_big Shift+minus + +## Resize // Enter Resize Mode // <> r ## +mode "Resize Mode" { + # These bindings trigger as soon as you enter the resize mode + + ## Resize // Resize Window // ↑ ↓ ← → ## + bindsym Left resize shrink width 6 px or 6 ppt + bindsym Down resize grow height 6 px or 6 ppt + bindsym Up resize shrink height 6 px or 6 ppt + bindsym Right resize grow width 6 px or 6 ppt + + bindsym Shift+Left resize shrink width 12 px or 12 ppt + bindsym Shift+Down resize grow height 12 px or 12 ppt + bindsym Shift+Up resize shrink height 12 px or 12 ppt + bindsym Shift+Right resize grow width 12 px or 12 ppt + + ## Resize // Resize Window // k j h l ## + bindsym $i3-wm.binding.left resize shrink width 6 px or 6 ppt + bindsym $i3-wm.binding.up resize grow height 6 px or 6 ppt + bindsym $i3-wm.binding.down resize shrink height 6 px or 6 ppt + bindsym $i3-wm.binding.right resize grow width 6 px or 6 ppt + + bindsym $i3-wm.binding.move_left resize shrink width 12 px or 12 ppt + bindsym $i3-wm.binding.move_up resize grow height 12 px or 12 ppt + bindsym $i3-wm.binding.move_down resize shrink height 12 px or 12 ppt + bindsym $i3-wm.binding.move_right resize grow width 12 px or 12 ppt + + ## Resize // Window Gaps // + - ## + bindsym $i3-wm.binding.dec_gaps gaps inner current minus 6 + bindsym $i3-wm.binding.inc_gaps gaps inner current plus 6 + bindsym $i3-wm.binding.dec_gaps_big gaps inner current minus 12 + bindsym $i3-wm.binding.inc_gaps_big gaps inner current plus 12 + + ## Resize // Exit Resize Mode // Escape or Enter ## + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} +bindsym $mod+r mode "Resize Mode" + +############################################################################### +# i3 Appearance and Behavior +############################################################################### + +# Disable titlebar +set_from_resource $i3-wm.window.border.size i3-wm.window.border.size 1 +set_from_resource $i3-wm.floatingwindow.border.size i3-wm.floatingwindow.border.size 1 +default_border pixel $i3-wm.window.border.size +default_floating_border pixel $i3-wm.floatingwindow.border.size + +# Specify the distance between windows in pixels. (i3-gaps) +set_from_resource $i3-wm.gaps.inner.size i3-wm.gaps.inner.size 5 +set_from_resource $i3-wm.gaps.outer.size i3-wm.gaps.outer.size 0 +gaps inner $i3-wm.gaps.inner.size +gaps outer $i3-wm.gaps.outer.size + +# Only enable gaps on a workspace when there is at least one container +set_from_resource $i3-wm.gaps.smart i3-wm.gaps.smart on +smart_gaps $i3-wm.gaps.smart + +# Enable popup during fullscreen +set_from_resource $i3-wm.gaps.popup_during_fullscreen i3-wm.gaps.popup_during_fullscreen smart +popup_during_fullscreen $i3-wm.gaps.popup_during_fullscreen + +# window focus follows your mouse movements as the mouse crosses window borders +set_from_resource $i3-wm.gaps.focus_follows_mouse i3-wm.gaps.focus_follows_mouse no +focus_follows_mouse $i3-wm.gaps.focus_follows_mouse + +############################################################################### +# i3 Colors and Fonts +############################################################################### + +# Create variables from Xresources for i3's look. +set_from_resource $focused.color.border i3-wm.client.focused.color.border "#002b36" +set_from_resource $focused.color.background i3-wm.client.focused.color.background "#586e75" +set_from_resource $focused.color.text i3-wm.client.focused.color.text "#fdf6e3" +set_from_resource $focused.color.indicator i3-wm.client.focused.color.indicator "#268bd2" +set_from_resource $focused.color.child_border i3-wm.client.focused.color.child_border + +set_from_resource $focused_inactive.color.border i3-wm.client.focused_inactive.color.border "#002b36" +set_from_resource $focused_inactive.color.background i3-wm.client.focused_inactive.color.background "#073642" +set_from_resource $focused_inactive.color.text i3-wm.client.focused_inactive.color.text "#839496" +set_from_resource $focused_inactive.color.indicator i3-wm.client.focused_inactive.color.indicator "#073642" +set_from_resource $focused_inactive.color.child_border i3-wm.client.focused_inactive.color.child_border + +set_from_resource $unfocused.color.border i3-wm.client.unfocused.color.border "#002b36" +set_from_resource $unfocused.color.background i3-wm.client.unfocused.color.background "#073642" +set_from_resource $unfocused.color.text i3-wm.client.unfocused.color.text "#839496" +set_from_resource $unfocused.color.indicator i3-wm.client.unfocused.color.indicator "#073642" +set_from_resource $unfocused.color.child_border i3-wm.client.unfocused.color.child_border + +set_from_resource $urgent.color.border i3-wm.client.urgent.color.border "#002b36" +set_from_resource $urgent.color.background i3-wm.client.urgent.color.background "#dc322f" +set_from_resource $urgent.color.text i3-wm.client.urgent.color.text "#fdf6e3" +set_from_resource $urgent.color.indicator i3-wm.client.urgent.color.indicator "#002b36" +set_from_resource $urgent.color.child_border i3-wm.client.urgent.color.child_border + + +# Window Border color +# class border background text indicator child_border +client.focused $focused.color.border $focused.color.background $focused.color.text $focused.color.indicator $focused.color.child_border +client.focused_inactive $focused_inactive.color.border $focused_inactive.color.background $focused_inactive.color.text $focused_inactive.color.indicator $focused_inactive.color.child_border +client.unfocused $unfocused.color.border $unfocused.color.background $unfocused.color.text $unfocused.color.indicator $unfocused.color.child_border +client.urgent $urgent.color.border $urgent.color.background $urgent.color.text $urgent.color.indicator $urgent.color.child_border + +# Create variables from Xresources for i3bars's look. +set_from_resource $i3-wm.bar.background.color i3-wm.bar.background.color "#002b36" +set_from_resource $i3-wm.bar.statusline.color i3-wm.bar.statusline.color "#93a1a1" +set_from_resource $i3-wm.bar.separator.color i3-wm.bar.separator.color "#268bd2" + +set_from_resource $i3-wm.bar.workspace.focused.border.color i3-wm.bar.workspace.focused.border.color "#073642" +set_from_resource $i3-wm.bar.workspace.focused.background.color i3-wm.bar.workspace.focused.background.color "#073642" +set_from_resource $i3-wm.bar.workspace.focused.text.color i3-wm.bar.workspace.focused.text.color "#eee8d5" + +set_from_resource $i3-wm.bar.workspace.active.border.color i3-wm.bar.workspace.active.border.color "#073642" +set_from_resource $i3-wm.bar.workspace.active.background.color i3-wm.bar.workspace.active.background.color "#073642" +set_from_resource $i3-wm.bar.workspace.active.text.color i3-wm.bar.workspace.active.text.color "#586e75" + +set_from_resource $i3-wm.bar.workspace.inactive.border.color i3-wm.bar.workspace.inactive.border.color "#002b36" +set_from_resource $i3-wm.bar.workspace.inactive.background.color i3-wm.bar.workspace.inactive.background.color "#002b36" +set_from_resource $i3-wm.bar.workspace.inactive.text.color i3-wm.bar.workspace.inactive.text.color "#586e75" + +set_from_resource $i3-wm.bar.workspace.urgent.border.color i3-wm.bar.workspace.urgent.border.color "#dc322f" +set_from_resource $i3-wm.bar.workspace.urgent.background.color i3-wm.bar.workspace.urgent.background.color "#dc322f" +set_from_resource $i3-wm.bar.workspace.urgent.text.color i3-wm.bar.workspace.urgent.text.color "#fdf6e3" + +# Sets i3 font for dialogs +set_from_resource $i3-wm.font i3-wm.font pango:Source Code Pro Medium 13 +font $i3-wm.font + +############################################################################### +# i3 Bar +############################################################################### + +#set_from_resource $i3-wm.bar.position i3-wm.bar.position top +#set_from_resource $i3-wm.bar.font i3-wm.bar.font pango:Source Code Pro Medium 13, Material Design Icons 13 +#set_from_resource $i3-wm.bar.separator i3-wm.bar.separator " " +#set_from_resource $i3-wm.bar.trayoutput i3-wm.bar.trayoutput primary +#set_from_resource $i3-wm.bar.stripworkspacenumbers i3-wm.bar.stripworkspacenumbers yes +#set_from_resource $i3-wm.bar.mode i3-wm.bar.mode dock +# +## i3xrocks config file. Override this for a custom status bar generator. +#set_from_resource $i3-wm.bar.status_command i3-wm.bar.status_command i3xrocks -u ~/.config/regolith/i3xrocks/conf.d -d /etc/regolith/i3xrocks/conf.d +##The bar configuration +#bar { +# position bottom +# mode $i3-wm.bar.mode +# font $i3-wm.bar.font +# separator_symbol $i3-wm.bar.separator +# status_command $i3-wm.bar.status_command +# tray_output $i3-wm.bar.trayoutput +# strip_workspace_numbers $i3-wm.bar.stripworkspacenumbers +# +# colors { +# background $i3-wm.bar.background.color +# statusline $i3-wm.bar.statusline.color +# separator $i3-wm.bar.separator.color +# +## BORDER BACKGROUND TEXT +# focused_workspace $i3-wm.bar.workspace.focused.border.color $i3-wm.bar.workspace.focused.background.color $i3-wm.bar.workspace.focused.text.color +# active_workspace $i3-wm.bar.workspace.active.border.color $i3-wm.bar.workspace.active.background.color $i3-wm.bar.workspace.active.text.color +# inactive_workspace $i3-wm.bar.workspace.inactive.border.color $i3-wm.bar.workspace.inactive.background.color $i3-wm.bar.workspace.inactive.text.color +# urgent_workspace $i3-wm.bar.workspace.urgent.border.color $i3-wm.bar.workspace.urgent.background.color $i3-wm.bar.workspace.urgent.text.color +# } +#} + +############################################################################### +# External programs launched with i3 +############################################################################### + +# Start the installed regolith-compositor +#set_from_resource $i3-wm.program.compositor i3-wm.program.compositor /usr/share/regolith-compositor/init +#exec_always --no-startup-id $i3-wm.program.compositor +exec_always --no-startup-id picom --config ~/.config/picom/picom.conf -b + +# Start Rofication for notifications +set_from_resource $i3-wm.program.notifications i3-wm.program.notifications /usr/bin/rofication-daemon +exec --no-startup-id $i3-wm.program.notifications + +# Launch first time user experience script +set_from_resource $i3-wm.program.ftui i3-wm.program.ftui /usr/bin/regolith-ftue +exec --no-startup-id $i3-wm.program.ftui + +# Hide the mouse pointer if unused for a duration +set_from_resource $i3-wm.program.unclutter i3-wm.program.unclutter /usr/bin/unclutter -b +exec --no-startup-id $i3-wm.program.unclutter + +# Load nm-applet to provide auth dialogs for network access +set_from_resource $i3-wm.program.nm-applet i3-wm.program.nm-applet /usr/bin/nm-applet +exec --no-startup-id $i3-wm.program.nm-applet + +# User programs from Xresources +# To use, define an Xresource key i3-wm.program.[1-3] with the value of the program to launch. +# See https://regolith-linux.org/docs/howto/override-xres/ for details. +set_from_resource $i3-wm.program.1 i3-wm.program.1 : +exec --no-startup-id $i3-wm.program.1 +set_from_resource $i3-wm.program.2 i3-wm.program.2 : +exec --no-startup-id $i3-wm.program.2 +set_from_resource $i3-wm.program.3 i3-wm.program.3 : +exec --no-startup-id $i3-wm.program.3 + +exec_always --no-startup-id $HOME/.config/polybar/launch.sh +exec_always --no-startup-id greenclip daemon |