diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..e4c1b4e --- /dev/null +++ b/.Xresources @@ -0,0 +1,83 @@ +Xft.autohint: 1 +Xft.antialias: 1 +Xft.hinting: true +Xft.hintstyle: hintslight +Xft.rgba: rgb +Xft.lcdfilter: lcddefault + +Xcursor.theme: Volantes Cursors + +! ! special +! *.foreground: #abb2bf +! *.background: #14171e +! *.cursorColor: #abb2bf +! +! ! black +! *.color0: #1e2127 +! *.color8: #5c6370 +! +! ! red +! *.color1: #e06c75 +! *.color9: #e06c75 +! +! ! green +! *.color2: #98c379 +! *.color10: #98c379 +! +! ! yellow +! *.color3: #d19a66 +! *.color11: #d19a66 +! +! ! blue +! *.color4: #61afef +! *.color12: #61afef +! +! ! magenta +! *.color5: #c678dd +! *.color13: #c678dd +! +! ! cyan +! *.color6: #56b6c2 +! *.color14: #56b6c2 +! +! ! white +! *.color7: #abb2bf +! *.color15: #ffffff + +! special +*.foreground: #ebd6a1 +*.background: #211c1a +*.cursorColor: #ebd6a1 + +! black +*.color0: #141110 +*.color8: #928374 + +! red +*.color1: #cc241d +*.color9: #fb4934 + +! green +*.color2: #88981a +*.color10: #b8bb26 + +! yellow +*.color3: #d79921 +*.color11: #fabd2f + +! blue +*.color4: #176d71 +*.color12: #83a598 + +! magenta +*.color5: #b16286 +*.color13: #d3869b + +! cyan +*.color6: #689d6a +*.color14: #8ec07c + +! white +*.color7: #a89984 +*.color15: #ebdbb2 + diff --git a/configs/BetterDiscord/data/betterdiscord.asar b/.config/BetterDiscord/data/betterdiscord.asar similarity index 100% rename from configs/BetterDiscord/data/betterdiscord.asar rename to .config/BetterDiscord/data/betterdiscord.asar diff --git a/configs/BetterDiscord/data/emotes.asar b/.config/BetterDiscord/data/emotes.asar similarity index 100% rename from configs/BetterDiscord/data/emotes.asar rename to .config/BetterDiscord/data/emotes.asar diff --git a/configs/BetterDiscord/data/stable/custom.css b/.config/BetterDiscord/data/stable/custom.css similarity index 100% rename from configs/BetterDiscord/data/stable/custom.css rename to .config/BetterDiscord/data/stable/custom.css diff --git a/configs/BetterDiscord/data/stable/emotes.json b/.config/BetterDiscord/data/stable/emotes.json similarity index 100% rename from configs/BetterDiscord/data/stable/emotes.json rename to .config/BetterDiscord/data/stable/emotes.json diff --git a/configs/BetterDiscord/data/stable/misc.json b/.config/BetterDiscord/data/stable/misc.json similarity index 100% rename from configs/BetterDiscord/data/stable/misc.json rename to .config/BetterDiscord/data/stable/misc.json diff --git a/configs/BetterDiscord/data/stable/plugins.json b/.config/BetterDiscord/data/stable/plugins.json similarity index 100% rename from configs/BetterDiscord/data/stable/plugins.json rename to .config/BetterDiscord/data/stable/plugins.json diff --git a/configs/BetterDiscord/data/stable/settings.json b/.config/BetterDiscord/data/stable/settings.json similarity index 100% rename from configs/BetterDiscord/data/stable/settings.json rename to .config/BetterDiscord/data/stable/settings.json diff --git a/configs/BetterDiscord/data/stable/themes.json b/.config/BetterDiscord/data/stable/themes.json similarity index 100% rename from configs/BetterDiscord/data/stable/themes.json rename to .config/BetterDiscord/data/stable/themes.json diff --git a/configs/BetterDiscord/plugins/0BDFDB.config.json b/.config/BetterDiscord/plugins/0BDFDB.config.json similarity index 100% rename from configs/BetterDiscord/plugins/0BDFDB.config.json rename to .config/BetterDiscord/plugins/0BDFDB.config.json diff --git a/configs/BetterDiscord/plugins/0BDFDB.data.json b/.config/BetterDiscord/plugins/0BDFDB.data.json similarity index 100% rename from configs/BetterDiscord/plugins/0BDFDB.data.json rename to .config/BetterDiscord/plugins/0BDFDB.data.json diff --git a/configs/BetterDiscord/plugins/0BDFDB.plugin.js b/.config/BetterDiscord/plugins/0BDFDB.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/0BDFDB.plugin.js rename to .config/BetterDiscord/plugins/0BDFDB.plugin.js diff --git a/configs/BetterDiscord/plugins/0BDFDB.raw.css b/.config/BetterDiscord/plugins/0BDFDB.raw.css similarity index 100% rename from configs/BetterDiscord/plugins/0BDFDB.raw.css rename to .config/BetterDiscord/plugins/0BDFDB.raw.css diff --git a/configs/BetterDiscord/plugins/0PluginLibrary.plugin.js b/.config/BetterDiscord/plugins/0PluginLibrary.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/0PluginLibrary.plugin.js rename to .config/BetterDiscord/plugins/0PluginLibrary.plugin.js diff --git a/configs/BetterDiscord/plugins/Animations.config.json b/.config/BetterDiscord/plugins/Animations.config.json similarity index 100% rename from configs/BetterDiscord/plugins/Animations.config.json rename to .config/BetterDiscord/plugins/Animations.config.json diff --git a/configs/BetterDiscord/plugins/Animations.plugin.js b/.config/BetterDiscord/plugins/Animations.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/Animations.plugin.js rename to .config/BetterDiscord/plugins/Animations.plugin.js diff --git a/configs/BetterDiscord/plugins/BetterRoleColors.config.json b/.config/BetterDiscord/plugins/BetterRoleColors.config.json similarity index 100% rename from configs/BetterDiscord/plugins/BetterRoleColors.config.json rename to .config/BetterDiscord/plugins/BetterRoleColors.config.json diff --git a/configs/BetterDiscord/plugins/BetterRoleColors.plugin.js b/.config/BetterDiscord/plugins/BetterRoleColors.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/BetterRoleColors.plugin.js rename to .config/BetterDiscord/plugins/BetterRoleColors.plugin.js diff --git a/configs/BetterDiscord/plugins/BugReportHelper.config.json b/.config/BetterDiscord/plugins/BugReportHelper.config.json similarity index 100% rename from configs/BetterDiscord/plugins/BugReportHelper.config.json rename to .config/BetterDiscord/plugins/BugReportHelper.config.json diff --git a/configs/BetterDiscord/plugins/BugReportHelper.plugin.js b/.config/BetterDiscord/plugins/BugReportHelper.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/BugReportHelper.plugin.js rename to .config/BetterDiscord/plugins/BugReportHelper.plugin.js diff --git a/configs/BetterDiscord/plugins/CallTimeCounter.config.json b/.config/BetterDiscord/plugins/CallTimeCounter.config.json similarity index 100% rename from configs/BetterDiscord/plugins/CallTimeCounter.config.json rename to .config/BetterDiscord/plugins/CallTimeCounter.config.json diff --git a/configs/BetterDiscord/plugins/CallTimeCounter.plugin.js b/.config/BetterDiscord/plugins/CallTimeCounter.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/CallTimeCounter.plugin.js rename to .config/BetterDiscord/plugins/CallTimeCounter.plugin.js diff --git a/configs/BetterDiscord/plugins/DiscordFreeEmojis64px.plugin.js b/.config/BetterDiscord/plugins/DiscordFreeEmojis64px.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/DiscordFreeEmojis64px.plugin.js rename to .config/BetterDiscord/plugins/DiscordFreeEmojis64px.plugin.js diff --git a/configs/BetterDiscord/plugins/GameActivityToggle.config.json b/.config/BetterDiscord/plugins/GameActivityToggle.config.json similarity index 100% rename from configs/BetterDiscord/plugins/GameActivityToggle.config.json rename to .config/BetterDiscord/plugins/GameActivityToggle.config.json diff --git a/configs/BetterDiscord/plugins/GameActivityToggle.plugin.js b/.config/BetterDiscord/plugins/GameActivityToggle.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/GameActivityToggle.plugin.js rename to .config/BetterDiscord/plugins/GameActivityToggle.plugin.js diff --git a/configs/BetterDiscord/plugins/OpenInYouTube.plugin.js b/.config/BetterDiscord/plugins/OpenInYouTube.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/OpenInYouTube.plugin.js rename to .config/BetterDiscord/plugins/OpenInYouTube.plugin.js diff --git a/configs/BetterDiscord/plugins/ShowHiddenChannels.config.json b/.config/BetterDiscord/plugins/ShowHiddenChannels.config.json similarity index 100% rename from configs/BetterDiscord/plugins/ShowHiddenChannels.config.json rename to .config/BetterDiscord/plugins/ShowHiddenChannels.config.json diff --git a/configs/BetterDiscord/plugins/ShowHiddenChannels.plugin.js b/.config/BetterDiscord/plugins/ShowHiddenChannels.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/ShowHiddenChannels.plugin.js rename to .config/BetterDiscord/plugins/ShowHiddenChannels.plugin.js diff --git a/configs/BetterDiscord/plugins/SpotifyControls.config.json b/.config/BetterDiscord/plugins/SpotifyControls.config.json similarity index 100% rename from configs/BetterDiscord/plugins/SpotifyControls.config.json rename to .config/BetterDiscord/plugins/SpotifyControls.config.json diff --git a/configs/BetterDiscord/plugins/SpotifyControls.plugin.js b/.config/BetterDiscord/plugins/SpotifyControls.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/SpotifyControls.plugin.js rename to .config/BetterDiscord/plugins/SpotifyControls.plugin.js diff --git a/configs/BetterDiscord/plugins/TypingIndicator.config.json b/.config/BetterDiscord/plugins/TypingIndicator.config.json similarity index 100% rename from configs/BetterDiscord/plugins/TypingIndicator.config.json rename to .config/BetterDiscord/plugins/TypingIndicator.config.json diff --git a/configs/BetterDiscord/plugins/TypingIndicator.plugin.js b/.config/BetterDiscord/plugins/TypingIndicator.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/TypingIndicator.plugin.js rename to .config/BetterDiscord/plugins/TypingIndicator.plugin.js diff --git a/configs/BetterDiscord/plugins/TypingUsersAvatars.config.json b/.config/BetterDiscord/plugins/TypingUsersAvatars.config.json similarity index 100% rename from configs/BetterDiscord/plugins/TypingUsersAvatars.config.json rename to .config/BetterDiscord/plugins/TypingUsersAvatars.config.json diff --git a/configs/BetterDiscord/plugins/TypingUsersAvatars.plugin.js b/.config/BetterDiscord/plugins/TypingUsersAvatars.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/TypingUsersAvatars.plugin.js rename to .config/BetterDiscord/plugins/TypingUsersAvatars.plugin.js diff --git a/configs/BetterDiscord/plugins/WriteUpperCase.config.json b/.config/BetterDiscord/plugins/WriteUpperCase.config.json similarity index 100% rename from configs/BetterDiscord/plugins/WriteUpperCase.config.json rename to .config/BetterDiscord/plugins/WriteUpperCase.config.json diff --git a/configs/BetterDiscord/plugins/WriteUpperCase.plugin.js b/.config/BetterDiscord/plugins/WriteUpperCase.plugin.js similarity index 100% rename from configs/BetterDiscord/plugins/WriteUpperCase.plugin.js rename to .config/BetterDiscord/plugins/WriteUpperCase.plugin.js diff --git a/configs/BetterDiscord/plugins/ZeresPluginLibrary.config.json b/.config/BetterDiscord/plugins/ZeresPluginLibrary.config.json similarity index 100% rename from configs/BetterDiscord/plugins/ZeresPluginLibrary.config.json rename to .config/BetterDiscord/plugins/ZeresPluginLibrary.config.json diff --git a/configs/BetterDiscord/themes/Catppuccin.theme.css b/.config/BetterDiscord/themes/Catppuccin.theme.css similarity index 100% rename from configs/BetterDiscord/themes/Catppuccin.theme.css rename to .config/BetterDiscord/themes/Catppuccin.theme.css diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..3546dc6 --- /dev/null +++ b/.config/alacritty/alacritty.yml @@ -0,0 +1,938 @@ +# 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: "xterm-256color" + +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: 10 + y: 10 + + # Spread additional padding evenly around the terminal content. + dynamic_padding: true + + # 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: 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. + #opacity: 1.0 + + # 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: Hack Nerd Font Mono + + # 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: Hack Nerd Font Mono + + # 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: Hack Nerd Font Mono + + # 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: Hack Nerd Font Mono + + # The `style` can be specified to pick a specific face. + style: Bold Italic + + # Point size + size: 7 + + # 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 + + # 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 + +# Onedark color-theme +# colors: +# # Default colors +# primary: +# background: '0x14171e' +# foreground: '0xabb2bf' +# +# # Normal colors +# normal: +# black: '0x1e2127' +# red: '0xe06c75' +# green: '0x98c379' +# yellow: '0xd19a66' +# blue: '0x61afef' +# magenta: '0xc678dd' +# cyan: '0x56b6c2' +# white: '0xabb2bf' +# +# # Bright colors +# bright: +# black: '0x5c6370' +# red: '0xe06c75' +# green: '0x98c379' +# yellow: '0xd19a66' +# blue: '0x61afef' +# magenta: '0xc678dd' +# cyan: '0x56b6c2' +# white: '0xffffff' + + # Gruvbox-edited color theme +colors: + # Default colors + primary: + background: '0x211c1a' + foreground: '0xebd6a1' + + # Normal colors + normal: + black: '0x141110' + red: '0xcc241d' + green: '0x88981a' + yellow: '0xd79921' + blue: '0x176d71' + magenta: '0xb16286' + cyan: '0x689d6a' + white: '0xa89984' + + # Bright colors + bright: + black: '0x84684c' + red: '0xfb4934' + green: '0xb8bb26' + yellow: '0xfabd2f' + blue: '0x83a598' + magenta: '0xd3869b' + cyan: '0x8ec07c' + white: '0xebdbb2' +# 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: + # 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 + + # 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: 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 + +#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: Underline + + # 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: On + + # 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 + +# 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: 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`, `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. + # + # 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:)\ + # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" + # 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/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. +# - 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`. +# +# - 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: ~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: 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 + + # Highlight window damage information. + #highlight_damage: false diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc new file mode 100755 index 0000000..3d92439 --- /dev/null +++ b/.config/bspwm/bspwmrc @@ -0,0 +1,38 @@ +#! /bin/sh + +pgrep -x sxhkd > /dev/null || sxhkd & + +/home/nixen/.local/bin/screen-config & +# bspc monitor -d 1 2 3 4 5 6 7 8 9 + +bspc query -M | xargs -i bspc monitor {} -d 1 2 3 4 5 6 7 8 9 + +bspc config border_width 2 +bspc config window_gap 4 + +bspc config split_ratio 0.5 +bspc config single_monocle true +bspc config borderless_monocle true +bspc config gapless_monocle true +bspc config focus_follows_pointer true +bspc config top_padding 20 + +bspc config active_border_color \#d79921 +bspc config normal_border_color \#211c1a +bspc config focused_border_color \#d79921 + +# bspc rule -a Gimp state=floating follow=on +# bspc rule -a Chromium desktop='^2' +# bspc rule -a mplayer2 state=floating +# bspc rule -a Kupfer.py focus=on +# bspc rule -a Screenkey manage=off + +/home/nixen/.config/polybar/launch.sh & +nitrogen --restore & +picom & +setxkbmap pl & +pgrep bspswallow || bspswallow & +dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus & + +#xrandr --output HDMI-0 --set TearFree on & +#xrandr --output DisplayPort-0 --set TearFree on & diff --git a/.config/bspwm/noswallow b/.config/bspwm/noswallow new file mode 100644 index 0000000..89c8c9b --- /dev/null +++ b/.config/bspwm/noswallow @@ -0,0 +1,3 @@ +xorg-xev +xev +Xev diff --git a/.config/bspwm/terminals b/.config/bspwm/terminals new file mode 100644 index 0000000..6835a37 --- /dev/null +++ b/.config/bspwm/terminals @@ -0,0 +1,3 @@ +St +Alacritty +Urxvt diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf new file mode 100644 index 0000000..6bfb3ca --- /dev/null +++ b/.config/btop/btop.conf @@ -0,0 +1,212 @@ +#? Config file for btop v. 1.2.9 + +#* 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/gruvbox_dark.theme" + +#* If the theme set background should be shown, set to False if you want terminal background transparency. +theme_background = True + +#* 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 withespace " " 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 = False + +#* 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 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", separate values with whitespace. +shown_boxes = "cpu mem net proc" + +#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. +update_ms = 2000 + +#* 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 = "cpu direct" + +#* 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 + +#* 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 = "total" + +#* 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 = True + +#* 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" + +#* 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" \ No newline at end of file diff --git a/configs/dunst/dunstrc b/.config/dunst/dunstrc similarity index 98% rename from configs/dunst/dunstrc rename to .config/dunst/dunstrc index 49d878c..28b9cd9 100644 --- a/configs/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -306,21 +306,21 @@ [global] - frame_color = "#89B4FA" + frame_color = "#d79921" separator_color= frame [urgency_low] - background = "#1E1E2E" - foreground = "#CDD6F4" + background = "#211c1a" + foreground = "#ebd6a1" [urgency_normal] - background = "#1E1E2E" - foreground = "#CDD6F4" + background = "#211c1a" + foreground = "#ebd6a1" [urgency_critical] - background = "#1E1E2E" + background = "#211c1a" foreground = "#CDD6F4" - frame_color = "#FAB387" + frame_color = "#cc241d" # Icon for notifications with critical urgency, uncomment to enable #default_icon = /path/to/icon diff --git a/.config/htop/htoprc b/.config/htop/htoprc new file mode 100644 index 0000000..8ef70fc --- /dev/null +++ b/.config/htop/htoprc @@ -0,0 +1,61 @@ +# Beware! This file is rewritten by htop when settings are changed in the interface. +# The parser is also very primitive, and not human-friendly. +htop_version=3.2.1 +config_reader_min_version=3 +fields=0 48 17 18 38 39 40 2 46 47 49 1 +hide_kernel_threads=1 +hide_userland_threads=0 +shadow_other_users=0 +show_thread_names=0 +show_program_path=1 +highlight_base_name=0 +highlight_deleted_exe=1 +highlight_megabytes=1 +highlight_threads=1 +highlight_changes=0 +highlight_changes_delay_secs=5 +find_comm_in_cmdline=1 +strip_exe_from_cmdline=1 +show_merged_command=0 +header_margin=1 +screen_tabs=1 +detailed_cpu_time=0 +cpu_count_from_one=0 +show_cpu_usage=1 +show_cpu_frequency=0 +show_cpu_temperature=0 +degree_fahrenheit=0 +update_process_names=0 +account_guest_in_cpu_meter=0 +color_scheme=0 +enable_mouse=1 +delay=15 +hide_function_bar=0 +header_layout=two_50_50 +column_meters_0=LeftCPUs Memory Swap +column_meter_modes_0=1 1 1 +column_meters_1=RightCPUs Tasks LoadAverage Uptime +column_meter_modes_1=1 2 2 2 +tree_view=0 +sort_key=46 +tree_sort_key=0 +sort_direction=-1 +tree_sort_direction=1 +tree_view_always_by_pid=0 +all_branches_collapsed=0 +screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command +.sort_key=PERCENT_CPU +.tree_sort_key=PID +.tree_view=0 +.tree_view_always_by_pid=0 +.sort_direction=-1 +.tree_sort_direction=1 +.all_branches_collapsed=0 +screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command +.sort_key=IO_RATE +.tree_sort_key=PID +.tree_view=0 +.tree_view_always_by_pid=0 +.sort_direction=-1 +.tree_sort_direction=1 +.all_branches_collapsed=0 diff --git a/configs/mpv/fonts/Material-Design-Iconic-Font.ttf b/.config/mpv/fonts/Material-Design-Iconic-Font.ttf similarity index 100% rename from configs/mpv/fonts/Material-Design-Iconic-Font.ttf rename to .config/mpv/fonts/Material-Design-Iconic-Font.ttf diff --git a/configs/mpv/mpv.conf b/.config/mpv/mpv.conf similarity index 100% rename from configs/mpv/mpv.conf rename to .config/mpv/mpv.conf diff --git a/configs/mpv/script-opts/youtube-quality.conf b/.config/mpv/script-opts/youtube-quality.conf similarity index 100% rename from configs/mpv/script-opts/youtube-quality.conf rename to .config/mpv/script-opts/youtube-quality.conf diff --git a/configs/mpv/scripts/modern.lua b/.config/mpv/scripts/modern.lua similarity index 100% rename from configs/mpv/scripts/modern.lua rename to .config/mpv/scripts/modern.lua diff --git a/.config/mpv/scripts/skip-intro.lua b/.config/mpv/scripts/skip-intro.lua new file mode 100644 index 0000000..8d6b510 --- /dev/null +++ b/.config/mpv/scripts/skip-intro.lua @@ -0,0 +1,151 @@ +MAX_SPEED = 100 +NORMAL_SPEED = 1 +ONE_SECOND = 1 +skip = false +-- Max noise (dB) and min silence duration (s) to trigger +opts = { quietness = -45, duration = 0.85 } + + +function setOptions() + local options = require 'mp.options' + options.read_options(opts) +end + +function setTime(time) + mp.set_property_number('time-pos', time) +end + +function getTime() + return mp.get_property_native('time-pos') +end + +function setSpeed(speed) + mp.set_property('speed', speed) +end + +function setPause(state) + mp.set_property_bool('pause', state) +end + +function setMute(state) + mp.set_property_bool('mute', state) +end + +function initAudioFilter() + local af_table = mp.get_property_native('af') + af_table[#af_table + 1] = { + enabled = false, + label = 'silencedetect', + name = 'lavfi', + params = { graph = 'silencedetect=noise=' .. opts.quietness .. 'dB:d=' .. opts.duration } + } + mp.set_property_native('af', af_table) +end + +function initVideoFilter() + local vf_table = mp.get_property_native('vf') + vf_table[#vf_table + 1] = { + enabled = false, + label = 'blackout', + name = 'lavfi', + params = { graph = '' } + } + mp.set_property_native('vf', vf_table) +end + +function setAudioFilter(state) + local af_table = mp.get_property_native('af') + if #af_table > 0 then + for i = #af_table, 1, -1 do + if af_table[i].label == 'silencedetect' then + af_table[i].enabled = state + mp.set_property_native('af', af_table) + break + end + end + end +end + +function dim(state) + local dim = { width = 0, height = 0 } + if state == true then + dim.width = mp.get_property_native('width') + dim.height = mp.get_property_native('height') + end + return dim.width .. 'x' .. dim.height +end + +function setVideoFilter(state) + local vf_table = mp.get_property_native('vf') + if #vf_table > 0 then + for i = #vf_table, 1, -1 do + if vf_table[i].label == 'blackout' then + vf_table[i].enabled = state + vf_table[i].params = { graph = 'nullsink,color=c=black:s=' .. dim(state) } + mp.set_property_native('vf', vf_table) + break + end + end + end +end + +function silenceTrigger(name, value) + if value == '{}' or value == nil then + return + end + + local skipTime = tonumber(string.match(value, '%d+%.?%d+')) + local currTime = getTime() + + if skipTime == nil or skipTime < currTime + ONE_SECOND then + return + end + + stopSkip() + setTime(skipTime) + skip = false +end + +function setAudioTrigger(state) + if state == true then + mp.observe_property('af-metadata/silencedetect', 'string', silenceTrigger) + else + mp.unobserve_property(silenceTrigger) + end +end + +function startSkip() + startTime = getTime() + -- This audio filter detects moments of silence + setAudioFilter(true) + -- This video filter makes fast-forward faster + setVideoFilter(true) + setAudioTrigger(true) + setPause(false) + setMute(true) + setSpeed(MAX_SPEED) +end + +function stopSkip() + setAudioFilter(false) + setVideoFilter(false) + setAudioTrigger(false) + setMute(false) + setSpeed(NORMAL_SPEED) +end + +function keypress() + skip = not skip + if skip then + startSkip() + else + stopSkip() + setTime(startTime) + end +end + +setOptions(opts) +initAudioFilter() +initVideoFilter() + +mp.add_key_binding('Tab', 'skip-key', keypress) diff --git a/configs/mpv/scripts/sponsorblock.lua b/.config/mpv/scripts/sponsorblock.lua similarity index 100% rename from configs/mpv/scripts/sponsorblock.lua rename to .config/mpv/scripts/sponsorblock.lua diff --git a/configs/mpv/scripts/sponsorblock_shared/main.lua b/.config/mpv/scripts/sponsorblock_shared/main.lua similarity index 100% rename from configs/mpv/scripts/sponsorblock_shared/main.lua rename to .config/mpv/scripts/sponsorblock_shared/main.lua diff --git a/configs/mpv/scripts/sponsorblock_shared/sponsorblock.py b/.config/mpv/scripts/sponsorblock_shared/sponsorblock.py similarity index 100% rename from configs/mpv/scripts/sponsorblock_shared/sponsorblock.py rename to .config/mpv/scripts/sponsorblock_shared/sponsorblock.py diff --git a/configs/mpv/scripts/sponsorblock_shared/sponsorblock.txt b/.config/mpv/scripts/sponsorblock_shared/sponsorblock.txt similarity index 100% rename from configs/mpv/scripts/sponsorblock_shared/sponsorblock.txt rename to .config/mpv/scripts/sponsorblock_shared/sponsorblock.txt diff --git a/configs/mpv/scripts/youtube-quality.lua b/.config/mpv/scripts/youtube-quality.lua similarity index 100% rename from configs/mpv/scripts/youtube-quality.lua rename to .config/mpv/scripts/youtube-quality.lua diff --git a/configs/networkmanager-dmenu/config.ini b/.config/networkmanager-dmenu/config.ini similarity index 100% rename from configs/networkmanager-dmenu/config.ini rename to .config/networkmanager-dmenu/config.ini diff --git a/configs/newsboat/config b/.config/newsboat/config similarity index 100% rename from configs/newsboat/config rename to .config/newsboat/config diff --git a/configs/newsboat/urls b/.config/newsboat/urls similarity index 100% rename from configs/newsboat/urls rename to .config/newsboat/urls diff --git a/configs/nvim-lua-custom/chadrc.lua b/.config/nvim-lua-custom/chadrc.lua similarity index 77% rename from configs/nvim-lua-custom/chadrc.lua rename to .config/nvim-lua-custom/chadrc.lua index 141c098..3b60700 100644 --- a/configs/nvim-lua-custom/chadrc.lua +++ b/.config/nvim-lua-custom/chadrc.lua @@ -5,7 +5,7 @@ M.plugins = { } M.ui = { - theme = "catppuccin", + theme = "gruvbox", } return M diff --git a/configs/nvim-lua-custom/init.lua b/.config/nvim-lua-custom/init.lua similarity index 100% rename from configs/nvim-lua-custom/init.lua rename to .config/nvim-lua-custom/init.lua diff --git a/configs/nvim-lua-custom/mappings.lua b/.config/nvim-lua-custom/mappings.lua similarity index 100% rename from configs/nvim-lua-custom/mappings.lua rename to .config/nvim-lua-custom/mappings.lua diff --git a/configs/nvim-lua-custom/plugins/configs.lua b/.config/nvim-lua-custom/plugins/configs.lua similarity index 100% rename from configs/nvim-lua-custom/plugins/configs.lua rename to .config/nvim-lua-custom/plugins/configs.lua diff --git a/configs/nvim-lua-custom/plugins/init.lua b/.config/nvim-lua-custom/plugins/init.lua similarity index 100% rename from configs/nvim-lua-custom/plugins/init.lua rename to .config/nvim-lua-custom/plugins/init.lua diff --git a/configs/nvim-lua-custom/plugins/lspconfig.lua b/.config/nvim-lua-custom/plugins/lspconfig.lua similarity index 100% rename from configs/nvim-lua-custom/plugins/lspconfig.lua rename to .config/nvim-lua-custom/plugins/lspconfig.lua diff --git a/configs/nvim-lua-custom/plugins/null-ls.lua b/.config/nvim-lua-custom/plugins/null-ls.lua similarity index 100% rename from configs/nvim-lua-custom/plugins/null-ls.lua rename to .config/nvim-lua-custom/plugins/null-ls.lua diff --git a/configs/nvim-lua-custom/plugins/truezen.lua b/.config/nvim-lua-custom/plugins/truezen.lua similarity index 100% rename from configs/nvim-lua-custom/plugins/truezen.lua rename to .config/nvim-lua-custom/plugins/truezen.lua diff --git a/.config/picom.conf b/.config/picom.conf new file mode 100644 index 0000000..5eefd0f --- /dev/null +++ b/.config/picom.conf @@ -0,0 +1,416 @@ +################################# +## Shadows # +################################## +# +# +## Enabled client-side shadows on windows. Note desktop windows +## (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, +## unless explicitly requested using the wintypes option. +## +shadow = false +#shadow = true; +# +## The blur radius for shadows, in pixels. (defaults to 12) +## shadow-radius = 12 +#shadow-radius = 7; +# +## The opacity of shadows. (0.0 - 1.0, defaults to 0.75) +## shadow-opacity = .75 +# +## The left offset for shadows, in pixels. (defaults to -15) +## shadow-offset-x = -15 +#shadow-offset-x = -7; +# +## The top offset for shadows, in pixels. (defaults to -15) +## shadow-offset-y = -15 +#shadow-offset-y = -7; +# +## Red color value of shadow (0.0 - 1.0, defaults to 0). +## shadow-red = 0 +# +## Green color value of shadow (0.0 - 1.0, defaults to 0). +## shadow-green = 0 +# +## Blue color value of shadow (0.0 - 1.0, defaults to 0). +## shadow-blue = 0 +# +## Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue) +## shadow-color = "#000000" +# +## Specify a list of conditions of windows that should have no shadow. +## +## examples: +## shadow-exclude = "n:e:Notification"; +## +## shadow-exclude = [] +#shadow-exclude = [ +# "name = 'Notification'", +# "class_g = 'Conky'", +# "class_g ?= 'Notify-osd'", +# "class_g = 'Cairo-clock'", +# "_GTK_FRAME_EXTENTS@:c" +# ]; +# +# # Specify a list of conditions of windows that should have no shadow painted over, such as a dock window. +# # clip-shadow-above = [] +# +# # Specify a X geometry that describes the region in which shadow should not +# # be painted in, such as a dock window region. Use +# # shadow-exclude-reg = "x10+0+0" +# # for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. +# # +# # shadow-exclude-reg = "" +# +# # Crop shadow of a window fully on a particular Xinerama screen to the screen. +# # xinerama-shadow-crop = false +# +# +# ################################# +# # Fading # +# ################################# +# +# +# # Fade windows in/out when opening/closing and when opacity changes, +# # unless no-fading-openclose is used. +# # fading = false + fading = true; +# +# # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) +# # fade-in-step = 0.028 + fade-in-step = 0.03; +# +# # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) +# # fade-out-step = 0.03 + fade-out-step = 0.03; +# +# # The time between steps in fade step, in milliseconds. (> 0, defaults to 10) + # fade-delta = 10 +# +# # Specify a list of conditions of windows that should not be faded. +# # fade-exclude = [] +# +# # Do not fade on window open/close. +# # no-fading-openclose = false +# +# # Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. +# # no-fading-destroyed-argb = false +# +# +# ################################# +# # Transparency / Opacity # +# ################################# +# +# +# # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) +# # inactive-opacity = 1 +# inactive-opacity = 0.8; +# +# # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) +# # frame-opacity = 1.0 +# frame-opacity = 0.7; +# +# # Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows. +# # inactive-opacity-override = true +# inactive-opacity-override = false; +# +# # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) +# # active-opacity = 1.0 +# +# # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) +# # inactive-dim = 0.0 +# +# # Specify a list of conditions of windows that should never be considered focused. +# # focus-exclude = [] +# focus-exclude = [ "class_g = 'Cairo-clock'" ]; +# +# # Use fixed inactive dim value, instead of adjusting according to window opacity. +# # inactive-dim-fixed = 1.0 +# +# # Specify a list of opacity rules, in the format `PERCENT:PATTERN`, +# # like `50:name *= "Firefox"`. picom-trans is recommended over this. +# # Note we don't make any guarantee about possible conflicts with other +# # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. +# # example: +# # opacity-rule = [ "80:class_g = 'URxvt'" ]; +# # +# # opacity-rule = [] +# +# +# ################################# +# # Corners # +# ################################# +# +# # Sets the radius of rounded window corners. When > 0, the compositor will +# # round the corners of windows. Does not interact well with +# # `transparent-clipping`. +# corner-radius = 0 +# +# # Exclude conditions for rounded corners. +# rounded-corners-exclude = [ +# "window_type = 'dock'", +# "window_type = 'desktop'" +# ]; +# +# +# ################################# +# # Background-Blurring # +# ################################# +# +# +# # Parameters for background blurring, see the *BLUR* section for more information. +# # blur-method = +# # blur-size = 12 +# # +# # blur-deviation = false +# # +# # blur-strength = 5 +# +# # Blur background of semi-transparent / ARGB windows. +# # Bad in performance, with driver-dependent behavior. +# # The name of the switch may change without prior notifications. +# # +# # blur-background = false +# +# # Blur background of windows when the window frame is not opaque. +# # Implies: +# # blur-background +# # Bad in performance, with driver-dependent behavior. The name may change. +# # +# # blur-background-frame = false +# +# +# # Use fixed blur strength rather than adjusting according to window opacity. +# # blur-background-fixed = false +# +# +# # Specify the blur convolution kernel, with the following format: +# # example: +# # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# # +# # blur-kern = "" +# blur-kern = "3x3box"; +# +# +# # Exclude conditions for background blur. +# # blur-background-exclude = [] +# blur-background-exclude = [ +# "window_type = 'dock'", +# "window_type = 'desktop'", +# "_GTK_FRAME_EXTENTS@:c" +# ]; +# +# ################################# +# # General Settings # +# ################################# +# +# # Enable remote control via D-Bus. See the man page for more details. +# # dbus = true +# +# # Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. +# # daemon = false +# +# # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. +# # `xrender` is the default one. +# # +# # backend = "glx" +# backend = "xrender"; +# +# # Enable/disable VSync. +# # vsync = false +# vsync = true; +# +# # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. +# # dbus = false +# +# # Try to detect WM windows (a non-override-redirect window with no +# # child that has 'WM_STATE') and mark them as active. +# # +# # mark-wmwin-focused = false +# mark-wmwin-focused = true; +# +# # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. +# # mark-ovredir-focused = false +# mark-ovredir-focused = true; +# +# # Try to detect windows with rounded corners and don't consider them +# # shaped windows. The accuracy is not very high, unfortunately. +# # +# # detect-rounded-corners = false +# detect-rounded-corners = true; +# +# # Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers +# # not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows. +# # +# # detect-client-opacity = false +# detect-client-opacity = true; +# +# # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, +# # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, +# # provided that the WM supports it. +# # +# # use-ewmh-active-win = false +# +# # Unredirect all windows if a full-screen opaque window is detected, +# # to maximize performance for full-screen windows. Known to cause flickering +# # when redirecting/unredirecting windows. +# # +# # unredir-if-possible = false +# +# # Delay before unredirecting the window, in milliseconds. Defaults to 0. +# # unredir-if-possible-delay = 0 +# +# # Conditions of windows that shouldn't be considered full-screen for unredirecting screen. +# # unredir-if-possible-exclude = [] +# +# # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows +# # in the same group focused at the same time. +# # +# # detect-transient = false +# detect-transient = true; +# +# # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same +# # group focused at the same time. This usually means windows from the same application +# # will be considered focused or unfocused at the same time. +# # 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too. +# # +# # detect-client-leader = false +# +# # Resize damaged region by a specific number of pixels. +# # A positive value enlarges it while a negative one shrinks it. +# # If the value is positive, those additional pixels will not be actually painted +# # to screen, only used in blur calculation, and such. (Due to technical limitations, +# # with use-damage, those pixels will still be incorrectly painted to screen.) +# # Primarily used to fix the line corruption issues of blur, +# # in which case you should use the blur radius value here +# # (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, +# # with a 5x5 one you use `--resize-damage 2`, and so on). +# # May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. +# # +# # resize-damage = 1 +# +# # Specify a list of conditions of windows that should be painted with inverted color. +# # Resource-hogging, and is not well tested. +# # +# # invert-color-include = [] +# +# # GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. +# # Might cause incorrect opacity when rendering transparent content (but never +# # practically happened) and may not work with blur-background. +# # My tests show a 15% performance boost. Recommended. +# # +# # glx-no-stencil = false +# +# # GLX backend: Avoid rebinding pixmap on window damage. +# # Probably could improve performance on rapid window content changes, +# # but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). +# # Recommended if it works. +# # +# # glx-no-rebind-pixmap = false +# +# # Disable the use of damage information. +# # This cause the whole screen to be redrawn everytime, instead of the part of the screen +# # has actually changed. Potentially degrades the performance, but might fix some artifacts. +# # The opposing option is use-damage +# # +# # no-use-damage = false +# use-damage = true; +# +# # Use X Sync fence to sync clients' draw calls, to make sure all draw +# # calls are finished before picom starts drawing. Needed on nvidia-drivers +# # with GLX backend for some users. +# # +# # xrender-sync-fence = false +# +# # GLX backend: Use specified GLSL fragment shader for rendering window contents. +# # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` +# # in the source tree for examples. +# # +# # glx-fshader-win = "" +# +# # Force all windows to be painted with blending. Useful if you +# # have a glx-fshader-win that could turn opaque pixels transparent. +# # +# # force-win-blend = false +# +# # Do not use EWMH to detect fullscreen windows. +# # Reverts to checking if a window is fullscreen based only on its size and coordinates. +# # +# # no-ewmh-fullscreen = false +# +# # Dimming bright windows so their brightness doesn't exceed this set value. +# # Brightness of a window is estimated by averaging all pixels in the window, +# # so this could comes with a performance hit. +# # Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) +# # +# # max-brightness = 1.0 +# +# # Make transparent windows clip other windows like non-transparent windows do, +# # instead of blending on top of them. +# # +# # transparent-clipping = false +# +# # Set the log level. Possible values are: +# # "trace", "debug", "info", "warn", "error" +# # in increasing level of importance. Case doesn't matter. +# # If using the "TRACE" log level, it's better to log into a file +# # using *--log-file*, since it can generate a huge stream of logs. +# # +# # log-level = "debug" +# log-level = "warn"; +# +# # Set the log file. +# # If *--log-file* is never specified, logs will be written to stderr. +# # Otherwise, logs will to written to the given file, though some of the early +# # logs might still be written to the stderr. +# # When setting this option from the config file, it is recommended to use an absolute path. +# # +# # log-file = "/path/to/your/log/file" +# +# # Show all X errors (for debugging) +# # show-all-xerrors = false +# +# # Write process ID to a file. +# # write-pid-path = "/path/to/your/log/file" +# +# # Window type settings +# # +# # 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: +# # "unknown", "desktop", "dock", "toolbar", "menu", "utility", +# # "splash", "dialog", "normal", "dropdown_menu", "popup_menu", +# # "tooltip", "notification", "combo", and "dnd". +# # +# # Following per window-type options are available: :: +# # +# # fade, shadow::: +# # Controls window-type-specific shadow and fade settings. +# # +# # opacity::: +# # Controls default opacity of the window type. +# # +# # focus::: +# # Controls whether the window of this type is to be always considered focused. +# # (By default, all window types except "normal" and "dialog" has this on.) +# # +# # full-shadow::: +# # Controls whether shadow is drawn under the parts of the window that you +# # normally won't be able to see. Useful when the window has parts of it +# # transparent, and you want shadows in those areas. +# # +# # clip-shadow-above::: +# # Controls wether shadows that would have been drawn above the window should +# # be clipped. Useful for dock windows that should have no shadow painted on top. +# # +# # redir-ignore::: +# # Controls whether this type of windows should cause screen to become +# # redirected again after been unredirected. If you have unredir-if-possible +# # set, and doesn't want certain window to cause unnecessary screen redirection, +# # you can set this to `true`. +# # +# wintypes: +# { +# tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; +# dock = { shadow = false; clip-shadow-above = true; } +# dnd = { shadow = false; } +# popup_menu = { opacity = 0.8; } +# dropdown_menu = { opacity = 0.8; } +# }; diff --git a/.config/polybar/2 b/.config/polybar/2 new file mode 100644 index 0000000..0537baa --- /dev/null +++ b/.config/polybar/2 @@ -0,0 +1,398 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +;background = ${xrdb:background} +background = ${xrdb:color0} +;foreground = #676b73 +foreground = ${xrdb:foreground} + +bg = ${xrdb:background} +color0 = ${xrdb:color0} +color1 = ${xrdb:color1} +color2 = ${xrdb:color2} +color3 = ${xrdb:color3} +color4 = ${xrdb:color4} +color5 = ${xrdb:color5} +color6 = ${xrdb:color6} +color7 = ${xrdb:color7} +color8 = ${xrdb:color8} +color9 = ${xrdb:color9} +color10 = ${xrdb:color10} +color11 = ${xrdb:color11} +color12 = ${xrdb:color12} +color13 = ${xrdb:color13} +color14 = ${xrdb:color14} +color15 = ${xrdb:color15} +dark-light = #272A2B +active-light = #313435 + +[bar/example] +tray-position = right +monitor = LVDS1 +width = 100% +height = 22 +padding-left = 1 +padding-right = 0 +padding-bottom = 4 + +background = ${colors.background} +foreground = ${colors.foreground} +bottom = false +border-top-size = 0 +border-bottom-size = 4 +border-top-color = ${colors.background} +border-bottom-color = ${colors.background} + +line-size = 1 +wm-restack = bspwm + +modules-left = round-left bspwm round-right empty-space +modules-center = +modules-right = round-left pipewire-microphone pulseaudio-control round-right mail round-left cpu round-right updates wlan mem xbacklight battery round-left time round-right powermenu +font-0 = JetBrainsMono Nerd Font:style=Bold:pixelsize=11;3 +font-1 = JetBrainsMono Nerd Font:size=12;4 +# font-2 = Material Design Icons:style=Bold:size=9;3 +# font-3 = unifont:fontformat=truetype:size=9;3 + + +[bar/example2] +tray-position = right +monitor = DisplayPort-0 +width = 100% +height = 22 +padding-left = 1 +padding-right = 0 +padding-bottom = 4 + +background = ${colors.background} +foreground = ${colors.foreground} +bottom = false +border-top-size = 0 +border-bottom-size = 4 +border-top-color = ${colors.background} +border-bottom-color = ${colors.background} + +line-size = 1 +wm-restack = bspwm + +modules-left = round-left bspwm round-right empty-space +modules-center = +modules-right = pipewire-microphone pulseaudio-control mail round-left cpu round-right updates wlan mem xbacklight battery round-left time round-right powermenu +font-0 = JetBrainsMono Nerd Font:style=Bold:pixelsize=9;3 +font-1 = JetBrainsMono Nerd Font:size=14;4 +# font-2 = Material Design Icons:style=Bold:size=9;3 +# font-3 = unifont:fontformat=truetype:size=9;3 + +[module/pulseaudio-control] +type = custom/script +tail = true +format-underline = ${colors.cyan} +label-padding = 2 +label-foreground = ${colors.foreground} + +# Icons mixed from Font Awesome 5 and Material Icons +# You can copy-paste your options for each possible action, which is more +# trouble-free but repetitive, or apply only the relevant ones (for example +# --sink-blacklist is only needed for next-sink). +exec = pulseaudio-control --icons-volume " , " --icon-muted " " --sink-nicknames-from "device.description" --sink-nickname "alsa_output.pci-0000_00_1b.0.analog-stereo: ﰝ Speakers" --sink-nickname "alsa_output.pci-0000_09_00.3.analog-stereo: Headphones" --sink-nickname "alsa_output.pci-0000_07_00.1.hdmi-stereo: HDMI" listen +click-right = exec pavucontrol & +click-left = pulseaudio-control togmute +click-middle = pulseaudio-control --sink-blacklist "alsa_output.pci-0000_01_00.1.hdmi-stereo-extra2" next-sink +scroll-up = pulseaudio-control --volume-max 130 up +scroll-down = pulseaudio-control --volume-max 130 down + +[module/polywins] +type = custom/script +exec = ~/.config/polybar/scripts/polywins.sh 2>/dev/null +format =