разобрался с этой гавной

This commit is contained in:
2025-05-24 11:43:44 +03:00
parent f7a85b3d73
commit 4299b4b99a
29 changed files with 1219 additions and 1 deletions

282
cava/config Normal file
View File

@@ -0,0 +1,282 @@
## Configuration file for CAVA.
# Remove the ; to change parameters.
[general]
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
; mode = normal
# Accepts only non-negative values.
; framerate = 60
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
# new as of 0.6.0 autosens of low values (dynamic range)
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
; autosens = 1
; overshoot = 20
# Manual sensitivity in %. If autosens is enabled, this will only be the initial value.
# 200 means double height. Accepts only non-negative values.
sensitivity = 90
# The number of bars (0-512). 0 sets it to auto (fill up console).
# Bars' width and space between bars in number of characters.
; bars = 0
bar_width = 4
; bar_spacing = 1
# bar_height is only used for output in "noritake" format
; bar_height = 32
# For SDL width and space between bars is in pixels, defaults are:
; bar_width = 20
; bar_spacing = 5
# sdl_glsl have these default values, they are only used to calculate max number of bars.
; bar_width = 1
; bar_spacing = 0
# Lower and higher cutoff frequencies for lowest and highest bars
# the bandwidth of the visualizer.
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
# Cava will automatically increase the higher cutoff if a too low band is specified.
; lower_cutoff_freq = 50
; higher_cutoff_freq = 10000
# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and
# only check for input once per second. Cava will wake up once input is detected. 0 = disable.
; sleep_timer = 0
[input]
# Audio capturing method. Possible methods are: 'fifo', 'portaudio', 'pipewire', 'alsa', 'pulse', 'sndio', 'oss', 'jack' or 'shmem'
# Defaults to 'oss', 'pipewire', 'sndio', 'jack', 'pulse', 'alsa', 'portaudio' or 'fifo', in that order, dependent on what support cava was built with.
# On Mac it defaults to 'portaudio' or 'fifo'
# On windows this is automatic and no input settings are needed.
#
# All input methods uses the same config variable 'source'
# to define where it should get the audio.
#
# For pulseaudio and pipewire 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
#
# For pipewire 'source' will be the object name or object.serial of the device to capture from.
# Both input and output devices are supported.
#
# For alsa 'source' will be the capture device.
# For fifo 'source' will be the path to fifo-file.
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
#
# For sndio 'source' will be a raw recording audio descriptor or a monitoring sub-device, e.g. 'rsnd/2' or 'snd/1'. Default: 'default'.
# README.md contains further information on how to setup CAVA for sndio.
#
# For oss 'source' will be the path to a audio device, e.g. '/dev/dsp2'. Default: '/dev/dsp', i.e. the default audio device.
# README.md contains further information on how to setup CAVA for OSS on FreeBSD.
#
# For jack 'source' will be the name of the JACK server to connect to, e.g. 'foobar'. Default: 'default'.
# README.md contains further information on how to setup CAVA for JACK.
#
method = pulse
source = auto
; method = pipewire
; source = auto
; method = alsa
; source = hw:Loopback,1
; method = fifo
; source = /tmp/mpd.fifo
; method = shmem
; source = /squeezelite-AA:BB:CC:DD:EE:FF
; method = portaudio
; source = auto
; method = sndio
; source = default
; method = oss
; source = /dev/dsp
; method = jack
; source = default
# The options 'sample_rate', 'sample_bits', 'channels' and 'autoconnect' can be configured for some input methods:
# sample_rate: fifo, pipewire, sndio, oss
# sample_bits: fifo, pipewire, sndio, oss
# channels: sndio, oss, jack
# autoconnect: jack
# Other methods ignore these settings.
#
# For 'sndio' and 'oss' they are only preferred values, i.e. if the values are not supported
# by the chosen audio device, the device will use other supported values instead.
# Example: 48000, 32 and 2, but the device only supports 44100, 16 and 1, then it
# will use 44100, 16 and 1.
#
; sample_rate = 44100
; sample_bits = 16
; channels = 2
; autoconnect = 2
[output]
# Output method. Can be 'ncurses', 'noncurses', 'raw', 'noritake', 'sdl'
# or 'sdl_glsl'.
# 'noncurses' (default) uses a buffer and cursor movements to only print
# changes from frame to frame in the terminal. Uses less resources and is less
# prone to tearing (vsync issues) than 'ncurses'.
#
# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
# stream of the bar heights that can be used to send to other applications.
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
#
# 'noritake' outputs a bitmap in the format expected by a Noritake VFD display
# in graphic mode. It only support the 3000 series graphical VFDs for now.
#
# 'sdl' uses the Simple DirectMedia Layer to render in a graphical context.
# 'sdl_glsl' uses SDL to create an OpenGL context. Write your own shaders or
# use one of the predefined ones.
; method = noncurses
# Orientation of the visualization. Can be 'bottom', 'top', 'left', 'right' or
# 'horizontal'. Default is 'bottom'. 'left and 'right' are only supported on sdl
# and ncruses output. 'horizontal' (bars go up and down from center) is only supported
# on noncurses output.
# Note: many fonts have weird or missing glyphs for characters used in orientations
# other than 'bottom', which can make output not look right.
; orientation = bottom
# Visual channels. Can be 'stereo' or 'mono'.
# 'stereo' mirrors both channels with low frequencies in center.
# 'mono' outputs left to right lowest to highest frequencies.
# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
# set 'reverse' to 1 to display frequencies the other way around.
; channels = stereo
; mono_option = average
; reverse = 0
# Raw output target.
# On Linux, a fifo will be created if target does not exist.
# On Windows, a named pipe will be created if target does not exist.
; raw_target = /dev/stdout
# Raw data format. Can be 'binary' or 'ascii'.
; data_format = binary
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
; bit_format = 16bit
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
; ascii_max_range = 1000
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
; bar_delimiter = 59
; frame_delimiter = 10
# sdl window size and position. -1,-1 is centered.
; sdl_width = 1000
; sdl_height = 500
; sdl_x = -1
; sdl_y= -1
; sdl_full_screen = 0
# set label on bars on the x-axis. Can be 'frequency' or 'none'. Default: 'none'
# 'frequency' displays the lower cut off frequency of the bar above.
# Only supported on ncurses and noncurses output.
; xaxis = none
# enable synchronized sync. 1 = on, 0 = off
# removes flickering in alacritty terminal emulator.
# defaults to off since the behaviour in other terminal emulators is unknown
; synchronized_sync = 0
# Shaders for sdl_glsl, located in $HOME/.config/cava/shaders
; vertex_shader = pass_through.vert
; fragment_shader = bar_spectrum.frag
; for glsl output mode, keep rendering even if no audio
; continuous_rendering = 0
# disable console blank (screen saver) in tty
# (Not supported on FreeBSD)
; disable_blanking = 0
# show a flat bar at the bottom of the screen when idle, 1 = on, 0 = off
; show_idle_bar_heads = 1
# show waveform instead of frequency spectrum, 1 = on, 0 = off
; waveform = 0
[color]
# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires
# a terminal that can change color definitions such as Gnome-terminal or rxvt.
# default is to keep current terminal color
; background = default
; foreground = default
# SDL and sdl_glsl only support hex code colors, these are the default:
; background = '#111111'
; foreground = '#33ffff'
# Gradient mode, only hex defined colors are supported,
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
# You can define as many as 8 different colors. They range from bottom to top of screen
; gradient = 0
; gradient_color_1 = '#59cc33'
; gradient_color_2 = '#80cc33'
; gradient_color_3 = '#a6cc33'
; gradient_color_4 = '#cccc33'
; gradient_color_5 = '#cca633'
; gradient_color_6 = '#cc8033'
; gradient_color_7 = '#cc5933'
; gradient_color_8 = '#cc3333'
[smoothing]
# Percentage value for integral smoothing. Takes values from 0 - 100.
# Higher values means smoother, but less precise. 0 to disable.
# DEPRECATED as of 0.8.0, use noise_reduction instead
; integral = 77
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
; monstercat = 0
; waves = 0
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
# DEPRECATED as of 0.8.0, use noise_reduction instead
; gravity = 100
# In bar height, bars that would have been lower that this will not be drawn.
# DEPRECATED as of 0.8.0
; ignore = 0
# Noise reduction, int 0 - 100. default 77
# the raw visualization is very noisy, this factor adjusts the integral and gravity filters to keep the signal smooth
# 100 will be very slow and smooth, 0 will be fast but noisy.
; noise_reduction = 77
[eq]
# This one is tricky. You can have as much keys as you want.
# Remember to uncomment more than one key! More keys = more precision.
# Look at readme.md on github for further explanations and examples.
; 1 = 1 # bass
; 2 = 1
; 3 = 1 # midtone
; 4 = 1
; 5 = 1 # treble

