diff --git a/files/.config/alacritty/alacritty.yml b/files/.config/alacritty/alacritty.yml index f2a67d2..99db71e 100644 --- a/files/.config/alacritty/alacritty.yml +++ b/files/.config/alacritty/alacritty.yml @@ -1,16 +1,16 @@ -# Configuration for Alacritty, the GPU enhanced terminal emulator. - env: TERM: alacritty window: - #dimensions: - # columns: 0 - # lines: 0 + title: Alacritty - #position: - # x: 0 - # y: 0 + dimensions: + columns: 0 + lines: 0 + + position: + x: 0 + y: 0 padding: x: 20 @@ -18,112 +18,52 @@ window: dynamic_padding: false - # Values for `decorations`: - # - full: Borders and title bar - # - none: Neither borders nor title bar - #decorations: full - - # Values for `startup_mode`: - # - Windowed - # - Maximized - # - Fullscreen - #startup_mode: Windowed - - # Window title - title: Alacritty - - # Window class (Linux/BSD only): - #class: - # Application instance name - #instance: Alacritty - # General application class - #general: Alacritty - - # GTK theme variant (Linux/BSD only) - # - # Override the variant of the GTK theme. Commonly supported values are `dark` and `light`. - # Set this to `None` to use the default theme variant. - gtk_theme_variant: dark - -#scrolling: - # Maximum number of lines in the scrollback buffer. - # Specifying '0' will disable scrolling. - #history: 10000 - - # Number of lines the viewport will move for every line scrolled when - # scrollback is enabled (history > 0). - #multiplier: 3 - -# Font configuration font: normal: family: FiraCode Nerd Font Mono style: Regular - - #bold: - #family: InconsolataLGC Nerd Font Mono - #style: Bold - - #italic: - #family: InconsolataLGC Nerd Font Mono - #style: Italic - - #bold_italic: - #family: InconsolataLGC Nerd Font Mono - #style: Bold Italic - size: 10 - # 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 upwards. - #glyph_offset: - # x: 0 - # y: 0 - -# Colors (One Dark) colors: - # Default colors - primary: - background: '0x1e2127' - foreground: '0xabb2bf' - # Normal colors - normal: - black: '0x1e2127' - red: '0xe06c75' - green: '0x98c379' - yellow: '0xd19a66' - blue: '0x61afef' - magenta: '0xc678dd' - cyan: '0x56b6c2' - white: '0xabb2bf' + primary: + background: '#1C1B1D' + foreground: '#D8D8D8' + cursor: + text: '#1C1B1D' + cursor: '#D8D8D8' + normal: + black: '#24272a' + red: '#E06C75' + green: '#98C379' + yellow: '#E5C07B' + blue: '#61AFEF' + magenta: '#C678DD' + cyan: '#56B6C2' + white: '#D8D8D8' + bright: + black: '#D8D8D8' + red: '#E06C75' + green: '#98C379' + yellow: '#E5C07B' + blue: '#61AFEF' + magenta: '#C678DD' + cyan: '#56B6C2' + white: '#D8D8D8' + dim: + black: '#24272a' + red: '#E06C75' + green: '#98C379' + yellow: '#E5C07B' + blue: '#61AFEF' + magenta: '#C678DD' + cyan: '#56B6C2' + white: '#D8D8D8' - # Bright colors - bright: - black: '0x5c6370' - red: '0xe06c75' - green: '0x98c379' - yellow: '0xd19a66' - blue: '0x61afef' - magenta: '0xc678dd' - cyan: '0x56b6c2' - white: '0xffffff' - -background_opacity: 0.9 +background_opacity: 0.96 selection: - #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" - - # When set to `true`, selected text will be copied to the primary clipboard. save_to_clipboard: true -# Allow terminal applications to change Alacritty's window title. window.dynamic_title: true cursor: @@ -133,263 +73,18 @@ cursor: # - | Beam style: Block - # If this is `true`, the cursor will be rendered as a hollow box when the - # window is not focused. unfocused_hollow: true -# Live config reload (changes require restart) live_config_reload: true -# Shell -# -# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`. -# Entries in `shell.args` are passed unmodified as arguments to the shell. -# -# Default: -# - (macOS) /bin/bash --login -# - (Linux/BSD) user login shell -# - (Windows) powershell -#shell: -# program: /bin/bash -# args: -# - --login - -# Startup directory -# -# Directory the shell is started in. If this is unset, or `None`, the working -# directory of the parent process will be used. -#working_directory: None - -# WinPTY backend (Windows only) -# -# Alacritty defaults to using the newer ConPTY backend if it is available, -# since it resolves a lot of bugs and is quite a bit faster. If it is not -# available, the the WinPTY backend will be used instead. -# -# Setting this option to `true` makes Alacritty use the legacy WinPTY backend, -# even if the ConPTY backend is available. -#winpty_backend: false - -# Send ESC (\x1b) before characters when alt is pressed. -#alt_send_esc: true - mouse: - # Click settings - # - # The `double_click` and `triple_click` settings control the time - # alacritty should wait for accepting multiple clicks as one double - # or triple click. - #double_click: { threshold: 300 } - #triple_click: { threshold: 300 } - - # If this is `true`, the cursor is temporarily hidden when typing. hide_when_typing: true - #url: - # URL launcher - # - # This program is executed when clicking on a text which is recognized as a URL. - # The URL is always added to the command as the last parameter. - # - # When set to `None`, URL launching will be disabled completely. - # - # Default: - # - (macOS) open - # - (Linux/BSD) xdg-open - # - (Windows) explorer - #launcher: - # program: xdg-open - # args: [] - - # URL modifiers - # - # These are the modifiers that need to be held down for opening URLs when clicking - # on them. The available modifiers are documented in the key binding section. - #modifiers: None - -# Mouse bindings -# -# Mouse bindings are specified as a list of objects, much like the key -# bindings further below. -# -# To trigger mouse bindings when an application running within Alacritty captures the mouse, the -# `Shift` modifier is automatically added as a requirement. -# -# Each mouse binding will specify a: -# -# - `mouse`: -# -# - Middle -# - Left -# - Right -# - Numeric identifier such as `5` -# -# - `action` (see key bindings) -# -# And optionally: -# -# - `mods` (see key bindings) -#mouse_bindings: -# - { mouse: Middle, action: PasteSelection } - -# Key bindings -# -# Key bindings are specified as a list of objects. For example, this is the -# default paste binding: -# -# `- { key: V, mods: Control|Shift, action: Paste }` -# -# Each key binding will specify a: -# -# - `key`: Identifier of the key pressed -# -# - A-Z -# - F1-F24 -# - Key0-Key9 -# -# A full list with available key codes can be found here: -# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants -# -# Instead of using the name of the keys, the `key` field also supports using -# the scancode of the desired key. Scancodes have to be specified as a -# decimal number. This command will allow you to display the hex scancodes -# for certain keys: -# -# `showkey --scancodes`. -# -# Then exactly one of: -# -# - `chars`: Send a byte sequence to the running application -# -# The `chars` field writes the specified string to the terminal. This makes -# it possible to pass escape sequences. To find escape codes for bindings -# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside -# of tmux. Note that applications use terminfo to map escape sequences back -# to keys. It is therefore required to update the terminfo when changing an -# escape sequence. -# -# - `action`: Execute a predefined action -# -# - Copy -# - Paste -# - PasteSelection -# - IncreaseFontSize -# - DecreaseFontSize -# - ResetFontSize -# - ScrollPageUp -# - ScrollPageDown -# - ScrollLineUp -# - ScrollLineDown -# - ScrollToTop -# - ScrollToBottom -# - ClearHistory -# - Hide -# - Minimize -# - Quit -# - ToggleFullscreen -# - SpawnNewInstance -# - ClearLogNotice -# - ReceiveChar -# - None -# -# (macOS only): -# - ToggleSimpleFullscreen: Enters fullscreen without occupying another space -# -# - `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 -# - Alt -# -# 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 -# at once. key_bindings: - # (Windows, Linux, and BSD only) - { key: V, mods: Control|Shift, action: Paste } - #- { key: C, mods: Control|Shift, action: Copy } - #- { key: Insert, mods: Shift, action: PasteSelection } + - { key: C, mods: Control|Shift, action: Copy } - { key: Key0, mods: Control, action: ResetFontSize } - { key: Equals, mods: Control, action: IncreaseFontSize } - { key: Add, mods: Control, action: IncreaseFontSize } - { key: Subtract, mods: Control, action: DecreaseFontSize } - { key: Minus, mods: Control, action: DecreaseFontSize } - - # (Windows only) - #- { key: Return, mods: Alt, action: ToggleFullscreen } - - # (macOS only) - #- { key: Key0, mods: Command, action: ResetFontSize } - #- { key: Equals, mods: Command, action: IncreaseFontSize } - #- { key: Add, mods: Command, action: IncreaseFontSize } - #- { key: Minus, mods: Command, action: DecreaseFontSize } - #- { key: K, mods: Command, action: ClearHistory } - #- { key: K, mods: Command, chars: "\x0c" } - #- { key: V, mods: Command, action: Paste } - #- { key: C, mods: Command, action: Copy } - #- { key: H, mods: Command, action: Hide } - #- { key: M, mods: Command, action: Minimize } - #- { key: Q, mods: Command, action: Quit } - #- { key: W, mods: Command, action: Quit } - #- { key: F, mods: Command|Control, action: ToggleFullscreen } - - #- { key: Paste, action: Paste } - #- { key: Copy, action: Copy } - #- { key: L, mods: Control, action: ClearLogNotice } - #- { key: L, mods: Control, chars: "\x0c" } - #- { key: PageUp, mods: Shift, action: ScrollPageUp, mode: ~Alt } - #- { key: PageDown, mods: Shift, action: ScrollPageDown, mode: ~Alt } - #- { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt } - #- { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt } - -#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`: - # - None - # - Error - # - Warn - # - Info - # - Debug - # - Trace - #log_level: Warn - - # Print all received window events. - #print_events: false diff --git a/files/.config/dunst/dunstrc b/files/.config/dunst/dunstrc index e750368..4b17e27 100644 --- a/files/.config/dunst/dunstrc +++ b/files/.config/dunst/dunstrc @@ -29,7 +29,7 @@ # the top and down respectively. # 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 = "400x20-12+39" + geometry = "400x20-14+44" # Show how many messages are currently hidden (because of geometry). indicate_hidden = yes @@ -51,7 +51,7 @@ # Draw a line of "separator_height" pixel height between two # notifications. # Set to 0 to disable. - separator_height = 1 + separator_height = 0 # Padding between text and separator. padding = 20 @@ -61,7 +61,7 @@ # Defines width in pixels of frame around the notification window. # Set to 0 to disable. - frame_width = 2 + frame_width = 0 # Defines color of the frame around the notification window. #frame_color = "#e06c75" @@ -255,21 +255,21 @@ [urgency_low] # IMPORTANT: colors have to be defined in quotation marks. # Otherwise the "#" and following would be interpreted as a comment. - background = "#1e2127" + background = "#1C1B1D" foreground = "#e5e9f0" timeout = 10 # Icon for notifications with low urgency, uncomment to enable #icon = /path/to/icon [urgency_normal] - background = "#1e2127" + background = "#1C1B1D" foreground = "#e5e9f0" timeout = 10 # Icon for notifications with normal urgency, uncomment to enable #icon = /path/to/icon [urgency_critical] - background = "#1e2127" + background = "#1C1B1D" foreground = "#e5e9f0" timeout = 0 # Icon for notifications with critical urgency, uncomment to enable diff --git a/files/.config/i3/config b/files/.config/i3/config index 3dd4d82..3bb2613 100644 --- a/files/.config/i3/config +++ b/files/.config/i3/config @@ -1,11 +1,3 @@ -# ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ -# █ █▄█ █ █ ▄ █ █ █ ██ █ █ █ █ █ █ █ █ █ █ █ █ █ -# █ █ ▄ █ █ █ █ █ █▄▄██ ▄▄▄▄▄█ █ █▄▄▄ █ █ █ ▄ █ █▄█ █ ▄▄▄█ █ ▄▄▄▄█ -# █ █ █▄█ █ █▄▄█▄█ ▄▄█ █ █▄▄▄▄▄ █ █▄▄▄█ █ █ ▄▄█ █ █ █ █ █▄▄▄█ █ █ ▄▄ -# █ █ █ ▄▄ █ █ █▄▄▄▄▄ █ █ █▄▄▄ █ █ █ █ █▄█ █ ▄ █ ▄▄▄█ █ █ █ █ -# █ ██▄██ █ ▄ █ █ █ █ █▄▄ ▄▄▄▄▄█ █ █ █▄▄▄█ █ █ █▄▄█ █ █ █ █ █ █ █ █▄▄█ █ -# █▄█ █▄█▄█ █▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█ █▄▄▄█▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄█ █▄▄█▄▄▄█ █▄▄▄█▄▄▄▄▄▄▄█ - # Set Mod Keys set $mod Mod4 floating_modifier $mod @@ -51,7 +43,7 @@ bindsym $mod+p workspace prev set $fg '#ffffff' set $bg '#000000' set $accent '#98c379' -set $font 'Product Sans:pixelsize=22' +set $font 'Product Sans:pixelsize=15' bindsym $mod+d exec "dmenu_run -fn $font -nb $bg -sb $accent -nf $fg -sf $bg" bindsym $mod+space exec "dmenu_run -fn $font -nb $bg -sb $accent -nf $fg -sf $bg" @@ -82,7 +74,6 @@ bindsym $mod+Ctrl+h move workspace to output left bindsym $mod+Ctrl+l move workspace to output right # ======================================== Open Applications -#bindsym $mod+e exec thunar bindsym $mod+e exec alacritty -e ranger bindsym $mod+Ctrl+c exec google-calendar-dark @@ -141,7 +132,7 @@ new_window 1pixel # Set Border for_window [class="^.*"] border pixel 0 -for_window [class="Alacritty"] border pixel 1 +for_window [class="Alacritty"] border pixel 0 for_window [class="xterm"] border pixel 1 set $red "#e06c75" diff --git a/files/.config/picom.conf b/files/.config/picom.conf index ca68ea7..cc14e8e 100644 --- a/files/.config/picom.conf +++ b/files/.config/picom.conf @@ -1,19 +1,22 @@ # Opacity opacity-rule = [ "90:class_g *?= 'XTerm'", - "90:class_g *?= 'jetbrains-idea'", - "90:class_g *?= 'code-oss'", + "96:class_g *?= 'jetbrains-idea'", + "96:class_g *?= 'code-oss'", ]; +#inactive-opacity = 0.95; +opacity-exclude = [ + "class_g *?= 'firefox'", +] + backend = "glx"; blur: { method: "dual_kawase"; - strength = 5; + strength = 4; + background = false; } -#inactive-dim = 0.10; -#inactive-opacity = 0.9; - shadow = true; shadow-radius = 12; shadow-opacity = 0.4; @@ -25,17 +28,3 @@ shadow-blue = 0 shadow-exclude = [ "class_g *?= 'dmenu'", ] - -# Fading -#fading = true; -#fade-in-step = 0.10; -#fade-out-step = 0.10; -#fade-exclude = [ ]; - -#detect-rounded-corners = true; -#corner-radius = 0.0; -#rounded-corners-exclude= [ -# "class_g = 'i3-frame'", -# "class_g = 'dmenu'" -#]; -# diff --git a/files/.config/polybar/launch.sh b/files/.config/polybar/launch.sh deleted file mode 100755 index c1b8ca1..0000000 --- a/files/.config/polybar/launch.sh +++ /dev/null @@ -1,15 +0,0 @@ -killall -q polybar -while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done - -if type "xrandr"; then - for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do - if [ $mon = "eDP" ]; then - MONITOR=$mon polybar --reload laptop & - elif [ $mon = "DP-3" ]; then - MONITOR="DP-3" polybar --reload desktop & - MONITOR="DP-1" polybar --reload desktop_second & - fi - done -else - echo "No Bars loaded." -fi diff --git a/files/.config/ranger/rc.conf b/files/.config/ranger/rc.conf index 1e5a0d2..2998c85 100644 --- a/files/.config/ranger/rc.conf +++ b/files/.config/ranger/rc.conf @@ -5,6 +5,6 @@ set preview_images_method ueberzug default_linemode devicons # separators, outline, both, none -set draw_borders both +set draw_borders none set mouse_enabled true diff --git a/files/.vimrc b/files/.vimrc index 3c33863..d9d29bf 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -1,12 +1,3 @@ -" ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ -" █ █▄█ █ █ ▄ █ █ █ ██ █ █ █ █ █ █ █▄█ █ ▄ █ █ █ -" █ █ ▄ █ █ █ █ █ █▄▄██ ▄▄▄▄▄█ █ █▄█ █ █ █ █ █ █ █ █ -" █ █ █▄█ █ █▄▄█▄█ ▄▄█ █ █▄▄▄▄▄ █ █ █ █ █▄▄█▄█ ▄▄█ -" █ █ █ ▄▄ █ █ █▄▄▄▄▄ █ █ █ █ █ ▄▄ █ █ -" █ ██▄██ █ ▄ █ █ █ █ █▄▄ ▄▄▄▄▄█ █ █ ██ █ ██▄██ █ █ █ █ █▄▄ -" █▄█ █▄█▄█ █▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█ █▄▄▄█ █▄▄▄█▄█ █▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ -" - let mapleader = "\" " ============================== vim-plug @@ -49,7 +40,7 @@ set termguicolors filetype indent plugin on set number set relativenumber -set cursorline +set nocursorline set ruler set showmatch " highlights paranthesis diff --git a/files/.zshrc b/files/.zshrc index fbbeaae..e735fd9 100644 --- a/files/.zshrc +++ b/files/.zshrc @@ -1,11 +1,3 @@ -# ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ -# █ █▄█ █ █ ▄ █ █ █ ██ █ █ █ █ █ █ █ ▄ █ █ █ -# █ █ ▄ █ █ █ █ █ █▄▄██ ▄▄▄▄▄█ █▄▄▄▄ █ ▄▄▄▄▄█ █▄█ █ █ █ █ █ █ -# █ █ █▄█ █ █▄▄█▄█ ▄▄█ █ █▄▄▄▄▄ ▄▄▄▄█ █ █▄▄▄▄▄█ █ █▄▄█▄█ ▄▄█ -# █ █ █ ▄▄ █ █ █▄▄▄▄▄ █ █ ▄▄▄▄▄▄█▄▄▄▄▄ █ ▄ █ ▄▄ █ █ -# █ ██▄██ █ ▄ █ █ █ █ █▄▄ ▄▄▄▄▄█ █ █ █▄▄▄▄▄ ▄▄▄▄▄█ █ █ █ █ █ █ █ █▄▄ -# █▄█ █▄█▄█ █▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄█ █▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ -# # ============================== Prompt autoload -Uz vcs_info autoload -U colors && colors @@ -15,18 +7,17 @@ setopt prompt_subst LN=$'\n' -ICON="%(?.%{$fg[green]%}.%{$fg[red]%})λ" +#ICON="%(?.%{$fg[green]%}.%{$fg[red]%})λ" +ICON="%(?.%{$fg[green]%}.%{$fg[red]%})➜" DIR="%{$fg[blue]%}%~" GIT_ICON="" GIT="%{$fg[cyan]%}\$vcs_info_msg_0_" if [[ -n "$SSH_CONNECTION" ]]; then - NAME="%{$fg[yellow]%}%m" -else - NAME="%{$fg[yellow]%}»" + NAME="%{$fg[yellow]%}%m " fi -export PROMPT="${NAME} ${DIR}${GIT} ${LN}${ICON} %{$reset_color%}" +export PROMPT="${NAME}${DIR}${GIT} ${ICON} %{$reset_color%}" zstyle ':vcs_info:git:*' formats '  %b' # ============================== Exports diff --git a/files/scripts/polybar.sh b/files/scripts/polybar.sh index 79ba386..4581a12 100755 --- a/files/scripts/polybar.sh +++ b/files/scripts/polybar.sh @@ -1,5 +1,3 @@ -#!/bin/sh - killall -q polybar while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done @@ -7,9 +5,10 @@ if type "xrandr"; then for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do if [ $mon = "eDP" ]; then MONITOR=$mon polybar --reload laptop & - elif [ $mon = "DP-3" ]; then - MONITOR="DP-3" polybar --reload desktop & - MONITOR="DP-1" polybar --reload desktop_second & + else +# MONITOR="DP-3" polybar --reload desktop & + MONITOR="HDMI-1" polybar --reload desktop & +# MONITOR="DP-1" polybar --reload desktop_second & fi done else