From bfebdaff540df83e2ade3f0b653e3193b9e03a37 Mon Sep 17 00:00:00 2001 From: Overxwise Date: Sun, 10 Jul 2022 10:23:34 +0300 Subject: [PATCH] Add bunch of stuff --- .config/alacritty/alacritty.yml | 55 +++++ .config/fastfetch/config.conf | 195 ++++++++++++++++++ .config/flameshot/flameshot.ini | 51 +++++ .config/micro/bindings.json | 4 + .config/micro/buffers/history | Bin 0 -> 227 bytes .config/micro/settings.json | 7 + .config/picom/picom.conf | 136 ++++++++++++ .config/starship.toml | 27 +++ .config/viewnior/viewnior.conf | 21 ++ .../config_flameshot_flameshot.ini.base | 51 +++++ .config/wpg/wpg.conf | 17 ++ 11 files changed, 564 insertions(+) create mode 100644 .config/alacritty/alacritty.yml create mode 100644 .config/fastfetch/config.conf create mode 100644 .config/flameshot/flameshot.ini create mode 100644 .config/micro/bindings.json create mode 100644 .config/micro/buffers/history create mode 100755 .config/micro/settings.json create mode 100644 .config/picom/picom.conf create mode 100644 .config/starship.toml create mode 100644 .config/viewnior/viewnior.conf create mode 100755 .config/wpg/templates/config_flameshot_flameshot.ini.base create mode 100644 .config/wpg/wpg.conf diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..3a47878 --- /dev/null +++ b/.config/alacritty/alacritty.yml @@ -0,0 +1,55 @@ +window: + dynamic_padding: true + opacity: 0.85 + startup_mode: Maximized +cursor: + style: Beam +font: + normal: + family: BlexMono Nerd Font + style: Medium + offset: + x: 0 + y: 0 + size: 10 +key_bindings: +- action: ResetFontSize + key: Key0 + mods: Control +- action: IncreaseFontSize + key: Equals + mods: Control +- action: IncreaseFontSize + key: Plus + mods: Control +- action: DecreaseFontSize + key: Minus + mods: Control +live_config_reload: true +# BEGIN ACE +colors: + primary: + background: '#111016' + foreground: '#fffdfd' + cursor: + text: '#111016' + cursor: '#fffdfd' + normal: + black: '#111016' + red: '#897B86' + green: '#8F8C92' + yellow: '#A8A7AB' + blue: '#737788' + magenta: '#C5B3B5' + cyan: '#6B89A4' + white: '#e3e1e1' + bright: + black: '#272433' + red: '#c28fb7' + green: '#b9a3d0' + yellow: '#cfc3f4' + blue: '#8590c1' + magenta: '#ffd0d8' + cyan: '#79b3e6' + white: '#fffdfd' +# END ACE diff --git a/.config/fastfetch/config.conf b/.config/fastfetch/config.conf new file mode 100644 index 0000000..30d92bc --- /dev/null +++ b/.config/fastfetch/config.conf @@ -0,0 +1,195 @@ +# Fastfetch configuration +# Write every argument in different lines. +# Direct arguments will overwrite the corresponding ones in this file. +# Argument keys are not case sensitive. +# Whitespaces are trimmed at the beginning and the end. +# Empty lines or lines starting with # are ignored. + +# This file was shipped with r511.d4f753a. +# Use fastfetch --print-config > ~/.config/fastfetch/config.conf to overwrite this with the current defaults + +# Below some often usefull options are listed. Uncomment and modify them so they take affect. +# Note that there are a lot more options than the ones listed here, take a look at "fastfetch --help". +# Of course all of them can be made persistent here too. + +# Config option: +# Load additional config files. +# Some are shipped with fastfetch, list them with "fastfetch --list-presets". +# Must be a path to a config file or the name of a shipped preset. +# The config file is completly loaded before continuing in the current file, so the placement of this option matters, as later options overwrite already set ones. +# Can be used multiple times to load multiple config files / presets. +#--load-config /path/to/config.txt + +# Structure option: +# Sets the modules to use and their order. +# Must be a list of module names, separated by colons. +# List available modules with "fastfetch --list-modules". +# Get the default structure with "fastfetch --print-structure". +#--structure Title:Separator:OS:Host:Kernel:Uptime:Packages:Shell:Resolution:DE:WM:WMTheme:Theme:Icons:Font:Cursor:Terminal:TerminalFont:CPU:GPU:Memory:Disk:Battery:Locale:Break:Colors +--structure OS:Kernel:Uptime:Packages:Shell:DE:WM:Terminal:TerminalFont:CPU:GPU:Memory:Disk:Break:Colors:Break + +# Logo option: +# Sets the logo to use. +# List available logos with "fastfetch --list-logos". +# Print available logos with "fastfetch --print-logos". +# Must be the name of an available logo or a path to a text file containing a custom logo. +# Default is the current distribution. +#--logo arch + +# Color option: +# Sets the color of the keys. +# Must be linux console color codes or the name of a color. +# Default is the primary color of the logo. +# Use "fastfetch --help color" to learn more and see examples. +#--color magenta + +# Spacing option: +# Sets the amount of whitespace between the logo and keys. +# Must be an positive integer. +# Default is 4. +# --spacing 3 + +# Separator option: +# Sets the string placed between a key and its value. +# Can be any string. +# Default is ": ". +#--separator ": " + +# Offset option: +# Sets the amount of whitespace before the logo. Can be negative to cut the logo. +# Must be an integer. +# Default is 0. +# --offsetx 2 + +# Linewrap option: +# Sets if fastfetch should disable linewrap during the run. +# Must be true or false. +# Default is true. +#--disable-linewrap true + +# Cursor option: +# Sets if fastfetch should hide the console cursor during the run. +# Must be true or false. +# Default is true. +#--hide-cursor true + +# Remaing logo option: +# Sets if the remaining logo should be printed, if it is higher than the information printed. +# Must be true or false. +# Default is true. +#--print-remaining-logo true + +# Multithreading option: +# Sets if fastfetch should use multiple threads to detect the values. +# Must be true or false. +# Default is true. +#--multithreading true + +# Slow operations option: +# Sets if fastfetch is allowed to use known slow operations to detect more / better values. +# Must be true or false. +# Default is false. +#--allow-slow-operations false + +# Color logo option: +# Sets if the logo should be colored. +# Must be true or false. +# Default is true. +#--color-logo true + +# Separator string option: +# Sets the string printed by the "separator" module (usually between title and rest of output) +# Must be any string. It is repated / cut to fit perfectly. +# Default is "-" +#--separator-string - + +# Logo color options: +# Overwrite a color in the logo. Also works for user provided logos. +# In the user logo, they replace $[1-9]. Use $$ to print a single $ sign. +# Must be linux console color codes or the name of a color. +# Default is the one specified by the logo. +# Use "fastfetch --help color" to learn more and see examples. +# Valid index range is [1-9]. +#--color-1 red +#--color-2 32 +# [...] +#--color-9 yellow + +# User logo raw option: +# Sets if color replacements should be performed on the user provided logo. +# Must be true or false. +# Default is true. +#--color-raw true + +# Key options: +# Sets the displayed key of a module +# Can be any string. Some of theme take an argument like a format string. See "fastfetch --help format" for help. +#--os-key OS +#--host-key Host +#--kernel-key Kernel +#--uptime-key Uptime +#--processes-key Processes +#--packages-key Packages +#--shell-key Shell +#--resolution-key Resolution {1} +#--de-key DE +#--wm-key WM +#--wm-theme-key WM Theme +#--theme-key Theme +#--icons-key Icons +#--font-key Font +#--cursor-key Cursor +#--terminal-key Terminal +#--terminal-font-key Terminal Font +#--cpu-key CPU +#--cpu-usage-key CPU Usage +#--gpu-key GPU {1} +#--memory-key Memory +#--disk-key Disk ({1}) +#--battery-key Battery {1} +#--locale-key Locale +#--local-ip-key Local IP ({1}) + +# Format options: +# Sets the format string for module values. +# For information on format strings, see "fastfetch --help format". +# To see the parameter they take and their default value, see "fastfetch --help *-format", e.g. "fastfetch --help os-format". +# An empty format string (As they are currently below) will behave as if it was not set. +#--os-format +#--host-format +#--kernel-format +#--uptime-format +#--processes-format +#--packages-format +#--shell-format +#--resolution-format +#--de-format +#--wm-format +#--wm-theme-format +#--theme-format +#--icons-format +#--font-format +#--cursor-format +#--terminal-format +#--terminal-font-format +#--cpu-format +#--cpu-usage-format +#--gpu-format +#--memory-format +#--disk-format +#--battery-format +#--locale-format +#--local-ip-format + +# Library options: +# Sets an user specific path to a library to load. +# Must be a valid path to a library. +#--lib-PCI /usr/lib/libpci.so +#--lib-vulkan /usr/lib/libvulkan.so +#--lib-X11 /usr/lib/libX11.so +#--lib-Xrandr /usr/lib/libXrandr.so +#--lib-gio /usr/lib/libgio-2.0.so +#--lib-DConf /usr/lib/libdconf.so +#--lib-wayland /usr/lib/libwayland-client.so +#--lib-XFConf /usr/lib/libxfconf-0.so +#--lib-rpm /usr/lib/librpm.so diff --git a/.config/flameshot/flameshot.ini b/.config/flameshot/flameshot.ini new file mode 100644 index 0000000..11876c3 --- /dev/null +++ b/.config/flameshot/flameshot.ini @@ -0,0 +1,51 @@ +[General] +buttons=@Variant(\0\0\0\x7f\0\0\0\vQList\0\0\0\0\xe\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\x4\0\0\0\x5\0\0\0\x6\0\0\0\x12\0\0\0\xf\0\0\0\x13\0\0\0\a\0\0\0\t\0\0\0\x10\0\0\0\x11) +contrastOpacity=188 +copyAndCloseAfterUpload=false +disabledTrayIcon=false +drawColor=#ff0000 +drawThickness=3 +filenamePattern=%d-%m-%Y_%H-%M +historyConfirmationToDelete=false +saveAfterCopy=true +saveAsFileExtension=png +savePath=/home/link/Nextcloud/\x41a\x430\x440\x442\x438\x43d\x43a\x438/\x441\x43a\x440\x438\x43d\x448\x43e\x442\x44b +savePathFixed=true +showHelp=false +showSidePanelButton=false +showStartupLaunchMessage=false +startupLaunch=false +uiColor=#c28fb7 + +[Shortcuts] +TYPE_ARROW=A +TYPE_CIRCLE=C +TYPE_CIRCLECOUNT= +TYPE_COMMIT_CURRENT_TOOL=Ctrl+Return +TYPE_COPY=Ctrl+C +TYPE_DELETE_CURRENT_TOOL=Del +TYPE_DRAWER=D +TYPE_EXIT=Ctrl+Q +TYPE_MARKER=M +TYPE_MOVESELECTION=Ctrl+M +TYPE_MOVE_DOWN=Down +TYPE_MOVE_LEFT=Left +TYPE_MOVE_RIGHT=Right +TYPE_MOVE_UP=Up +TYPE_OPEN_APP=Ctrl+O +TYPE_PENCIL=P +TYPE_PIN= +TYPE_PIXELATE=B +TYPE_RECTANGLE=R +TYPE_REDO=Ctrl+Shift+Z +TYPE_RESIZE_DOWN=Shift+Down +TYPE_RESIZE_LEFT=Shift+Left +TYPE_RESIZE_RIGHT=Shift+Right +TYPE_RESIZE_UP=Shift+Up +TYPE_SAVE=Ctrl+S +TYPE_SELECTION=S +TYPE_SELECTIONINDICATOR= +TYPE_SELECT_ALL=Ctrl+A +TYPE_TEXT=T +TYPE_TOGGLE_PANEL=Space +TYPE_UNDO=Ctrl+Z diff --git a/.config/micro/bindings.json b/.config/micro/bindings.json new file mode 100644 index 0000000..83659cb --- /dev/null +++ b/.config/micro/bindings.json @@ -0,0 +1,4 @@ +{ + "Alt-/": "lua:comment.comment", + "CtrlUnderscore": "lua:comment.comment" +} diff --git a/.config/micro/buffers/history b/.config/micro/buffers/history new file mode 100644 index 0000000000000000000000000000000000000000..b32b5f123f2608a3685fa5756d6fcedb69819a20 GIT binary patch literal 227 zcmZ9FOAdlC6h#ZP;(&-F$K8NSaAcxW6XOC(d4-1l(n1`IF3o+_;>5(+J305>SH~yL z^7ukomBksMDn9bWb7F+zJBgw^TCJIBNgZIM+$!q>??Jqbp}pPrK?V+s!<*ML2!!v`t-OuPU9 literal 0 HcmV?d00001 diff --git a/.config/micro/settings.json b/.config/micro/settings.json new file mode 100755 index 0000000..b35e564 --- /dev/null +++ b/.config/micro/settings.json @@ -0,0 +1,7 @@ +{ + "backup": false, + "clipboard": "terminal", + "colorscheme": "simple", + "mkparents": true, + "softwrap": true +} diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf new file mode 100644 index 0000000..7560b3f --- /dev/null +++ b/.config/picom/picom.conf @@ -0,0 +1,136 @@ +################################# +# Animations # +################################# +# requires https://github.com/jonaburg/picom +# (These are also the default values) +transition-length = 300 +transition-pow-x = 0.1 +transition-pow-y = 0.1 +transition-pow-w = 0.1 +transition-pow-h = 0.1 +size-transition = true + +################################# +# Corners # +################################# + +corner-radius = 0.0; +rounded-corners-exclude = [ + #"window_type = 'normal'", + # "class_g = 'URxvt'", + # "class_g = 'XTerm'", + "class_g = 'Polybar'", + # "class_g = 'code-oss'", + #"class_g = 'TelegramDesktop'", + # "class_g = 'firefox'", + # "class_g = 'Thunderbird'", +]; + +round-borders = 0; +round-borders-exclude = [ + "class_g = 'KotatogramDesktop'", + # "class_g = 'firefox'", + "class_g = 'Steam'", +]; + +################################# +# Background-Blurring # +################################# + +blur: { + method = "dual_kawase"; + strength = 3; + background = false; + # background-frame = true; + # background-fixed = false; +} + +blur-kern = "3x3box"; +# Exclude conditions for background blur. +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "window_type = 'slop'", + "class_g = 'KotatogramDesktop'", + "class_g = 'slop'", + "class_g = 'firefox'", + # "class_g = 'Xfce4-notifyd'", + "class_g = 'Xfce4-panel'", + "class_g = 'Xfce4-screensaver'", + "class_g = 'Xfdesktop'", + "class_g = 'Xfwm'", + # "class_g = 'LibreWolf'", + # "class_g = 'Steam'", + "_GTK_FRAME_EXTENTS@:c" +]; + +################################# +# Shadows # +################################# + +shadow = true; +# shadow-radius = 4 +# shadow-opacity = .35 +# shadow-offset-x = .1 +# shadow-offset-y = .1 +shadow-exclude = [ + "name = 'Notification'", + "class_g = 'LibreWolf' && argb", + "class_g = 'firefox' && argb", + "class_g ?= 'Notify-osd'", + "class_g = 'Cairo-clock'", + "class_g = 'KotatogramDesktop'", + "class_g = 'Steam'", + "class_g = 'Rofi'", + "class_g = 'Xfce4-notifyd'", + "class_g = 'Xfce4-panel'", + "_GTK_FRAME_EXTENTS@:c", +]; + +# xinerama-shadow-crop = true + +################################# +# Fading # +################################# + +fading = true; +fade-in-step = 0.055; +fade-out-step = 0.055; +fade-delta = 3 +# no-fading-openclose = false +# no-fading-destroyed-argb = true; + +################################# +# Transparency / Opacity # +################################# + +inactive-opacity = 1; +active-opacity = 1; + +################################# +# General Settings # +################################# + +daemon = true +backend = "glx"; +vsync = true; +# mark-wmwin-focused = true; +# detect-client-opacity = true; +# detect-transient = true; +# detect-client-leader = true; +# glx-no-stencil = true; +# xrender-sync-fence = true; +dbus = true; +# use-ewmh-active-win = true; +# unredir-if-possible = true; +# glx-no-rebind-pixmap = true; +refresh-rate = 60; + +wintypes: +{ + tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; }; + dock = { shadow = false; } + dnd = { shadow = false; } + popup_menu = { opacity = 0.95; } + dropdown_menu = { opacity = 0.95; } +}; diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..3cf40d9 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,27 @@ +# Don't print a new line at the start of the prompt +add_newline = false + +# Replace the "❯" symbol in the prompt with "➜" +[character] # The name of the module we are configuring is "character" +success_symbol = "[❯](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green" + +# Disable the package module, hiding it from the prompt completely +[package] +disabled = true + +[username] +style_user = "white bold" +style_root = "black bold" +format = "($style) " +# [$user] +disabled = false +show_always = true + +[line_break] +disabled = true + +format = """ +[username][character]""" + +[cmd_duration] +format = "заняло [$duration]($style) " diff --git a/.config/viewnior/viewnior.conf b/.config/viewnior/viewnior.conf new file mode 100644 index 0000000..4b440d0 --- /dev/null +++ b/.config/viewnior/viewnior.conf @@ -0,0 +1,21 @@ +[prefs] +zoom-mode=0 +fit-on-fullscreen=true +show-hidden=false +dark-background=false +smooth-images=true +confirm-delete=true +reload-on-save=false +show-menu-bar=false +show-toolbar=false +show-scrollbar=false +show-statusbar=false +start-maximized=false +slideshow-timeout=5 +auto-resize=false +behavior-wheel=1 +behavior-click=0 +behavior-modify=0 +jpeg-quality=90 +png-compression=9 +desktop=9 diff --git a/.config/wpg/templates/config_flameshot_flameshot.ini.base b/.config/wpg/templates/config_flameshot_flameshot.ini.base new file mode 100755 index 0000000..4fe439b --- /dev/null +++ b/.config/wpg/templates/config_flameshot_flameshot.ini.base @@ -0,0 +1,51 @@ +[General] +buttons=@Variant(\0\0\0\x7f\0\0\0\vQList\0\0\0\0\xe\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\x4\0\0\0\x5\0\0\0\x6\0\0\0\x12\0\0\0\xf\0\0\0\x13\0\0\0\a\0\0\0\t\0\0\0\x10\0\0\0\x11) +contrastOpacity=188 +copyAndCloseAfterUpload=false +disabledTrayIcon=false +drawColor=#ff0000 +drawThickness=3 +filenamePattern=%d-%m-%Y_%H-%M +historyConfirmationToDelete=false +saveAfterCopy=true +saveAsFileExtension=png +savePath=/home/link/Nextcloud/\x41a\x430\x440\x442\x438\x43d\x43a\x438/\x441\x43a\x440\x438\x43d\x448\x43e\x442\x44b +savePathFixed=true +showHelp=false +showSidePanelButton=false +showStartupLaunchMessage=false +startupLaunch=false +uiColor={color9} + +[Shortcuts] +TYPE_ARROW=A +TYPE_CIRCLE=C +TYPE_CIRCLECOUNT= +TYPE_COMMIT_CURRENT_TOOL=Ctrl+Return +TYPE_COPY=Ctrl+C +TYPE_DELETE_CURRENT_TOOL=Del +TYPE_DRAWER=D +TYPE_EXIT=Ctrl+Q +TYPE_MARKER=M +TYPE_MOVESELECTION=Ctrl+M +TYPE_MOVE_DOWN=Down +TYPE_MOVE_LEFT=Left +TYPE_MOVE_RIGHT=Right +TYPE_MOVE_UP=Up +TYPE_OPEN_APP=Ctrl+O +TYPE_PENCIL=P +TYPE_PIN= +TYPE_PIXELATE=B +TYPE_RECTANGLE=R +TYPE_REDO=Ctrl+Shift+Z +TYPE_RESIZE_DOWN=Shift+Down +TYPE_RESIZE_LEFT=Shift+Left +TYPE_RESIZE_RIGHT=Shift+Right +TYPE_RESIZE_UP=Shift+Up +TYPE_SAVE=Ctrl+S +TYPE_SELECTION=S +TYPE_SELECTIONINDICATOR= +TYPE_SELECT_ALL=Ctrl+A +TYPE_TEXT=T +TYPE_TOGGLE_PANEL=Space +TYPE_UNDO=Ctrl+Z diff --git a/.config/wpg/wpg.conf b/.config/wpg/wpg.conf new file mode 100644 index 0000000..074b110 --- /dev/null +++ b/.config/wpg/wpg.conf @@ -0,0 +1,17 @@ +[settings] +set_wallpaper = true +gtk = true +active = 9 +light_theme = false +editor = alacritty -e micro +execute_cmd = true +command = setwalle +backend = wal +alpha = 100 +smart_sort = true +auto_adjust = true +reload = true +keywords = default + +[keywords] +