View File

@@ -0,0 +1,79 @@
#version 330
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform int bar_width; // bar width (configurable), not used here
uniform int bar_spacing; // space bewteen bars (configurable)
uniform vec3 u_resolution; // window resolution
//colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
uniform vec3 bg_color; // background color
uniform vec3 fg_color; // foreground color
uniform int gradient_count;
uniform vec3 gradient_colors[8]; // gradient colors
vec3 normalize_C(float y,vec3 col_1, vec3 col_2, float y_min, float y_max)
{
//create color based on fraction of this color and next color
float yr = (y - y_min) / (y_max - y_min);
return col_1 * (1.0 - yr) + col_2 * yr;
}
void main()
{
// find which bar to use based on where we are on the x axis
float x = u_resolution.x * fragCoord.x;
int bar = int(bars_count * fragCoord.x);
//calculate a bar size
float bar_size = u_resolution.x / bars_count;
//the y coordinate and bar values are the same
float y = bars[bar];
// make sure there is a thin line at bottom
if (y * u_resolution.y < 1.0)
{
y = 1.0 / u_resolution.y;
}
//draw the bar up to current height
if (y > fragCoord.y)
{
//make some space between bars basen on settings
if (x > (bar + 1) * (bar_size) - bar_spacing)
{
fragColor = vec4(bg_color,1.0);
}
else
{
if (gradient_count == 0)
{
fragColor = vec4(fg_color,1.0);
}
else
{
//find which color in the configured gradient we are at
int color = int((gradient_count - 1) * fragCoord.y);
//find where on y this and next color is supposed to be
float y_min = color / (gradient_count - 1.0);
float y_max = (color + 1.0) / (gradient_count - 1.0);
//make color
fragColor = vec4(normalize_C(fragCoord.y, gradient_colors[color], gradient_colors[color + 1], y_min, y_max), 1.0);
}
}
}
else
{
fragColor = vec4(bg_color,1.0);
}
}

