commit 93bb96b2cb5a22c01af6e65f9337e4bbc6aab01a
parent ab9b1a7124a6c89264c9dd6761ba76ad3f8a01eb
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date: Sun, 21 May 2023 20:41:34 +0200
Delete "backup" files
Diffstat:
13 files changed, 0 insertions(+), 1739 deletions(-)
diff --git a/.config/alacritty/alacritty.yml.bak b/.config/alacritty/alacritty.yml.bak
@@ -1,395 +0,0 @@
-# Configuration for Alacritty, the GPU enhanced terminal emulator.
-
-import:
- - ~/.config/alacritty/colors.yml
- - ~/.config/alacritty/fonts.yml
-
-# Any items in the `env` entry below will be added as
-# environment variables. Some entries may override variables
-# set by alacritty itself.
-env:
- # TERM variable
- #
- # This value is used to set the `$TERM` environment variable for
- # each instance of Alacritty. If it is not present, alacritty will
- # check the local terminfo database and use `alacritty` if it is
- # available, otherwise `xterm-256color` is used.
- TERM: xterm-256color
-
-window:
- # Window dimensions (changes require restart)
- #
- # Specified in number of columns/lines, not pixels.
- # If both are `0`, this setting is ignored.
- #dimensions:
- # columns: 0
- # lines: 0
-
- # Window position (changes require restart)
- #
- # Specified in number of pixels.
- # If the position is not set, the window manager will handle the placement.
- #position:
- # x: 0
- # y: 0
-
- # Window padding (changes require restart)
- #
- # Blank space added around the window in pixels. This padding is scaled
- # by DPI and the specified value is always added at both opposing sides.
- padding:
- x: 15
- y: 5
-
- # Spread additional padding evenly around the terminal content.
- dynamic_padding: true
-
- # Window decorations
- #
- # Values for `decorations`:
- # - full: Borders and title bar
- # - none: Neither borders nor title bar
- #
- # Values for `decorations` (macOS only):
- # - transparent: Title bar, transparent background and title bar buttons
- # - buttonless: Title bar, transparent background, but no title bar buttons
- #decorations: full
-
- # Startup Mode (changes require restart)
- #
- # Values for `startup_mode`:
- # - Windowed
- # - Maximized
- # - Fullscreen
- #
- # Values for `startup_mode` (macOS only):
- # - SimpleFullscreen
- #startup_mode: Windowed
-
- # Window title
- title: Alacritty
-
- # Window class (Linux/BSD only):
- class:
- # Application instance name
- instance: alacritty
- # General application class
- general: alacritty
-
- # GTK theme variant (Linux/BSD only)
- #
- # Override the variant of the GTK theme. Commonly supported values are `dark` and `light`.
- # Set this to `None` to use the default theme variant.
- #gtk_theme_variant: None
-
-scrolling:
- # Maximum number of lines in the scrollback buffer.
- # Specifying '0' will disable scrolling.
- history: 5000
-
- # Number of lines the viewport will move for every line scrolled when
- # scrollback is enabled (history > 0).
- #multiplier: 3
-
- # Scroll to the bottom when new text is written to the terminal.
- #auto_scroll: false
-
-# Spaces per Tab (changes require restart)
-#
-# This setting defines the width of a tab in cells.
-#
-# Some applications, like Emacs, rely on knowing about the width of a tab.
-# To prevent unexpected behavior in these applications, it's also required to
-# change the `it` value in terminfo when altering this setting.
-#tabspaces: 8
-
-# Visual Bell
-#
-# Any time the BEL code is received, Alacritty "rings" the visual bell. Once
-# rung, the terminal background will be set to white and transition back to the
-# default background color. You can control the rate of this transition by
-# setting the `duration` property (represented in milliseconds). You can also
-# configure the transition function by setting the `animation` property.
-#
-# Values for `animation`:
-# - Ease
-# - EaseOut
-# - EaseOutSine
-# - EaseOutQuad
-# - EaseOutCubic
-# - EaseOutQuart
-# - EaseOutQuint
-# - EaseOutExpo
-# - EaseOutCirc
-# - Linear
-#
-# Specifying a `duration` of `0` will disable the visual bell.
-#visual_bell:
-# animation: EaseOutExpo
-# duration: 0
-# color: '#ffffff'
-
-# Background opacity
-#
-# Window opacity as a floating point number from `0.0` to `1.0`.
-# The value `0.0` is completely transparent and `1.0` is opaque.
-## background_opacity: 1.0
-window:
- opacity: 1.0
-
-#selection:
- #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
-
- # When set to `true`, selected text will be copied to the primary clipboard.
- #save_to_clipboard: false
-
-# Allow terminal applications to change Alacritty's window title.
-dynamic_title: true
-
-cursor:
- # Cursor style
- #
- # Values for `style`:
- # - ▇ Block
- # - _ Underline
- # - | 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
-
-#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
-
- # Record all characters and escape sequences as test data.
- #ref_test: false
-
-#mouse:
- # Click settings
- #
- # The `double_click` and `triple_click` settings control the time
- # alacritty should wait for accepting multiple clicks as one double
- # or triple click.
- #double_click: { threshold: 300 }
- #triple_click: { threshold: 300 }
-
- # If this is `true`, the cursor is temporarily hidden when typing.
- #hide_when_typing: false
-
- 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.
-#
-# 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.
-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: Key0, mods: Control, action: ResetFontSize }
- - { key: Equals, mods: Control, action: IncreaseFontSize }
- - { key: Plus, mods: Control, action: IncreaseFontSize }
- - { key: Minus, mods: Control, action: DecreaseFontSize }
- - { key: F11, mods: None, action: ToggleFullscreen }
- - { key: Paste, mods: None, action: Paste }
- - { key: Copy, mods: None, action: Copy }
- - { key: L, mods: Control, action: ClearLogNotice }
- - { key: L, mods: Control, chars: "\x0c" }
- - { key: PageUp, mods: None, action: ScrollPageUp, mode: ~Alt }
- - { key: PageDown, mods: None, action: ScrollPageDown, mode: ~Alt }
- - { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt }
- - { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt }
diff --git a/.config/doom/custom.el b/.config/doom/custom.el
@@ -1,14 +0,0 @@
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(package-selected-packages '(gnuplot websocket simple-httpd org-roam)))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(font-lock-comment-face ((t (:slant italic))))
- '(font-lock-keyword-face ((t (:slant italic)))))
-
diff --git a/.config/fish/config.fish.bak b/.config/fish/config.fish.bak
@@ -1,233 +0,0 @@
-### ADDING TO THE PATH
-# First line removes the path; second line sets it. Without the first line,
-# your path gets massive and fish becomes very slow.
-set -e fish_user_paths
-set -U fish_user_paths $HOME/.local/bin $HOME/Applications $fish_user_paths
-
-### EXPORT ###
-set fish_greeting # Supresses fish's intro message
-set TERM "xterm-256color" # Sets the terminal type
-set EDITOR "nvim" # $EDITOR use neovim in terminal
-set VISUAL "notepadqq" # $VISUAL use notepadqq in GUI mode
-set PATH "$HOME/.emacs.d/bin:$PATH" # Add doom emacs to the path
-
-### SET MANPAGER
-### Uncomment only one of these!
-
-### "bat" as manpager
-set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
-
-### "vim" as manpager
-# set -x MANPAGER '/bin/bash -c "vim -MRn -c \"set buftype=nofile showtabline=0 ft=man ts=8 nomod nolist norelativenumber nonu noma\" -c \"normal L\" -c \"nmap q :qa<CR>\"</dev/tty <(col -b)"'
-
-### "nvim" as manpager
-# set -x MANPAGER "nvim -c 'set ft=man' -"
-
-### SET EITHER DEFAULT EMACS MODE OR VI MODE ###
-function fish_user_key_bindings
- # fish_default_key_bindings
- fish_vi_key_bindings
-end
-### END OF VI MODE ###
-
-### AUTOCOMPLETE AND HIGHLIGHT COLORS ###
-
-## One Dark Colors
-set fish_color_normal '#c678dd'
-set fish_color_autosuggestion '#abb2bf'
-set fish_color_command '#56b6c2'
-set fish_color_error '#e06c75'
-set fish_color_param '#56b6c2'
-
-### FUNCTIONS ###
-
-function commits
- git log --author="$argv" --format=format:%ad --date=short | uniq -c | awk '{print $1}' | spark | lolcat
-end
-
-# Functions needed for !! and !$
-function __history_previous_command
- switch (commandline -t)
- case "!"
- commandline -t $history[1]; commandline -f repaint
- case "*"
- commandline -i !
- end
-end
-
-function __history_previous_command_arguments
- switch (commandline -t)
- case "!"
- commandline -t ""
- commandline -f history-token-search-backward
- case "*"
- commandline -i '$'
- end
-end
-# The bindings for !! and !$
-if [ $fish_key_bindings = "fish_vi_key_bindings" ];
- bind -Minsert ! __history_previous_command
- bind -Minsert '$' __history_previous_command_arguments
-else
- bind ! __history_previous_command
- bind '$' __history_previous_command_arguments
-end
-
-# Function for creating a backup file
-# ex: backup file.txt
-# result: copies file as file.txt.bak
-function backup --argument filename
- cp $filename $filename.bak
-end
-
-# Function for copying files and directories, even recursively.
-# ex: copy DIRNAME LOCATIONS
-# result: copies the directory and all of its contents.
-function copy
- set count (count $argv | tr -d \n)
- if test "$count" = 2; and test -d "$argv[1]"
- set from (echo $argv[1] | trim-right /)
- set to (echo $argv[2])
- command cp -r $from $to
- else
- command cp $argv
- end
-end
-
-# Function for printing a column (splits input on whitespace)
-# ex: echo 1 2 3 | coln 3
-# output: 3
-function coln
- while read -l input
- echo $input | awk '{print $'$argv[1]'}'
- end
-end
-
-# Function for printing a row
-# ex: seq 3 | rown 3
-# output: 3
-function rown --argument index
- sed -n "$index p"
-end
-
-# Function for ignoring the first 'n' lines
-# ex: seq 10 | skip 5
-# results: prints everything but the first 5 lines
-function skip --argument n
- tail +(math 1 + $n)
-end
-
-# Function for taking the first 'n' lines
-# ex: seq 10 | take 5
-# results: prints only the first 5 lines
-function take --argument number
- head -$number
-end
-
-### END OF FUNCTIONS ###
-
-
-### ALIASES ###
-# \x1b[2J <- clears tty
-# \x1b[1;1H <- goes to (1, 1) (start)
-# alias clear='echo -en "\x1b[2J\x1b[1;1H" ; echo; echo; seq 1 (tput cols) | sort -R | spark | lolcat; echo; echo'
-
-# Navigation
-alias ..='cd ..'
-alias ...='cd ../..'
-alias .3='cd ../../..'
-alias .4='cd ../../../..'
-alias .5='cd ../../../../..'
-
-# Vim and emacs
-alias vim='nvim'
-alias v='nvim'
-alias em='emacsclient -nw'
-
-# Change "ls" to "exa"
-alias ls='exa -l --color=always --group-directories-first --no-user --no-time --icons' # my preferred listing
-alias la='exa -al --color=always --group-directories-first --no-user --no-time --icons' # all files and dirs
-alias ll='exa -l --color=always --group-directories-first --header --icons' # long format
-alias lt='exa -aT --color=always --group-directories-first' # tree listing
-alias l.='exa -a | egrep "^\."'
-
-# Change "cat" to "bat"
-alias cat='bat'
-
-# Pacman and Paru
-alias update='sudo pacman -Syu' # update only standard pkgs
-alias pacsyyu='sudo pacman -Syyu' # Refresh pkglist & update standard pkgs
-alias parsua='paru -Sua --noconfirm' # update only AUR pkgs (paru)
-alias parsyu='paru -Syu --noconfirm' # update standard pkgs and AUR pkgs (paru)
-alias unlock='sudo rm /var/lib/pacman/db.lck' # remove pacman lock
-alias cleanup='sudo pacman -Rns (pacman -Qtdq)' # remove orphaned packages
-
-# get fastest mirrors
-alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
-alias mirrord="sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist"
-alias mirrors="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
-alias mirrora="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"
-
-# Colorize grep output (good for log files)
-alias grep='rg --color=auto' # change grep to ripgrep
-alias egrep='egrep --color=auto'
-alias fgrep='fgrep --color=auto'
-
-# confirm before overwriting something
-# alias cp="cp -i"
-# alias mv='mv -i'
-# alias rm='rm -i'
-
-# adding flags
-alias df='df -h' # human-readable sizes
-alias free='free -m' # show sizes in MB
-# alias lynx='lynx -cfg=~/.lynx/lynx.cfg -lss=~/.lynx/lynx.lss -vikeys'
-alias paru='paru --bottomup' # list pkgs from the bottum up
-
-# Merge Xresources
-alias merge='xrdb -merge ~/.Xresources'
-
-# git
-alias addup='git add -u'
-alias addall='git add .'
-alias branch='git branch'
-alias checkout='git checkout'
-alias clone='git clone'
-alias commit='git commit -m'
-alias fetch='git fetch'
-alias pull='git pull origin'
-alias push='git push origin'
-alias tag='git tag'
-alias newtag='git tag -a'
-
-# get error messages from journalctl
-alias jctl="journalctl -p 3 -xb"
-
-# gpg encryption
-# verify signature for isos
-alias gpg-check="gpg2 --keyserver-options auto-key-retrieve --verify"
-# receive the key of a developer
-alias gpg-retrieve="gpg2 --keyserver-options auto-key-retrieve --receive-keys"
-
-# youtube-dl
-alias yta-best="youtube-dl --extract-audio --audio-format best "
-alias yta-mp3="youtube-dl --extract-audio --audio-format mp3 "
-alias ytv-best="youtube-dl -f bestvideo+bestaudio "
-
-# the terminal rickroll
-alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash'
-
-# Useful aliases
-alias np='notepadqq' # notepadqq
-alias myip="curl http://ipecho.net/plain; echo" # get ip address
-alias wa="tungsten"
-
-### RANDOM COLOR SCRIPT ###
-# Install it from the AUR: shell-color-scripts
-colorscript -e panes
-
-### SETTING THE STARSHIP PROMPT ###
-starship init fish | source
-
-### ADD ICONS ###
-source ~/.local/share/icons-in-terminal/icons.fish
diff --git a/.config/kitty/kitty.bak b/.config/kitty/kitty.bak
@@ -1,43 +0,0 @@
-# github colors for Kitty
-
-background #24292e
-foreground #d1d5da
-selection_background #284566
-selection_foreground #d1d5da
-url_color #d1d5da
-cursor #c8e1ff
-cursor_text_color background
-
-# Tabs
-active_tab_background #2188ff
-active_tab_foreground #1f2428
-inactive_tab_background #666666
-inactive_tab_foreground #1f2428
-
-# Windows Border
-active_border_color #444c56
-inactive_border_color #444c56
-
-# normal
-color0 #586069
-color1 #ea4a5a
-color2 #34d058
-color3 #ffea7f
-color4 #2188ff
-color5 #b392f0
-color6 #39c5cf
-color7 #d1d5da
-
-# bright
-color8 #959da5
-color9 #f97583
-color10 #85e89d
-color11 #ffea7f
-color12 #79b8ff
-color13 #b392f0
-color14 #56d4dd
-color15 #fafbfc
-
-# extended colors
-color16 #ffea7f
-color17 #f97583
diff --git a/.config/lf/cleaner.old b/.config/lf/cleaner.old
@@ -1,4 +0,0 @@
-#!/bin/sh
-if [ -n "$FIFO_UEBERZUG" ]; then
- printf '{"action": "remove", "identifier": "PREVIEW"}\n' > "$FIFO_UEBERZUG"
-fi
diff --git a/.config/lf/lfub.old b/.config/lf/lfub.old
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-# This is a wrapper script for lb that allows it to create image previews with
-# ueberzug. This works in concert with the lf configuration file and the
-# lf-cleaner script.
-
-set -e
-
-cleanup() {
- exec 3>&-
- rm "$FIFO_UEBERZUG"
-}
-
-if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
- lf "$@"
-else
- [ ! -d "$HOME/.cache/lf" ] && mkdir -p "$HOME/.cache/lf"
- export FIFO_UEBERZUG="$HOME/.cache/lf/ueberzug-$$"
- mkfifo "$FIFO_UEBERZUG"
- ueberzug layer -s <"$FIFO_UEBERZUG" -p json &
- exec 3>"$FIFO_UEBERZUG"
- trap cleanup HUP INT QUIT TERM PWR EXIT
- lf "$@" 3>&-
-fi
diff --git a/.config/lf/preview.old b/.config/lf/preview.old
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-image() {
- if [ -n "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ]; then
- printf '{"action": "add", "identifier": "PREVIEW", "x": "%s", "y": "%s", "width": "%s", "height": "%s", "scaler": "contain", "path": "%s"}\n' "$4" "$5" "$(($2-1))" "$(($3-1))" "$1" > "$FIFO_UEBERZUG"
- exit 1
- else
- chafa "$1" -s "$4x"
- fi
-}
-
-batorcat() {
- file="$1"
- shift
- if command -v bat > /dev/null 2>&1
- then
- bat --color=always --style=plain --pager=never "$file" "$@"
- else
- cat "$file"
- fi
-}
-
-glowormdcat() {
- file="$1"
- shift
- if command -v glow > /dev/null 2>&1
- then
- glow "$file"
- else
- mdcat "$file"
- fi
-}
-
-CACHE="$HOME/.cache/lf/thumbnail.$(stat --printf '%n\0%i\0%F\0%s\0%W\0%Y' -- "$(readlink -f "$1")" | sha256sum | awk '{print $1}'))"
-
-case "$(printf "%s\n" "$(readlink -f "$1")" | awk '{print tolower($0)}')" in
- *.tgz|*.tar.gz) tar tzf "$1" ;;
- *.tar.bz2|*.tbz2) tar tjf "$1" ;;
- *.tar.txz|*.txz) xz --list "$1" ;;
- *.tar) tar tf "$1" ;;
- *.zip|*.jar|*.war|*.ear|*.oxt) unzip -l "$1" ;;
- *.rar) unrar l "$1" ;;
- *.md)
- glowormdcat "$1";;
- *.7z) 7z l "$1" ;;
- *.[1-8]) man "$1" | col -b ;;
- *.o) nm "$1";;
- *.torrent) transmission-show "$1" ;;
- *.iso) iso-info --no-header -l "$1" ;;
- *.odt|*.ods|*.odp|*.sxw) odt2txt "$1" ;;
- *.doc) catdoc "$1" ;;
- *.docx) docx2txt "$1" ;;
- *.xml|*.html) w3m -dump "$1";;
- *.xls|*.xlsx)
- ssconvert --export-type=Gnumeric_stf:stf_csv "$1" "fd://1" | batorcat --language=csv
- ;;
- *.wav|*.mp3|*.flac|*.m4a|*.wma|*.ape|*.ac3|*.og[agx]|*.spx|*.opus|*.as[fx]|*.mka)
- exiftool "$1"
- ;;
- *.pdf)
- [ ! -f "${CACHE}.jpg" ] && \
- pdftoppm -jpeg -f 1 -singlefile "$1" "$CACHE"
- image "${CACHE}.jpg" "$2" "$3" "$4" "$5"
- ;;
- *.epub)
- [ ! -f "$CACHE" ] && \
- epub-thumbnailer "$1" "$CACHE" 1024
- image "$CACHE" "$2" "$3" "$4" "$5"
- ;;
- *.cbz|*.cbr|*.cbt)
- [ ! -f "$CACHE" ] && \
- comicthumb "$1" "$CACHE" 1024
- image "$CACHE" "$2" "$3" "$4" "$5"
- ;;
- *.avi|*.mp4|*.wmv|*.dat|*.3gp|*.ogv|*.mkv|*.mpg|*.mpeg|*.vob|*.fl[icv]|*.m2v|*.mov|*.webm|*.ts|*.mts|*.m4v|*.r[am]|*.qt|*.divx)
- [ ! -f "${CACHE}.jpg" ] && \
- ffmpegthumbnailer -i "$1" -o "${CACHE}.jpg" -s 0 -q 5
- image "${CACHE}.jpg" "$2" "$3" "$4" "$5"
- ;;
- *.bmp|*.jpg|*.jpeg|*.png|*.xpm|*.webp|*.tiff|*.gif|*.jfif|*.ico)
- image "$1" "$2" "$3" "$4" "$5"
- ;;
- *.svg)
- [ ! -f "${CACHE}.jpg" ] && \
- convert "$1" "${CACHE}.jpg"
- image "${CACHE}.jpg" "$2" "$3" "$4" "$5"
- ;;
- *.ino)
- batorcat --language=cpp "$1"
- ;;
- *)
- batorcat "$1"
- ;;
-esac
-exit 0
diff --git a/.config/lf/scope.old b/.config/lf/scope.old
@@ -1,49 +0,0 @@
-#!/bin/sh
-
-# File preview handler for lf.
-
-set -C -f
-IFS="$(printf '%b_' '\n')"; IFS="${IFS%_}"
-
-image() {
- if [ -f "$1" ] && [ -n "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ] && command -V ueberzug >/dev/null 2>&1; then
- printf '{"action": "add", "identifier": "PREVIEW", "x": "%s", "y": "%s", "width": "%s", "height": "%s", "scaler": "contain", "path": "%s"}\n' "$4" "$5" "$(($2-1))" "$(($3-1))" "$1" > "$FIFO_UEBERZUG"
- else
- mediainfo "$6"
- fi
-}
-
-ifub() {
- [ -n "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ] && command -V ueberzug >/dev/null 2>&1
-}
-
-# Note that the cache file name is a function of file information, meaning if
-# an image appears in multiple places across the machine, it will not have to
-# be regenerated once seen.
-
-case "$(file --dereference --brief --mime-type -- "$1")" in
- image/*) image "$1" "$2" "$3" "$4" "$5" "$1" ;;
- text/html) lynx -width="$4" -display_charset=utf-8 -dump "$1" ;;
- text/troff) man ./ "$1" | col -b ;;
- text/* | */xml | application/json) bat --terminal-width "$(($4-2))" -f "$1" ;;
- application/zip) atool --list -- "$1" ;;
- audio/* | application/octet-stream) mediainfo "$1" || exit 1 ;;
- video/* )
- CACHE="${XDG_CACHE_HOME:-$HOME/.cache}/lf/thumb.$(stat --printf '%n\0%i\0%F\0%s\0%W\0%Y' -- "$(readlink -f "$1")" | sha256sum | cut -d' ' -f1)"
- [ ! -f "$CACHE" ] && ffmpegthumbnailer -i "$1" -o "$CACHE" -s 0
- image "$CACHE" "$2" "$3" "$4" "$5" "$1"
- ;;
- */pdf)
- CACHE="${XDG_CACHE_HOME:-$HOME/.cache}/lf/thumb.$(stat --printf '%n\0%i\0%F\0%s\0%W\0%Y' -- "$(readlink -f "$1")" | sha256sum | cut -d' ' -f1)"
- [ ! -f "$CACHE.jpg" ] && pdftoppm -jpeg -f 1 -singlefile "$1" "$CACHE"
- image "$CACHE.jpg" "$2" "$3" "$4" "$5" "$1"
- ;;
- */epub+zip|*/mobi*)
- CACHE="${XDG_CACHE_HOME:-$HOME/.cache}/lf/thumb.$(stat --printf '%n\0%i\0%F\0%s\0%W\0%Y' -- "$(readlink -f "$1")" | sha256sum | cut -d' ' -f1)"
- [ ! -f "$CACHE.jpg" ] && gnome-epub-thumbnailer "$1" "$CACHE.jpg"
- image "$CACHE.jpg" "$2" "$3" "$4" "$5" "$1"
- ;;
- *opendocument*) odt2txt "$1" ;;
- application/pgp-encrypted) gpg -d -- "$1" ;;
-esac
-exit 1
diff --git a/.config/neofetch/config.conf.bak b/.config/neofetch/config.conf.bak
@@ -1,56 +0,0 @@
-print_info() {
-
- prin " "
- prin "╭──────────────$(color 4) Hardware $(color 7)──────────────╮"
- prin " "
-
- info "$(color 4)" model
- info "$(color 6)" cpu
- info "$(color 2)" gpu
- info "$(color 1)" memory
- info "$(color 5)" resolution
-
- prin " "
- prin "╰──────────────────────────────────────╯"
- prin " "
- prin "╭──────────────$(color 4) Software $(color 7)──────────────╮"
- prin " "
-
- info "$(color 4)" distro
- info "$(color 4)" kernel
- info "$(color 6)" wm
- info "$(color 2)" shell
- info "$(color 3)" term
- info "$(color 7)" term_font
- info "$(color 2)" packages
- info "$(color 3)" uptime
-
- prin " "
- prin "╰──────────────────────────────────────╯"
- prin " "
-}
-
-
-kernel_shorthand="on"
-distro_shorthand="on"
-os_arch="off"
-uptime_shorthand="on"
-memory_percent="on"
-memory_unit="gib"
-package_managers="on"
-shell_path="off"
-shell_version="off"
-cpu_brand="on"
-cpu_speed="off"
-cpu_cores="on"
-cpu_temp="on"
-gpu_brand="on"
-gpu_type="all"
-refresh_rate="on"
-gtk_shorthand="on"
-bold="on"
-separator=" "
-image_backend="ascii"
-image_source="/home/michael/.config/neofetch/arch.txt"
-gap=7
-stdout="off"
diff --git a/.config/picom/picom.backup b/.config/picom/picom.backup
@@ -1,209 +0,0 @@
-#################################
-# Transitions #
-# Fork: Arian8j2 #
-#################################
-
-transition = true;
-
-transition-rule = [
- "none: window_type = 'dropdown_menu'",
- "none: window_type = 'popup_menu'",
- "none: window_type = 'dialog'",
- "none: window_type = 'menu'",
- "none: window_type = 'tooltip'",
- "smart-x: class_g = 'Dunst'",
- "smart-y: class_g ?= 'rofi'"
-];
-
-#################################
-# Corners #
-#################################
-
-corner-radius = 7;
-rounded-corners-exclude = [
-# "window_type = 'normal'",
-# "window_type = 'dropdown_menu'",
-# "window_type = 'popup_menu'",
-# "window_type = 'popup'",
-# "class_g = 'Polybar'",
-# "class_g = 'firefox'",
- "class_g = 'Viewnior'",
-# "class_g = 'Rofi'",
- "class_g = 'mpv'",
- "class_g = 'Retroarch'",
- "class_g = 'retroarch'"
-];
-
-round-borders = 1;
-#round-borders-exclude = [
-#"class_g = 'TelegramDesktop'",
-#];
-
-#################################
-# Shadows #
-#################################
-
-shadow = true;
-shadow-radius = 8;
-shadow-opacity = .6;
-shadow-offset-x = -3;
-shadow-offset-y = -3;
-
-shadow-exclude = [
- "name = 'Notification'",
- "class_g = 'Conky'",
- "class_g ?= 'Notify-osd'",
- "class_g = 'Cairo-clock'",
- "class_g = 'slop'",
- "class_g = 'Polybar'",
- "class_g = 'Retroarch'",
- "class_g = 'Rofi'",
- "_GTK_FRAME_EXTENTS@:c"
-];
-
-#################################
-# Fading #
-#################################
-
-fading = true;
-# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
-# fade-in-step = 0.5;
-# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
-# fade-out-step = 0.5;
-# no-fading-openclose = false
-# no-fading-destroyed-argb = false
-# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
-# fade-delta = 10
-
-fade-exclude = [
- "class_g = 'slop'",
- "name = 'bar'",
- "class_g = 'maim'",
- "class_g = 'mpv'",
- # "class_g = 'bspwm'"
-]
-
-#################################
-# Transparency / Opacity #
-#################################
-
-inactive-opacity = 0.95;
-inactive-opacity-override = false;
-active-opacity = 1.0;
-
-# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
-inactive-dim = 1.0
-
-focus-exclude = [
- "class_g = 'Cairo-clock'",
- "class_g = 'Polybar'",
- "class_g = 'slop'",
- "class_g = 'ranger'"
-];
-
-opacity-rule = [
- "95:class_g = 'Emacs'",
- "90:class_g = 'Alacritty'",
- "95:class_g = 'Polybar'",
- "95:class_g = 'Rofi'",
- "95:class_g = 'obsidian'",
- "100:class_g = 'firefox'",
- "90:class_g = 'Code'",
- "95:class_g = 'NetBeans IDE 8.2'"
-];
-
-#################################
-# Background-Blurring #
-#################################
-
-
-# Parameters for background blurring, see the *BLUR* section for more information.
-# blur-method =
-# blur-size = 12
-#
-# blur-deviation = false
-
-# Blur background of semi-transparent / ARGB windows.
-# Bad in performance, with driver-dependent behavior.
-# The name of the switch may change without prior notifications.
-#
-# blur-background = true;
-
-# Blur background of windows when the window frame is not opaque.
-# Implies:
-# blur-background
-# Bad in performance, with driver-dependent behavior. The name may change.
-#
-# blur-background-frame = false;
-
-
-# Use fixed blur strength rather than adjusting according to window opacity.
-# blur-background-fixed = false;
-
-
-# Specify the blur convolution kernel, with the following format:
-# example:
-# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
-#
-# blur-kern = ''
-# blur-kern = "3x3box";
-
-blur: {
- # requires: https://github.com/ibhagwan/picom
- method = "kawase";
- #method = "kernel";
- strength = 7;
- # deviation = 1.0;
- # kernel = "11x11gaussian";
- background = false;
- background-frame = false;
- background-fixed = false;
- kern = "3x3box";
-}
-
-# Exclude conditions for background blur.
-blur-background-exclude = [
- #"window_type = 'dock'",
- #"window_type = 'desktop'",
- #"class_g = 'URxvt'",
- #
- # prevents picom from blurring the background
- # when taking selection screenshot with `main`
- # https://github.com/naelstrof/maim/issues/130
- "class_g = 'slop'",
- "_GTK_FRAME_EXTENTS@:c",
- "class_g ?= 'zoom'"
-];
-
-#################################
-# General Settings #
-#################################
-
-experimental-backends = true;
-backend = "glx";
-# backend = "xrender";
-vsync = true;
-mark-wmwin-focused = true;
-mark-ovredir-focused = true;
-
-#use-damage = false;
-detect-rounded-corners = true;
-detect-client-opacity = true;
-#glx-no-stencil = false;
-detect-transient = true;
-unredir-if-possible = false;
-log-level = "warn";
-
-#################################
-
-wintypes:
-{
- normal = { fade = false; shadow = true; }
- tooltip = { fade = true; shadow = true; focus = true; full-shadow = false; }
- dock = { shadow = false; }
- dnd = { shadow = true; }
- popup_menu = { opacity = 0.97; fade = false; shadow = false; }
- dropdown_menu = { opacity = 0.97; }
- menu = { fade = false; }
- dialog = { fade = false; }
-};
diff --git a/.config/picom/picom.bak b/.config/picom/picom.bak
@@ -1,418 +0,0 @@
-#################################
-# Shadows #
-#################################
-
-
-# Enabled client-side shadows on windows. Note desktop windows
-# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
-# unless explicitly requested using the wintypes option.
-#
-# shadow = false
-shadow = true;
-
-# The blur radius for shadows, in pixels. (defaults to 12)
-# shadow-radius = 12
-shadow-radius = 7;
-
-# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
-# shadow-opacity = .75
-
-# The left offset for shadows, in pixels. (defaults to -15)
-# shadow-offset-x = -15
-shadow-offset-x = -7;
-
-# The top offset for shadows, in pixels. (defaults to -15)
-# shadow-offset-y = -15
-shadow-offset-y = -7;
-
-# Red color value of shadow (0.0 - 1.0, defaults to 0).
-# shadow-red = 0
-
-# Green color value of shadow (0.0 - 1.0, defaults to 0).
-# shadow-green = 0
-
-# Blue color value of shadow (0.0 - 1.0, defaults to 0).
-# shadow-blue = 0
-
-# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue)
-# shadow-color = "#000000"
-
-# Specify a list of conditions of windows that should have no shadow.
-#
-# examples:
-# shadow-exclude = "n:e:Notification";
-#
-# shadow-exclude = []
-shadow-exclude = [
- "name = 'Notification'",
- "class_g = 'Conky'",
- "class_g ?= 'Notify-osd'",
- "class_g = 'Cairo-clock'",
- "_GTK_FRAME_EXTENTS@:c"
-];
-
-# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
-# clip-shadow-above = []
-
-# Specify a X geometry that describes the region in which shadow should not
-# be painted in, such as a dock window region. Use
-# shadow-exclude-reg = "x10+0+0"
-# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
-#
-# shadow-exclude-reg = ""
-
-# Crop shadow of a window fully on a particular Xinerama screen to the screen.
-# xinerama-shadow-crop = false
-
-
-#################################
-# Fading #
-#################################
-
-
-# Fade windows in/out when opening/closing and when opacity changes,
-# unless no-fading-openclose is used.
-# fading = false
-fading = true;
-
-# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
-# fade-in-step = 0.028
-fade-in-step = 0.03;
-
-# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
-# fade-out-step = 0.03
-fade-out-step = 0.03;
-
-# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
-# fade-delta = 10
-
-# Specify a list of conditions of windows that should not be faded.
-# fade-exclude = []
-
-# Do not fade on window open/close.
-# no-fading-openclose = false
-
-# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
-# no-fading-destroyed-argb = false
-
-
-#################################
-# Transparency / Opacity #
-#################################
-
-
-# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
-# inactive-opacity = 1
-inactive-opacity = 0.8;
-
-# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
-# frame-opacity = 1.0
-frame-opacity = 0.7;
-
-# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
-# inactive-opacity-override = true
-inactive-opacity-override = false;
-
-# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
-# active-opacity = 1.0
-
-# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
-# inactive-dim = 0.8
-
-# Specify a list of conditions of windows that should never be considered focused.
-# focus-exclude = []
-focus-exclude = [ "class_g = 'Cairo-clock'" ];
-
-# Use fixed inactive dim value, instead of adjusting according to window opacity.
-# inactive-dim-fixed = 1.0
-
-# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
-# like `50:name *= "Firefox"`. picom-trans is recommended over this.
-# Note we don't make any guarantee about possible conflicts with other
-# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
-# example:
-# opacity-rule = [ "80:class_g = 'URxvt'" ];
-#
-opacity-rule = [
- "90:class_g = 'Alacritty'"
-];
-
-
-#################################
-# Corners #
-#################################
-
-# Sets the radius of rounded window corners. When > 0, the compositor will
-# round the corners of windows. Does not interact well with
-# `transparent-clipping`.
-corner-radius = 6
-
-# Exclude conditions for rounded corners.
-rounded-corners-exclude = [
- "window_type = 'dock'",
- "window_type = 'desktop'"
-];
-
-
-#################################
-# Background-Blurring #
-#################################
-
-
-# Parameters for background blurring, see the *BLUR* section for more information.
-blur-method = "dual-kawase";
-# blur-size = 12
-#
-# blur-deviation = false
-#
-blur-strength = 6
-
-# Blur background of semi-transparent / ARGB windows.
-# Bad in performance, with driver-dependent behavior.
-# The name of the switch may change without prior notifications.
-#
-# blur-background = false
-
-# Blur background of windows when the window frame is not opaque.
-# Implies:
-# blur-background
-# Bad in performance, with driver-dependent behavior. The name may change.
-#
-# blur-background-frame = false
-
-
-# Use fixed blur strength rather than adjusting according to window opacity.
-blur-background-fixed = true
-
-
-# Specify the blur convolution kernel, with the following format:
-# example:
-# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
-#
-# blur-kern = ""
-blur-kern = "3x3box";
-
-
-# Exclude conditions for background blur.
-# blur-background-exclude = []
-blur-background-exclude = [
- "window_type = 'dock'",
- "window_type = 'desktop'",
- "_GTK_FRAME_EXTENTS@:c"
-];
-
-#################################
-# General Settings #
-#################################
-
-# Enable remote control via D-Bus. See the man page for more details.
-# dbus = true
-
-# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
-# daemon = false
-
-# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
-# `xrender` is the default one.
-#
-# backend = "glx"
-backend = "xrender";
-
-# Enable/disable VSync.
-# vsync = false
-vsync = false;
-
-# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
-# dbus = false
-
-# Try to detect WM windows (a non-override-redirect window with no
-# child that has 'WM_STATE') and mark them as active.
-#
-# mark-wmwin-focused = false
-mark-wmwin-focused = true;
-
-# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
-# mark-ovredir-focused = false
-mark-ovredir-focused = true;
-
-# Try to detect windows with rounded corners and don't consider them
-# shaped windows. The accuracy is not very high, unfortunately.
-#
-# detect-rounded-corners = false
-detect-rounded-corners = true;
-
-# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers
-# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows.
-#
-# detect-client-opacity = false
-detect-client-opacity = true;
-
-# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
-# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
-# provided that the WM supports it.
-#
-# use-ewmh-active-win = false
-
-# Unredirect all windows if a full-screen opaque window is detected,
-# to maximize performance for full-screen windows. Known to cause flickering
-# when redirecting/unredirecting windows.
-#
-# unredir-if-possible = false
-
-# Delay before unredirecting the window, in milliseconds. Defaults to 0.
-# unredir-if-possible-delay = 0
-
-# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
-# unredir-if-possible-exclude = []
-
-# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
-# in the same group focused at the same time.
-#
-# detect-transient = false
-detect-transient = true;
-
-# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
-# group focused at the same time. This usually means windows from the same application
-# will be considered focused or unfocused at the same time.
-# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
-#
-# detect-client-leader = false
-
-# Resize damaged region by a specific number of pixels.
-# A positive value enlarges it while a negative one shrinks it.
-# If the value is positive, those additional pixels will not be actually painted
-# to screen, only used in blur calculation, and such. (Due to technical limitations,
-# with use-damage, those pixels will still be incorrectly painted to screen.)
-# Primarily used to fix the line corruption issues of blur,
-# in which case you should use the blur radius value here
-# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
-# with a 5x5 one you use `--resize-damage 2`, and so on).
-# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
-#
-# resize-damage = 1
-
-# Specify a list of conditions of windows that should be painted with inverted color.
-# Resource-hogging, and is not well tested.
-#
-# invert-color-include = []
-
-# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
-# Might cause incorrect opacity when rendering transparent content (but never
-# practically happened) and may not work with blur-background.
-# My tests show a 15% performance boost. Recommended.
-#
-# glx-no-stencil = false
-
-# GLX backend: Avoid rebinding pixmap on window damage.
-# Probably could improve performance on rapid window content changes,
-# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
-# Recommended if it works.
-#
-# glx-no-rebind-pixmap = false
-
-# Disable the use of damage information.
-# This cause the whole screen to be redrawn everytime, instead of the part of the screen
-# has actually changed. Potentially degrades the performance, but might fix some artifacts.
-# The opposing option is use-damage
-#
-# no-use-damage = false
-use-damage = true;
-
-# Use X Sync fence to sync clients' draw calls, to make sure all draw
-# calls are finished before picom starts drawing. Needed on nvidia-drivers
-# with GLX backend for some users.
-#
-# xrender-sync-fence = false
-
-# GLX backend: Use specified GLSL fragment shader for rendering window contents.
-# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
-# in the source tree for examples.
-#
-# glx-fshader-win = ""
-
-# Force all windows to be painted with blending. Useful if you
-# have a glx-fshader-win that could turn opaque pixels transparent.
-#
-# force-win-blend = false
-
-# Do not use EWMH to detect fullscreen windows.
-# Reverts to checking if a window is fullscreen based only on its size and coordinates.
-#
-# no-ewmh-fullscreen = false
-
-# Dimming bright windows so their brightness doesn't exceed this set value.
-# Brightness of a window is estimated by averaging all pixels in the window,
-# so this could comes with a performance hit.
-# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
-#
-# max-brightness = 1.0
-
-# Make transparent windows clip other windows like non-transparent windows do,
-# instead of blending on top of them.
-#
-# transparent-clipping = false
-
-# Set the log level. Possible values are:
-# "trace", "debug", "info", "warn", "error"
-# in increasing level of importance. Case doesn't matter.
-# If using the "TRACE" log level, it's better to log into a file
-# using *--log-file*, since it can generate a huge stream of logs.
-#
-# log-level = "debug"
-log-level = "warn";
-
-# Set the log file.
-# If *--log-file* is never specified, logs will be written to stderr.
-# Otherwise, logs will to written to the given file, though some of the early
-# logs might still be written to the stderr.
-# When setting this option from the config file, it is recommended to use an absolute path.
-#
-# log-file = "/path/to/your/log/file"
-
-# Show all X errors (for debugging)
-# show-all-xerrors = false
-
-# Write process ID to a file.
-# write-pid-path = "/path/to/your/log/file"
-
-# Window type settings
-#
-# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
-# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
-# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
-# "tooltip", "notification", "combo", and "dnd".
-#
-# Following per window-type options are available: ::
-#
-# fade, shadow:::
-# Controls window-type-specific shadow and fade settings.
-#
-# opacity:::
-# Controls default opacity of the window type.
-#
-# focus:::
-# Controls whether the window of this type is to be always considered focused.
-# (By default, all window types except "normal" and "dialog" has this on.)
-#
-# full-shadow:::
-# Controls whether shadow is drawn under the parts of the window that you
-# normally won't be able to see. Useful when the window has parts of it
-# transparent, and you want shadows in those areas.
-#
-# clip-shadow-above:::
-# Controls wether shadows that would have been drawn above the window should
-# be clipped. Useful for dock windows that should have no shadow painted on top.
-#
-# redir-ignore:::
-# Controls whether this type of windows should cause screen to become
-# redirected again after been unredirected. If you have unredir-if-possible
-# set, and doesn't want certain window to cause unnecessary screen redirection,
-# you can set this to `true`.
-#
-wintypes:
-{
- tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
- dock = { shadow = false; clip-shadow-above = true; }
- dnd = { shadow = false; }
- popup_menu = { opacity = 0.8; }
- dropdown_menu = { opacity = 0.8; }
-};
diff --git a/.config/picom/picom.old b/.config/picom/picom.old
@@ -1,120 +0,0 @@
-# ____ _____
-# | _ \_ _| Derek Taylor (DistroTube)
-# | | | || | http://www.youtube.com/c/DistroTube
-# | |_| || | http://www.gitlab.com/dwt1/
-# |____/ |_|
-#
-# My config. Not much to see here; just some pretty standard stuff.
-
-# Enabled client-side shadows on windows. Note desktop windows
-# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
-# unless explicitly requested using the wintypes option.
-#
-shadow = true;
-
-# The blur radius for shadows, in pixels. (defaults to 12)
-shadow-radius = 8;
-
-# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
-shadow-opacity = .6
-
-# The left offset for shadows, in pixels. (defaults to -15)
-shadow-offset-x = -3;
-
-# The top offset for shadows, in pixels. (defaults to -15)
-shadow-offset-y = -3;
-
-# Specify a list of conditions of windows that should have no shadow.
-#
-# examples:
-# shadow-exclude = "n:e:Notification";
-#
-# shadow-exclude = []
-shadow-exclude = [
- "name = 'Notification'",
- "class_g = 'Conky'",
- "class_g ?= 'Notify-osd'",
- "class_g = 'Cairo-clock'",
- "class_g = 'slop'",
- "class_g = 'Polybar'",
- "class_g = 'trayer'",
- "_GTK_FRAME_EXTENTS@:c"
-];
-
-
-# Fade windows in/out when opening/closing and when opacity changes,
-# unless no-fading-openclose is used.
-# fading = false
-fading = true;
-
-# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
-# fade-in-step = 0.028
-fade-in-step = 0.03;
-
-# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
-# fade-out-step = 0.03
-fade-out-step = 0.03;
-
-# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
-# fade-delta = 10
-
-# Specify a list of conditions of windows that should not be faded.
-# don't need this, we disable fading for all normal windows with wintypes: {}
-fade-exclude = [
- "class_g = 'slop'" # maim
-]
-
-# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
-inactive-opacity = 0.8
-# inactive-opacity = 1.00
-
-# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
-# frame-opacity = 1.0
-frame-opacity = 1.00
-
-# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
-# menu-opacity = 1.0
-# menu-opacity is depreciated use dropdown-menu and popup-menu instead.
-
-#If using these 2 below change their values in line 510 & 511 aswell
-popup_menu = { opacity = 0.8; }
-dropdown_menu = { opacity = 0.8; }
-
-
-# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
-# inactive-opacity-override = true
-inactive-opacity-override = false;
-
-# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
-active-opacity = 1.00
-
-# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
-# inactive-dim = 0.0
-
-# Specify a list of conditions of windows that should always be considered focused.
-# focus-exclude = []
-focus-exclude = [
- "class_g = 'Cairo-clock'",
- "class_g = 'Bar'", # lemonbar
- "class_g = 'slop'", # maim
- "class_g = 'trayer'" # trayer
-];
-
-opacity-rule = [
- "100:class_g = 'XTerm'",
- "100:class_g = 'URxvt'",
- "100:class_g = 'firefox'",
- "100:class_g = 'Thunderbird'",
- "90:class_g = 'Alacritty'"
-];
-
-wintypes:
-{
- normal = { fade = false; shadow = true; }
- tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
- dock = { shadow = false; }
- dnd = { shadow = true; }
- popup_menu = { opacity = 0.8; }
- dropdown_menu = { opacity = 0.8; }
-};
-
diff --git a/.config/polybar/config.bak b/.config/polybar/config.bak
@@ -1,79 +0,0 @@
-;==========================================================
-; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
-; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
-; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
-; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
-; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
-; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
-; https://github.com/polybar/polybar
-;==========================================================
-
-[global/wm]
-; File inclusions
-include-file = ~/.config/polybar/colors.ini
-include-file = ~/.config/polybar/modules.ini
-
-;; Bars ;;;
-[bar/root]
-enable-ipc = true
-font-0 = "JetbrainsMono Nerd Font:size=10.5;3"
-font-1 = "JetbrainsMono Nerd Font:size=11.5:style=Bold;3"
-font-2 = "feather:size=12;3"
-font-3 = "Noto Sans CJK JP:size=11:style=Bold;3"
-font-4 = "Iosevka Nerd Font:size=10;3"
-padding = 2
-border-size = 0
-border-color = ${color.foreground}
-height = 30
-;radius = 20
-;Works very well with a radius like this! Put it on every bar.
-background = ${color.background}
-foreground = ${color.foreground}
-override-redirect=false
-offset-y = 10
-wm-restack = bspwm
-separator = " "
-
-
-[bar/workspaces]
-inherit = bar/root
-width = 20.5%
-offset-x = 0.5%
-line-size = 1
-modules-left = arch sep workspaces
-scroll-up = bspwm-desknext
-scroll-down = bspwm-deskprev
-
-[bar/win-title]
-inherit = bar/root
-enable-ipc = true
-width = 28.25%
-offset-x = 21.5%
-modules-left = title
-
-[bar/music]
-inherit = bar/root
-enable-ipc = true
-width = 26.75%
-offset-x = 50.25%
-modules-left = alsa
-modules-center = mpris mpris-play-pause
-
-[bar/info]
-inherit = bar/root
-width = 14.5%
-offset-x = 77.5%
-modules-center = cpu memory filesystem updates
-
-[bar/time]
-inherit = bar/root
-width = 4.4%
-offset-x = 92.5%
-modules-center = time
-
-[bar/power]
-inherit = bar/root
-width = 2%
-offset-x = 97.5%
-modules-center = powermenu
-