commit 9b154e1ba66b1b76903037c533a106dc8a5997b4 Author: TolaMironcenko Date: Sat Apr 27 19:49:08 2024 +0700 initial commit diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml new file mode 100644 index 0000000..7b21161 --- /dev/null +++ b/alacritty/alacritty.toml @@ -0,0 +1,39 @@ +[colors.cursor] +cursor = "CellForeground" +text = "CellBackground" + +[colors.primary] +background = "#000000" +foreground = "#ffffff" + +[cursor.style] +blinking = "Off" +shape = "Beam" + +[env] +TERM = "alacritty" + +[font] +size = 11.0 + +[font.bold] +family = "JetBrains Mono" + +[font.bold_italic] +family = "JetBrains Mono" + +[font.italic] +family = "JetBrains Mono" + +[font.normal] +family = "JetBrains Mono" + +[scrolling] +history = 10000 + +[window] +opacity = 0.7 + +[window.padding] +x = 5 +y = 5 diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml new file mode 100644 index 0000000..fbed89f --- /dev/null +++ b/alacritty/alacritty.yml @@ -0,0 +1,914 @@ +# Configuration for Alacritty, the GPU enhanced terminal emulator. + +# Import additional configuration files +# +# Imports are loaded in order, skipping all missing files, with the importing +# file being loaded last. If a field is already present in a previous import, it +# will be replaced. +# +# All imports must either be absolute paths starting with `/`, or paths relative +# to the user's home directory starting with `~/`. +#import: +# - /path/to/alacritty.yml + +# Any items in the `env` entry below will be added as +# environment variables. Some entries may override variables +# set by alacritty itself. +env: + # TERM variable + # + # This value is used to set the `$TERM` environment variable for + # each instance of Alacritty. If it is not present, alacritty will + # check the local terminfo database and use `alacritty` if it is + # available, otherwise `xterm-256color` is used. + TERM: alacritty + +window: + # Window dimensions (changes require restart) + # + # Number of lines/columns (not pixels) in the terminal. Both lines and columns + # must be non-zero for this to take effect. The number of columns must be at + # least `2`, while using a value of `0` for columns and lines will fall back + # to the window manager's recommended size + #dimensions: + # columns: 0 + # lines: 0 + + # Window position (changes require restart) + # + # Specified in number of pixels. + # If the position is not set, the window manager will handle the placement. + #position: + # x: 0 + # y: 0 + + # Window padding (changes require restart) + # + # Blank space added around the window in pixels. This padding is scaled + # by DPI and the specified value is always added at both opposing sides. + padding: + x: 5 + y: 5 + + # Spread additional padding evenly around the terminal content. + #dynamic_padding: false + + # Window decorations + # + # Values for `decorations`: + # - full: Borders and title bar + # - none: Neither borders nor title bar + # + # Values for `decorations` (macOS only): + # - transparent: Title bar, transparent background and title bar buttons + # - buttonless: Title bar, transparent background and no title bar buttons + #decorations: full + + # Background opacity + # + # Window opacity as a floating point number from `0.0` to `1.0`. + # The value `0.0` is completely transparent and `1.0` is opaque. + opacity: 0.7 + + # 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 + + # Decorations theme variant + # + # Override the variant of the System theme/GTK theme/Wayland client side + # decorations. Commonly supported values are `Dark`, `Light`, and `None` for + # auto pick-up. Set this to `None` to use the default theme variant. + #decorations_theme_variant: None + + # Resize increments + # + # Prefer resizing window by discrete steps equal to cell dimensions. + #resize_increments: false + + # Make `Option` key behave as `Alt` (macOS only): + # - OnlyLeft + # - OnlyRight + # - Both + # - None (default) + #option_as_alt: None + +scrolling: + history: 10000 + # 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: "JetBrains 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: JetBrains 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: JetBrains 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: JetBrains Mono + + # 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 + + # Use built-in font for box drawing characters. + # + # If `true`, Alacritty will use a custom built-in font for box drawing + # characters (Unicode points 2500 - 259f). + # + #builtin_box_drawing: true + +# If `true`, bold text is drawn using the bright color variants. +#draw_bold_text_with_bright_colors: false + +# Colors (Tomorrow Night) +colors: + # Default colors + primary: + background: '#000000' + foreground: '#ffffff' + + # Bright and dim foreground colors + # + # The dimmed foreground color is calculated automatically if it is not + # present. If the bright foreground color is not set, or + # `draw_bold_text_with_bright_colors` is `false`, the normal foreground + # color will be used. + #dim_foreground: '#828482' + #bright_foreground: '#eaeaea' + + # Cursor colors + # + # Colors which should be used to draw the terminal cursor. + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + cursor: + text: CellBackground + cursor: CellForeground + + # Vi mode cursor colors + # + # Colors for the cursor when the vi mode is active. + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #vi_mode_cursor: + # text: CellBackground + # cursor: CellForeground + + # Search colors + # + # Colors used for the search bar and match highlighting. + #search: + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #matches: + # foreground: '#000000' + # background: '#ffffff' + #focused_match: + # foreground: '#ffffff' + # background: '#000000' + + # Keyboard hints + #hints: + # First character in the hint label + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #start: + # foreground: '#1d1f21' + # background: '#e9ff5e' + + # All characters after the first one in the hint label + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #end: + # foreground: '#e9ff5e' + # background: '#1d1f21' + + # Line indicator + # + # Color used for the indicator displaying the position in history during + # search and vi mode. + # + # By default, these will use the opposing primary color. + #line_indicator: + # foreground: None + # background: None + + # Footer bar + # + # Color used for the footer bar on the bottom, used by search regex input, + # hyperlink URI preview, etc. + # + #footer_bar: + # background: '#c5c8c6' + # foreground: '#1d1f21' + + # Selection colors + # + # Colors which should be used to draw the selection area. + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #selection: + # text: CellBackground + # background: CellForeground + + # Normal colors + #normal: + # black: '#1d1f21' + # red: '#cc6666' + # green: '#b5bd68' + # yellow: '#f0c674' + # blue: '#81a2be' + # magenta: '#b294bb' + # cyan: '#8abeb7' + # white: '#c5c8c6' + + # Bright colors + #bright: + # black: '#666666' + # red: '#d54e53' + # green: '#b9ca4a' + # yellow: '#e7c547' + # blue: '#7aa6da' + # magenta: '#c397d8' + # cyan: '#70c0b1' + # white: '#eaeaea' + + # Dim colors + # + # If the dim colors are not set, they will be calculated automatically based + # on the `normal` colors. + #dim: + # black: '#131415' + # red: '#864343' + # green: '#777c44' + # yellow: '#9e824c' + # blue: '#556a7d' + # magenta: '#75617b' + # cyan: '#5b7d78' + # white: '#828482' + + # Indexed Colors + # + # The indexed colors include all colors from 16 to 256. + # When these are not set, they're filled with sensible defaults. + # + # Example: + # `- { index: 16, color: '#ff00ff' }` + # + #indexed_colors: [] + + # Transparent cell backgrounds + # + # Whether or not `window.opacity` applies to all cell backgrounds or only to + # the default background. When set to `true` all cells will be transparent + # regardless of their background color. + #transparent_background_colors: false + +# Bell +# +# The bell is rung every time the BEL control character is received. +#bell: + # Visual Bell Animation + # + # Animation effect for flashing the screen when the visual bell is rung. + # + # Values for `animation`: + # - Ease + # - EaseOut + # - EaseOutSine + # - EaseOutQuad + # - EaseOutCubic + # - EaseOutQuart + # - EaseOutQuint + # - EaseOutExpo + # - EaseOutCirc + # - Linear + #animation: EaseOutExpo + + # Duration of the visual bell flash in milliseconds. A `duration` of `0` will + # disable the visual bell animation. + #duration: 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: Beam + + # 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 + + # Time after which cursor stops blinking, in seconds. + # + # Specifying '0' will disable timeout for blinking. + #blink_timeout: 5 + + # If this is `true`, the cursor will be rendered as a hollow box when the + # window is not focused. + #unfocused_hollow: true + + # Thickness of the cursor relative to the cell width as floating point number + # from `0.0` to `1.0`. + #thickness: 0.15 + +# Live config reload (changes require restart) +#live_config_reload: true + +# Shell +# +# You can set `shell.program` to the path of your favorite shell, e.g. +# `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the +# shell. +# +# Default: +# - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset +# - (Windows) powershell +#shell: +# program: /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 + +# 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 + +# Hints +# +# Terminal hints can be used to find text or hyperlink in the visible part of +# the terminal and pipe it to other applications. +#hints: + # Keys used for the hint labels. + #alphabet: "jfkdls;ahgurieowpq" + + # List with all available hints + # + # Each hint must have any of `regex` or `hyperlinks` field and either an + # `action` or a `command` field. The fields `mouse`, `binding` and + # `post_processing` are optional. + # + # The `hyperlinks` option will cause OSC 8 escape sequence hyperlinks to be + # highlighted. + # + # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and + # `mouse.mods` accept the same values as they do in the `key_bindings` section. + # + # The `mouse.enabled` field controls if the hint should be underlined while + # the mouse with all `mouse.mods` keys held or the vi mode cursor is above it. + # + # If the `post_processing` field is set to `true`, heuristics will be used to + # shorten the match if there are characters likely not to be part of the hint + # (e.g. a trailing `.`). This is most useful for URIs and applies only to + # `regex` matches. + # + # 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{-}\\^⟨⟩`]+" + # hyperlinks: true + # command: xdg-open + # post_processing: true + # mouse: + # enabled: true + # mods: None + # binding: + # key: U + # mods: Control|Shift + +# Mouse bindings +# +# Mouse bindings are specified as a list of objects, much like the key +# bindings further below. +# +# To trigger mouse bindings when an application running within Alacritty +# captures the mouse, the `Shift` modifier is automatically added as a +# requirement. +# +# Each mouse binding will specify a: +# +# - `mouse`: +# +# - Middle +# - Left +# - Right +# - Numeric identifier such as `5` +# +# - `action` (see key bindings for actions not exclusive to mouse mode) +# +# - Mouse exclusive actions: +# +# - ExpandSelection +# Expand the selection to the current mouse cursor location. +# +# And optionally: +# +# - `mods` (see key bindings) +#mouse_bindings: +# - { mouse: Right, action: ExpandSelection } +# - { mouse: Right, mods: Control, action: ExpandSelection } +# - { mouse: Middle, mode: ~Vi, action: PasteSelection } + +# Key bindings +# +# Key bindings are specified as a list of objects. For example, this is the +# default paste binding: +# +# `- { key: V, mods: Control|Shift, action: Paste }` +# +# Each key binding will specify a: +# +# - `key`: Identifier of the key pressed +# +# - A-Z +# - F1-F24 +# - Key0-Key9 +# +# A full list with available key codes can be found here: +# https://docs.rs/winit/*/winit/event/enum.VirtualKeyCode.html#variants +# +# Instead of using the name of the keys, the `key` field also supports using +# the scancode of the desired key. Scancodes have to be specified as a +# decimal number. This command will allow you to display the hex scancodes +# for certain keys: +# +# `showkey --scancodes`. +# +# Then exactly one of: +# +# - `chars`: Send a byte sequence to the running application +# +# The `chars` field writes the specified string to the terminal. This makes +# it possible to pass escape sequences. To find escape codes for bindings +# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside +# of tmux. Note that applications use terminfo to map escape sequences back +# to keys. It is therefore required to update the terminfo when changing an +# escape sequence. +# +# - `action`: Execute a predefined action +# +# - ToggleViMode +# - SearchForward +# Start searching toward the right of the search origin. +# - SearchBackward +# Start searching toward the left of the search origin. +# - Copy +# - Paste +# - IncreaseFontSize +# - DecreaseFontSize +# - ResetFontSize +# - ScrollPageUp +# - ScrollPageDown +# - ScrollHalfPageUp +# - ScrollHalfPageDown +# - ScrollLineUp +# - ScrollLineDown +# - ScrollToTop +# - ScrollToBottom +# - ClearHistory +# Remove the terminal's scrollback history. +# - Hide +# Hide the Alacritty window. +# - Minimize +# Minimize the Alacritty window. +# - Quit +# Quit Alacritty. +# - ToggleFullscreen +# - ToggleMaximized +# - SpawnNewInstance +# Spawn a new instance of Alacritty. +# - CreateNewWindow +# Create a new Alacritty window from the current process. +# - ClearLogNotice +# Clear Alacritty's UI warning and error notice. +# - ClearSelection +# Remove the active selection. +# - ReceiveChar +# - None +# +# - Vi mode exclusive actions: +# +# - Open +# Perform the action of the first matching hint under the vi mode cursor +# with `mouse.enabled` set to `true`. +# - ToggleNormalSelection +# - ToggleLineSelection +# - ToggleBlockSelection +# - ToggleSemanticSelection +# Toggle semantic selection based on `selection.semantic_escape_chars`. +# - CenterAroundViCursor +# Center view around vi mode cursor +# +# - Vi mode exclusive cursor motion actions: +# +# - Up +# One line up. +# - Down +# One line down. +# - Left +# One character left. +# - Right +# One character right. +# - First +# First column, or beginning of the line when already at the first column. +# - Last +# Last column, or beginning of the line when already at the last column. +# - FirstOccupied +# First non-empty cell in this terminal row, or first non-empty cell of +# the line when already at the first cell of the row. +# - High +# Top of the screen. +# - Middle +# Center of the screen. +# - Low +# Bottom of the screen. +# - SemanticLeft +# Start of the previous semantically separated word. +# - SemanticRight +# Start of the next semantically separated word. +# - SemanticLeftEnd +# End of the previous semantically separated word. +# - SemanticRightEnd +# End of the next semantically separated word. +# - WordLeft +# Start of the previous whitespace separated word. +# - WordRight +# Start of the next whitespace separated word. +# - WordLeftEnd +# End of the previous whitespace separated word. +# - WordRightEnd +# End of the next whitespace separated word. +# - Bracket +# Character matching the bracket at the cursor's location. +# - SearchNext +# Beginning of the next match. +# - SearchPrevious +# Beginning of the previous match. +# - SearchStart +# Start of the match to the left of the vi mode cursor. +# - SearchEnd +# End of the match to the right of the vi mode cursor. +# +# - Search mode exclusive actions: +# - SearchFocusNext +# Move the focus to the next search match. +# - SearchFocusPrevious +# Move the focus to the previous search match. +# - SearchConfirm +# - SearchCancel +# - SearchClear +# Reset the search regex. +# - SearchDeleteWord +# Delete the last word in the search regex. +# - SearchHistoryPrevious +# Go to the previous regex in the search history. +# - SearchHistoryNext +# Go to the next regex in the search history. +# +# - macOS exclusive actions: +# - ToggleSimpleFullscreen +# Enter fullscreen without occupying another space. +# +# - Linux/BSD exclusive actions: +# +# - CopySelection +# Copy from the selection buffer. +# - PasteSelection +# Paste from the selection buffer. +# +# - `command`: Fork and execute a specified command plus arguments +# +# The `command` field must be a map containing a `program` string and an +# `args` array of command line parameter strings. For example: +# `{ program: "alacritty", args: ["-e", "vttest"] }` +# +# And optionally: +# +# - `mods`: Key modifiers to filter binding actions +# +# - Command +# - Control +# - Option +# - Super +# - Shift +# - Alt +# +# Multiple `mods` can be combined using `|` like this: +# `mods: Control|Shift`. +# Whitespace and capitalization are relevant and must match the example. +# +# - `mode`: Indicate a binding for only specific terminal reported modes +# +# This is mainly used to send applications the correct escape sequences +# when in different modes. +# +# - AppCursor +# - AppKeypad +# - Search +# - Alt +# - Vi +# +# A `~` operator can be used before a mode to apply the binding whenever +# the mode is *not* active, e.g. `~Alt`. +# +# Bindings are always filled by default, but will be replaced when a new +# binding with the same triggers is defined. To unset a default binding, it can +# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for +# a no-op if you do not wish to receive input characters for that binding. +# +# If the same trigger is assigned to multiple actions, all of them are executed +# in the order they were defined in. +#key_bindings: + #- { key: Paste, action: Paste } + #- { key: Copy, action: Copy } + #- { key: L, mods: Control, action: ClearLogNotice } + #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } + #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp } + #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown } + #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop } + #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom } + + # Vi Mode + #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } + #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom } + #- { key: Escape, mode: Vi|~Search, action: ClearSelection } + #- { key: I, mode: Vi|~Search, action: ToggleViMode } + #- { key: I, mode: Vi|~Search, action: ScrollToBottom } + #- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode } + #- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp } + #- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown } + #- { key: G, mode: Vi|~Search, action: ScrollToTop } + #- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom } + #- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp } + #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } + #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } + #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } + #- { key: Y, mode: Vi|~Search, action: Copy } + #- { key: Y, mode: Vi|~Search, action: ClearSelection } + #- { key: Copy, mode: Vi|~Search, action: ClearSelection } + #- { key: V, mode: Vi|~Search, action: ToggleNormalSelection } + #- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection } + #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } + #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } + #- { key: Return, mode: Vi|~Search, action: Open } + #- { key: Z, mode: Vi|~Search, action: CenterAroundViCursor } + #- { key: K, mode: Vi|~Search, action: Up } + #- { key: J, mode: Vi|~Search, action: Down } + #- { key: H, mode: Vi|~Search, action: Left } + #- { key: L, mode: Vi|~Search, action: Right } + #- { key: Up, mode: Vi|~Search, action: Up } + #- { key: Down, mode: Vi|~Search, action: Down } + #- { key: Left, mode: Vi|~Search, action: Left } + #- { key: Right, mode: Vi|~Search, action: Right } + #- { key: Key0, mode: Vi|~Search, action: First } + #- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last } + #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied } + #- { key: H, mods: Shift, mode: Vi|~Search, action: High } + #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } + #- { key: L, mods: Shift, mode: Vi|~Search, action: Low } + #- { key: B, mode: Vi|~Search, action: SemanticLeft } + #- { key: W, mode: Vi|~Search, action: SemanticRight } + #- { key: E, mode: Vi|~Search, action: SemanticRightEnd } + #- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft } + #- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight } + #- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd } + #- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket } + #- { key: Slash, mode: Vi|~Search, action: SearchForward } + #- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward } + #- { key: N, mode: Vi|~Search, action: SearchNext } + #- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious } + + # Search Mode + #- { key: Return, mode: Search|Vi, action: SearchConfirm } + #- { key: Escape, mode: Search, action: SearchCancel } + #- { key: C, mods: Control, mode: Search, action: SearchCancel } + #- { key: U, mods: Control, mode: Search, action: SearchClear } + #- { key: W, mods: Control, mode: Search, action: SearchDeleteWord } + #- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious } + #- { key: N, mods: Control, mode: Search, action: SearchHistoryNext } + #- { key: Up, mode: Search, action: SearchHistoryPrevious } + #- { key: Down, mode: Search, action: SearchHistoryNext } + #- { key: Return, mode: Search|~Vi, action: SearchFocusNext } + #- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious } + + # (Windows, 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: CreateNewWindow } + #- { key: F, mods: Command|Control, action: ToggleFullscreen } + #- { key: F, mods: Command, mode: ~Search, action: SearchForward } + #- { key: B, mods: Command, mode: ~Search, action: SearchBackward } + +#debug: + # Display the time it takes to redraw each frame. + #render_timer: false + + # Keep the log file after quitting Alacritty. + #persistent_logging: false + + # Log level + # + # Values for `log_level`: + # - Off + # - Error + # - Warn + # - Info + # - Debug + # - Trace + #log_level: Warn + + # Renderer override. + # - glsl3 + # - gles2 + # - gles2_pure + #renderer: None + + # Print all received window events. + #print_events: false + + # Highlight window damage information. + #highlight_damage: false diff --git a/aur-packages-query b/aur-packages-query new file mode 100644 index 0000000..4e8164d --- /dev/null +++ b/aur-packages-query @@ -0,0 +1,37 @@ +arm-linux-gnueabihf-gcc13-linaro-bin +b43-firmware +bibata-cursor-theme +cava +dmg2img +docker-desktop +extundelete +fet.sh-git +google-chrome +hyprpicker +idevicerestore +insomnia-bin +libirecovery +mpvpaper +nerd-fonts-inter +nvm +package-query +pacseek +paru +paru-debug +pfetch +pulseaudio-control +ramfetch-git +rofi-greenclip +spacefm +swift-bin +swww +termius +tofi +trizen +visual-studio-code-bin +wl-color-picker +wlogout +xf86-video-openchrome +yaourt +yaru-gtk-theme +youtube-dl diff --git a/background-swww.sh b/background-swww.sh new file mode 100755 index 0000000..6b810b6 --- /dev/null +++ b/background-swww.sh @@ -0,0 +1,22 @@ +#!/bin/sh +directory=~/Pictures/hyprpaper +monitors=`hyprctl monitors | grep Monitor | awk '{print $2}'` + +while [ true ]; do + if [ -d "$directory" ]; then + for monitor in $monitors; do + random_background=$(ls $directory/* | shuf -n 1) + + extention="${random_background##*.}" + echo $extention + if [[ "$extention" == "jpg" ]]; then + swww img -o $monitor $random_background --transition-type random + elif [[ "$extention" == "mp4" ]]; then + mpvpaper $monitor $random_background + fi + done + fi + sleep 30 +done + +#swww img -o VGA-1 /home/tola/Pictures/hyprpaper/calder-moore-aliencrack-01-copy.jpg --transition-type wipe diff --git a/background.sh b/background.sh new file mode 100755 index 0000000..c5067fe --- /dev/null +++ b/background.sh @@ -0,0 +1,19 @@ +#!/bin/sh +directory=~/Pictures/hyprpaper/images +monitors=`hyprctl monitors | grep Monitor | awk '{print $2}'` + +echo $(ls $directory/*) + +while [ true ]; do + if [ -d "$directory" ]; then + for monitor in $monitors; do + random_background=$(ls $directory/* | shuf -n 1) + + hyprctl hyprpaper unload all + hyprctl hyprpaper preload $random_background + hyprctl hyprpaper wallpaper "$monitor, $random_background" + done + fi + sleep 60 +done + diff --git a/cava/config b/cava/config new file mode 100644 index 0000000..3c7f202 --- /dev/null +++ b/cava/config @@ -0,0 +1,233 @@ +## Configuration file for CAVA. +# Remove the ; to change parameters. + + +[general] + +# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0 +; mode = normal + +# Accepts only non-negative values. +; framerate = 60 + +# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off +# new as of 0.6.0 autosens of low values (dynamic range) +# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0 +; autosens = 1 +; overshoot = 20 + +# Manual sensitivity in %. If autosens is enabled, this will only be the initial value. +# 200 means double height. Accepts only non-negative values. +; sensitivity = 100 + +# The number of bars (0-512). 0 sets it to auto (fill up console). +# Bars' width and space between bars in number of characters. +; bars = 0 +; bar_width = 2 +; bar_spacing = 1 +# bar_height is only used for output in "noritake" format +; bar_height = 32 + +# For SDL width and space between bars is in pixels, defaults are: +; bar_width = 20 +; bar_spacing = 5 + +# sdl_glsl have these default values, they are only used to calulate max number of bars. +; bar_width = 1 +; bar_spacing = 0 + + +# Lower and higher cutoff frequencies for lowest and highest bars +# the bandwidth of the visualizer. +# Note: there is a minimum total bandwidth of 43Mhz x number of bars. +# Cava will automatically increase the higher cutoff if a too low band is specified. +; lower_cutoff_freq = 50 +; higher_cutoff_freq = 10000 + + +# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and +# only check for input once per second. Cava will wake up once input is detected. 0 = disable. +; sleep_timer = 0 + + +[input] + +# Audio capturing method. Possible methods are: 'pulse', 'alsa', 'fifo', 'sndio' or 'shmem' +# Defaults to 'pulse', 'pipewire', 'alsa' or 'fifo', in that order, dependent on what support cava was built with. +# On Mac it defaults to 'portaudio' or 'fifo' +# On windows this is automatic and no input settings are needed. +# +# All input methods uses the same config variable 'source' +# to define where it should get the audio. +# +# For pulseaudio and pipewire 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink +# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them). +# +# For piepwire 'source' will be the object name or object.serial of the device to capture from. +# Both input and output devices are supported. +# +# For alsa 'source' will be the capture device. +# For fifo 'source' will be the path to fifo-file. +# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address +; method = pulse +; source = auto + +; method = pipewire +; source = auto + +; method = alsa +; source = hw:Loopback,1 + +; method = fifo +; source = /tmp/mpd.fifo +; sample_rate = 44100 +; sample_bits = 16 + +; method = shmem +; source = /squeezelite-AA:BB:CC:DD:EE:FF + +; method = portaudio +; source = auto + + +[output] + +# Output method. Can be 'ncurses', 'noncurses', 'raw', 'noritake', 'sdl' +# or 'sdl_glsl'. +# 'noncurses' uses a custom framebuffer technique and prints only changes +# from frame to frame in the terminal. 'ncurses' is default if supported. +# +# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data +# stream of the bar heights that can be used to send to other applications. +# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above. +# +# 'noritake' outputs a bitmap in the format expected by a Noritake VFD display +# in graphic mode. It only support the 3000 series graphical VFDs for now. +# +# 'sdl' uses the Simple DirectMedia Layer to render in a graphical context. +# 'sdl_glsl' uses SDL to create an OpenGL context. Write your own shaders or +# use one of the predefined ones. +method = ncurses + +# Orientation of the visualization. Can be 'bottom', 'top', 'left' or 'right'. +# Default is 'bottom'. Other orientations are only supported on sdl and ncruses +# output. Note: many fonts have weird glyphs for 'top' and 'right' characters, +# which can make ncurses not look right. +; orientation = bottom + +# Visual channels. Can be 'stereo' or 'mono'. +# 'stereo' mirrors both channels with low frequencies in center. +# 'mono' outputs left to right lowest to highest frequencies. +# 'mono_option' set mono to either take input from 'left', 'right' or 'average'. +# set 'reverse' to 1 to display frequencies the other way around. +; channels = stereo +; mono_option = average +; reverse = 0 + +# Raw output target. A fifo will be created if target does not exist. +; raw_target = /dev/stdout + +# Raw data format. Can be 'binary' or 'ascii'. +; data_format = binary + +# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530). +; bit_format = 16bit + +# Ascii max value. In 'ascii' mode range will run from 0 to value specified here +; ascii_max_range = 1000 + +# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters. +# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)). +; bar_delimiter = 59 +; frame_delimiter = 10 + +# sdl window size and position. -1,-1 is centered. +; sdl_width = 1000 +; sdl_height = 500 +; sdl_x = -1 +; sdl_y= -1 + +# set label on bars on the x-axis. Can be 'frequency' or 'none'. Default: 'none' +# 'frequency' displays the lower cut off frequency of the bar above. +# Only supported on ncurses and noncurses output. +; xaxis = none + +# enable alacritty synchronized updates. 1 = on, 0 = off +# removes flickering in alacritty terminal emulator. +# defaults to off since the behaviour in other terminal emulators is unknown +; alacritty_sync = 0 + +# Shaders for sdl_glsl, located in $HOME/.config/cava/shaders +; vertex_shader = pass_through.vert +; fragment_shader = bar_spectrum.frag + +; for glsl output mode, keep rendering even if no audio +; continuous_rendering = 0 + +[color] + +# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow. +# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires +# a terminal that can change color definitions such as Gnome-terminal or rxvt. +# default is to keep current terminal color +#; background = default +#; foreground = default + +# SDL and sdl_glsl only support hex code colors, these are the default: +;background = '#000000' +;foreground = '#333333' + + +# Gradient mode, only hex defined colors are supported, +# background must also be defined in hex or remain commented out. 1 = on, 0 = off. +# You can define as many as 8 different colors. They range from bottom to top of screen +gradient = 1 +gradient_count = 8 +gradient_color_1 = '#59cc33' +gradient_color_2 = '#80cc33' +gradient_color_3 = '#a6cc33' +gradient_color_4 = '#cccc33' +gradient_color_5 = '#cca633' +gradient_color_6 = '#cc8033' +gradient_color_7 = '#cc5933' +gradient_color_8 = '#cc3333' + + + +[smoothing] + +# Percentage value for integral smoothing. Takes values from 0 - 100. +# Higher values means smoother, but less precise. 0 to disable. +# DEPRECATED as of 0.8.0, use noise_reduction instead +; integral = 77 + +# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable. +; monstercat = 0 +; waves = 0 + +# Set gravity percentage for "drop off". Higher values means bars will drop faster. +# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off". +# DEPRECATED as of 0.8.0, use noise_reduction instead +; gravity = 100 + + +# In bar height, bars that would have been lower that this will not be drawn. +# DEPRECATED as of 0.8.0 +; ignore = 0 + +# Noise reduction, int 0 - 100. default 77 +# the raw visualization is very noisy, this factor adjusts the integral and gravity filters to keep the signal smooth +# 100 will be very slow and smooth, 0 will be fast but noisy. +; noise_reduction = 77 + + +[eq] + +# This one is tricky. You can have as much keys as you want. +# Remember to uncomment more than one key! More keys = more precision. +# Look at readme.md on github for further explanations and examples. +; 1 = 1 # bass +; 2 = 1 +; 3 = 1 # midtone +; 4 = 1 +; 5 = 1 # treble diff --git a/cava/shaders/bar_spectrum.frag b/cava/shaders/bar_spectrum.frag new file mode 100644 index 0000000..b078913 --- /dev/null +++ b/cava/shaders/bar_spectrum.frag @@ -0,0 +1,79 @@ +#version 330 + +in vec2 fragCoord; +out vec4 fragColor; + +// bar values. defaults to left channels first (low to high), then right (high to low). +uniform float bars[512]; + +uniform int bars_count; // number of bars (left + right) (configurable) +uniform int bar_width; // bar width (configurable), not used here +uniform int bar_spacing; // space bewteen bars (configurable) + +uniform vec3 u_resolution; // window resolution + +//colors, configurable in cava config file (r,g,b) (0.0 - 1.0) +uniform vec3 bg_color; // background color +uniform vec3 fg_color; // foreground color + +uniform int gradient_count; +uniform vec3 gradient_colors[8]; // gradient colors + +vec3 normalize_C(float y,vec3 col_1, vec3 col_2, float y_min, float y_max) +{ + //create color based on fraction of this color and next color + float yr = (y - y_min) / (y_max - y_min); + return col_1 * (1.0 - yr) + col_2 * yr; +} + +void main() +{ + // find which bar to use based on where we are on the x axis + float x = u_resolution.x * fragCoord.x; + int bar = int(bars_count * fragCoord.x); + + //calculate a bar size + float bar_size = u_resolution.x / bars_count; + + //the y coordinate and bar values are the same + float y = bars[bar]; + + // make sure there is a thin line at bottom + if (y * u_resolution.y < 1.0) + { + y = 1.0 / u_resolution.y; + } + + //draw the bar up to current height + if (y > fragCoord.y) + { + //make some space between bars basen on settings + if (x > (bar + 1) * (bar_size) - bar_spacing) + { + fragColor = vec4(bg_color,1.0); + } + else + { + if (gradient_count == 0) + { + fragColor = vec4(fg_color,1.0); + } + else + { + //find which color in the configured gradient we are at + int color = int((gradient_count - 1) * fragCoord.y); + + //find where on y this and next color is supposed to be + float y_min = color / (gradient_count - 1.0); + float y_max = (color + 1.0) / (gradient_count - 1.0); + + //make color + fragColor = vec4(normalize_C(fragCoord.y, gradient_colors[color], gradient_colors[color + 1], y_min, y_max), 1.0); + } + } + } + else + { + fragColor = vec4(bg_color,1.0); + } +} \ No newline at end of file diff --git a/cava/shaders/northern_lights.frag b/cava/shaders/northern_lights.frag new file mode 100644 index 0000000..ecd859a --- /dev/null +++ b/cava/shaders/northern_lights.frag @@ -0,0 +1,34 @@ +#version 330 + +in vec2 fragCoord; +out vec4 fragColor; + +// bar values. defaults to left channels first (low to high), then right (high to low). +uniform float bars[512]; + +uniform int bars_count; // number of bars (left + right) (configurable) + +uniform vec3 u_resolution; // window resolution, not used here + +//colors, configurable in cava config file +uniform vec3 bg_color; // background color(r,g,b) (0.0 - 1.0), not used here +uniform vec3 fg_color; // foreground color, not used here + +void main() +{ + // find which bar to use based on where we are on the x axis + int bar = int(bars_count * fragCoord.x); + + float bar_y = 1.0 - abs((fragCoord.y - 0.5)) * 2.0; + float y = (bars[bar]) * bar_y; + + float bar_x = (fragCoord.x - float(bar) / float(bars_count)) * bars_count; + float bar_r = 1.0 - abs((bar_x - 0.5)) * 2; + + bar_r = bar_r * bar_r * 2; + + // set color + fragColor.r = fg_color.x * y * bar_r; + fragColor.g = fg_color.y * y * bar_r; + fragColor.b = fg_color.z * y * bar_r; +} diff --git a/cava/shaders/pass_through.vert b/cava/shaders/pass_through.vert new file mode 100644 index 0000000..a4f20e5 --- /dev/null +++ b/cava/shaders/pass_through.vert @@ -0,0 +1,14 @@ +#version 330 + + +// Input vertex data, different for all executions of this shader. +layout(location = 0) in vec3 vertexPosition_modelspace; + +// Output data ; will be interpolated for each fragment. +out vec2 fragCoord; + +void main() +{ + gl_Position = vec4(vertexPosition_modelspace,1); + fragCoord = (vertexPosition_modelspace.xy+vec2(1,1))/2.0; +} diff --git a/diskspeedtest b/diskspeedtest new file mode 100755 index 0000000..27f7c15 --- /dev/null +++ b/diskspeedtest @@ -0,0 +1,6 @@ +#!/bin/sh + +HD=$1 + +sudo hdparm -Tt $HD + diff --git a/gitconfig b/gitconfig new file mode 100644 index 0000000..668a411 --- /dev/null +++ b/gitconfig @@ -0,0 +1,3 @@ +[user] + name = TolaMironcenko + email = mironcenkotola@gmail.com diff --git a/greenclip.toml b/greenclip.toml new file mode 100644 index 0000000..a2f324b --- /dev/null +++ b/greenclip.toml @@ -0,0 +1,11 @@ + +[greenclip] + blacklisted_applications = [] + enable_image_support = true + history_file = "/home/tola/.cache/greenclip.history" + image_cache_directory = "/tmp/greenclip" + max_history_length = 50 + max_selection_size_bytes = 0 + static_history = ["Greenclip has been updated to v4.1, update your new config file at ~/.config/greenclip.toml"] + trim_space_from_selection = true + use_primary_selection_as_input = false diff --git a/hypr/animation.conf b/hypr/animation.conf new file mode 100644 index 0000000..8b32c78 --- /dev/null +++ b/hypr/animation.conf @@ -0,0 +1,9 @@ +animations { + enabled = true + animation = windows, 1, 2, default + animation = windowsOut, 1, 2, default, popin 80% + animation = border, 1, 2, default + animation = borderangle, 1, 2, default + animation = fade, 1, 2, default + animation = workspaces, 1, 4, default,slidefade 20% +} diff --git a/hypr/decoration.conf b/hypr/decoration.conf new file mode 100644 index 0000000..c7133ef --- /dev/null +++ b/hypr/decoration.conf @@ -0,0 +1,17 @@ +decoration { + rounding = 10 + + blur { + enabled = true + size = 3 + passes = 1 + + vibrancy = 0.1696 + } + + drop_shadow = true + shadow_range = 4 + shadow_render_power = 3 + col.shadow = rgba(1a1a1aee) +} + diff --git a/hypr/environment.conf b/hypr/environment.conf new file mode 100644 index 0000000..f943bbf --- /dev/null +++ b/hypr/environment.conf @@ -0,0 +1,8 @@ +#------------- default env vars ----------------------------------------------- +env = XCURSOR_SIZE,24 +env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that +env = GTK_THEME,Adwaita-dark +env = HYPRCURSOR_THEME,Bibata-Modern-Ice +env = HYPRCURSOR_SIZE,24 +#------------------------------------------------------------------------------ + diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf new file mode 100644 index 0000000..71801aa --- /dev/null +++ b/hypr/hyprland.conf @@ -0,0 +1,50 @@ +# Hypland config created by Anatoly Mironcenko + +source=~/.config/hypr/programs.conf +source=~/.config/hypr/keybinds.conf +source=~/.config/hypr/windowrules.conf +source=~/.config/hypr/startup.conf + +source=~/dotfiles/hypr/monitors.conf + +source=~/dotfiles/hypr/environment.conf + +source=~/dotfiles/hypr/keyboard.conf +#----------------------- system config --------------------------------- + +general { + gaps_in = 5 + gaps_out = 5 + border_size = 1 + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg + col.inactive_border = rgba(595959aa) + + layout = dwindle + + allow_tearing = false +} + +source=~/dotfiles/hypr/decoration.conf + +source=~/dotfiles/hypr/animation.conf + +dwindle { + pseudotile = false + preserve_split = true # you probably want this +} + +master { + new_is_master = true +} + +gestures { + workspace_swipe = false +} + +misc { + force_default_wallpaper = -1 # Set to 0 to disable the anime mascot wallpapers +} + +#device:epic-mouse-v1 { +# sensitivity = -0.5 +#} diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf new file mode 100644 index 0000000..e922fa0 --- /dev/null +++ b/hypr/hyprlock.conf @@ -0,0 +1,59 @@ +hyprlock.conf +------------------------------------------------------ +# HyprLock +# ........ + +background { + monitor = + path = /home/tola/Pictures/hyprpaper/images/beautiful-nature-landscape-with-mountains-lake.png # only *.png supported for now + color = rgba(25, 20, 20, 1.0) + blur_passes = 4 # 0 disables blurring + blur_size = 2 + noise = 0.0117 + contrast = 0.8916 + brightness = 0.8172 + vibrancy = 0.1696 + vibrancy_darkness = 0.0 +} + +input-field { + monitor = + size = 200, 50 + outline_thickness = 1 + dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + outer_color = rgb(000000) + inner_color = rgb(200, 200, 200) + fade_on_empty = false + font_color = rgb(000000) + color = rgb(000000) + placeholder_text = Input Password... # Text rendered in the input box when it's empty. + hide_input = false + position = 0, -50 + halign = center + valign = center +} + +label { + monitor = + text = cmd[update:1000] echo "$(date +"%X")" + color = rgba(200, 200, 200, 1.0) + font_size = 60 + font_family = Noto Sans + position = 0, 150 + halign = center + valign = center +} + +label { + monitor = + text = cmd[update:1000] echo "$(date +"%A %d %B %Y")" + color = rgba(200, 200, 200, 1.0) + font_size = 18 + font_family = Noto Sans + position = 0, 100 + halign = center + valign = center +} +----------------------------------------------------- diff --git a/hypr/keybinds.conf b/hypr/keybinds.conf new file mode 100644 index 0000000..0df1421 --- /dev/null +++ b/hypr/keybinds.conf @@ -0,0 +1,88 @@ +#-------------------------- keybinds ------------------------------ + +$mainMod = ALT + +bind = $mainMod, Return, exec, $terminal +bind = $mainMod, Q, killactive, +bind = $mainMod SHIFT, M, exit, +bind = $mainMod, T, exec, $fileManager +bind = $mainMod, V, togglefloating, +bind = $mainMod, D, exec, $menu +bind = $mainMod, J, togglesplit, # dwindle +bind = $mainMod, F, fullscreen, +bind = $mainMod, B, exec, $locker +bind = $mainMod, G, exec, $browser +bind = $mainMod, A, exec, telegram-desktop +bind = $mainMod, P, exec, $dashboard +bind = $mainMod SHIFT, C, exec, grim -g "$(slurp -d)" - | wl-copy +bind = $mainMod, C, exec, $clipboard +bind = $mainMod SHIFT, P, exec, $powermenu +bind = $mainMod, I, exec, pamixer -i 10 +bind = $mainMod, minus, exec, pamixer -d 10 +bind = $mainMod SHIFT, M, exec, pamixer -t +bind = $mainMod, S, exec, spotify +bind = $mainMod, Y, exec, gnome-calculator + +bind = $mainMod SHIFT, f, exec, fuzzel +bind = $mainMod, H, exec, startapp + +bind = $mainMod, X, exec, xpad --show +bind = $mainMod SHIFT, X, exec, xpad --new + +bind = $mainMod SHIFT, B, exec, copyq show + +#----------------- Move focus ---------- +bind = $mainMod, left, movefocus, l +bind = $mainMod, right, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d +#--------------------------------------- + +#---- Move windows --------------------------- +bind = $mainMod SHIFT, lift, movewindow, l +bind = $mainMod SHIFT, right, movewindow, r +bind = $mainMod SHIFT, up, movewindow, u +bind = $mainMod SHIFT, down, movewindow, d +#--------------------------------------------- + +#--------- Switch workspaces ------------------------- +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 +#---------------------------------------------------- + +#------------- Move active window to a workspace --- +bind = $mainMod SHIFT, 1, movetoworkspace, 1 +bind = $mainMod SHIFT, 2, movetoworkspace, 2 +bind = $mainMod SHIFT, 3, movetoworkspace, 3 +bind = $mainMod SHIFT, 4, movetoworkspace, 4 +bind = $mainMod SHIFT, 5, movetoworkspace, 5 +bind = $mainMod SHIFT, 6, movetoworkspace, 6 +bind = $mainMod SHIFT, 7, movetoworkspace, 7 +bind = $mainMod SHIFT, 8, movetoworkspace, 8 +bind = $mainMod SHIFT, 9, movetoworkspace, 9 +bind = $mainMod SHIFT, 0, movetoworkspace, 10 +#-------------------------------------------------- + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 + +#------------ Move/resize windows ---------- +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow +#------------------------------------------- + +#-------------- special workspace (scratchpad) --------------- +bind = $mainMod, W, togglespecialworkspace, magic +bind = $mainMod SHIFT, W, movetoworkspace, special:magic +#------------------------------------------------------------- + +#------------------------------------------------------------------ diff --git a/hypr/keyboard.conf b/hypr/keyboard.conf new file mode 100644 index 0000000..8d34462 --- /dev/null +++ b/hypr/keyboard.conf @@ -0,0 +1,17 @@ +# --------------- keyboard ----------------------- +input { + kb_layout = us,ru + kb_variant = + kb_model = + kb_options = grp:win_space_toggle + kb_rules = + + follow_mouse = 1 + + touchpad { + natural_scroll = false + } + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. +} +# -------------------------------------------------- diff --git a/hypr/monitors.conf b/hypr/monitors.conf new file mode 100644 index 0000000..138c582 --- /dev/null +++ b/hypr/monitors.conf @@ -0,0 +1,4 @@ +#-------- monitors ------------ +monitor=,preferred,auto,auto +#------------------------------ + diff --git a/hypr/programs.conf b/hypr/programs.conf new file mode 100644 index 0000000..2c70463 --- /dev/null +++ b/hypr/programs.conf @@ -0,0 +1,9 @@ +#---------------- programs -------------------------------------- +$powermenu = ~/dotfiles/rofi/powermenu/powermenu.sh +$terminal = kitty +$fileManager = thunar +$menu = ~/dotfiles/rofi/launcher/launcher.sh +$locker = hyprlock +$browser = google-chrome-stable +$clipboard = ~/dotfiles/rofi/clipboard/clipboard.sh +#---------------------------------------------------------------- diff --git a/hypr/startup.conf b/hypr/startup.conf new file mode 100644 index 0000000..dc9bc39 --- /dev/null +++ b/hypr/startup.conf @@ -0,0 +1,16 @@ +#---------- on startup ------------------------------------------------------------ +exec-once = hyprpaper +exec-once = ~/background.sh +exec-once = waybar +#exec-once = swww init +#exec-once = ~/background-swww.sh +exec-once = lxpolkit +exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' +exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' +exec-once = gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark' +exec-once = mako +exec-once = nm-applet --indicator +exec-once = eww daemon +exec-once = xpad +exec-once = greenclip daemon +#--------------------------------------------------------------------------------- diff --git a/hypr/windowrules.conf b/hypr/windowrules.conf new file mode 100644 index 0000000..344c7a0 --- /dev/null +++ b/hypr/windowrules.conf @@ -0,0 +1,26 @@ +#------------------- windowrules -------------------------------------------------- +windowrulev2 = float, class: ^(thunar)$, title: ^(File Operation Progress)$ +windowrulev2 = float, class: ^(thunar)$, title: ^(Confirm to replace files)$ +windowrulev2 = float, class: ^(pavucontrol)$, title: ^(Volume Control)$ +windowrule = float, ^(nm-connection-editor)$ +windowrule = float, ^(GParted)$ +windowrule = opacity 0.90, sublime +windowrule = opacity 0.90, firefox +windowrule = opacity 0.80, thunar +windowrule = opacity 0.8, foot +windowrulev2 = opacity 0.80 0.80, class:^(org.telegram.desktop)$ +windowrule = float, startapp +windowrule = float, xpad +windowrule = float, virtualbox +windowrule = opacity 0.9, dolphin +windowrule = opacity 0.9, spotify +windowrule = opacity 0.9, balenaEtcher +windowrule = opacity 0.95, planify +windowrule = float, planify +windowrule = float, copyq +windowrule = opacity 0.95, copyq +windowrule = float, Calculator +windowrulev2 = float, class: ^(Onboard)$, title: ^(Oneboard)$ +windowrule = float, onboard +windowrule = opacity 0.8, kitty +#---------------------------------------------------------------------------------- diff --git a/install-arch.sh b/install-arch.sh new file mode 100755 index 0000000..848f807 --- /dev/null +++ b/install-arch.sh @@ -0,0 +1,56 @@ +#!/usr/bin/env sh + +disk="/dev/sde" +efi_part_size=200 +swap_size=1024 +hostname="arch" +normal_user="tola" + +umount ${disk}* + +# --------- partitioning disks ------------------- +wipefs -af $disk + +printf "g\nn\n1\n2048\n$((($efi_part_size+1)*2048))\nn\n2\n$(((($efi_part_size+1)*2048)+2048))\n$(((($efi_part_size+1)*2048)+4096))\nn\n3\n$(((($efi_part_size+1)*2048)+6144))\n$((((($efi_part_size+1)*2048)+6144)+($swap_size*2048)))\nn\n4\n\n\nt\n1\nEFI System\nt\n2\nBIOS boot\nt\n3\nLinux swap\nt\n4\nLinux filesystem\nw\n" | fdisk $disk + +mkfs.vfat -F 32 ${disk}1 +mkswap ${disk}3 +mkfs.ext4 ${disk}4 +# ------------------------------------------------- + +mount ${disk}4 /mnt +mkdir -p /mnt/boot/EFI +mount ${disk}1 /mnt/boot/EFI + +pacstrap /mnt base linux linux-firmware vim + +genfstab -U /mnt > /mnt/etc/fstab + +# ---------------- system configuration -------------------- +# timezone +arch-chroot /mnt bash -c 'ln -svf /usr/share/zoneinfo/Asia/Novosibirsk /etc/localtime' +# system clock +arch-chroot /mnt bash -c 'hwclock --systohc --utc' +# locale +arch-chroot /mnt bash -c 'printf "en_US.UTF-8 UTF-8\nru_RU.UTF-8 UTF-8" >> /etc/locale.gen;locale-gen' +arch-chroot /mnt bash -c 'printf "LC_ALL=en_US.UTF-8\nLANG=en_US.UTF-8" > /etc/locale.conf' +# console +arch-chroot /mnt bash -c 'printf "FONT=Lat2-Terminus16\nKEYMAP=ruwin_alt_sh-UTF-8" > /etc/vconsole.conf' +# networking hostname and hosts +arch-chroot /mnt bash -c 'echo $hostname > /etc/hostname' +arch-chroot /mnt bash -c 'printf "127.0.0.1 localhost\n::1 localhost\n127.0.1.1 ${hostname}.localdomain ${hostname}" >> /etc/hosts' +# root password and normal user +arch-chroot /mnt /usr/bin/env -i arch_user=$normal_user bash -c 'passwd;useradd -m -g users -G wheel -s /bin/bash $arch_user;passwd $arch_user' +# sudo configuring +arch-chroot /mnt bash -c 'pacman -S sudo;echo "%wheel ALL=(ALL:ALL) ALL" >> /etc/sudoers' +# installing grub and configuring +arch-chroot /mnt /usr/bin/env -i grubdisk=$disk bash -c 'pacman -S grub efibootmgr os-prober;grub-install $grubdisk;grub-mkconfig -o /boot/grub/grub.cfg' +# networkmanager +arch-chroot /mnt bash -c 'pacman -S netctl dhcpcd networkmanager network-manager-applet;systemctl enable NetworkManager' +# for iphone +arch-chroot /mnt bash -c 'pacman -S libimobiledevice usbmuxd' + +# ---------------------------------------------------------- + +#umount -R /mnt + diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..b654db0 --- /dev/null +++ b/install.sh @@ -0,0 +1,63 @@ +#!/usr/bin/env sh + +RESET='\033[0m' +GREEN='\033[0;32m' +YELLOW='\033[0;33m' +RED='\033[0;31m' + +printf "$GREEN installing hyprland configuration...$RESET" +if [ ! -d ~/.config/hypr ]; then + ln -sv ~/dotfiles/hypr ~/.config/hypr &> /dev/null + printf "[$GREEN ok $RESET]\n" +else + printf "[$YELLOW warn $RESET]\n$YELLOW backup your configuration, delete the folder and try again$RESET\n" +fi +printf "$GREEN installing waybar configuration...$RESET" +if [ ! -d ~/.config/waybar ]; then + ln -sv ~/dotfiles/waybar ~/.config/waybar &> /dev/null + printf "[$GREEN ok $RESET]\n" +else + printf "[$YELLOW warn $RESET]\n$YELLOW backup your configuration, delete the folder and try again$RESET\n" +fi +printf "$GREEN installing mako configuration...$RESET" +if [ ! -d ~/.config/mako ]; then + ln -sv ~/dotfiles/mako ~/.config/mako &> /dev/null + printf "[$GREEN ok $RESET]\n" +else + printf "[$YELLOW warn $RESET]\n$YELLOW backup your configuration, delete the folder and try again$RESET\n" +fi +printf "$GREEN installing ly configuration...$RESET" +if [ ! -f /etc/ly/config.ini ]; then + sudo ln -sv ~/dotfiles/ly/config.ini /etc/ly/config.ini &> /dev/null + printf "[$GREEN ok $RESET]\n" +else + printf "[$YELLOW warn $RESET]\n$YELLOW backup your configuration, delete the folder and try again$RESET\n" +fi +printf "$GREEN installing cava configuration...$RESET" +if [ ! -d ~/.config/cava ]; then + ln -sv ~/dotfiles/cava ~/.config/cava &> /dev/null + printf "[$GREEN ok $RESET]\n" +else + printf "[$YELLOW warn $RESET]\n$YELLOW backup your configuration, delete the folder and try again$RESET\n" +fi +printf "$GREEN installing greenclip configuration...$RESET" +if [ ! -f ~/.config/greenclip.toml ]; then + ln -sv ~/dotfiles/greenclip.toml ~/.config/greenclip.toml &> /dev/null + printf "[$GREEN ok $RESET]\n" +else + printf "[$YELLOW warn $RESET]\n$YELLOW backup your configuration, delete the folder and try again$RESET\n" +fi +printf "$GREEN installing alacritty configuration...$RESET" +if [ ! -d ~/.config/alacritty ]; then + ln -sv ~/dotfiles/alacritty ~/.config/alacritty &> /dev/null + printf "[$GREEN ok $RESET]\n" +else + printf "[$YELLOW warn $RESET]\n$YELLOW backup your configuration, delete the folder and try again$RESET\n" +fi +printf "$GREEN installing vim configuration...$RESET" +if [ ! -f ~/.vimrc ]; then + ln -sv ~/dotfiles/vimrc ~/.vimrc &> /dev/null + printf "[$GREEN ok $RESET]\n" +else + printf "[$YELLOW warn $RESET]\n$YELLOW backup your configuration, delete the folder and try again$RESET\n" +fi diff --git a/ly/config.ini b/ly/config.ini new file mode 100755 index 0000000..c1123c5 --- /dev/null +++ b/ly/config.ini @@ -0,0 +1,140 @@ +# Animation enabled/disabled +animate = true + +# The active animation +# 0 -> PSX DOOM fire (default) +# 1 -> CMatrix +animation = 0 + +# format string for clock in top right corner (see strftime specification) +clock = %c + +# enable/disable big clock +bigclock = true + +# The character used to mask the password +asterisk = * + +# Erase password input on failure +#blank_password = false + +#The `fg` and `bg` color settings take a digit 0-8 corresponding to: +#define TB_DEFAULT 0x00 +#define TB_BLACK 0x01 +#define TB_RED 0x02 +#define TB_GREEN 0x03 +#define TB_YELLOW 0x04 +#define TB_BLUE 0x05 +#define TB_MAGENTA 0x06 +#define TB_CYAN 0x07 +#define TB_WHITE 0x08 +# +# Setting both to zero makes `bg` black and `fg` white. To set the actual color palette you are encouraged to use another tool +# such as [mkinitcpio-colors](https://github.com/evanpurkhiser/mkinitcpio-colors). Note that the color palette defined with +# `mkinitcpio-colors` takes 16 colors (0-15), only values 0-8 are valid for `ly` config and these values do not correspond +# exactly. For instance, in defining palettes with `mkinitcpio-colors` the order is black, dark red, dark green, brown, dark +# blue, dark purple, dark cyan, light gray, dark gray, bright red, bright green, yellow, bright blue, bright purple, bright +# cyan, and white, indexed in that order 0 through 15. For example, the color defined for white (indexed at 15 in the mkinitcpio +# config) will be used by `ly` for `fg = 8`. + +# Background color id +bg = 0 + +# Foreground color id +fg = 9 + +# Blank main box background +# Setting to false will make it transparent +#blank_box = true + +# Remove main box borders +#hide_borders = false + +# Main box margins +#margin_box_h = 2 +#margin_box_v = 1 + +# Input boxes length +#input_len = 34 + +# Max input sizes +#max_desktop_len = 100 +#max_login_len = 255 +#max_password_len = 255 + + +# Input box active by default on startup +#default_input = 2 + +# Load the saved desktop and username +load = true + +# Save the current desktop and login as defaults +save = true + +# File in which to save and load the default desktop and login +#save_file = /etc/ly/save + + +# Remove F1/F2 command hints +#hide_f1_commands = false + +# Command executed when pressing F1 +#shutdown_cmd = /sbin/shutdown -a now + +# Command executed when pressing F2 +#restart_cmd = /sbin/shutdown -r now + + +# Active language +# Available languages are found in /etc/ly/lang/ +lang = en + + +# tty in use +tty = 2 + +# Console path +#console_dev = /dev/console + +# Default path +path = /sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin + + +# Event timeout in milliseconds +#min_refresh_delta = 5 + +# Service name (set to ly to use the provided pam config file) +#service_name = ly + +# Terminal reset command (tput is faster) +#term_reset_cmd = /usr/bin/tput reset + +# Cookie generator +#mcookie_cmd = /usr/bin/mcookie + + +# Wayland setup command +#wayland_cmd = /etc/ly/wsetup.sh + +# Add wayland specifier to session names +#wayland_specifier = false + +# Wayland desktop environments +#waylandsessions = /usr/share/wayland-sessions + + +# xinitrc +xinitrc = ~/.xinitrc + +# Xorg server command +#x_cmd = /usr/bin/X + +# Xorg setup command +#x_cmd_setup = /etc/ly/xsetup.sh + +# Xorg xauthority edition tool +#xauth_cmd = /usr/bin/xauth + +# Xorg desktop environments +#xsessions = /usr/share/xsessions diff --git a/mako/config b/mako/config new file mode 100644 index 0000000..554737c --- /dev/null +++ b/mako/config @@ -0,0 +1,40 @@ +#look at the mako manpage with the command: +# man 5 mako +# To view all configuration options. + +font=Cozette 11 +format=%a ⏵ %s\n%b +sort=-time +output=DP-2 +layer=overlay +# anchor=bottom-center +background-color=#000000 +width=300 +height=110 +margin=5 +padding=0,5,10 +border-size=2 +border-color=#aaaaaa +border-radius=15 +icons=1 +icon-path=/usr/share/icons/Papirus-Dark +icon-location=left +max-icon-size=64 +default-timeout=5000 +ignore-timeout=1 + +[urgency=normal] +border-color=#aaaaaa + +[urgency=high] +border-color=#bf616a +default-timeout=0 + +[app-name=lightcord] +border-color=#88c0d0 + +[summary~="log-.*"] +border-color=#a3be8c + +[app-name=lightcord summary~="(.*(^| )orz|ORZ|sto|STO|otl|OTL( |$).*)"] +invisible=1 diff --git a/my-packages-query b/my-packages-query new file mode 100644 index 0000000..d7ffb02 --- /dev/null +++ b/my-packages-query @@ -0,0 +1,2 @@ +pwdgen +udp_chat diff --git a/pacman-pacages-query b/pacman-pacages-query new file mode 100644 index 0000000..2c92676 --- /dev/null +++ b/pacman-pacages-query @@ -0,0 +1,1515 @@ +a52dec +aalib +abseil-cpp +acl +acpi +adobe-source-code-pro-fonts +adwaita-cursors +adwaita-icon-theme +alacritty +alsa-lib +alsa-plugins +alsa-topology-conf +alsa-ucm-conf +alsa-utils +android-file-transfer +android-tools +android-udev +aom +apache +appstream +apr +apr-util +arandr +arc-gtk-theme +arc-icon-theme +arch-install-scripts +archlinux-keyring +argon2 +aribb24 +ark +assimp +at-spi2-core +atftp +atkmm +attr +audiofile +audit +autoconf +automake +avahi +ayatana-ido +b43-fwcutter +base +base-devel +bash +bat +bc +bind +binutils +bison +blanket +blas +blueman +bluez +bluez-libs +bluez-utils +boost-libs +botan2 +bottom +box2d +bridge-utils +brightnessctl +brltty +broadcom-wl +brotli +btop +btrfs-progs +bubblewrap +busybox +bzip2 +c-ares +ca-certificates +ca-certificates-mozilla +ca-certificates-utils +cairo +cairomm +cairomm-1.16 +calcurse +cantarell-fonts +capitaine-cursors +capstone +cbatticon +cblas +cdparanoia +cdrtools +certbot +chafa +check +chromaprint +chrpath +cifs-utils +cjson +clang +cliphist +clucene +clutter +clutter-gtk +cmake +cmatrix +cmus +cogl +colord +compiler-rt +confuse +containerd +convertlit +copyq +coreutils +cpio +cppdap +crosstool-ng +cryptsetup +curl +curlftpfs +dav1d +db +db5.3 +dbus +dbus-broker +dbus-broker-units +dbus-glib +dbus-python +dconf +debootstrap +debugedit +deepin-gtk-theme +default-cursors +desktop-file-utils +device-mapper +dhcpcd +dialog +diffstat +diffutils +dmidecode +dnsmasq +dnssec-anchors +docker +docker-compose +dosfstools +double-conversion +doxygen +dracut +dtc +duktape +dunst +dust +e2fsprogs +ebook-tools +eclipse-ecj +edk2-aarch64 +edk2-arm +edk2-ovmf +efibootmgr +efivar +electron +electron30 +elementary-icon-theme +ell +enca +enchant +epiphany +evolution-data-server +exfatprogs +exiv2 +exo +expat +expect +eza +faac +faad2 +fakeroot +falkon +fcft +fd +feh +fff +ffmpeg +ffmpeg4.4 +ffmpegthumbnailer +fftw +fig2dev +figlet +file +file-roller +filesystem +findutils +firefox +fish +flac +flex +fluidsynth +fmt +folks +font-manager +fontconfig +fontforge +foot +fop +freeglut +freeimage +freeradius +freerdp +freetype2 +freetype2-demos +freetype2-docs +fribidi +fuse-common +fuse2 +fuse3 +fuzzel +fzf +garcon +gawk +gc +gcc +gcc-libs +gcr-4 +gd +gdbm +gdk-pixbuf2 +gedit +geoclue +geocode-glib +geocode-glib-2 +geocode-glib-common +gettext +ghc-libs +ghostscript +giflib +git +github-cli +gjs +glade +glew +glib-networking +glib2 +glibc +glibmm +glibmm-2.68 +glslang +glu +glusterfs +gmp +gnome-calculator +gnome-calendar +gnome-clocks +gnome-desktop-4 +gnome-desktop-common +gnome-mahjongg +gnome-maps +gnome-terminal +gnome-themes-extra +gnome-weather +gnu-free-fonts +gnupg +gnutls +gobject-introspection +gobject-introspection-runtime +gparted +gperf +gperftools +gpgme +gpm +granite +granite7 +graphene +graphite +graphviz +grep +grim +groff +grub +grub-customizer +gsettings-desktop-schemas +gsfonts +gsl +gsm +gspell +gssdp +gst-plugins-bad-libs +gst-plugins-base +gst-plugins-base-libs +gst-plugins-good +gst-python +gstreamer +gtk-engine-murrine +gtk-layer-shell +gtk-update-icon-cache +gtk-vnc +gtk2 +gtk3 +gtk4 +gtkmm-4.0 +gtkmm3 +gtksourceview4 +gtksourceview5 +gts +guile +gum +gupnp +gupnp-igd +guvcview +guvcview-common +gvfs +gvfs-smb +gzip +harfbuzz +harfbuzz-icu +haskell-ansi-terminal +haskell-async +haskell-attoparsec +haskell-base-orphans +haskell-bitvec +haskell-blaze-builder +haskell-blaze-html +haskell-blaze-markup +haskell-colour +haskell-conduit +haskell-conduit-extra +haskell-data-array-byte +haskell-data-default-class +haskell-ghc-bignum-orphans +haskell-gi +haskell-gi-base +haskell-gi-freetype2 +haskell-gi-overloading +haskell-hashable +haskell-integer-logarithms +haskell-lexer +haskell-mono-traversable +haskell-network +haskell-pretty-show +haskell-primitive +haskell-random +haskell-regex-base +haskell-regex-tdfa +haskell-resourcet +haskell-safe +haskell-scientific +haskell-split +haskell-splitmix +haskell-streaming-commons +haskell-typed-process +haskell-unliftio-core +haskell-unordered-containers +haskell-vector +haskell-vector-algorithms +haskell-vector-stream +haskell-xdg-basedir +haskell-xml-conduit +haskell-xml-types +haskell-zlib +hdf5 +hdparm +help2man +hicolor-icon-theme +hidapi +highway +htop +http-parser +hunspell +hwdata +hwloc +hyphen +hyprcursor +hypridle +hyprland +hyprlang +hyprlock +hyprpaper +i7z +iana-etc +icewm +icu +ifuse +ijs +imagemagick +imath +imlib2 +imv +inetutils +iniparser +iproute2 +iptables-nft +iputils +iso-codes +iwd +jack2 +jansson +jasper +java-avalon-framework +java-batik +java-commons-daemon +java-commons-io +java-commons-logging +java-environment-common +java-jsvc +java-runtime-common +java-xmlgraphics-commons +jbig2dec +jbigkit +jdk11-openjdk +jdk8-openjdk +jemalloc +jp2a +jq +jre8-openjdk +jre8-openjdk-headless +js115 +json-c +json-glib +jsoncpp +jxrlib +karchive +kauth +kauth5 +kbd +kbookmarks +kclock +kcmutils +kcodecs +kcodecs5 +kcolorscheme +kcompletion +kconfig +kconfig5 +kconfigwidgets +kconfigwidgets5 +kcoreaddons +kcoreaddons5 +kcrash +kdbusaddons +kdbusaddons5 +keyutils +kfilemetadata +kglobalaccel +kguiaddons +kguiaddons5 +kholidays +ki18n +ki18n5 +kiconthemes +kio +kirigami +kirigami-addons +kitemmodels +kitemviews +kitty +kitty-shell-integration +kitty-terminfo +kjobwidgets +kmod +knotifications +knotifications5 +kpackage +kparts +kpipewire +kpty +krb5 +kservice +kservice5 +kstatusnotifieritem +ksvg +kvantum +kwallet +kwallet5 +kwayland5 +kweather +kweathercore +kwidgetsaddons +kwidgetsaddons5 +kwindowsystem +kwindowsystem5 +kxmlgui +l-smash +lame +lapack +lcms2 +ldb +leafpad +less +libabw +libadwaita +libaec +libaio +libao +libappindicator-gtk3 +libarchive +libass +libassuan +libasyncns +libatasmart +libatomic_ops +libavc1394 +libavif +libayatana-appindicator +libayatana-indicator +libb2 +libb64 +libblockdev +libblockdev-crypto +libblockdev-fs +libblockdev-loop +libblockdev-mdraid +libblockdev-nvme +libblockdev-part +libblockdev-swap +libbluray +libbpf +libbs2b +libbsd +libburn +libbytesize +libcaca +libcacard +libcamera +libcamera-ipa +libcanberra +libcap +libcap-ng +libcdio +libcdio-paranoia +libcdr +libchamplain +libcloudproviders +libcmis +libcolord +libconfig +libcups +libdaemon +libdatrie +libdbusmenu-glib +libdbusmenu-gtk3 +libdbusmenu-qt5 +libdc1394 +libdca +libde265 +libdeflate +libdiscid +libdispatch +libdisplay-info +libdovi +libdrm +libdv +libdvbpsi +libdvdnav +libdvdread +libe-book +libebml +libedataserverui4 +libedit +libei +libelf +libepoxy +libepubgen +libetonyek +libev +libevdev +libevent +libexif +libexttextcat +libfabric +libffi +libfm-extra +libfm-qt +libfontenc +libfreehand +libftdi +libgcrypt +libgedit-amtk +libgedit-gtksourceview +libgee +libgirepository +libgit2 +libglvnd +libgme +libgoa +libgpg-error +libgtop +libgudev +libgusb +libgweather-4 +libhandy +libheif +libical +libice +libid3tag +libidn +libidn2 +libiec61883 +libimagequant +libimobiledevice +libimobiledevice-glue +libinih +libinput +libinstpatch +libiscsi +libisl +libisoburn +libisofs +libixion +libjpeg-turbo +libjxl +libksba +liblangtag +libldap +libliftoff +liblouis +liblqr +libluv +liblzf +libmad +libmanette +libmatroska +libmaxminddb +libmd +libmfx +libmikmod +libmm-glib +libmms +libmng +libmnl +libmodplug +libmpc +libmpcdec +libmpdclient +libmpeg2 +libmspub +libmtp +libmwaw +libnatpmp +libnautilus-extension +libnbd +libndp +libnet +libnetfilter_conntrack +libnewt +libnfnetlink +libnfs +libnftnl +libnghttp2 +libnghttp3 +libngtcp2 +libnice +libnl +libnm +libnma +libnma-common +libnotify +libnsl +libnumbertext +libnvme +libodfgen +libogg +libomxil-bellagio +libopenmpt +liborcus +libosinfo +libp11-kit +libpagemaker +libpaper +libpcap +libpciaccess +libpeas +libpgm +libphonenumber +libpipeline +libpipewire +libplacebo +libplasma +libplist +libpng +libportal +libportal-gtk3 +libportal-gtk4 +libproxy +libpsl +libptytty +libpulse +libqxp +libraqm +libraw +libraw1394 +libreoffice-fresh +librest +libretls +librevenge +librsvg +librsync +libsamplerate +libsasl +libseccomp +libsecret +libshout +libshumate +libsidplayfp +libsigc++ +libsigc++-3.0 +libsixel +libslirp +libsm +libsndfile +libsodium +libsoup +libsoup3 +libsoxr +libspeechd +libspiro +libssh +libssh2 +libstaroffice +libstemmer +libsysprof-capture +libtar +libtasn1 +libteam +libtermkey +libthai +libtheora +libtiff +libtirpc +libtommath +libtool +libtorrent +libtorrent-rasterbar +libtpms +libtraceevent +libtracefs +libunibreak +libuninameslist +libunistring +libunwind +libupnp +liburcu +liburing +libusb +libusb-compat +libusbmuxd +libutempter +libutf8proc +libuv +libva +libvdpau +libverto +libvirt +libvirt-glib +libvirt-python +libvisio +libvorbis +libvpl +libvpx +libvterm +libwacom +libwbclient +libwebp +libwireplumber +libwpd +libwpe +libwps +libx11 +libx86 +libxau +libxaw +libxcb +libxcomposite +libxcrypt +libxcursor +libxcvt +libxdamage +libxdmcp +libxdp +libxext +libxfce4ui +libxfce4util +libxfixes +libxfont2 +libxft +libxi +libxinerama +libxkbcommon +libxkbcommon-x11 +libxkbfile +libxklavier +libxml2 +libxmlb +libxmlrpc +libxmu +libxpm +libxpresent +libxrandr +libxrender +libxres +libxshmfence +libxslt +libxss +libxt +libxtst +libxv +libxvmc +libxxf86vm +libyaml +libyuv +libzip +libzmf +licenses +linux +linux-api-headers +linux-firmware +linux-firmware-whence +lirc +llvm +llvm-libs +lm_sensors +lmdb +lpsolve +lsd +lsof +lua +luajit +luit +lvm2 +lxappearance +lxqt-archiver +lxqt-menu-data +lxqt-themes +lxsession-gtk3 +ly +lz4 +lzip +lzo +m4 +mailcap +make +mako +man-db +man-pages +mariadb +mariadb-clients +mariadb-libs +mc +md4c +mdadm +media-player-info +menu-cache +mesa +meson +micro +miniupnpc +minizip +mkcert +mkinitcpio +mkinitcpio-busybox +mobile-broadband-provider-info +mousepad +mpc +mpd +mpfr +mpg123 +mplayer +mpv +msgpack-c +mtdev +mtools +mujs +multipath-tools +musl +nasm +ncmpcpp +ncurses +ndctl +neofetch +neon +net-snmp +net-tools +netctl +netpbm +netplan +nettle +network-manager-applet +networkmanager +nftables +ninja +nm-connection-editor +node-gyp +nodejs +nodejs-nopt +noto-fonts +noto-fonts-emoji +npm +npth +nspr +nss +ntfs-3g +numactl +nwg-look +ocl-icd +onetbb +oniguruma +openal +opencore-amr +opencv +openexr +openjpeg2 +openmpi +openpmix +openssh +openssl +openssl-1.1 +openucx +opus +orc +os-prober +osdbattery +osinfo-db +otf-font-awesome +p11-kit +p7zip +pacman +pacman-contrib +pacman-mirrorlist +pacutils +pam +pambase +pamixer +pango +pangomm +pangomm-2.48 +pantheon-calculator +pantheon-calendar +pantheon-music +papirus-icon-theme +parallel +parted +pass +patch +pavucontrol +pciutils +pcre +pcre2 +pcsclite +perl +perl-clone +perl-data-dump +perl-encode-locale +perl-error +perl-file-listing +perl-html-parser +perl-html-tagset +perl-http-cookiejar +perl-http-cookies +perl-http-daemon +perl-http-date +perl-http-message +perl-http-negotiate +perl-io-html +perl-io-socket-ssl +perl-json +perl-libwww +perl-locale-gettext +perl-log-message +perl-log-message-simple +perl-lwp-mediatypes +perl-lwp-protocol-https +perl-mailtools +perl-mime-charset +perl-net-http +perl-net-ssleay +perl-term-readline-gnu +perl-term-ui +perl-timedate +perl-try-tiny +perl-unicode-linebreak +perl-uri +perl-www-robotrules +perl-yaml-tiny +phodav +phonon-qt5 +phonon-qt5-gstreamer +php +picom +pinentry +pipewire +pixman +pkgconf +plasma-activities +playerctl +plymouth +pmbootstrap +po4a +polkit +polkit-gnome +polkit-qt5 +polkit-qt6 +polybar +poppler +poppler-data +poppler-qt6 +popt +portaudio +postgresql-libs +potrace +pragha +procps-ng +protobuf +protobuf-c +prrte +psmisc +pugixml +pulseaudio +pulseaudio-alsa +pulseaudio-jack +pyalpm +pydf +python +python-acme +python-argcomplete +python-attrs +python-autocommand +python-cairo +python-cffi +python-charset-normalizer +python-click +python-colorama +python-configargparse +python-configobj +python-cryptography +python-decorator +python-distro +python-docopt +python-fastjsonschema +python-future +python-gobject +python-idna +python-inflect +python-j2cli +python-jaraco.context +python-jaraco.functools +python-jaraco.text +python-jinja +python-josepy +python-mako +python-markdown +python-markdown-it-py +python-markupsafe +python-mdurl +python-more-itertools +python-netifaces +python-numpy +python-opencv +python-ordered-set +python-packaging +python-parsedatetime +python-pillow +python-pip +python-platformdirs +python-psutil +python-pycparser +python-pygments +python-pyopenssl +python-pyrfc3339 +python-pyte +python-pytz +python-pywal +python-requests +python-rich +python-setuptools +python-six +python-tomli +python-tqdm +python-trove-classifiers +python-typeguard +python-typing_extensions +python-uc-micro-py +python-urllib3 +python-validate-pyproject +python-wcwidth +python-wheel +python-yaml +qbittorrent +qca-qt5 +qca-qt6 +qemu-audio-alsa +qemu-audio-dbus +qemu-audio-jack +qemu-audio-oss +qemu-audio-pa +qemu-audio-pipewire +qemu-audio-sdl +qemu-audio-spice +qemu-base +qemu-block-curl +qemu-block-dmg +qemu-block-gluster +qemu-block-iscsi +qemu-block-nfs +qemu-block-ssh +qemu-chardev-baum +qemu-chardev-spice +qemu-common +qemu-desktop +qemu-docs +qemu-emulators-full +qemu-full +qemu-hw-display-qxl +qemu-hw-display-virtio-gpu +qemu-hw-display-virtio-gpu-gl +qemu-hw-display-virtio-gpu-pci +qemu-hw-display-virtio-gpu-pci-gl +qemu-hw-display-virtio-vga +qemu-hw-display-virtio-vga-gl +qemu-hw-s390x-virtio-gpu-ccw +qemu-hw-usb-host +qemu-hw-usb-redirect +qemu-hw-usb-smartcard +qemu-img +qemu-pr-helper +qemu-system-aarch64 +qemu-system-alpha +qemu-system-alpha-firmware +qemu-system-arm +qemu-system-arm-firmware +qemu-system-avr +qemu-system-cris +qemu-system-hppa +qemu-system-hppa-firmware +qemu-system-loongarch64 +qemu-system-m68k +qemu-system-microblaze +qemu-system-microblaze-firmware +qemu-system-mips +qemu-system-nios2 +qemu-system-or1k +qemu-system-ppc +qemu-system-ppc-firmware +qemu-system-riscv +qemu-system-riscv-firmware +qemu-system-rx +qemu-system-s390x +qemu-system-s390x-firmware +qemu-system-sh4 +qemu-system-sparc +qemu-system-sparc-firmware +qemu-system-tricore +qemu-system-x86 +qemu-system-x86-firmware +qemu-system-xtensa +qemu-tests +qemu-tools +qemu-ui-curses +qemu-ui-dbus +qemu-ui-egl-headless +qemu-ui-gtk +qemu-ui-opengl +qemu-ui-sdl +qemu-ui-spice-app +qemu-ui-spice-core +qemu-user +qemu-user-static +qemu-user-static-binfmt +qemu-vhost-user-gpu +qt5-3d +qt5-base +qt5-charts +qt5-connectivity +qt5-datavis3d +qt5-declarative +qt5-doc +qt5-examples +qt5-gamepad +qt5-graphicaleffects +qt5-imageformats +qt5-location +qt5-lottie +qt5-multimedia +qt5-networkauth +qt5-purchasing +qt5-quick3d +qt5-quickcontrols +qt5-quickcontrols2 +qt5-quicktimeline +qt5-remoteobjects +qt5-script +qt5-scxml +qt5-sensors +qt5-serialbus +qt5-serialport +qt5-speech +qt5-svg +qt5-tools +qt5-translations +qt5-virtualkeyboard +qt5-wayland +qt5-webchannel +qt5-webengine +qt5-webglplugin +qt5-websockets +qt5-webview +qt5-x11extras +qt5-xmlpatterns +qt5ct +qt6-5compat +qt6-base +qt6-charts +qt6-declarative +qt6-imageformats +qt6-multimedia +qt6-multimedia-ffmpeg +qt6-positioning +qt6-quick3d +qt6-quicktimeline +qt6-shadertools +qt6-svg +qt6-translations +qt6-wayland +qt6-webchannel +qt6-webengine +ranger +raptor +rasqal +rav1e +read-edid +readline +recode +redland +rhash +ripgrep +riscv64-elf-binutils +riscv64-elf-gcc +rnnoise +rofi-wayland +rpcbind +rsync +rtkit +rtmpdump +rtorrent +rubberband +runc +rxvt-unicode +rxvt-unicode-terminfo +samba +sdbus-cpp +sddm +sdl12-compat +sdl2 +sdl2_image +sdl2_ttf +seabios +seatd +sed +semver +serf +shaderc +shadow +shared-mime-info +slang +slim +slurp +smbclient +snappy +sndio +solid +sound-theme-freedesktop +spdlog +speedtest-cli +speex +speexdsp +spice +spice-gtk +spice-protocol +spirv-tools +sqlite +squashfs-tools +squashfuse +srt +starship +startup-notification +sublime-text +subversion +sudo +svt-av1 +swappy +swig +syslinux +systemd +systemd-libs +systemd-resolvconf +systemd-sysvcompat +taglib +talloc +tar +tcl +tdb +telegram-desktop +tepl +terminus-font +testdisk +tevent +texinfo +tftp-hpa +thefuck +thin-provisioning-tools +thunar +thunar-volman +thunderbird +tk +tmux +tomcat10 +tomlplusplus +totem-pl-parser +tpm2-tss +tracker3 +translate-shell +transmission-gtk +trayer +tree +tree-sitter +tree-sitter-bash +tree-sitter-c +tree-sitter-lua +tree-sitter-markdown +tree-sitter-python +tree-sitter-query +tree-sitter-vimdoc +tslib +ttf-bitstream-vera +ttf-croscore +ttf-dejavu +ttf-droid +ttf-fira-code +ttf-fira-sans +ttf-firacode-nerd +ttf-font-awesome +ttf-ibm-plex +ttf-jetbrains-mono +ttf-jetbrains-mono-nerd +ttf-liberation +tumbler +twolame +tzdata +uboot-tools +uchardet +udisks2 +ueberzug +ufw +unibilium +unzip +upower +upx +usbmuxd +usbredir +usbutils +util-linux +util-linux-libs +v4l-utils +vapoursynth +vde2 +verdict +vid.stab +vifm +vim +vim-runtime +vimiv +virglrenderer +virt-install +virt-manager +virtiofsd +virtualbox +virtualbox-host-modules-arch +viu +vlc +vmaf +volume_key +vte-common +vte3 +vtk +vulkan-headers +vulkan-icd-loader +vulkan-validation-layers +w3m +wavpack +waybar +wayland +wayland-protocols +webkit2gtk +webkit2gtk-4.1 +webkitgtk-6.0 +webrtc-audio-processing-1 +wget +which +wildmidi +wl-clipboard +wlroots +woff2 +wolfssl +wpa_supplicant +wpebackend-fdo +x264 +x265 +xbitmaps +xcb-proto +xcb-util +xcb-util-cursor +xcb-util-errors +xcb-util-image +xcb-util-keysyms +xcb-util-renderutil +xcb-util-wm +xcb-util-xrm +xcur2png +xcursor-comix +xcursor-themes +xcursor-vanilla-dmz +xcursor-vanilla-dmz-aa +xdg-dbus-proxy +xdg-desktop-portal +xdg-desktop-portal-hyprland +xdg-user-dirs +xdg-utils +xf86-input-evdev +xf86-input-libinput +xf86-input-synaptics +xf86-input-vmmouse +xf86-input-void +xf86-video-amdgpu +xf86-video-ati +xf86-video-dummy +xf86-video-fbdev +xf86-video-intel +xf86-video-nouveau +xf86-video-qxl +xf86-video-vesa +xf86-video-vmware +xf86-video-voodoo +xfce4-settings +xfconf +xfsprogs +xkeyboard-config +xmlsec +xorg-bdftopcf +xorg-docs +xorg-font-util +xorg-fonts-100dpi +xorg-fonts-75dpi +xorg-fonts-alias-100dpi +xorg-fonts-alias-75dpi +xorg-fonts-alias-misc +xorg-fonts-encodings +xorg-fonts-misc +xorg-iceauth +xorg-mkfontscale +xorg-server +xorg-server-common +xorg-server-devel +xorg-server-xephyr +xorg-server-xnest +xorg-server-xvfb +xorg-sessreg +xorg-setxkbmap +xorg-smproxy +xorg-util-macros +xorg-x11perf +xorg-xauth +xorg-xbacklight +xorg-xclock +xorg-xcmsdb +xorg-xcursorgen +xorg-xdpyinfo +xorg-xdriinfo +xorg-xev +xorg-xfd +xorg-xfontsel +xorg-xgamma +xorg-xhost +xorg-xinit +xorg-xinput +xorg-xkbcomp +xorg-xkbevd +xorg-xkbutils +xorg-xkill +xorg-xlsatoms +xorg-xlsclients +xorg-xmodmap +xorg-xpr +xorg-xprop +xorg-xrandr +xorg-xrdb +xorg-xrefresh +xorg-xset +xorg-xsetroot +xorg-xvinfo +xorg-xwayland +xorg-xwd +xorg-xwininfo +xorg-xwud +xorgproto +xosd +xpad +xsensors +xterm +xtrans +xvidcore +xwaylandvideobridge +xxhash +xz +yajl +ytfzf +zenity +zeromq +zimg +zip +zlib +zsh +zstd +zxing-cpp +zziplib diff --git a/rofi/clipboard/clipboard.rasi b/rofi/clipboard/clipboard.rasi new file mode 100644 index 0000000..7bcfc97 --- /dev/null +++ b/rofi/clipboard/clipboard.rasi @@ -0,0 +1,309 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: false; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "~/dotfiles/rofi/shared/colors.rasi" +@import "~/dotfiles/rofi/shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + children: [ "textbox-prompt-colon", "entry", "mode-switcher" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + padding: 5px 0px; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 5px 0px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 10px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px 10px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 5px 10px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 8px 10px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 2px solid; + border-radius: 10px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/rofi/clipboard/clipboard.sh b/rofi/clipboard/clipboard.sh new file mode 100755 index 0000000..2676d8e --- /dev/null +++ b/rofi/clipboard/clipboard.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env zsh + +theme=~/dotfiles/rofi/clipboard/clipboard.rasi +mode="clipboard:greenclip print" + +rofi -modi $mode -show clipboard -run-command '{cmd}' -theme $theme + diff --git a/rofi/launcher/launcher.sh b/rofi/launcher/launcher.sh new file mode 100755 index 0000000..8e68d09 --- /dev/null +++ b/rofi/launcher/launcher.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Launcher (Modi Drun, Run, File Browser, Window) +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 +## style-6 style-7 style-8 style-9 style-10 + +dir="~/dotfiles/rofi/launcher" +theme='launchpad' + +## Run +rofi \ + -show drun \ + -theme ${dir}/${theme}.rasi diff --git a/rofi/launcher/launchpad.rasi b/rofi/launcher/launchpad.rasi new file mode 100644 index 0000000..c5d51ed --- /dev/null +++ b/rofi/launcher/launchpad.rasi @@ -0,0 +1,173 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "~/dotfiles/rofi/shared/colors.rasi" +@import "~/dotfiles/rofi/shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 60%; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 100px; + margin: 0px; + padding: 100px 225px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0% 28%; + padding: 10px; + border: 1px solid; + border-radius: 6px; + border-color: white / 25%; + background-color: white / 5%; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: transparent; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: transparent; + text-color: inherit; +} +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 7; + lines: 4; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 35px 10px; + border: 0px solid; + border-radius: 15px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + background-color: white / 5%; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 72px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 100px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/rofi/powermenu/powermenu.sh b/rofi/powermenu/powermenu.sh new file mode 100755 index 0000000..b939527 --- /dev/null +++ b/rofi/powermenu/powermenu.sh @@ -0,0 +1,107 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Power Menu +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 + +# Current Theme +dir="~/dotfiles/rofi/powermenu" +theme='userimage' + +# CMDs +uptime="`uptime -p | sed -e 's/up //g'`" +host=`hostname` + +# Options +shutdown='' +reboot='' +lock='' +suspend='' +logout='' +yes='' +no='' + +# Rofi CMD +rofi_cmd() { + rofi -dmenu \ + -p "Goodbye ${USER}" \ + -mesg "Uptime: $uptime" \ + -theme ${dir}/${theme}.rasi +} + +# Confirmation CMD +confirm_cmd() { + rofi -dmenu \ + -p 'Confirmation' \ + -mesg 'Are you Sure?' \ + -theme ${dir}/shared/confirm.rasi +} + +# Ask for confirmation +confirm_exit() { + echo -e "$yes\n$no" | confirm_cmd +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd +} + +# Execute Command +run_cmd() { + selected="$(confirm_exit)" + if [[ "$selected" == "$yes" ]]; then + if [[ $1 == '--shutdown' ]]; then + systemctl poweroff + elif [[ $1 == '--reboot' ]]; then + systemctl reboot + elif [[ $1 == '--suspend' ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $1 == '--logout' ]]; then + if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then + openbox --exit + elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then + bspc quit + elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then + i3-msg exit + elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then + qdbus org.kde.ksmserver /KSMServer logout 0 0 0 + fi + fi + else + exit 0 + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $shutdown) + run_cmd --shutdown + ;; + $reboot) + run_cmd --reboot + ;; + $lock) + #if [[ -x '/usr/bin/betterlockscreen' ]]; then + # betterlockscreen -l + #elif [[ -x '/usr/bin/i3lock' ]]; then + # i3lock + #elif [[ -x '/usr/bin/swaylock' ]]; then + swaylock + #fi + ;; + $suspend) + run_cmd --suspend + ;; + $logout) + run_cmd --logout + ;; +esac diff --git a/rofi/powermenu/userimage.rasi b/rofi/powermenu/userimage.rasi new file mode 100644 index 0000000..1095617 --- /dev/null +++ b/rofi/powermenu/userimage.rasi @@ -0,0 +1,141 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + /* Resolution : 1920x1080 */ + mainbox-spacing: 50px; + mainbox-margin: 0px 470px; + message-margin: 0px 350px; + message-padding: 12px; + message-border-radius: 100%; + listview-spacing: 25px; + element-padding: 35px 30px; + element-border-radius: 100%; + + prompt-font: "Iosevka Nerd Font Bold 48"; + textbox-font: "Iosevka Nerd Font 12"; + element-text-font: "feather 48"; + + background-window: black/60%; + background-normal: white/5%; + background-selected: white/15%; + foreground-normal: white; + foreground-selected: white; +} + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + cursor: "default"; + background-color: var(background-window); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: var(mainbox-spacing); + margin: var(mainbox-margin); + background-color: transparent; + children: [ "dummy", "userimage", "inputbar", "listview", "message", "dummy" ]; +} + +/*****----- User -----*****/ +userimage { + margin: 0px 400px; + border: 2px; + border-radius: 100%; + border-color: white; + background-color: transparent; + background-image: url("~/Pictures/avatar/simba.jpg", both); +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + background-color: transparent; + children: [ "dummy", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +prompt { + enabled: true; + font: var(prompt-font); + background-color: transparent; + text-color: var(foreground-normal); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: var(message-margin); + padding: var(message-padding); + border-radius: var(message-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); +} +textbox { + font: var(textbox-font); + background-color: transparent; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + expand: false; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: var(listview-spacing); + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: var(element-padding); + border-radius: var(element-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); + cursor: pointer; +} +element-text { + font: var(element-text-font); + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(background-selected); + text-color: var(foreground-selected); +} diff --git a/rofi/shared/colors.rasi b/rofi/shared/colors.rasi new file mode 100644 index 0000000..103ad63 --- /dev/null +++ b/rofi/shared/colors.rasi @@ -0,0 +1,18 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + * + * Available Colors Schemes + * + * adapta catppuccin everforest navy paper + * arc cyberpunk gruvbox nord solarized + * black dracula lovelace onedark yousai + * + **/ + +/* Import color-scheme from `colors` directory */ + +@import "~/.config/rofi/colors/onedark.rasi" diff --git a/rofi/shared/fonts.rasi b/rofi/shared/fonts.rasi new file mode 100644 index 0000000..430c73d --- /dev/null +++ b/rofi/shared/fonts.rasi @@ -0,0 +1,12 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Fonts + * + **/ + +* { + font: "JetBrains Mono Nerd Font 10"; +} diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..4daa7a7 --- /dev/null +++ b/vimrc @@ -0,0 +1,36 @@ +set number +syntax on +set expandtab +set smarttab +set tabstop=4 +set softtabstop=4 +set shiftwidth=4 +set foldcolumn=2 +set mouse=a +set encoding=utf8 +set guifont=JetBrains\ Mono\ Nerd\ Font\ 11 + +set colorcolumn=110 +highlight ColorColumn ctermbg=darkgray + +call plug#begin() + Plug 'preservim/nerdtree' + Plug 'ryanoasis/vim-devicons' + Plug 'ap/vim-css-color' +call plug#end() + +nnoremap :NERDTreeFocus +nnoremap :NERDTree +nnoremap :NERDTreeToggle +nnoremap :NERDTreeRefresh +inoremap :NERDTreeRefresh +nnoremap :tabprevious +nnoremap :tabnext +nnoremap :tabnew +inoremap :tabpreviousi +inoremap :tabnexti +inoremap :tabnew +nnoremap :tabclose +inoremap :tabclose +nnoremap :term +inoremap :term diff --git a/waybar/._config b/waybar/._config new file mode 100644 index 0000000..ab3a5c7 Binary files /dev/null and b/waybar/._config differ diff --git a/waybar/._style.css b/waybar/._style.css new file mode 100644 index 0000000..ccfce5f Binary files /dev/null and b/waybar/._style.css differ diff --git a/waybar/config b/waybar/config new file mode 100644 index 0000000..c8e464d --- /dev/null +++ b/waybar/config @@ -0,0 +1,110 @@ +{ + "layer": "top", + "height": 30, + "spacing": 4, + "modules-left": ["custom/launcher", "cpu", "memory", "temperature", "disk", "hyprland/window"], + "modules-center": ["hyprland/workspaces"], + "modules-right": ["custom/spotify", "pulseaudio", "network", "backlight", "keyboard-state", "hyprland/language", "battery", "battery#bat2", "clock", "tray", "custom/power"], + "hyprland/workspaces": { + "format": "{icon}", + "all-outputs": true, + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1" + }, + "keyboard-state": { + "numlock": true, + "capslock": true, + "format": "{name} {icon}", + "format-icons": { + "locked": "", + "unlocked": "" + } + }, + "tray": { + "spacing": 10 + }, + "clock": { + "timezone": "Asia/Tomsk", + "tooltip-format": "{:%Y %B}\n{calendar}", + "format-alt": "{:%Y-%m-%d}" + }, + "cpu": { + "format": "{usage}% ", + "tooltip": false + }, + "memory": { + "format": "{}% " + }, + "temperature": { + "critical-threshold": 80, + "format": "{temperatureC}°C {icon}", + "format-icons": ["", "", ""] + }, + "backlight": { + "format": "{percent}% {icon}", + "format-icons": ["", "", "", "", "", "", "", "", ""] + }, + "battery": { + "states": { + "warning": 30, + "critical": 15 + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% ", + "format-plugged": "{capacity}% ", + "format-alt": "{time} {icon}", + "format-icons": ["", "", "", "", ""] + }, + "battery#bat2": { + "bat": "BAT2" + }, + "network": { + "format-wifi": "{essid} ({signalStrength}%) ", + "format-ethernet": "{ipaddr}/{cidr} ", + "tooltip-format": "{ifname} via {gwaddr} ", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "Disconnected ⚠", + "format-alt": "{ifname}: {ipaddr}/{cidr}" + }, + "pulseaudio": { + "format": "{volume}% {icon} {format_source}", + "format-bluetooth": "{volume}% {icon} {format_source}", + "format-bluetooth-muted": " {icon} {format_source}", + "format-muted": " {format_source}", + "format-source": "{volume}% ", + "format-source-muted": "", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] + }, + "on-click": "pavucontrol" + }, + "custom/power": { + "format": "⏻", + "on-click": "~/dotfiles/rofi/powermenu/powermenu.sh" + }, + "custom/launcher": { + "format": "", + "on-click": "~/dotfiles/rofi/launcher/launcher.sh" + }, + "disk": { + "interval": 30, + "format": "/ {free}", + "unit": "GB" + }, + "custom/spotify": { + "format": "{} ", + "exec": "~/.config/waybar/scripts/spotify.sh", + "return-type": "json", + "on-click": "playerctl -p spotify play-pause", + "on-scroll-up": "playerctl -p spotify next", + "on-scroll-down": "playerctl -p spotify previous", + "exec-if": "pgrep spotfiy" + } +} + diff --git a/waybar/scripts/spotify.sh b/waybar/scripts/spotify.sh new file mode 100755 index 0000000..c6b1731 --- /dev/null +++ b/waybar/scripts/spotify.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +while true +do + player_status=$(playerctl -p spotify status 2> /dev/null) + + if [ "$player_status" = "Playing" ]; then + artist=$(playerctl -p spotify metadata artist) + title=$(playerctl -p spotify metadata title) + echo '{"text": "'"$artist - $title"'", "class": "custom-spotify", "alt": "Spotify"}' + elif [ "$player_status" = "Paused" ]; then + artist=$(playerctl -p spotify metadata artist) + title=$(playerctl -p spotify metadata title) + echo '{"text": "'"Paused"'", "class": "custom-spotify", "alt": "Spotify (Paused)"}' + fi + sleep 1 +done \ No newline at end of file diff --git a/waybar/style.css b/waybar/style.css new file mode 100644 index 0000000..16129de --- /dev/null +++ b/waybar/style.css @@ -0,0 +1,330 @@ +* { + /* `otf-font-awesome` is required to be installed for icons */ + font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; + font-size: 13px; + border-radius: 5px; +} + +window#waybar { + background-color: #000000; + opacity: 0.6; + color: #ffffff; + transition-property: background-color; + transition-duration: .5s; + padding: 2px; +} + +window#waybar.hidden { + opacity: 0.2; +} + +window#waybar.termite { + background-color: #3F3F3F; +} + +window#waybar.chromium { + background-color: #000000; + border: none; +} + +button { + /* Use box-shadow instead of border so the text isn't offset */ + box-shadow: inset 0 -3px transparent; + /* Avoid rounded borders under each button name */ + border: none; + border-radius: 5px; +} + +#workspaces { + background-color: gray; + border-radius: 25px; + transition: 0.3s; +} + +#workspaces button { + padding: 0 15px; +/* background-color: transparent;*/ + color: #ffffff; + margin: 2px 2px; + border-radius: 25px; + transition: 0.3s; +} + +#workspaces button:hover { + color: white; +} + +#workspaces button.focused { + background-color: #64727D; + box-shadow: inset 0 -3px #ffffff; +} + +#workspaces button.urgent { + background-color: #eb4d4b; +} + +#workspaces button.active { + background-color: white; + color: black; + padding: 0 15px; +} + +#workspaces button.active:hover { + color: white; +} + +#mode { + background-color: #64727D; + border-bottom: 3px solid #ffffff; +} + +#clock, +#battery, +#cpu, +#memory, +#disk, +#temperature, +#backlight, +#network, +#pulseaudio, +#wireplumber, +#custom-media, +#tray, +#mode, +#idle_inhibitor, +#scratchpad, +#custom-power, +#custom-launcher, +#mpd { + padding: 0 10px; + color: #ffffff; +} + +#window, +#workspaces { + margin: 0 4px; +} + +/* If workspaces is the leftmost module, omit left margin */ +.modules-left > widget:first-child > #workspaces { + margin-left: 4px; +} + +/* If workspaces is the rightmost module, omit right margin */ +.modules-right > widget:last-child > #workspaces { + margin-right: 4px; +} + +#clock { +/* background-color: #64727D;*/ +} + +#battery { +/* background-color: #ffffff;*/ + color: #ffffff; +} + +#battery.charging, #battery.plugged { + color: #ffffff; +/* background-color: #26A65B;*/ +} + +@keyframes blink { + to { +/* background-color: #ffffff;*/ + color: #ffffff; + } +} + +#battery.critical:not(.charging) { +/* background-color: #f53c3c;*/ + color: #ffffff; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} + +label:focus { +/* background-color: #000000;*/ +} + +#cpu { +/* background-color: #2ecc71;*/ + color: #ffffff; +} + +#memory { +/* background-color: #9b59b6;*/ +} + +#disk { +/* background-color: #964B00;*/ +} + +#backlight { +/* background-color: #90b1b1;*/ +} + +#network { +/* background-color: #2980b9;*/ +} + +#network.disconnected { +/* background-color: #f53c3c;*/ +} + +#pulseaudio { +/* background-color: #f1c40f;*/ + color: #ffffff; +} + +#pulseaudio.muted { +/* background-color: #90b1b1;*/ + color: #2a5c45; +} + +#wireplumber { +/* background-color: #fff0f5;*/ + color: #000000; +} + +#wireplumber.muted { +/* background-color: #f53c3c;*/ +} + +#custom-media { +/* background-color: #66cc99;*/ + color: #2a5c45; + min-width: 100px; +} + +#custom-media.custom-spotify { +/* background-color: #66cc99;*/ +} + +#custom-media.custom-vlc { +/* background-color: #ffa000;*/ +} + +#temperature { +/* background-color: #f0932b;*/ +} + +#temperature.critical { +/* background-color: #eb4d4b;*/ +} + +#tray { +/* background-color: #2980b9;*/ +} + +#tray > .passive { + -gtk-icon-effect: dim; +} + +#tray > .needs-attention { + -gtk-icon-effect: highlight; +/* background-color: #eb4d4b;*/ +} + +#idle_inhibitor { +/* background-color: #2d3436;*/ +} + +#idle_inhibitor.activated { + background-color: #ecf0f1; + color: #2d3436; +} + +#mpd { +/* background-color: #66cc99;*/ + color: #2a5c45; +} + +#mpd.disconnected { +/* background-color: #f53c3c;*/ +} + +#mpd.stopped { +/* background-color: #90b1b1;*/ +} + +#mpd.paused { +/* background-color: #51a37a;*/ +} + +#language { +/* background: #00b093;*/ + color: #ffffff; + padding: 0 5px; + margin: 0 5px; + min-width: 16px; +} + +#keyboard-state { +/* background: #97e1ad;*/ + color: #ffffff; + padding: 0 0px; + margin: 0 5px; + min-width: 16px; +} + +#keyboard-state > label { + padding: 0 5px; +} + +#keyboard-state > label.locked { +/* background: rgba(0, 0, 0, 0.2);*/ +} + +#scratchpad { +/* background: rgba(0, 0, 0, 0.2);*/ +} + +#scratchpad.empty { + background-color: transparent; +} + +#privacy { + padding: 0; +} + +#privacy-item { + padding: 0 5px; + color: white; +} + +#privacy-item.screenshare { + background-color: #cf5700; +} + +#privacy-item.audio-in { + background-color: #1ca000; +} + +#privacy-item.audio-out { +/* background-color: #0069d4;*/ +} + +#custom-power { +/* background-color: #f0932b;*/ + margin: 0 2px; +} + +/*#custom-power:hover { + background: blue; +}*/ + +#custom-launcher { +/* background-color: #f0932b;*/ + padding: 0 15px 0 10px; + margin: 0 2px; +} + +.custom-spotify { + padding: 2px 12px; + margin: 0 1px; + background-color: black; +}