View File

@@ -0,0 +1,34 @@
#version 330
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform vec3 u_resolution; // window resolution, not used here
//colors, configurable in cava config file
uniform vec3 bg_color; // background color(r,g,b) (0.0 - 1.0), not used here
uniform vec3 fg_color; // foreground color, not used here
void main()
{
// find which bar to use based on where we are on the x axis
int bar = int(bars_count * fragCoord.x);
float bar_y = 1.0 - abs((fragCoord.y - 0.5)) * 2.0;
float y = (bars[bar]) * bar_y;
float bar_x = (fragCoord.x - float(bar) / float(bars_count)) * bars_count;
float bar_r = 1.0 - abs((bar_x - 0.5)) * 2;
bar_r = bar_r * bar_r * 2;
// set color
fragColor.r = fg_color.x * y * bar_r;
fragColor.g = fg_color.y * y * bar_r;
fragColor.b = fg_color.z * y * bar_r;
}

View File

@@ -0,0 +1,14 @@
#version 330
// Input vertex data, different for all executions of this shader.
layout(location = 0) in vec3 vertexPosition_modelspace;
// Output data ; will be interpolated for each fragment.
out vec2 fragCoord;
void main()
{
gl_Position = vec4(vertexPosition_modelspace,1);
fragCoord = (vertexPosition_modelspace.xy+vec2(1,1))/2.0;
}

