From 768a45b3d4bafaf707a42666ce6ced4f9a733a87 Mon Sep 17 00:00:00 2001 From: ITmail-dk Date: Sun, 6 Mar 2022 09:40:49 +0100 Subject: [PATCH] Adjusts after using the system for some time --- config/alacritty/alacritty.yml | 964 +++++++++--------- config/bspwm/bspwmrc | 52 +- config/bspwm/bspwmrc-vm | 45 +- config/dunst/dunstrc | 154 +-- config/kitty/kitty.conf | 49 +- config/picom/picom.conf | 114 ++- config/polybar/config | 28 +- config/polybar/run-polybar.sh | 2 +- config/sxhkd/sxhkdrc | 42 +- config/sxhkd/sxhkdrc-vm | 133 ++- install-scripts/apt-install-core-packages.sh | 4 +- install-scripts/install-steam.sh | 22 + .../mkdir-cp-git-chmod-echo-files.sh | 10 +- 13 files changed, 869 insertions(+), 750 deletions(-) create mode 100644 install-scripts/install-steam.sh diff --git a/config/alacritty/alacritty.yml b/config/alacritty/alacritty.yml index e2c1191..69f568d 100644 --- a/config/alacritty/alacritty.yml +++ b/config/alacritty/alacritty.yml @@ -16,403 +16,403 @@ # 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 - + # + # This value is used to set the `$TERM` environment variable for + # each instance of Alacritty. If it is not present, alacritty will + # check the local terminfo database and use `alacritty` if it is + # available, otherwise `xterm-256color` is used. + TERM: alacritty + window: # Window dimensions (changes require restart) - # - # Number of lines/columns (not pixels) in the terminal. The number of columns - # must be at least `2`, while using a value of `0` for columns and lines will - # fall back to the window manager's recommended size. - #dimensions: - # columns: 0 - # lines: 0 - + # + # Number of lines/columns (not pixels) in the terminal. The number of columns + # must be at least `2`, while using a value of `0` for columns and lines will + # fall back to the window manager's recommended size. + #dimensions: + # columns: 0 + # lines: 0 + # Window position (changes require restart) - # - # Specified in number of pixels. - # If the position is not set, the window manager will handle the placement. - #position: - # x: 0 - # y: 0 - + # + # 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 - + # + # 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 - + #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 - + # + # 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.95 - + # + # 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.95 + # Startup Mode (changes require restart) - # - # Values for `startup_mode`: - # - Windowed - # - Maximized - # - Fullscreen - # - # Values for `startup_mode` (macOS only): - # - SimpleFullscreen - #startup_mode: Windowed - + # + # Values for `startup_mode`: + # - Windowed + # - Maximized + # - Fullscreen + # + # Values for `startup_mode` (macOS only): + # - SimpleFullscreen + #startup_mode: Windowed + # Window title - #title: Alacritty - + #title: Alacritty + # Allow terminal applications to change Alacritty's window title. - dynamic_title: true - + dynamic_title: true + # Window class (Linux/BSD only): - #class: - # Application instance name - #instance: Alacritty - # General application class - #general: Alacritty - + #class: + # Application instance name + #instance: Alacritty + # General application class + #general: Alacritty + # GTK theme variant (Linux/BSD only) - # - # Override the variant of the GTK theme. Commonly supported values are `dark` - # and `light`. Set this to `None` to use the default theme variant. - #gtk_theme_variant: None - + # + # Override the variant of the GTK theme. Commonly supported values are `dark` + # and `light`. Set this to `None` to use the default theme variant. + #gtk_theme_variant: None + #scrolling: # Maximum number of lines in the scrollback buffer. - # Specifying '0' will disable scrolling. - history: 10000 - + # Specifying '0' will disable scrolling. + history: 10000 + # Scrolling distance multiplier. - multiplier: 5 - + multiplier: 5 + # Font configuration font: # Normal (roman) font face - normal: - # Font family - # - # Default: - # - (macOS) Menlo - # - (Linux/BSD) monospace - # - (Windows) Consolas - family: monospace - - # The `style` can be specified to pick a specific face. - style: Regular - - # Bold font face - bold: - # Font family - # - # If the bold family is not specified, it will fall back to the - # value specified for the normal font. - family: monospace - - # The `style` can be specified to pick a specific face. - style: Bold - - # Italic font face - italic: - # Font family - # - # If the italic family is not specified, it will fall back to the - # value specified for the normal font. - family: monospace - - # The `style` can be specified to pick a specific face. - style: Italic - - # Bold italic font face - bold_italic: - # Font family - # - # If the bold italic family is not specified, it will fall back to the - # value specified for the normal font. - family: monospace - - # The `style` can be specified to pick a specific face. - style: monospace - - # Point size - size: 9.0 - - # Offset is the extra space around each character. `offset.y` can be thought - # of as modifying the line spacing, and `offset.x` as modifying the letter - # spacing. - #offset: - # x: 0 - # y: 0 - - # Glyph offset determines the locations of the glyphs within their cells with - # the default being at the bottom. Increasing `x` moves the glyph to the - # right, increasing `y` moves the glyph upward. - #glyph_offset: - # x: 0 - # y: 0 - - # Thin stroke font rendering (macOS only) + normal: + # Font family # - # Thin strokes are suitable for retina displays, but for non-retina screens - # it is recommended to set `use_thin_strokes` to `false`. - #use_thin_strokes: true - + # Default: + # - (macOS) Menlo + # - (Linux/BSD) monospace + # - (Windows) Consolas + family: monospace + + # The `style` can be specified to pick a specific face. + style: Regular + + # Bold font face + bold: + # Font family + # + # If the bold family is not specified, it will fall back to the + # value specified for the normal font. + family: monospace + + # The `style` can be specified to pick a specific face. + style: Bold + + # Italic font face + italic: + # Font family + # + # If the italic family is not specified, it will fall back to the + # value specified for the normal font. + family: monospace + + # The `style` can be specified to pick a specific face. + style: Italic + + # Bold italic font face + bold_italic: + # Font family + # + # If the bold italic family is not specified, it will fall back to the + # value specified for the normal font. + family: monospace + + # The `style` can be specified to pick a specific face. + style: monospace + + # Point size + size: 9.0 + + # Offset is the extra space around each character. `offset.y` can be thought + # of as modifying the line spacing, and `offset.x` as modifying the letter + # spacing. + #offset: + # x: 0 + # y: 0 + + # Glyph offset determines the locations of the glyphs within their cells with + # the default being at the bottom. Increasing `x` moves the glyph to the + # right, increasing `y` moves the glyph upward. + #glyph_offset: + # x: 0 + # y: 0 + + # Thin stroke font rendering (macOS only) + # + # Thin strokes are suitable for retina displays, but for non-retina screens + # it is recommended to set `use_thin_strokes` to `false`. + #use_thin_strokes: true + # If `true`, bold text is drawn using the bright color variants. #draw_bold_text_with_bright_colors: false # Colors (Tomorrow Night) colors: # Default colors - primary: - background: '#09141E' - foreground: '#EBEBEB' - + primary: + background: '#09141E' + foreground: '#EBEBEB' + # 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' - + # + # 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 - + # + # 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 - + # + # 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' - + # + # Colors used for the search bar and match highlighting. + search: + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + matches: + foreground: '#000000' + background: '#ffffff' + focused_match: + foreground: '#ffffff' + background: '#000000' + bar: - background: '#c5c8c6' - foreground: '#1d1f21' - + background: '#c5c8c6' + foreground: '#1d1f21' + # Keyboard regex hints - hints: - # First character in the hint label - # - # Allowed values are CellForeground/CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - start: - foreground: '#1d1f21' - background: '#e9ff5e' - - # All characters after the first one in the hint label - # - # Allowed values are CellForeground/CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - end: - foreground: '#e9ff5e' - background: '#1d1f21' - - # Line indicator - # - # Color used for the indicator displaying the position in history during - # search and vi mode. - # - # By default, these will use the opposing primary color. - #line_indicator: - # foreground: None - # background: None - - # Selection colors - # - # Colors which should be used to draw the selection area. + hints: + # First character in the hint label # # Allowed values are CellForeground/CellBackground, which reference the # affected cell, or hexadecimal colors like #ff00ff. - #selection: - # text: CellBackground - # background: CellForeground - + start: + foreground: '#1d1f21' + background: '#e9ff5e' + + # All characters after the first one in the hint label + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + end: + foreground: '#e9ff5e' + background: '#1d1f21' + + # Line indicator + # + # Color used for the indicator displaying the position in history during + # search and vi mode. + # + # By default, these will use the opposing primary color. + #line_indicator: + # foreground: None + # background: None + + # Selection colors + # + # Colors which should be used to draw the selection area. + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #selection: + # text: CellBackground + # background: CellForeground + # Normal colors - normal: - black: '#1d1f21' - red: '#cc6666' - green: '#b5bd68' - yellow: '#f0c674' - blue: '#81a2be' - magenta: '#b294bb' - cyan: '#8abeb7' - white: '#c5c8c6' - + 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' - + 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' - + # + # 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: [] - + # + # 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 - + # + # 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 - + # + # 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 - + # disable the visual bell animation. + #duration: 0 + # Visual bell animation color. - #color: '#ffffff' - + #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 - + # + # 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" - + # "semantic words" in Alacritty. + #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" + # When set to `true or false`, selected text will be copied to the primary clipboard. - save_to_clipboard: true - + save_to_clipboard: true + cursor: # Cursor style - style: - # Cursor shape - # - # Values for `shape`: - # - ▇ Block - # - _ Underline - # - | Beam - shape: Underline - + style: + # Cursor shape + # + # Values for `shape`: + # - ▇ Block + # - _ Underline + # - | Beam + shape: Underline + # Cursor blinking state - # - # Values for `blinking`: - # - Never: Prevent the cursor from ever blinking - # - Off: Disable blinking by default - # - On: Enable blinking by default - # - Always: Force the cursor to always blink - blinking: On - + # + # Values for `blinking`: + # - Never: Prevent the cursor from ever blinking + # - Off: Disable blinking by default + # - On: Enable blinking by default + # - Always: Force the cursor to always blink + blinking: On + # Vi mode cursor style - # - # If the vi mode cursor style is `None` or not specified, it will fall back to - # the style of the active value of the normal cursor. - # - # See `cursor.style` for available options. - #vi_mode_style: None - + # + # 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 - + blink_interval: 750 + # If this is `true`, the cursor will be rendered as a hollow box when the - # window is not focused. - unfocused_hollow: false - + # window is not focused. + unfocused_hollow: false + # Thickness of the cursor relative to the cell width as floating point number - # from `0.0` to `1.0`. - #thickness: 0.15 - + # from `0.0` to `1.0`. + #thickness: 0.15 + # Live config reload (changes require restart) #live_config_reload: true @@ -444,60 +444,60 @@ cursor: #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 } - + # + # 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 - + #hide_when_typing: false + # Regex hints # # Terminal hints can be used to find text in the visible part of the terminal # and pipe it to other applications. #hints: # Keys used for the hint labels. - #alphabet: "jfkdls;ahgurieowpq" - + #alphabet: "jfkdls;ahgurieowpq" + # List with all available hints - # - # Each hint must have a `regex` and either an `action` or a `command` field. - # The fields `mouse`, `binding` and `post_processing` are optional. - # - # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and - # `mouse.mods` accept the same values as they do in the `key_bindings` section. - # - # The `mouse.enabled` field controls if the hint should be underlined while - # the mouse with all `mouse.mods` keys held or the vi mode cursor is above it. - # - # If the `post_processing` field is set to `true`, heuristics will be used to - # shorten the match if there are characters likely not to be part of the hint - # (e.g. a trailing `.`). This is most useful for URIs. - # - # Values for `action`: - # - Copy - # Copy the hint's text to the clipboard. - # - Paste - # Paste the hint's text to the terminal or search. - # - Select - # Select the hint's text. - # - MoveViModeCursor - # Move the vi mode cursor to the beginning of the hint. - #enabled: - # - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ - # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" - # command: xdg-open - # post_processing: true - # mouse: - # enabled: true - # mods: None - # binding: - # key: U - # mods: Control|Shift - + # + # Each hint must have a `regex` and either an `action` or a `command` field. + # The fields `mouse`, `binding` and `post_processing` are optional. + # + # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and + # `mouse.mods` accept the same values as they do in the `key_bindings` section. + # + # The `mouse.enabled` field controls if the hint should be underlined while + # the mouse with all `mouse.mods` keys held or the vi mode cursor is above it. + # + # If the `post_processing` field is set to `true`, heuristics will be used to + # shorten the match if there are characters likely not to be part of the hint + # (e.g. a trailing `.`). This is most useful for URIs. + # + # Values for `action`: + # - Copy + # Copy the hint's text to the clipboard. + # - Paste + # Paste the hint's text to the terminal or search. + # - Select + # Select the hint's text. + # - MoveViModeCursor + # Move the vi mode cursor to the beginning of the hint. + #enabled: + # - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ + # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" + # command: xdg-open + # post_processing: true + # mouse: + # enabled: true + # mods: None + # binding: + # key: U + # mods: Control|Shift + # Mouse bindings # # Mouse bindings are specified as a list of objects, much like the key @@ -738,108 +738,108 @@ cursor: # 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 } - + #- { key: Copy, action: Copy } + #- { key: L, mods: Control, action: ClearLogNotice } + #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } + #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, } + #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown } + #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, } + #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom } + # Vi Mode - #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } - #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom } - #- { key: Escape, mode: Vi|~Search, action: ClearSelection } - #- { key: I, mode: Vi|~Search, action: ToggleViMode } - #- { key: I, mode: Vi|~Search, action: ScrollToBottom } - #- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode } - #- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp } - #- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown } - #- { key: G, mode: Vi|~Search, action: ScrollToTop } - #- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom } - #- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp } - #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } - #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } - #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } - #- { key: Y, mode: Vi|~Search, action: Copy } - #- { key: Y, mode: Vi|~Search, action: ClearSelection } - #- { key: Copy, mode: Vi|~Search, action: ClearSelection } - #- { key: V, mode: Vi|~Search, action: ToggleNormalSelection } - #- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection } - #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } - #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } - #- { key: Return, mode: Vi|~Search, action: Open } - #- { key: K, mode: Vi|~Search, action: Up } - #- { key: J, mode: Vi|~Search, action: Down } - #- { key: H, mode: Vi|~Search, action: Left } - #- { key: L, mode: Vi|~Search, action: Right } - #- { key: Up, mode: Vi|~Search, action: Up } - #- { key: Down, mode: Vi|~Search, action: Down } - #- { key: Left, mode: Vi|~Search, action: Left } - #- { key: Right, mode: Vi|~Search, action: Right } - #- { key: Key0, mode: Vi|~Search, action: First } - #- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last } - #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied } - #- { key: H, mods: Shift, mode: Vi|~Search, action: High } - #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } - #- { key: L, mods: Shift, mode: Vi|~Search, action: Low } - #- { key: B, mode: Vi|~Search, action: SemanticLeft } - #- { key: W, mode: Vi|~Search, action: SemanticRight } - #- { key: E, mode: Vi|~Search, action: SemanticRightEnd } - #- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft } - #- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight } - #- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd } - #- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket } - #- { key: Slash, mode: Vi|~Search, action: SearchForward } - #- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward } - #- { key: N, mode: Vi|~Search, action: SearchNext } - #- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious } - + #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } + #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom } + #- { key: Escape, mode: Vi|~Search, action: ClearSelection } + #- { key: I, mode: Vi|~Search, action: ToggleViMode } + #- { key: I, mode: Vi|~Search, action: ScrollToBottom } + #- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode } + #- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp } + #- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown } + #- { key: G, mode: Vi|~Search, action: ScrollToTop } + #- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom } + #- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp } + #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } + #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } + #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } + #- { key: Y, mode: Vi|~Search, action: Copy } + #- { key: Y, mode: Vi|~Search, action: ClearSelection } + #- { key: Copy, mode: Vi|~Search, action: ClearSelection } + #- { key: V, mode: Vi|~Search, action: ToggleNormalSelection } + #- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection } + #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } + #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } + #- { key: Return, mode: Vi|~Search, action: Open } + #- { key: K, mode: Vi|~Search, action: Up } + #- { key: J, mode: Vi|~Search, action: Down } + #- { key: H, mode: Vi|~Search, action: Left } + #- { key: L, mode: Vi|~Search, action: Right } + #- { key: Up, mode: Vi|~Search, action: Up } + #- { key: Down, mode: Vi|~Search, action: Down } + #- { key: Left, mode: Vi|~Search, action: Left } + #- { key: Right, mode: Vi|~Search, action: Right } + #- { key: Key0, mode: Vi|~Search, action: First } + #- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last } + #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied } + #- { key: H, mods: Shift, mode: Vi|~Search, action: High } + #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } + #- { key: L, mods: Shift, mode: Vi|~Search, action: Low } + #- { key: B, mode: Vi|~Search, action: SemanticLeft } + #- { key: W, mode: Vi|~Search, action: SemanticRight } + #- { key: E, mode: Vi|~Search, action: SemanticRightEnd } + #- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft } + #- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight } + #- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd } + #- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket } + #- { key: Slash, mode: Vi|~Search, action: SearchForward } + #- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward } + #- { key: N, mode: Vi|~Search, action: SearchNext } + #- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious } + # Search Mode - #- { key: Return, mode: Search|Vi, action: SearchConfirm } - #- { key: Escape, mode: Search, action: SearchCancel } - #- { key: C, mods: Control, mode: Search, action: SearchCancel } - #- { key: U, mods: Control, mode: Search, action: SearchClear } - #- { key: W, mods: Control, mode: Search, action: SearchDeleteWord } - #- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious } - #- { key: N, mods: Control, mode: Search, action: SearchHistoryNext } - #- { key: Up, mode: Search, action: SearchHistoryPrevious } - #- { key: Down, mode: Search, action: SearchHistoryNext } - #- { key: Return, mode: Search|~Vi, action: SearchFocusNext } - #- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious } - + #- { 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 } - + #- { 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 } + #debug: # Display the time it takes to redraw each frame. - #render_timer: false - + #render_timer: false + # Keep the log file after quitting Alacritty. - #persistent_logging: false - + #persistent_logging: false + # Log level - # - # Values for `log_level`: - # - Off - # - Error - # - Warn - # - Info - # - Debug - # - Trace - #log_level: Warn - + # + # Values for `log_level`: + # - Off + # - Error + # - Warn + # - Info + # - Debug + # - Trace + #log_level: Warn + # Print all received window events. - #print_events: false \ No newline at end of file + #print_events: false \ No newline at end of file diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc index 03ac739..c9d51d7 100644 --- a/config/bspwm/bspwmrc +++ b/config/bspwm/bspwmrc @@ -11,18 +11,21 @@ pgrep -x sxhkd > /dev/null || sxhkd & # Run xrandr in the terminal. #xrandr -s 1920x1080 & +bspc monitor -d 1 2 3 4 5 6 7 8 9 0 + # Monitor Setup / Multi monitor and desktops #bspc monitor -d 1 2 3 4 5 6 7 8 9 0 # Desktops / Workspaces 1-9 + 0 = Desktop 10 -bspc monitor DP-2 -d 1 2 3 4 5 6 7 8 9 +#bspc monitor DP-2 -d 1 2 3 4 5 6 7 #bspc monitor DP-1 -d 8 -#bspc monitor DP-7 -d 9 +#bspc monitor DP-7 -d 8 9 -# Top padding on the other monitors. -#bspc config -m DP-1 top_padding 0 -#bspc config -m DP-7 top_padding 0 +# Top padding monitors so there is room for Polybar. +#bspc config -m DP-1 top_padding 0 +#bspc config -m DP-2 top_padding 28 +#bspc config -m DP-7 top_padding 0 # BSPwm - Setting. bspc config border_width 1 @@ -33,7 +36,7 @@ bspc config focused_border_color "#FF0A1B2A" bspc config window_gap 7 bspc config split_ratio 0.50 -# top_padding - Polybar. +# top_padding so there is room for Polybar. bspc config top_padding 28 bspc config bottom_padding 0 bspc config left_padding 0 @@ -51,7 +54,10 @@ bspc config pointer_follows_monitor true bspc config click_to_focus false bspc config pointer_modifier mod1 -bspc config pointer_action1 resize_side +bspc config pointer_action1 resize_side +bspc config pointer_action3 move +#bspc config pointer_action2 resize_corner + # Rule Commands - General Syntax. # bspc rule -a, --add (|*)[:(|\*)[:(|*)]] @@ -66,25 +72,31 @@ bspc config pointer_action1 resize_side bspc rule -a Nitrogen state=floating follow=on center=true rectangle=1050x700+0+0 bspc rule -a Screenkey manage=off -bspc rule -a xfreerdp state=floating +bspc rule -a xfreerdp state=floating center=true +bspc rule -a Gvncviewer state=floating center=true -bspc rule -a Google-chrome desktop=^2 follow=on border=off -bspc rule -a Mozilla Firefox desktop=^2 follow=on border=off -bspc rule -a Gimp desktop=^6 follow=on layer=above border=off -bspc rule -a Inkscape desktop=^7 follow=on border=off -bspc rule -a LibreCAD desktop=^7 follow=on border=off -bspc rule -a mpv desktop=^9 state=floating follow=on -bspc rule -a Code desktop=^3 follow=on border=off -bspc rule -a TeamViewer desktop=^8 state=floating follow=on border=off - -bspc rule -a Steam desktop=^6 follow=on border=off +bspc rule -a Google-chrome desktop=1 follow=on border=off +bspc rule -a Mozilla Firefox desktop=1 follow=on border=off +bspc rule -a Code desktop=3 follow=on border=off +bspc rule -a TeamViewer desktop=5 state=floating center=true follow=on border=off +bspc rule -a Steam desktop=6 follow=on border=off +bspc rule -a Gimp desktop=7 follow=on layer=above border=off +bspc rule -a Inkscape desktop=7 follow=on border=off +bspc rule -a LibreCAD desktop=7 follow=on border=off +bspc rule -a mpv desktop=7 state=fullscreen follow=on border=off # Automatically start up programs. -picom & +xsetroot -cursor_name left_ptr & nitrogen --restore & +pkill picom +sleep 1 +picom -b --experimental-backends & + $HOME/.config/polybar/run-polybar.sh & +xfce4-power-manager & + # lock computer automatically after X time of minutes. -xautolock -time 120 -locker "xsecurelock" -detectsleep -secure & \ No newline at end of file +xautolock -time 120 -locker "xsecurelock" -detectsleep -secure & diff --git a/config/bspwm/bspwmrc-vm b/config/bspwm/bspwmrc-vm index 40eadf6..6246fc4 100644 --- a/config/bspwm/bspwmrc-vm +++ b/config/bspwm/bspwmrc-vm @@ -5,15 +5,16 @@ pgrep -x sxhkd > /dev/null || sxhkd & #bspc monitor (-d or NAME) also the number that should be on that screen. #example of reverse order on screens. #bspc monitor Screen-1 -s Screen-2 - -#bspc monitor -d I II III IV V VI VII VIII IX X +# xrandr --listmonitors or xrandr -q | grep connected # set the screen resolution and you can find your maximum resolution with this Command. # Run xrandr in the terminal. xrandr -s 1920x1080 & -bspc monitor -d 1 2 3 4 5 6 7 8 9 10 +bspc monitor -d 1 2 3 4 5 6 7 8 9 0 + +# BSPwm - Setting. bspc config border_width 1 bspc config normal_border_color "#0A1B2A" bspc config active_border_color "#313745" @@ -22,7 +23,11 @@ bspc config focused_border_color "#FF0A1B2A" bspc config window_gap 7 bspc config split_ratio 0.50 +# top_padding so there is room for Polybar. bspc config top_padding 28 +bspc config bottom_padding 0 +bspc config left_padding 0 +bspc config right_padding 0 bspc config borderless_monocle true bspc config gapless_monocle true @@ -36,7 +41,10 @@ bspc config pointer_follows_monitor true bspc config click_to_focus false bspc config pointer_modifier mod1 -bspc config pointer_action1 resize_side +bspc config pointer_action1 resize_side +bspc config pointer_action3 move +#bspc config pointer_action2 resize_corner + # Rule Commands - General Syntax. # bspc rule -a, --add (|*)[:(|\*)[:(|*)]] @@ -51,20 +59,31 @@ bspc config pointer_action1 resize_side bspc rule -a Nitrogen state=floating follow=on center=true rectangle=1050x700+0+0 bspc rule -a Screenkey manage=off +bspc rule -a xfreerdp state=floating center=true +bspc rule -a Gvncviewer state=floating center=true + +bspc rule -a Google-chrome desktop=1 follow=on border=off +bspc rule -a Mozilla Firefox desktop=1 follow=on border=off +bspc rule -a Code desktop=3 follow=on border=off +bspc rule -a TeamViewer desktop=5 state=floating center=true follow=on border=off +bspc rule -a Steam desktop=6 follow=on border=off +bspc rule -a Gimp desktop=7 follow=on layer=above border=off +bspc rule -a Inkscape desktop=7 follow=on border=off +bspc rule -a LibreCAD desktop=7 follow=on border=off +bspc rule -a mpv desktop=7 state=fullscreen follow=on border=off -bspc rule -a Google-chrome desktop='^2' follow=on border=off -bspc rule -a Firefox desktop='^2' follow=on border=off -bspc rule -a Gimp desktop='^7' follow=on layer=above border=off -bspc rule -a Inkscape desktop='^8' follow=on border=off -bspc rule -a LibreCAD desktop='^9' follow=on border=off -bspc rule -a mpv desktop='^10' state=floating # Automatically start up programs. -picom & +xsetroot -cursor_name left_ptr & nitrogen --restore & +pkill picom +sleep 1 +picom -b --experimental-backends & + $HOME/.config/polybar/run-polybar.sh & +xfce4-power-manager & + # lock computer automatically after X time of minutes. -xautolock -time 15 -locker "xsecurelock" -detectsleep -secure & -#xscreensaver -nosplash & +xautolock -time 120 -locker "xsecurelock" -detectsleep -secure & diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc index 0fccae7..a61b4de 100644 --- a/config/dunst/dunstrc +++ b/config/dunst/dunstrc @@ -1,11 +1,11 @@ # See dunst(5) for all configuration options [global] -### Display ### - + ### Display ### + # Which monitor should the notifications be displayed on. monitor = 0 - + # Display notification on focused monitor. Possible modes are: # mouse: follow mouse pointer # keyboard: follow window with keyboard focus @@ -18,7 +18,7 @@ # If this option is set to mouse or keyboard, the monitor option # will be ignored. follow = mouse - + # The geometry of the window: # [{width}]x{height}[+/-{x}+/-{y}] # The geometry of the message window. @@ -32,63 +32,63 @@ # The width can be negative. In this case the actual width is the # screen width minus the width defined in within the geometry option. geometry = "0x0-30+20" - + # Position the notification in the top right corner origin = top-right - + # Maximum number of notification (0 means no limit) notification_limit = 0 - + ### Progress bar ### - + # Turn on the progess bar. It appears when a progress hint is passed with # for example dunstify -h int:value:12 progress_bar = true - + # Set the progress bar height. This includes the frame, so make sure # it's at least twice as big as the frame width. progress_bar_height = 10 - + # Set the frame width of the progress bar progress_bar_frame_width = 1 - + # Set the minimum width for the progress bar progress_bar_min_width = 150 - + # Set the maximum width for the progress bar progress_bar_max_width = 300 - - + + # Show how many messages are currently hidden (because of # notification_limit). indicate_hidden = yes - + # The transparency of the window. Range: [0; 100]. # This option will only work if a compositing window manager is # present (e.g. xcompmgr, compiz, etc.). (X11 only) transparency = 0 - + # Draw a line of "separator_height" pixel height between two # notifications. # Set to 0 to disable. separator_height = 2 - + # Padding between text and separator. padding = 8 - + # Horizontal padding. horizontal_padding = 8 - + # Padding between text and icon. text_icon_padding = 0 - + # Defines width in pixels of frame around the notification window. # Set to 0 to disable. frame_width = 1 - + # Defines color of the frame around the notification window. frame_color = "#404242" - + # Define a color for the separator. # possible values are: # * auto: dunst tries to find a color fitting to the background; @@ -96,25 +96,25 @@ # * frame: use the same color as the frame; # * anything else will be interpreted as a X color. separator_color = frame - + # Sort messages by urgency. sort = yes - + # Don't remove messages, if the user is idle (no mouse or keyboard input) # for longer than idle_threshold seconds. # Set to 0 to disable. # A client can set the 'transient' hint to bypass this. See the rules # section for how to disable this if necessary # idle_threshold = 120 - + ### Text ### - + font = Monospace 8 - + # The spacing between lines. If the height is smaller than the # font height, it will get raised to the font height. line_height = 0 - + # Possible values are: # full: Allow a small subset of html markup in notifications: # bold @@ -138,7 +138,7 @@ # It's important to note that markup inside the format option will be parsed # regardless of what this is set to. markup = full - + # The format of the message. Possible variables are: # %a appname # %s summary @@ -150,103 +150,103 @@ # %% Literal % # Markup is allowed format = "%s\n%b" - + # Alignment of message text. # Possible values are "left", "center" and "right". alignment = left - + # Vertical alignment of message text and icon. # Possible values are "top", "center" and "bottom". vertical_alignment = center - + # Show age of message if message is older than show_age_threshold # seconds. # Set to -1 to disable. show_age_threshold = 60 - + # Specify where to make an ellipsis in long lines. # Possible values are "start", "middle" and "end". ellipsize = middle - + # Ignore newlines '\n' in notifications. ignore_newline = no - + # Stack together notifications with the same content stack_duplicates = true - + # Hide the count of stacked notifications with the same content hide_duplicate_count = false - + # Display indicators for URLs (U) and actions (A). show_indicators = yes - + ### Icons ### - + # Align icons left/right/top/off icon_position = left - + # Scale small icons up to this size, set to 0 to disable. Helpful # for e.g. small files or high-dpi screens. In case of conflict, # max_icon_size takes precedence over this. min_icon_size = 0 - + # Scale larger icons down to this size, set to 0 to disable max_icon_size = 32 - + # Paths to default icons. icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ - + ### History ### - + # Should a notification popped up from history be sticky or timeout # as if it would normally do. sticky_history = yes - + # Maximum amount of notifications kept in history history_length = 20 - + ### Misc/Advanced ### - + # dmenu path. dmenu = /usr/bin/dmenu -p dunst: - + # Browser for opening urls in context menu. browser = /usr/bin/xdg-open - + # Always run rule-defined scripts, even if the notification is suppressed always_run_script = true - + # Define the title of the windows spawned by dunst title = Dunst - + # Define the class of the windows spawned by dunst class = Dunst - - # Define the corner radius of the notification window + + # Define the corner radius of the notification window # in pixel size. If the radius is 0, you have no rounded # corners. # The radius will be automatically lowered if it exceeds half of the # notification height to avoid clipping text and/or icons. corner_radius = 0 - + # Ignore the dbus closeNotification message. # Useful to enforce the timeout set by dunst configuration. Without this # parameter, an application may close the notification sent before the # user defined timeout. ignore_dbusclose = false - + ### Wayland ### # These settings are Wayland-specific. They have no effect when using X11 - + # Uncomment this if you want to let notications appear under fullscreen # applications (default: overlay) # layer = top - + # Set this to true to use X11 output on Wayland. force_xwayland = false - + ### Legacy - + # Use the Xinerama extension instead of RandR for multi-monitor support. # This setting is provided for compatibility with older nVidia drivers that # do not support RandR and using it on systems that support RandR is highly @@ -256,9 +256,9 @@ # is connected or disconnected which might break follow mode if the screen # layout changes. force_xinerama = false - + ### mouse - + # Defines list of actions for each mouse event # Possible values are: # * none: Don't do anything. @@ -275,20 +275,20 @@ mouse_left_click = close_current mouse_middle_click = do_action, close_current mouse_right_click = close_all - - # Experimental features that may or may not work correctly. Do not expect them + +# Experimental features that may or may not work correctly. Do not expect them # to have a consistent behaviour across releases. [experimental] -# Calculate the dpi to use on a per-monitor basis. + # Calculate the dpi to use on a per-monitor basis. # If this setting is enabled the Xft.dpi value will be ignored and instead # dunst will attempt to calculate an appropriate dpi value for each monitor # using the resolution and physical size. This might be useful in setups # where there are multiple screens with very different dpi values. per_monitor_dpi = false - - - [urgency_low] -# IMPORTANT: colors have to be defined in quotation marks. + + +[urgency_low] + # IMPORTANT: colors have to be defined in quotation marks. # Otherwise the "#" and following would be interpreted as a comment. background = "#222222" foreground = "#888888" @@ -296,24 +296,24 @@ timeout = 7 # Icon for notifications with low urgency, uncomment to enable #default_icon = /path/to/icon - - [urgency_normal] -background = "#161e24" + +[urgency_normal] + background = "#161e24" foreground = "#fefefe" frame_color = "#404242" timeout = 10 # Icon for notifications with normal urgency, uncomment to enable #default_icon = /path/to/icon - - [urgency_critical] -background = "#900000" + +[urgency_critical] + background = "#900000" foreground = "#f5f5f5" frame_color = "#ff0000" timeout = 0 # Icon for notifications with critical urgency, uncomment to enable #default_icon = /path/to/icon - - # Every section that isn't one of the above is interpreted as a rules to + +# Every section that isn't one of the above is interpreted as a rules to # override settings for certain messages. # # Messages can be matched by @@ -435,4 +435,4 @@ background = "#900000" # appname = "some_volume_notifiers" # set_stack_tag = "volume" # -# vim: ft=cfg +# vim: ft=cfg \ No newline at end of file diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf index 7b678c2..9998fd8 100644 --- a/config/kitty/kitty.conf +++ b/config/kitty/kitty.conf @@ -1,7 +1,7 @@ # vim:fileencoding=utf-8:ft=conf:foldmethod=marker #: Fonts {{{ - + #: kitty has very powerful font management. You can configure #: individual font faces and even specify special fonts for particular #: characters. @@ -163,7 +163,7 @@ box_drawing_scale 0.001, 1, 1.5, 2 #: }}} #: Cursor customization {{{ - + cursor #f2f2f2 #: Default cursor color @@ -203,7 +203,7 @@ cursor_stop_blinking_after 99.0 #: }}} #: Scrollback {{{ - + scrollback_lines 5000 #: Number of lines of history to keep in memory for scrolling back. @@ -259,7 +259,7 @@ touch_scroll_multiplier 1.0 #: }}} #: Mouse {{{ - + mouse_hide_wait 3.0 mouse_map right click paste_from_clipboard @@ -355,7 +355,7 @@ pointer_shape_when_dragging beam #: Valid values are: arrow, beam and hand #: Mouse actions {{{ - + #: Mouse buttons can be remapped to perform arbitrary actions. The #: syntax for doing so is: @@ -436,7 +436,7 @@ mouse_map shift+right press ungrabbed,grabbed mouse_selection extend #: }}} #: Performance tuning {{{ - + repaint_delay 10 #: Delay (in milliseconds) between screen updates. Decreasing it, @@ -467,7 +467,7 @@ sync_to_monitor yes #: }}} #: Terminal bell {{{ - + enable_audio_bell no #: Enable/disable the audio bell. Useful in environments that require @@ -496,7 +496,7 @@ command_on_bell none #: }}} #: Window layout {{{ - + remember_window_size yes initial_window_width 800 initial_window_height 500 @@ -632,7 +632,7 @@ confirm_os_window_close 0 #: }}} #: Tab bar {{{ - + tab_bar_edge bottom #: Which edge to show the tab bar on, top or bottom @@ -734,7 +734,7 @@ tab_bar_background none #: }}} #: Color scheme {{{ - + foreground #f2f2f2 background #09141E @@ -805,7 +805,7 @@ selection_background #fffacd #: The background for text selected with the mouse. #: The color table {{{ - + #: The 256 terminal colors. There are 8 basic colors, each color has a #: dull and bright version, for the first 16 colors. You can set the #: remaining 240 colors as color16 to color255. @@ -872,7 +872,7 @@ mark3_background #f274bc #: }}} #: Advanced {{{ - + shell . #: The shell program to execute. The default value of . means to use @@ -980,6 +980,7 @@ allow_hyperlinks yes term xterm-kitty +# term xterm-kitty #: The value of the TERM environment variable to set. Changing this #: can break many terminal programs, only change it if you know what #: you are doing, not because you read some advice on Stack Overflow @@ -994,7 +995,7 @@ term xterm-kitty #: }}} #: OS specific tweaks {{{ - + wayland_titlebar_color system #: Change the color of the kitty window's titlebar on Wayland systems @@ -1081,7 +1082,7 @@ linux_display_server auto #: }}} #: Keyboard shortcuts {{{ - + #: Keys are identified simply by their lowercase unicode characters. #: For example: ``a`` for the A key, ``[`` for the left square bracket #: key, etc. For functional keys, such as ``Enter or Escape`` the @@ -1161,7 +1162,7 @@ clear_all_shortcuts no #: including the builtin ones. #: Clipboard {{{ - + map kitty_mod+c copy_to_clipboard #: There is also a copy_or_interrupt action that can be optionally @@ -1190,7 +1191,7 @@ map kitty_mod+v paste_from_clipboard #: }}} #: Scrolling {{{ - + map kitty_mod+up scroll_line_up map kitty_mod+down scroll_line_down map kitty_mod+page_up scroll_page_up @@ -1212,7 +1213,7 @@ map kitty_mod+h show_scrollback #: }}} #: Window management {{{ - + #map kitty_mod+enter new_window #: You can open a new window running an arbitrary program, for @@ -1266,7 +1267,7 @@ map kitty_mod+0 tenth_window #: }}} #: Tab management {{{ - + map kitty_mod+right next_tab map kitty_mod+left previous_tab map kitty_mod+t new_tab @@ -1292,7 +1293,7 @@ map kitty_mod+alt+t set_tab_title #: }}} #: Layout management {{{ - + map kitty_mod+l next_layout #: You can also create shortcuts to switch to specific layouts:: @@ -1306,7 +1307,7 @@ map kitty_mod+l next_layout #: }}} #: Font sizes {{{ - + #: You can change the font size for all top-level kitty OS windows at #: a time or only the current one. @@ -1325,7 +1326,7 @@ map kitty_mod+backspace change_font_size all 0 #: }}} #: Select and act on visible text {{{ - + #: Use the hints kitten to select text and either pass it to an #: external program or insert it into the terminal or copy it to the #: clipboard. @@ -1376,7 +1377,7 @@ map kitty_mod+p>y kitten hints --type hyperlink #: }}} #: Miscellaneous {{{ - + map kitty_mod+f11 toggle_fullscreen map kitty_mod+f10 toggle_maximized map kitty_mod+u kitten unicode_input @@ -1414,7 +1415,7 @@ map kitty_mod+delete clear_terminal reset active #: .. code-block:: sh #: scroll-and-clear-screen() { - #: printf '\n%.0s' {1..$LINES} +#: printf '\n%.0s' {1..$LINES} #: zle clear-screen #: } #: zle -N scroll-and-clear-screen @@ -1463,4 +1464,4 @@ map kitty_mod+f6 debug_config #: }}} -#: }}} +#: }}} \ No newline at end of file diff --git a/config/picom/picom.conf b/config/picom/picom.conf index 0085944..a2f4c72 100644 --- a/config/picom/picom.conf +++ b/config/picom/picom.conf @@ -1,9 +1,14 @@ ################################# ### Martin - Config ### + +#picom --experimental-backends & + + #-------------------------------# # Transparency / Opacity # ################################# + # Use the opacity-rule to git transparency. # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) @@ -42,7 +47,7 @@ inactive-opacity = 1.0; # and there is also whether there is Focused or Unfocused. # #opacity-rule = [ - # "95:class_g = 'kitty' && focused", +# "95:class_g = 'kitty' && focused", # "75:class_g = 'kitty' && !focused", # "95:class_g = 'Alacritty' && focused", # "75:class_g = 'Alacritty' && !focused" @@ -50,12 +55,12 @@ inactive-opacity = 1.0; # Remember not to add comma "," to the last rule... but it must be at the end of all others. opacity-rule = [ - "92:class_g = 'Rofi'", - "95:class_g = 'kitty' && focused", - "75:class_g = 'kitty' && !focused", - "95:class_g = 'Alacritty' && focused", - "75:class_g = 'Alacritty' && !focused" - ]; + "92:class_g = 'Rofi'", + "95:class_g = 'kitty' && focused", + "75:class_g = 'kitty' && !focused", + "95:class_g = 'Alacritty' && focused", + "75:class_g = 'Alacritty' && !focused" +]; ################################# # Shadows # @@ -67,22 +72,22 @@ opacity-rule = [ # unless explicitly requested using the wintypes option. # #shadow = false; -shadow = true; +#shadow = true; # The blur radius for shadows, in pixels. (defaults to 12) # shadow-radius = 12; -shadow-radius = 14; +#shadow-radius = 14; # The opacity of shadows. (0.0 - 1.0, defaults to 0.75) -shadow-opacity = 0.3; +#shadow-opacity = 0.3; # The left offset for shadows, in pixels. (defaults to -15) # shadow-offset-x = -15; -shadow-offset-x = -15; +#shadow-offset-x = -15; # The top offset for shadows, in pixels. (defaults to -15) # shadow-offset-y = -15; -shadow-offset-y = -15; +#shadow-offset-y = -15; # Red color value of shadow (0.0 - 1.0, defaults to 0). # shadow-red = 0; @@ -102,13 +107,13 @@ shadow-offset-y = -15; # shadow-exclude = "n:e:Notification"; # # shadow-exclude = [] -shadow-exclude = [ - "name = 'Notification'", - "class_g = 'Conky'", - "class_g ?= 'Notify-osd'", - "class_g = 'Cairo-clock'", - "_GTK_FRAME_EXTENTS@:c" - ]; +#shadow-exclude = [ +# "name = 'Notification'", +# "class_g = 'Conky'", +# "class_g ?= 'Notify-osd'", +# "class_g = 'Cairo-clock'", +# "_GTK_FRAME_EXTENTS@:c" +#]; # Specify a list of conditions of windows that should have no shadow painted over, such as a dock window. # clip-shadow-above = [] @@ -131,16 +136,16 @@ shadow-exclude = [ # Fade windows in/out when opening/closing and when opacity changes, # unless no-fading-openclose is used. -# fading = false; +fading = false; #fading = true; # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # fade-in-step = 0.028; -#fade-in-step = 0.03; +fade-in-step = 0.01; # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) # fade-out-step = 0.03; -#fade-out-step = 0.03; +fade-out-step = 0.01; # The time between steps in fade step, in milliseconds. (> 0, defaults to 10) # fade-delta = 10; @@ -166,7 +171,7 @@ shadow-exclude = [ # Exclude conditions for rounded corners. #rounded-corners-exclude = [ - # "window_type = 'dock'", +# "window_type = 'dock'", # "window_type = 'desktop'" #]; @@ -189,6 +194,8 @@ shadow-exclude = [ # The name of the switch may change without prior notifications. #blur-background = false; blur-background = true; +blur-method = "dual_kawase"; +blur-strength = 3; # Blur background of windows when the window frame is not opaque. # Implies: @@ -208,23 +215,25 @@ blur-background = true; # #blur-kern = "3x3box"; #blur-kern = "5x5box"; -blur-kern = "7x7box"; +#blur-kern = "7x7box"; # Exclude conditions for background blur. # blur-background-exclude = [] blur-background-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'", - "window_type = 'utility'", - "window_type = 'dialog'", - "window_type = 'popup_menu'", #start_menu - "window_type = 'menu'", - "window_type = 'dropdown_menu'", - "window_type = 'tooltip'", - "window_type = 'splash'", - "class_g = 'slop'", - "_GTK_FRAME_EXTENTS@:c" - ]; +# "window_type = 'dock'", # Polybar + "window_type = 'desktop'", + "window_type = 'utility'", + "window_type = 'dialog'", + "window_type = 'popup_menu'", #start_menu + "window_type = 'menu'", + "window_type = 'dropdown_menu'", + "window_type = 'tooltip'", + "window_type = 'splash'", + "class_g = 'slop'", + "class_g = 'Google-chrome'", + "class_g = 'Firefox-esr'", + "_GTK_FRAME_EXTENTS@:c" +]; ################################# # General Settings # @@ -240,7 +249,7 @@ backend = "glx"; #backend = "xrender"; # Enable/disable VSync. -# vsync = false; +vsync = false; #vsync = true; # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. @@ -265,14 +274,14 @@ backend = "glx"; # Detect '_NET_WM_OPACITY' on client windows, useful for window managers # not passing '_NET_WM_OPACITY' of client windows to frame windows. # -# detect-client-opacity = false; -#detect-client-opacity = true; +#detect-client-opacity = false; +detect-client-opacity = true; # Specify refresh rate of the screen. If not specified or 0, picom will # try detecting this with X RandR extension. # # refresh-rate = 60; -#refresh-rate = 0; +refresh-rate = 0; # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, @@ -295,8 +304,8 @@ backend = "glx"; # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows # in the same group focused at the same time. # -# detect-transient = false -#detect-transient = true; +#detect-transient = false; +detect-transient = true; # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same # group focused at the same time. This usually means windows from the same application @@ -328,7 +337,7 @@ backend = "glx"; # practically happened) and may not work with blur-background. # My tests show a 15% performance boost. Recommended. # -# glx-no-stencil = false +glx-no-stencil = true # GLX backend: Avoid rebinding pixmap on window damage. # Probably could improve performance on rapid window content changes, @@ -342,8 +351,8 @@ backend = "glx"; # has actually changed. Potentially degrades the performance, but might fix some artifacts. # The opposing option is use-damage # -# no-use-damage = false -#use-damage = true; +#no-use-damage = false; +use-damage = true; # Use X Sync fence to sync clients' draw calls, to make sure all draw # calls are finished before picom starts drawing. Needed on nvidia-drivers @@ -385,7 +394,7 @@ backend = "glx"; # If using the "TRACE" log level, it's better to log into a file # using *--log-file*, since it can generate a huge stream of logs. # -# log-level = "debug" +# log-level = "debug"; log-level = "warn"; # Set the log file. @@ -438,10 +447,9 @@ log-level = "warn"; # wintypes: { - tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; }; - dock = { shadow = false; clip-shadow-above = true; } - dnd = { shadow = false; } - popup_menu = { opacity = 1.0; } - dropdown_menu = { opacity = 1.0; } - }; - \ No newline at end of file + tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; }; + dock = { shadow = false; clip-shadow-above = true; } + dnd = { shadow = false; } + popup_menu = { opacity = 1.0; } + dropdown_menu = { opacity = 1.0; } +}; \ No newline at end of file diff --git a/config/polybar/config b/config/polybar/config index 3d82995..2aea1f5 100644 --- a/config/polybar/config +++ b/config/polybar/config @@ -58,18 +58,21 @@ c9 = #d15213 [bar/bspwmbar] -;monitor = ${env:MONITOR:HDMI-1} +;monitor = DP-2 width = 100% height = 28 -;offset-x = 1% -;offset-y = 1% +offset-x = 0% +offset-y = 0% radius = 0 fixed-center = false +wm-restack = bspwm +override-redirect = true + background = ${colors.background} foreground = ${colors.foreground} -line-size = 1 +line-size = 0 line-color = #dbdbdb ;# Ttransparent or Solid color border around Polybar. (Size in Pixels) @@ -93,18 +96,15 @@ font-5 = "DejaVuSansMono Nerd Font:style=Book:size=12;2" ;font-6 = "DejaVu Sans:style=Regular:size=11;2" modules-left = bspwm xwindow -;modules-center = mpd -modules-right = pulseaudio cpu memory wlan eth date temperature battery session +;modules-center = +modules-right = pulseaudio cpu memory date temperature session ; Models list - filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date session tray-position = right -tray-padding = 2 +tray-padding = 1 ;tray-background = #0063ff -wm-restack = bspwm -override-redirect = true - ;scroll-up = bspwm-desknext ;scroll-down = bspwm-deskprev @@ -113,7 +113,7 @@ cursor-scroll = ns-resize [module/xwindow] type = internal/xwindow -label = %title:0:30:...% +label = %title:0:55:...% [module/xkeyboard] type = internal/xkeyboard @@ -261,7 +261,7 @@ ramp-signal-foreground = ${colors.foreground-alt} [module/eth] type = internal/network -interface = enp1s0 +interface = enp5s0 interval = 3.0 format-connected-underline = #55aa55 @@ -279,7 +279,7 @@ format-disconnected = type = internal/date interval = 5 -date = +date = "%d-%m" date-alt = " %d-%m-%Y" time = %H:%M @@ -424,4 +424,4 @@ screenchange-reload = true margin-top = 5 margin-bottom = 5 -; vim:ft=dosini \ No newline at end of file +; vim:ft=dosini diff --git a/config/polybar/run-polybar.sh b/config/polybar/run-polybar.sh index 71abe51..41c2191 100644 --- a/config/polybar/run-polybar.sh +++ b/config/polybar/run-polybar.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash + # Terminate already running bar instances #killall -q polybar pkill polybar -pkill polybar while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index bfe7347..31172d9 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -8,7 +8,7 @@ super + shift + ctrl + alt + Escape ################################### -# TerminalĀ“s primary and secondary. +# Terminal´s primary and secondary. super + Return kitty @@ -46,8 +46,10 @@ super + shift + e thunar # Steam (flatpak run) -super + alt + s - flatpak run com.valvesoftware.Steam +super + ctrl + s + steam + +# flatpak run com.valvesoftware.Steam # Audio / Music @@ -58,30 +60,46 @@ super + alt + m pulsemixer --toggle-mute super + alt + Up - pulsemixer --change-volume +5 + pulsemixer --change-volume +1 super + alt + Down - pulsemixer --change-volume -5 + pulsemixer --change-volume -1 XF86AudioRaiseVolume - pulsemixer --change-volume +5 + pulsemixer --change-volume +1 XF86AudioLowerVolume - pulsemixer --change-volume -5 + pulsemixer --change-volume -1 XF86AudioMute pulsemixer --toggle-mute super + ctrl + alt + m - kitty -e mocp + kitty -e mocpsteam + -# Open .config folder in VS Code super + ctrl + alt + c - kitty -e code ~/.config/ + code -r ~/.config +# GVNCviewer +super + ctrl + g + gvncviewer 192.168.1.10:77 + +# NXw +super + ctrl + o + /opt/networkoptix/client/4.2.0.32840/bin/client-bin + + +# Remote Desktop Protocol (RDP) +super + ctrl + r + bash -ic 'rdp' + +# Flameshot (Screenshot Software) +super + ctrl + alt + s + flameshot gui -p ~/Screenshots # lock computer -super + l +super + alt + l xsecurelock @@ -207,4 +225,4 @@ super + alt + shift + {h,j,k,l} # move a floating window super + {Left,Down,Up,Right} - bspc node -v {-10 0,0 10,0 -10,10 0} \ No newline at end of file + bspc node -v {-10 0,0 10,0 -10,10 0} diff --git a/config/sxhkd/sxhkdrc-vm b/config/sxhkd/sxhkdrc-vm index 218a0db..4e2747c 100644 --- a/config/sxhkd/sxhkdrc-vm +++ b/config/sxhkd/sxhkdrc-vm @@ -1,13 +1,14 @@ # -# Hotkey - Config +# SXHKD Hotkey's config. # -################################### -# Reload sxhkd config file. -alt + shift + ctrl + Escape +# Reload SXHKD Config. + +shift + ctrl + alt + Escape pkill -USR1 -x sxhkd + ################################### -# TerminalĀ“s primary and secondary. +# Terminal´s primary and secondary. alt + Return kitty @@ -15,20 +16,20 @@ alt + shift + Return alacritty -# Rofi launcher # # # # # # # # # # # # # +# Rofi launcher - Start # # # # # # # # # # # # # # # # # # alt + r - rofi -show run + rofi -modi "run,window,filebrowser,ssh" -show run -alt + shift + r - rofi -modi "run,window,file-browser,ssh" -show run +alt + space + rofi -modi "run,window,filebrowser,ssh" -show run alt + ctrl + m . ~/.config/rofi/rofi-beats.sh -alt + ctrl + alt + w +shift + ctrl + alt + w . ~/.config/rofi/rofi-wifi-menu.sh -# Rofi launcher # # # # # # # # # # # # # +# Rofi launcher - End # # # # # # # # # # # # # # # # # # # alt + b google-chrome @@ -36,17 +37,71 @@ alt + b alt + shift + b firefox + +# File Manager alt + e pcmanfm -alt + shift + ctrl + a - kitty -e pulsemixer +alt + shift + e + thunar + +# Steam (flatpak run) +alt + ctrl + s + steam + +# flatpak run com.valvesoftware.Steam + +# Audio / Music + +shift + alt + a + kitty -e pulsemixer + +shift + alt + m + pulsemixer --toggle-mute + +shift + alt + Up + pulsemixer --change-volume +1 + +shift + alt + Down + pulsemixer --change-volume -1 + +XF86AudioRaiseVolume + pulsemixer --change-volume +1 + +XF86AudioLowerVolume + pulsemixer --change-volume -1 + +XF86AudioMute + pulsemixer --toggle-mute + +shift + ctrl + alt + m + kitty -e mocpsteam -####### lock computer ####### -alt + l +shift + ctrl + alt + c + code -r ~/.config + +# GVNCviewer +alt + ctrl + g + gvncviewer 192.168.1.10:77 + +# NXw +alt + ctrl + o + /opt/networkoptix/client/4.2.0.32840/bin/client-bin + + +# Remote Desktop Protocol (RDP) +alt + ctrl + r + bash -ic 'rdp' + +# Flameshot (Screenshot Software) +shift + ctrl + alt + s + flameshot gui -p ~/Screenshots + +# lock computer +shift + alt + l xsecurelock -####### lock computer ####### + # # @@ -65,7 +120,7 @@ alt + l # quit/restart bspwm -alt + shift + ctrl + {q,r} +ctrl + alt + shift + {q,r} bspc {quit,wm -r} # close and kill @@ -127,8 +182,14 @@ alt + {o,i} bspc wm -h on # focus or send to the given desktop -alt + {_,shift + }{1-9,0} - bspc {desktop -f,node -d} '^{1-9,10}' +#super + {_,shift + }{1-9,0} +# bspc {desktop -f,node -d} '^{1-9,10}' + +alt + {1-9,0} + bspc desktop -f {1-9,10} + +alt + shift + {1-9,0} + bspc node -d {1-9,10} -f # # Preselect @@ -155,37 +216,13 @@ alt + ctrl + shift + space # # expand a window by moving one of its side outward -alt + ctrl + {h,j,k,l} - bspc node -z {left -50 0,bottom 0 50,top 0 -50,right 50 0} +shift + alt + {h,j,k,l} + bspc node -z {left -10 0,bottom 0 10,top 0 -10,right 10 0} # contract a window by moving one of its side inward -alt + ctrl + shift + {h,j,k,l} - bspc node -z {right -50 0,top 0 50,bottom 0 -50,left 50 0} +ctrl + alt + shift + {h,j,k,l} + bspc node -z {right -10 0,top 0 10,bottom 0 -10,left 10 0} # move a floating window alt + {Left,Down,Up,Right} - bspc node -v {-50 0,0 50,0 -50,50 0} - - - -# -# 88b d88 88 88 88 -# 888b d888 88 "" 88 -# 88`8b d8'88 88 88 -# 88 `8b d8' 88 ,adPPYba, ,adPPYb,88 88 ,adPPYYba, 88 ,d8 ,adPPYba, 8b d8 ,adPPYba, -# 88 `8b d8' 88 a8P_____88 a8" `Y88 88 "" `Y8 aaaaaaaa 88 ,a8" a8P_____88 `8b d8' I8[ "" -# 88 `8b d8' 88 8PP""""""" 8b 88 88 ,adPPPPP88 """""""" 8888[ 8PP""""""" `8b d8' `"Y8ba, -# 88 `888' 88 "8b, ,aa "8a, ,d88 88 88, ,88 88`"Yba, "8b, ,aa `8b,d8' aa ]8I -# 88 `8' 88 `"Ybbd8"' `"8bbdP"Y8 88 `"8bbdP"Y8 88 `Y8a `"Ybbd8"' Y88' `"YbbdP"' -# d8' -# d8' -# - -alt + ctrl + Up - amixer -D pulse sset Master 5%+ - -alt + ctrl + Down - amixer -D pulse sset Master 5%- - -# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # - + bspc node -v {-10 0,0 10,0 -10,10 0} diff --git a/install-scripts/apt-install-core-packages.sh b/install-scripts/apt-install-core-packages.sh index 22cb836..9cd38f3 100644 --- a/install-scripts/apt-install-core-packages.sh +++ b/install-scripts/apt-install-core-packages.sh @@ -17,10 +17,10 @@ sudo apt update && sudo apt upgrade -y echo "Enter your user password, to continue if necessary" # Core packages to be installed -sudo apt install -y xorg x11-xserver-utils arandr autorandr dialog bspwm sxhkd sddm picom polybar xautolock xsecurelock network-manager git kitty psmisc rofi pcmanfm tlp font-manager gvfs-backends nitrogen dunst cups smbclient lxpolkit xbacklight lxappearance htop mc xarchiver pulseaudio pulsemixer moc mpv npm cava curl tmux imagemagick feh sxiv scrot flameshot firefox-esr numlockx ranger neovim notify-osd neofetch flatpak timeshift rename gparted +sudo apt install -y xorg x11-xserver-utils arandr autorandr dialog bspwm sxhkd sddm picom polybar xautolock xsecurelock network-manager git kitty psmisc rofi pcmanfm font-manager gvfs-backends nitrogen dunst cups smbclient lxpolkit xbacklight lxappearance htop mc xarchiver pulseaudio pulsemixer moc mpv npm cava curl tmux imagemagick feh sxiv scrot flameshot firefox-esr numlockx ranger neovim notify-osd neofetch flatpak timeshift rename gparted xfce4-power-manager xfce4-settings # Not for production version -read -p "Troubleshooting - Press a key to continue the installation." +#read -p "Troubleshooting - Press a key to continue the installation." # Google Chrome - Download + Install ON / OFF rm google-chrome-stable_current_amd64.deb diff --git a/install-scripts/install-steam.sh b/install-scripts/install-steam.sh new file mode 100644 index 0000000..eb5a44f --- /dev/null +++ b/install-scripts/install-steam.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-" +echo " " +echo " Install Steam via .DEB and APT & NVIDIA GPU libs-i386" +echo " " +echo " Enter your user password, to continue if necessary" +echo " " +echo " continues the installation in 3 seconds" +echo " " +echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-" +sleep 2 + +cd /tmp +wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb + +sudo apt install -y nvidia-driver-libs:i386 + +sudo apt install -y ./steam.deb + +clear +echo " # # # # # RUN STEAM CORMAND: steam" \ No newline at end of file diff --git a/install-scripts/mkdir-cp-git-chmod-echo-files.sh b/install-scripts/mkdir-cp-git-chmod-echo-files.sh index c00f4e7..50eff50 100644 --- a/install-scripts/mkdir-cp-git-chmod-echo-files.sh +++ b/install-scripts/mkdir-cp-git-chmod-echo-files.sh @@ -59,12 +59,14 @@ echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-" sudo sh -c "echo 'deb http://deb.debian.org/debian/ testing main contrib non-free' >> /etc/apt/sources.list" sudo sh -c "echo 'deb-src http://deb.debian.org/debian/ testing main contrib non-free' >> /etc/apt/sources.list" +sudo sh -c "echo 'Xcursor.theme: Nordzy-cursors' >> /etc/X11/Xresources/x11-common" +sudo sh -c "echo 'Xcursor.size: 18' >> /etc/X11/Xresources/x11-common" echo " Add UPUP alias to bash under bash_aliases config." -touch ~/.bash_aliases -echo 'alias ls="ls --color=auto --group-directories-first -v -la"' >> ~/.bash_aliases -echo 'alias vi="nvim"' >> ~/.bash_aliases -echo 'alias upup="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y"' >> ~/.bash_aliases +touch ~/.bashrc +echo 'alias ls="ls --color=auto --group-directories-first -v -la"' >> ~/.bashrc +echo 'alias vi="nvim"' >> ~/.bashrc +echo 'alias upup="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y"' >> ~/.bashrc # Echo Nitrogen config to files. #echo "dirs=$HOME/wallpapers/1080p;" >> ~/.config/nitrogen/nitrogen.cfg