View File

@@ -0,0 +1,53 @@
#version 330
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high
// to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform int bar_width; // bar width (configurable), not used here
uniform int bar_spacing; // space bewteen bars (configurable)
uniform vec3 u_resolution; // window resolution
// colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
uniform vec3 bg_color; // background color
uniform vec3 fg_color; // foreground color
uniform int gradient_count;
uniform vec3 gradient_colors[8]; // gradient colors
uniform sampler2D inputTexture; // Texture from the first render pass
vec3 normalize_C(float y, vec3 col_1, vec3 col_2, float y_min, float y_max) {
// create color based on fraction of this color and next color
float yr = (y - y_min) / (y_max - y_min);
return col_1 * (1.0 - yr) + col_2 * yr;
}
void main() {
// find which bar to use based on where we are on the y axis
int bar = int(bars_count * fragCoord.y);
float y = bars[bar];
float band_size = 1.0 / float(bars_count);
float current_band_min = bar * band_size;
float current_band_max = (bar + 1) * band_size;
int hist_length = 512;
float win_size = 1.0 / hist_length;
if (fragCoord.x > 1.0 - win_size) {
if (fragCoord.y > current_band_min && fragCoord.y < current_band_max) {
fragColor = vec4(fg_color * y, 1.0);
}
} else {
vec2 offsetCoord = fragCoord;
offsetCoord.x += float(win_size);
fragColor = texture(inputTexture, offsetCoord);
}
}

View File

@@ -0,0 +1,112 @@
#version 330
// Emulate the "line style" spectrum analyzer from Winamp 2.
// Try this config for a demonstration:
/*
[general]
bar_width = 2
bar_spacing = 0
higher_cutoff_freq = 22000
[output]
method = sdl_glsl
channels = mono
fragment_shader = winamp_line_style_spectrum.frag
[color]
background = '#000000'
gradient = 1
gradient_color_1 = '#319C08'
gradient_color_2 = '#29CE10'
gradient_color_3 = '#BDDE29'
gradient_color_4 = '#DEA518'
gradient_color_5 = '#D66600'
gradient_color_6 = '#CE2910'
[smoothing]
noise_reduction = 10
*/
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform int bar_width; // bar width (configurable), not used here
uniform int bar_spacing; // space bewteen bars (configurable)
uniform vec3 u_resolution; // window resolution
//colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
uniform vec3 bg_color; // background color
uniform vec3 fg_color; // foreground color
uniform int gradient_count;
uniform vec3 gradient_colors[8]; // gradient colors
vec3 normalize_C(float y,vec3 col_1, vec3 col_2, float y_min, float y_max)
{
//create color based on fraction of this color and next color
float yr = (y - y_min) / (y_max - y_min);
return col_1 * (1.0 - yr) + col_2 * yr;
}
void main()
{
// find which bar to use based on where we are on the x axis
float x = u_resolution.x * fragCoord.x;
int bar = int(bars_count * fragCoord.x);
//calculate a bar size
float bar_size = u_resolution.x / bars_count;
//the y coordinate is stretched by 4X to resemble Winamp
float y = min(bars[bar] * 4.0, 1.0);
// make sure there is a thin line at bottom
if (y * u_resolution.y < 1.0)
{
y = 1.0 / u_resolution.y;
}
vec4 bar_color;
if (gradient_count == 0)
{
bar_color = vec4(fg_color,1.0);
}
else
{
//find color in the configured gradient for the top of the bar
int color = int((gradient_count - 1) * y);
//find where on y this and next color is supposed to be
float y_min = float(color) / (gradient_count - 1.0);
float y_max = float(color + 1) / (gradient_count - 1.0);
//make a solid color for the entire bar
bar_color = vec4(normalize_C(y, gradient_colors[color], gradient_colors[color + 1], y_min, y_max), 1.0);
}
//draw the bar up to current height
if (y > fragCoord.y)
{
//make some space between bars based on settings
if (x > (bar + 1) * (bar_size) - bar_spacing)
{
fragColor = vec4(bg_color,1.0);
}
else
{
fragColor = bar_color;
}
}
else
{
fragColor = vec4(bg_color,1.0);
}
}

BIN
fastfetch/art.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

69
fastfetch/config.jsonc Normal file
View File

@@ -0,0 +1,69 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"modules": [
"title",
{
"type": "separator",
"string": "+-",
"length": 18
},
{
"type": "os",
"format": "{pretty-name}",
"key": "os "
},
{
"type": "shell",
"key": "sh ",
"format": "{exe-name}"
},
{
"type": "wm",
"key": "wm ",
"format": "{pretty-name}"
},
{
"type": "terminalfont",
"key": "fnt",
"format": "{}"
},
{
"type": "cpu",
"key": "cpu",
"format": "{name}"
},
{
"type": "gpu",
"key": "gpu",
"format": "{name}"
},
{
"type": "memory",
"key": "mem",
"format": "{used} / {total}"
},
{
"type": "swap",
"key": "swp",
"format": "{used} / {total}"
},
{
"type": "disk",
"key": "dsk",
"format": "{size-used} / {size-total}"
},
"break",
{
"type": "colors",
"symbol": "circle"
},
],
"logo": {
"source": "~/.config/fastfetch/art.jpg",
"height": 13,
"position": "left"
},
"display": {
"separator": " "
}
}

2
fastfetch/logo.txt Normal file

File diff suppressed because one or more lines are too long

20
fish/config.fish Normal file
View File

@@ -0,0 +1,20 @@
source /home/pablusha/.cache/wal/colors.fish
function fish_greeting
echo "halo!"
end
function fish_prompt
string join '' -- "╭ (" (whoami) "@" (set_color green) $hostname (set_color normal) ") - " (set_color green) (date +"%H:%M") (set_color normal)
string join '' -- "╰ " (set_color green) (prompt_pwd) " " (set_color normal) "> "
end
:
alias ff=fastfetch
alias md=mkdir
alias svim="sudo vim"
alias nano=vim
alias cff="clear; ff; echo ''"
alias pls="sudo"
alias add="yay -Syu"
alias del="yay -Rns"
alias download="bash /home/pablusha/download.sh"

31
fish/fish_variables Normal file
View File

@@ -0,0 +1,31 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:3800
SETUVAR fish_color_autosuggestion:555\x1ebrblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:CFBDBB
SETUVAR fish_color_comment:9ca3a6
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:B6DAE5
SETUVAR fish_color_error:ff0000
SETUVAR fish_color_escape:E1D7CD
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:dfe9ee
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_normal:dfe9ee
SETUVAR fish_color_operator:E1D7CD
SETUVAR fish_color_param:D6A59D
SETUVAR fish_color_quote:FAEDD9
SETUVAR fish_color_redirection:D6A59D
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:\x1d
SETUVAR fish_pager_color_description:FAEDD9\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr

64
htop/htoprc Normal file
View File

@@ -0,0 +1,64 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
htop_version=3.4.1-3.4.1
config_reader_min_version=3
fields=0 48 17 18 38 39 40 2 46 47 49 1
hide_kernel_threads=1
hide_userland_threads=1
hide_running_in_container=0
shadow_other_users=0
show_thread_names=0
show_program_path=1
highlight_base_name=0
highlight_deleted_exe=1
shadow_distribution_path_prefix=0
highlight_megabytes=1
highlight_threads=1
highlight_changes=0
highlight_changes_delay_secs=5
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=0
header_margin=1
screen_tabs=1
detailed_cpu_time=0
cpu_count_from_one=0
show_cpu_usage=1
show_cpu_frequency=0
show_cpu_temperature=0
degree_fahrenheit=0
show_cached_memory=1
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
enable_mouse=1
delay=15
hide_function_bar=0
header_layout=two_50_50
column_meters_0=LeftCPUs Memory Swap
column_meter_modes_0=1 1 1
column_meters_1=RightCPUs Tasks LoadAverage Uptime
column_meter_modes_1=1 2 2 2
tree_view=0
sort_key=46
tree_sort_key=0
sort_direction=-1
tree_sort_direction=1
tree_view_always_by_pid=0
all_branches_collapsed=0
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=PERCENT_CPU
.tree_sort_key=PID
.tree_view_always_by_pid=0
.tree_view=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
.sort_key=IO_RATE
.tree_sort_key=PID
.tree_view_always_by_pid=0
.tree_view=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0

0
htop/htoprc.tmp.7kxHK3 Normal file
View File

0
htop/htoprc.tmp.fDEIlB Normal file
View File

0
htop/htoprc.tmp.ooeb8s Normal file
View File

170
hypr/hyprland.conf Normal file
View File

@@ -0,0 +1,170 @@
source = ~/.cache/wal/hyprland-colors.conf
# MONITORS
monitor = DVI-D-1, 1920x1080, 0x0, 1
monitor = HDMI-A-1, 3240x2160, 1920x0, 2
# ENV
$terminal = kitty
$fileManager = thunar
$menu = wofi --show drun
env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = HYPRCURSOR_THEME,Bibata-Modern-Classic
env = XCURSOR_SIZE,22
env = HYPRCURSOR_SIZE,22
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_QPA_PLATFORM,wayland
env = XDG_MENU_PREFIX,plasma-
render:explicit_sync = 0
# WINDOW RULES
windowrulev2 = opacity 0.95 0.95,class:^(thunar)$
windowrulev2 = opacity 0.95 0.95,class:^(obsidian)$
windowrulev2 = opacity 0.95 0.95,class:^(Code)$
windowrulev2 = opacity 0.95 0.95,class:^(org.prismlauncher.PrismLauncher)$
windowrulev2 = opacity 0.95 0.95,class:^(com.obsproject.Studio)$
windowrulev2 = opacity 0.95 0.95,class:^(wofi)$
layerrule = blur, wofi
# AUTOSTART
exec-once = waybar & hyprpaper & mako
exec-once = hyprctl setcursor Bibata-Modern-Classic 22
exec-once = wal -R
exec = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
# DECO
general {
gaps_in = 4
gaps_out = 8
border_size = 0
col.active_border = $color1 $color2 45deg
col.inactive_border = $color1 $color2 45deg
allow_tearing = false
layout = dwindle
}
decoration {
rounding = 4
blur {
enabled = true
size = 4
passes = 3
}
shadow {
enabled = false
}
}
misc {
force_default_wallpaper = 0
disable_hyprland_logo = true
}
# ANIMATIONS
animations {
# https://wiki.hyprland.org/Configuring/Animations/
bezier = easeOutQuint,0.23,1,0.32,1
bezier = easeInOutCubic,0.65,0.05,0.36,1
bezier = linear,0,0,1,1
bezier = almostLinear,0.5,0.5,0.75,1.0
bezier = quick,0.15,0,0.1,1
bezier = easeInOut,0.66,0,0.61,1
animation = global, 1, 10, default
animation = border, 1, 5.39, easeOutQuint
animation = windows, 1, 4.79, easeOutQuint
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
animation = windowsOut, 1, 1.49, linear, popin 87%
animation = fadeIn, 1, 1.73, almostLinear
animation = fadeOut, 1, 1.46, almostLinear
animation = fade, 1, 3.03, quick
animation = layers, 1, 3.81, easeOutQuint
animation = layersIn, 1, 4, easeOutQuint, fade
animation = layersOut, 1, 1.5, linear, fade
animation = fadeLayersIn, 1, 1.79, almostLinear
animation = fadeLayersOut, 1, 1.39, almostLinear
animation = workspaces, 1, 3, easeInOut, slide
animation = workspacesIn, 1, 3, easeInOut, slide
animation = workspacesOut, 1, 3, easeInOut, slide
}
dwindle {
pseudotile = true
preserve_split = true
}
# INPUT
input {
follow_mouse = 1
kb_layout = us, ru
kb_options = grp:alt_shift_toggle
}
# BINDS
$mainMod = SUPER
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, W, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, R, exec, $menu
bind = $mainMod, Z, togglesplit,
bind = $mainMod, X, togglefloating,
bind = $mainMod, c, exec, hyprctl dispatch centerwindow
bind = $mainMod, F, fullscreen, 0
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bind = $mainMod SHIFT, S, exec, ~/.config/hypr/screenshot.sh

2
hypr/hyprpaper.conf Normal file
View File

@@ -0,0 +1,2 @@
preload = ~/Pictures/bg.png
wallpaper = , ~/Pictures/bg.png

8
hypr/screenshot.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
date=$(date +"%Y-%m-%d.%H:%M:%S")
filename="$date.png"
filepath="/home/pablusha/Pictures/$filename"
grim -g "$(slurp -c 00000000)" "$filepath"
wl-copy < "$filepath"
notify-send -i $filepath "screenshot saved" $filepath

32
kitty/kitty.conf Normal file
View File

@@ -0,0 +1,32 @@
foreground #dfe9ee
background #222227
cursor #dfe9ee
color0 #222227
color8 #9ca3a6
color1 #D6A59D
color9 #D6A59D
color2 #CFBDBB
color10 #CFBDBB
color3 #E9D3AE
color11 #E9D3AE
color4 #B6DAE5
color12 #B6DAE5
color5 #E1D7CD
color13 #E1D7CD
color6 #FAEDD9
color14 #FAEDD9
color7 #dfe9ee
color15 #dfe9ee
background_opacity 0.8
font_size 11.0
confirm_os_window_close 0
window_padding_width 10
# BEGIN_KITTY_FONTS
font_family family="MonaspiceAr Nerd Font"
bold_font auto
italic_font auto
bold_italic_font auto
# END_KITTY_FONTS

25
kitty/kitty.conf.bak Normal file
View File

@@ -0,0 +1,25 @@
foreground #dfe9ee
background #222227
cursor #dfe9ee
color0 #222227
color8 #9ca3a6
color1 #D6A59D
color9 #D6A59D
color2 #CFBDBB
color10 #CFBDBB
color3 #E9D3AE
color11 #E9D3AE
color4 #B6DAE5
color12 #B6DAE5
color5 #E1D7CD
color13 #E1D7CD
color6 #FAEDD9
color14 #FAEDD9
color7 #dfe9ee
color15 #dfe9ee
background_opacity 0.9
font_size 11.0
confirm_os_window_close 0
window_padding_width 10

5
mako/config Normal file
View File

@@ -0,0 +1,5 @@
background-color=#222227
border-radius=4
border-size=0
anchor=top-center
default-timeout=2500

34
wal/templates/colors.fish Normal file
View File

@@ -0,0 +1,34 @@
# set fish_color_normal normal
set fish_color_normal {foreground.strip}
# set fish_color_command 005fd7
set fish_color_command {color2.strip}
# set fish_color_param 00afff
set fish_color_param {color1.strip}
# set fish_color_redirection 00afff
set fish_color_redirection $fish_color_param
# set fish_color_comment 990000
set fish_color_comment {color8.strip}
set fish_color_error ff0000
# set fish_color_escape 00a6b2
set fish_color_escape {color5.strip}
# set fish_color_operator 00a6b2
set fish_color_operator $fish_color_escape
set fish_color_end {color4.strip}
set fish_color_quote {color6.strip}
set fish_color_autosuggestion 555 brblack
set fish_color_user brgreen
# set fish_color_host normal
set fish_color_host $fish_color_normal
set fish_color_valid_path --underline
set fish_color_cwd green
set fish_color_cwd_root red
set fish_color_match --background=brblue
set fish_color_search_match bryellow --background=brblack
set fish_color_selection white --bold --background=brblack
set fish_color_cancel -r
set fish_pager_color_prefix white --bold --underline
set fish_pager_color_completion
# set fish_pager_color_description B3A06D yellow
set fish_pager_color_description $fish_color_quote yellow
set fish_pager_color_progress brwhite --background=cyan
set fish_color_history_current --bold

View File

@@ -0,0 +1,20 @@
$foreground = rgb({foreground.strip})
$background = rgb({background.strip})
$wallpaper = /{wallpaper.strip}
$color0 = rgb({color0.strip})
$color1 = rgb({color1.strip})
$color2 = rgb({color2.strip})
$color3 = rgb({color3.strip})
$color4 = rgb({color4.strip})
$color5 = rgb({color5.strip})
$color6 = rgb({color6.strip})
$color7 = rgb({color7.strip})
$color8 = rgb({color8.strip})
$color9 = rgb({color9.strip})
$color10 = rgb({color10.strip})
$color11 = rgb({color11.strip})
$color12 = rgb({color12.strip})
$color13 = rgb({color13.strip})
$color14 = rgb({color14.strip})
$color15 = rgb({color15.strip})

54
waybar/config.jsonc Normal file
View File

@@ -0,0 +1,54 @@
{
"height": 0,
"spacing": 8,
"modules-left": [
"clock",
"custom/separator",
"custom/phone",
"network"
],
"modules-center": [
"hyprland/workspaces",
],
"modules-right": [
"cpu",
"memory",
"custom/separator",
"pulseaudio",
"custom/separator",
"hyprland/language",
"tray",
],
"hyprland/language": {
"format": "{}",
"format-ru": "ru",
"format-en": "en",
},
"hyprland/workspaces": {
"all-outputs": true,
},
"custom/separator": {
"format": "|"
},
"custom/phone": {
"format": "",
"on-click": "~/.config/waybar/phone.sh"
},
"network": {
"interface": "enp2s0",
"format": "dn {bandwidthDownBytes} up {bandwidthUpBytes}",
"interval": 5,
},
"tray": {
"icon-size": 13,
"spacing": 8
},
"cpu": {
"interval": 5,
"format": "cpu {usage}%"
},
"memory": {
"interval": 5,
"format": "mem {percentage}%"
}
}

1
waybar/phone.sh Executable file
View File

@@ -0,0 +1 @@
scrcpy -K

55
waybar/style.css Normal file
View File

@@ -0,0 +1,55 @@
@import url("../../.cache/wal/colors-waybar.css");
* {
font-family: FontAwesome, MonaspiceAr Nerd Font Mono, monospace;
font-size: 13px;
font-weight: 600;
}
window#waybar {
all:unset;
}
.modules-left {
margin: 4px 0px 0px 8px;
padding: 6px 12px 6px 12px;
background: alpha(@background, 0.7);
border-radius: 4px;
}
.modules-center {
margin: 4px 0px 0px 0px;
padding: 6px 12px 6px 12px;
background: alpha(@background, 0.7);
border-radius: 4px;
}
.modules-right {
margin: 4px 8px 0px 0px;
padding: 6px 12px 6px 12px;
background: alpha(@background, 0.7);
border-radius: 4px;
}
#workspaces button {
all: unset;
padding: 0px 5px;
transition: all .2s ease;
}
#workspaces button.active {
color: @color8;
}
#workspaces button:hover {
text-decoration: underline;
transition: all 1s ease;
}
#network {
color: @color9;
}
#pulseaudio {
color: @color9;
}

13
wofi/config Normal file
View File

@@ -0,0 +1,13 @@
[config]
allow_images=true
width=700
show=drun
prompt=Search
height=400
term=kitty
hide_scroll=true
print_command=true
insensitive=true
columns=1
no_actions=true
image_size=30

40
wofi/style.css Normal file
View File

@@ -0,0 +1,40 @@
@import url(".cache/wal/colors-waybar.css");
* {
all:unset;
font-family: MonaspiceAr Nerd Font Mono, monospace;
font-weight: 600;
font-size: 18px;
}
window {
all:unset;
background: alpha(@background, 0.7);
border: 2px solid @color1;
border-radius: 4px;
}
#text {
margin: 5px;
}
#entry {
padding: 4px;
}
#entry:selected {
background: @color1;
border-radius: 4px;
}
#input * {
padding: 10px;
border: none;
outline: none;
}
#scroll {
margin: 0px;
padding: 10px;
border: none;
}

View File

@@ -1 +0,0 @@
ыыы