p
This commit is contained in:
11
LICENSE
11
LICENSE
@@ -1,11 +0,0 @@
|
|||||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
||||||
Version 2, December 2004
|
|
||||||
|
|
||||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
|
||||||
|
|
||||||
Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.
|
|
||||||
|
|
||||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
||||||
|
|
||||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
|
||||||
282
cava/config
282
cava/config
@@ -1,282 +0,0 @@
|
|||||||
## 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
|
|
||||||
@@ -1,79 +0,0 @@
|
|||||||
#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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
#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;
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
#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;
|
|
||||||
}
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
#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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,112 +0,0 @@
|
|||||||
#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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[
|
|
||||||
./hardware-configuration.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
|
||||||
|
|
||||||
networking.hostName = "okroshka";
|
|
||||||
|
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
|
|
||||||
time.timeZone = "Europe/Moscow";
|
|
||||||
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.pablusha = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [ "wheel" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
curl
|
|
||||||
wget
|
|
||||||
git
|
|
||||||
btop
|
|
||||||
htop
|
|
||||||
psmisc
|
|
||||||
zip
|
|
||||||
unzip
|
|
||||||
];
|
|
||||||
|
|
||||||
services.gvfs.enable = true;
|
|
||||||
|
|
||||||
# nvidia
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
hardware.graphics = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
|
||||||
|
|
||||||
hardware.nvidia = {
|
|
||||||
modesetting.enable = true;
|
|
||||||
powerManagement.enable = false;
|
|
||||||
powerManagement.finegrained = false;
|
|
||||||
open = false;
|
|
||||||
nvidiaSettings = true;
|
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.production;
|
|
||||||
};
|
|
||||||
|
|
||||||
# hyprland section
|
|
||||||
|
|
||||||
programs.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
withUWSM = false;
|
|
||||||
xwayland.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
extraPortals = with pkgs; [ xdg-desktop-portal-hyprland ];
|
|
||||||
};
|
|
||||||
|
|
||||||
system.stateVersion = "25.11";
|
|
||||||
}
|
|
||||||
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 51 KiB |
@@ -1,69 +0,0 @@
|
|||||||
{
|
|
||||||
"$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": " "
|
|
||||||
}
|
|
||||||
}
|
|
||||||
File diff suppressed because one or more lines are too long
@@ -1,18 +0,0 @@
|
|||||||
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"
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
# 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:8D756A
|
|
||||||
SETUVAR fish_color_comment:9c8f88
|
|
||||||
SETUVAR fish_color_cwd:green
|
|
||||||
SETUVAR fish_color_cwd_root:red
|
|
||||||
SETUVAR fish_color_end:D09978
|
|
||||||
SETUVAR fish_color_error:ff0000
|
|
||||||
SETUVAR fish_color_escape:7A7F83
|
|
||||||
SETUVAR fish_color_history_current:\x2d\x2dbold
|
|
||||||
SETUVAR fish_color_host:dfcdc3
|
|
||||||
SETUVAR fish_color_host_remote:yellow
|
|
||||||
SETUVAR fish_color_normal:dfcdc3
|
|
||||||
SETUVAR fish_color_operator:7A7F83
|
|
||||||
SETUVAR fish_color_param:A06747
|
|
||||||
SETUVAR fish_color_quote:B6998A
|
|
||||||
SETUVAR fish_color_redirection:A06747
|
|
||||||
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:B6998A\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
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
file:///home/pablusha/Pictures
|
|
||||||
file:///home/pablusha/Downloads
|
|
||||||
file:///home/pablusha/Music
|
|
||||||
file:///home/pablusha/repos
|
|
||||||
file:///home/pablusha/Documents
|
|
||||||
file:///home/pablusha/wallpapers
|
|
||||||
@@ -1,101 +0,0 @@
|
|||||||
|
|
||||||
@define-color background #0b141a;
|
|
||||||
|
|
||||||
@define-color error #ffb4ab;
|
|
||||||
|
|
||||||
@define-color error_container #93000a;
|
|
||||||
|
|
||||||
@define-color inverse_on_surface #283238;
|
|
||||||
|
|
||||||
@define-color inverse_primary #006a61;
|
|
||||||
|
|
||||||
@define-color inverse_surface #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_background #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_error #690005;
|
|
||||||
|
|
||||||
@define-color on_error_container #ffdad6;
|
|
||||||
|
|
||||||
@define-color on_primary #003732;
|
|
||||||
|
|
||||||
@define-color on_primary_container #73f8e6;
|
|
||||||
|
|
||||||
@define-color on_primary_fixed #00201c;
|
|
||||||
|
|
||||||
@define-color on_primary_fixed_variant #005048;
|
|
||||||
|
|
||||||
@define-color on_secondary #003732;
|
|
||||||
|
|
||||||
@define-color on_secondary_container #9ef2e5;
|
|
||||||
|
|
||||||
@define-color on_secondary_fixed #00201c;
|
|
||||||
|
|
||||||
@define-color on_secondary_fixed_variant #005048;
|
|
||||||
|
|
||||||
@define-color on_surface #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_surface_variant #b6c9d8;
|
|
||||||
|
|
||||||
@define-color on_tertiary #00344a;
|
|
||||||
|
|
||||||
@define-color on_tertiary_container #c5e7ff;
|
|
||||||
|
|
||||||
@define-color on_tertiary_fixed #001e2d;
|
|
||||||
|
|
||||||
@define-color on_tertiary_fixed_variant #004c6a;
|
|
||||||
|
|
||||||
@define-color outline #8093a1;
|
|
||||||
|
|
||||||
@define-color outline_variant #374955;
|
|
||||||
|
|
||||||
@define-color primary #53dbca;
|
|
||||||
|
|
||||||
@define-color primary_container #005048;
|
|
||||||
|
|
||||||
@define-color primary_fixed #73f8e6;
|
|
||||||
|
|
||||||
@define-color primary_fixed_dim #53dbca;
|
|
||||||
|
|
||||||
@define-color scrim #000000;
|
|
||||||
|
|
||||||
@define-color secondary #82d5c9;
|
|
||||||
|
|
||||||
@define-color secondary_container #005048;
|
|
||||||
|
|
||||||
@define-color secondary_fixed #9ef2e5;
|
|
||||||
|
|
||||||
@define-color secondary_fixed_dim #82d5c9;
|
|
||||||
|
|
||||||
@define-color shadow #000000;
|
|
||||||
|
|
||||||
@define-color source_color #355b71;
|
|
||||||
|
|
||||||
@define-color surface #0b141a;
|
|
||||||
|
|
||||||
@define-color surface_bright #313a41;
|
|
||||||
|
|
||||||
@define-color surface_container #172127;
|
|
||||||
|
|
||||||
@define-color surface_container_high #222b31;
|
|
||||||
|
|
||||||
@define-color surface_container_highest #2d363c;
|
|
||||||
|
|
||||||
@define-color surface_container_low #131d23;
|
|
||||||
|
|
||||||
@define-color surface_container_lowest #060f15;
|
|
||||||
|
|
||||||
@define-color surface_dim #0b141a;
|
|
||||||
|
|
||||||
@define-color surface_tint #53dbca;
|
|
||||||
|
|
||||||
@define-color surface_variant #374955;
|
|
||||||
|
|
||||||
@define-color tertiary #90cef4;
|
|
||||||
|
|
||||||
@define-color tertiary_container #004c6a;
|
|
||||||
|
|
||||||
@define-color tertiary_fixed #c5e7ff;
|
|
||||||
|
|
||||||
@define-color tertiary_fixed_dim #90cef4;
|
|
||||||
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
@import 'colors.css';
|
|
||||||
@@ -1,101 +0,0 @@
|
|||||||
|
|
||||||
@define-color background #0b141a;
|
|
||||||
|
|
||||||
@define-color error #ffb4ab;
|
|
||||||
|
|
||||||
@define-color error_container #93000a;
|
|
||||||
|
|
||||||
@define-color inverse_on_surface #283238;
|
|
||||||
|
|
||||||
@define-color inverse_primary #006a61;
|
|
||||||
|
|
||||||
@define-color inverse_surface #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_background #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_error #690005;
|
|
||||||
|
|
||||||
@define-color on_error_container #ffdad6;
|
|
||||||
|
|
||||||
@define-color on_primary #003732;
|
|
||||||
|
|
||||||
@define-color on_primary_container #73f8e6;
|
|
||||||
|
|
||||||
@define-color on_primary_fixed #00201c;
|
|
||||||
|
|
||||||
@define-color on_primary_fixed_variant #005048;
|
|
||||||
|
|
||||||
@define-color on_secondary #003732;
|
|
||||||
|
|
||||||
@define-color on_secondary_container #9ef2e5;
|
|
||||||
|
|
||||||
@define-color on_secondary_fixed #00201c;
|
|
||||||
|
|
||||||
@define-color on_secondary_fixed_variant #005048;
|
|
||||||
|
|
||||||
@define-color on_surface #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_surface_variant #b6c9d8;
|
|
||||||
|
|
||||||
@define-color on_tertiary #00344a;
|
|
||||||
|
|
||||||
@define-color on_tertiary_container #c5e7ff;
|
|
||||||
|
|
||||||
@define-color on_tertiary_fixed #001e2d;
|
|
||||||
|
|
||||||
@define-color on_tertiary_fixed_variant #004c6a;
|
|
||||||
|
|
||||||
@define-color outline #8093a1;
|
|
||||||
|
|
||||||
@define-color outline_variant #374955;
|
|
||||||
|
|
||||||
@define-color primary #53dbca;
|
|
||||||
|
|
||||||
@define-color primary_container #005048;
|
|
||||||
|
|
||||||
@define-color primary_fixed #73f8e6;
|
|
||||||
|
|
||||||
@define-color primary_fixed_dim #53dbca;
|
|
||||||
|
|
||||||
@define-color scrim #000000;
|
|
||||||
|
|
||||||
@define-color secondary #82d5c9;
|
|
||||||
|
|
||||||
@define-color secondary_container #005048;
|
|
||||||
|
|
||||||
@define-color secondary_fixed #9ef2e5;
|
|
||||||
|
|
||||||
@define-color secondary_fixed_dim #82d5c9;
|
|
||||||
|
|
||||||
@define-color shadow #000000;
|
|
||||||
|
|
||||||
@define-color source_color #355b71;
|
|
||||||
|
|
||||||
@define-color surface #0b141a;
|
|
||||||
|
|
||||||
@define-color surface_bright #313a41;
|
|
||||||
|
|
||||||
@define-color surface_container #172127;
|
|
||||||
|
|
||||||
@define-color surface_container_high #222b31;
|
|
||||||
|
|
||||||
@define-color surface_container_highest #2d363c;
|
|
||||||
|
|
||||||
@define-color surface_container_low #131d23;
|
|
||||||
|
|
||||||
@define-color surface_container_lowest #060f15;
|
|
||||||
|
|
||||||
@define-color surface_dim #0b141a;
|
|
||||||
|
|
||||||
@define-color surface_tint #53dbca;
|
|
||||||
|
|
||||||
@define-color surface_variant #374955;
|
|
||||||
|
|
||||||
@define-color tertiary #90cef4;
|
|
||||||
|
|
||||||
@define-color tertiary_container #004c6a;
|
|
||||||
|
|
||||||
@define-color tertiary_fixed #c5e7ff;
|
|
||||||
|
|
||||||
@define-color tertiary_fixed_dim #90cef4;
|
|
||||||
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
@import 'colors.css';
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 51 KiB |
@@ -1,69 +0,0 @@
|
|||||||
{
|
|
||||||
"$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": " "
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,184 +0,0 @@
|
|||||||
{config, lib, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
home.username = "pablusha";
|
|
||||||
home.homeDirectory = "/home/pablusha";
|
|
||||||
home.stateVersion = "25.11";
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
telegram-desktop
|
|
||||||
mako
|
|
||||||
swww
|
|
||||||
pkgs.nerd-fonts.monaspace
|
|
||||||
xdg-user-dirs
|
|
||||||
gnome-themes-extra
|
|
||||||
prismlauncher
|
|
||||||
qt6Packages.qt6ct
|
|
||||||
qt5ct
|
|
||||||
ncdu
|
|
||||||
audacious
|
|
||||||
gcc
|
|
||||||
python3
|
|
||||||
python3Packages.pip
|
|
||||||
xfce.thunar
|
|
||||||
xfce.tumbler
|
|
||||||
lf
|
|
||||||
hyprshot
|
|
||||||
gthumb
|
|
||||||
imv
|
|
||||||
xarchiver
|
|
||||||
glib
|
|
||||||
nftables
|
|
||||||
remmina
|
|
||||||
qemu
|
|
||||||
obsidian
|
|
||||||
krita
|
|
||||||
blender
|
|
||||||
vlc
|
|
||||||
cava
|
|
||||||
];
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
./syncthing.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
# theme & cursor
|
|
||||||
|
|
||||||
home.pointerCursor = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.bibata-cursors;
|
|
||||||
name = "Bibata-Modern-Classic";
|
|
||||||
size = 22;
|
|
||||||
gtk.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
dconf.settings = {
|
|
||||||
"org/gnome/desktop/interface" = {
|
|
||||||
color-scheme = "prefer-dark";
|
|
||||||
gtk-theme = "Adwaita-dark";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
gtk = {
|
|
||||||
font.name = "DejaVu Sans 10";
|
|
||||||
enable = true;
|
|
||||||
theme = {
|
|
||||||
name = "Adwaita-dark";
|
|
||||||
package = pkgs.gnome-themes-extra;
|
|
||||||
};
|
|
||||||
iconTheme = {
|
|
||||||
name = "Papirus-Dark";
|
|
||||||
package = pkgs.papirus-icon-theme;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
qt = {
|
|
||||||
enable = true;
|
|
||||||
platformTheme.name = "qt6ct";
|
|
||||||
};
|
|
||||||
|
|
||||||
# hyprland
|
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig = builtins.readFile ./hyprland.conf;
|
|
||||||
};
|
|
||||||
|
|
||||||
# waybar
|
|
||||||
|
|
||||||
programs.waybar.enable = true;
|
|
||||||
xdg.configFile."waybar/config.jsonc".source = ./waybar_config.jsonc;
|
|
||||||
xdg.configFile."waybar/style.css".source = ./waybar_style.css;
|
|
||||||
xdg.configFile."waybar/colors.css".source = ./waybar_colors.css;
|
|
||||||
|
|
||||||
# kitty
|
|
||||||
|
|
||||||
programs.kitty.enable = true;
|
|
||||||
xdg.configFile."kitty/kitty.conf".source = ./kitty.conf;
|
|
||||||
xdg.configFile."kitty/colors.conf".source = ./kitty_colors.conf;
|
|
||||||
|
|
||||||
# firefox
|
|
||||||
|
|
||||||
programs.firefox = {
|
|
||||||
enable = true;
|
|
||||||
languagePacks = [ "en-US" "ru-RU"];
|
|
||||||
|
|
||||||
policies = {
|
|
||||||
AppAutoUpdate = false;
|
|
||||||
BackgroundAppUpdate = false;
|
|
||||||
|
|
||||||
DisableFirefoxAccounts = true;
|
|
||||||
DisableSetDesktopBackground = true;
|
|
||||||
DisablePocket = true;
|
|
||||||
DisableTelemetry = true;
|
|
||||||
DisableFormHistory = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# wofi
|
|
||||||
|
|
||||||
programs.wofi.enable = true;
|
|
||||||
xdg.configFile."wofi/config".source = ./wofi_config;
|
|
||||||
xdg.configFile."wofi/style.css".source = ./wofi_style.css;
|
|
||||||
|
|
||||||
# obs studio
|
|
||||||
|
|
||||||
programs.obs-studio = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
package = pkgs.obs-studio.override {
|
|
||||||
cudaSupport = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
plugins = with pkgs.obs-studio-plugins; [
|
|
||||||
obs-pipewire-audio-capture
|
|
||||||
wlrobs
|
|
||||||
obs-backgroundremoval
|
|
||||||
obs-gstreamer
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# vim
|
|
||||||
|
|
||||||
programs.vim = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
extraConfig = ''
|
|
||||||
set background=dark
|
|
||||||
|
|
||||||
set number
|
|
||||||
set smartindent
|
|
||||||
set tabstop=4
|
|
||||||
set shiftwidth=4
|
|
||||||
set expandtab
|
|
||||||
set nowrap
|
|
||||||
set rnu
|
|
||||||
|
|
||||||
set hidden
|
|
||||||
set nobackup
|
|
||||||
set nowritebackup
|
|
||||||
set cmdheight=2
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# bash
|
|
||||||
|
|
||||||
programs.bash.enable = true;
|
|
||||||
programs.bash.initExtra = ''
|
|
||||||
export PS1="[\\u@\\h:\\w]\\$ "
|
|
||||||
'';
|
|
||||||
|
|
||||||
# fastfetch
|
|
||||||
|
|
||||||
programs.fastfetch.enable = true;
|
|
||||||
|
|
||||||
xdg.configFile."fastfetch/config.jsonc".source = ./fastfetch.jsonc;
|
|
||||||
xdg.configFile."fastfetch/art.jpg".source = ./art.jpg;
|
|
||||||
|
|
||||||
# vscode
|
|
||||||
|
|
||||||
programs.vscode.enable = true;
|
|
||||||
}
|
|
||||||
@@ -1,157 +0,0 @@
|
|||||||
# MONITORS
|
|
||||||
|
|
||||||
monitor = DVI-D-1, 1920x1080, 0x0, 1
|
|
||||||
monitor = HDMI-A-1, 3240x2160, 1920x0, 2
|
|
||||||
|
|
||||||
# ENV
|
|
||||||
|
|
||||||
$terminal = kitty
|
|
||||||
$fileManager = thunar
|
|
||||||
$menu = wofi --show drun --normal-window
|
|
||||||
|
|
||||||
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-
|
|
||||||
|
|
||||||
# WINDOW RULES
|
|
||||||
|
|
||||||
layerrule = blur, wofi
|
|
||||||
|
|
||||||
# AUTOSTART
|
|
||||||
|
|
||||||
exec-once = waybar & swww-daemon & mako
|
|
||||||
exec-once = hyprctl setcursor Bibata-Modern-Classic 22
|
|
||||||
|
|
||||||
# DECO
|
|
||||||
|
|
||||||
general {
|
|
||||||
gaps_in = 4
|
|
||||||
gaps_out = 8
|
|
||||||
|
|
||||||
border_size = 0
|
|
||||||
|
|
||||||
allow_tearing = false
|
|
||||||
layout = dwindle
|
|
||||||
}
|
|
||||||
|
|
||||||
decoration {
|
|
||||||
rounding = 8
|
|
||||||
|
|
||||||
|
|
||||||
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, 2, easeInOut, slide
|
|
||||||
animation = workspacesOut, 1, 2, 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, S, exec, hyprshot -m region -z
|
|
||||||
bind = $mainMod, D, exec, hyprshot -m output -z
|
|
||||||
bind = $mainMod, A, exec, hyprshot -m window -z
|
|
||||||
|
|
||||||
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 = , mouse:275, workspace, e-1
|
|
||||||
bind = , mouse:276, workspace, e+1
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
include colors.conf
|
|
||||||
|
|
||||||
background_opacity 0.8
|
|
||||||
font_size 10.0
|
|
||||||
confirm_os_window_close 0
|
|
||||||
window_padding_width 10
|
|
||||||
cursor_shape beam
|
|
||||||
|
|
||||||
# BEGIN_KITTY_FONTS
|
|
||||||
font_family family="MonaspiceAr Nerd Font"
|
|
||||||
bold_font auto
|
|
||||||
italic_font auto
|
|
||||||
bold_italic_font auto
|
|
||||||
# END_KITTY_FONTS
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
cursor #888888
|
|
||||||
cursor_text_color #444444
|
|
||||||
|
|
||||||
foreground #cccccc
|
|
||||||
background #111111
|
|
||||||
selection_foreground #000000
|
|
||||||
selection_background #aaaaaa
|
|
||||||
url_color #888888
|
|
||||||
|
|
||||||
color0 #1a1a1a
|
|
||||||
color8 #333333
|
|
||||||
|
|
||||||
color1 #888888
|
|
||||||
color9 #aaaaaa
|
|
||||||
|
|
||||||
color2 #777777
|
|
||||||
color10 #999999
|
|
||||||
|
|
||||||
color3 #666666
|
|
||||||
color11 #888888
|
|
||||||
|
|
||||||
color4 #888888
|
|
||||||
color12 #aaaaaa
|
|
||||||
|
|
||||||
color5 #777777
|
|
||||||
color13 #999999
|
|
||||||
|
|
||||||
color6 #666666
|
|
||||||
color14 #888888
|
|
||||||
|
|
||||||
color7 #e0e0e0
|
|
||||||
color15 #ffffff
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
@define-color background #111111;
|
|
||||||
@define-color tertiary #aeaeae;
|
|
||||||
@define-color primary #53dbca;
|
|
||||||
@define-color secondary #82d5c9;
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
{
|
|
||||||
"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": "|"
|
|
||||||
},
|
|
||||||
"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,55 +0,0 @@
|
|||||||
@import "colors.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: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modules-center {
|
|
||||||
margin: 4px 0px 0px 0px;
|
|
||||||
padding: 6px 12px 6px 12px;
|
|
||||||
background: alpha(@background, 0.7);
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modules-right {
|
|
||||||
margin: 4px 8px 0px 0px;
|
|
||||||
padding: 6px 12px 6px 12px;
|
|
||||||
background: alpha(@background, 0.7);
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
|
||||||
all: unset;
|
|
||||||
padding: 0px 5px;
|
|
||||||
transition: all .2s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.active {
|
|
||||||
color: @tertiary;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
transition: all 1s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network {
|
|
||||||
color: @primary;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio {
|
|
||||||
color: @secondary;
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
[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
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
* {
|
|
||||||
all:unset;
|
|
||||||
font-family: MonaspiceAr Nerd Font Mono, monospace;
|
|
||||||
font-weight: 600;
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
window {
|
|
||||||
all:unset;
|
|
||||||
background: rgba(17, 17, 17, 0.7);
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#text {
|
|
||||||
margin: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#entry {
|
|
||||||
padding: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#entry:selected {
|
|
||||||
color: #aeaeae;
|
|
||||||
background: #444444;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#input * {
|
|
||||||
padding: 10px;
|
|
||||||
border: none;
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#scroll {
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
64
htop/htoprc
64
htop/htoprc
@@ -1,64 +0,0 @@
|
|||||||
# 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
|
|
||||||
151
hypr/colors.conf
151
hypr/colors.conf
@@ -1,151 +0,0 @@
|
|||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$background = rgba(0b141aff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$error = rgba(ffb4abff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$error_container = rgba(93000aff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$inverse_on_surface = rgba(283238ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$inverse_primary = rgba(006a61ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$inverse_surface = rgba(dae4ecff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_background = rgba(dae4ecff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_error = rgba(690005ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_error_container = rgba(ffdad6ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_primary = rgba(003732ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_primary_container = rgba(73f8e6ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_primary_fixed = rgba(00201cff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_primary_fixed_variant = rgba(005048ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_secondary = rgba(003732ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_secondary_container = rgba(9ef2e5ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_secondary_fixed = rgba(00201cff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_secondary_fixed_variant = rgba(005048ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_surface = rgba(dae4ecff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_surface_variant = rgba(b6c9d8ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_tertiary = rgba(00344aff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_tertiary_container = rgba(c5e7ffff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_tertiary_fixed = rgba(001e2dff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$on_tertiary_fixed_variant = rgba(004c6aff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$outline = rgba(8093a1ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$outline_variant = rgba(374955ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$primary = rgba(53dbcaff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$primary_container = rgba(005048ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$primary_fixed = rgba(73f8e6ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$primary_fixed_dim = rgba(53dbcaff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$scrim = rgba(000000ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$secondary = rgba(82d5c9ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$secondary_container = rgba(005048ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$secondary_fixed = rgba(9ef2e5ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$secondary_fixed_dim = rgba(82d5c9ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$shadow = rgba(000000ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$source_color = rgba(355b71ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$surface = rgba(0b141aff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$surface_bright = rgba(313a41ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$surface_container = rgba(172127ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$surface_container_high = rgba(222b31ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$surface_container_highest = rgba(2d363cff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$surface_container_low = rgba(131d23ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$surface_container_lowest = rgba(060f15ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$surface_dim = rgba(0b141aff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$surface_tint = rgba(53dbcaff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$surface_variant = rgba(374955ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$tertiary = rgba(90cef4ff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$tertiary_container = rgba(004c6aff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$tertiary_fixed = rgba(c5e7ffff)
|
|
||||||
|
|
||||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
|
||||||
$tertiary_fixed_dim = rgba(90cef4ff)
|
|
||||||
|
|
||||||
@@ -1,171 +0,0 @@
|
|||||||
source = 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 --normal-window
|
|
||||||
|
|
||||||
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 & swww-daemon & mako
|
|
||||||
exec-once = hyprctl setcursor Bibata-Modern-Classic 22
|
|
||||||
exec-once = wal -R
|
|
||||||
|
|
||||||
# DECO
|
|
||||||
|
|
||||||
general {
|
|
||||||
gaps_in = 4
|
|
||||||
gaps_out = 8
|
|
||||||
|
|
||||||
border_size = 0
|
|
||||||
col.active_border = $primary $secondary 45deg
|
|
||||||
col.inactive_border = $primary $secondary 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 = , mouse:275, workspace, e-1
|
|
||||||
bind = , mouse:276, workspace, e+1
|
|
||||||
|
|
||||||
bind = $mainMod SHIFT, S, exec, ~/.config/hypr/screenshot.sh
|
|
||||||
bind = $mainMod, T, exec, ~/.config/hypr/wallpaper_selector.sh
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
preload = ~/Pictures/bg.png
|
|
||||||
wallpaper = , ~/Pictures/bg.png
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/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
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
directory="/home/pablusha/wallpapers"
|
|
||||||
|
|
||||||
files=()
|
|
||||||
while IFS= read -r -d $'\0' file; do
|
|
||||||
if [ -f "$file" ]; then
|
|
||||||
files+=("$file")
|
|
||||||
fi
|
|
||||||
done < <(find "$directory" -maxdepth 1 -type f -print0)
|
|
||||||
|
|
||||||
if [ ${#files[@]} -eq 0 ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
random_file="${files[RANDOM % ${#files[@]}]}"
|
|
||||||
swww img $random_file --transition-type wipe --transition-fps 60 --transition-angle 30 --transition-duration 1
|
|
||||||
matugen image $random_file -t scheme-fruit-salad
|
|
||||||
notify-send "wallpaper changed" $random_file
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
DIR="$HOME/wallpapers"
|
|
||||||
|
|
||||||
FILES=($(find "$DIR" -type f \( -iname "*.jpg" -o -iname "*.png" -o -iname "*.jpeg" \) | sort -f | xargs -n1 basename))
|
|
||||||
|
|
||||||
SELECTED=$(printf '%s\n' "${FILES[@]}" | wofi --dmenu --prompt "choose wallpaper" --normal-window)
|
|
||||||
|
|
||||||
if [ -n "$SELECTED" ]; then
|
|
||||||
FULLPATH="$DIR/$SELECTED"
|
|
||||||
|
|
||||||
# Применяем выбранный обои и делаем прочее
|
|
||||||
swww img "$FULLPATH" --transition-type wipe --transition-fps 60 --transition-angle 30 --transition-duration 1
|
|
||||||
matugen image "$FULLPATH" -t scheme-fruit-salad
|
|
||||||
notify-send "wallpaper changed" "$FULLPATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
cursor #dae4ec
|
|
||||||
cursor_text_color #b6c9d8
|
|
||||||
|
|
||||||
foreground #dae4ec
|
|
||||||
background #0b141a
|
|
||||||
selection_foreground #003732
|
|
||||||
selection_background #82d5c9
|
|
||||||
url_color #53dbca
|
|
||||||
|
|
||||||
# black
|
|
||||||
color8 #262626
|
|
||||||
color0 #4c4c4c
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 #ac8a8c
|
|
||||||
color9 #c49ea0
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 #8aac8b
|
|
||||||
color10 #9ec49f
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 #aca98a
|
|
||||||
color11 #c4c19e
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 #53dbca
|
|
||||||
color12 #a39ec4
|
|
||||||
|
|
||||||
# magenta
|
|
||||||
color5 #ac8aac
|
|
||||||
color13 #c49ec4
|
|
||||||
|
|
||||||
# cyan
|
|
||||||
color6 #8aacab
|
|
||||||
color14 #9ec3c4
|
|
||||||
|
|
||||||
# white
|
|
||||||
color15 #e7e7e7
|
|
||||||
color7 #f0f0f0
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
include colors.conf
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
background-color=#0b141a
|
|
||||||
border-radius=4
|
|
||||||
border-size=0
|
|
||||||
anchor=top-right
|
|
||||||
default-timeout=2500
|
|
||||||
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
<* for name, value in colors *>
|
|
||||||
@define-color {{name}} {{value.default.hex}};
|
|
||||||
<* endfor *>
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
[config]
|
|
||||||
|
|
||||||
[templates.hyprland]
|
|
||||||
input_path = "hyprland.conf"
|
|
||||||
output_path = "~/.config/hypr/colors.conf"
|
|
||||||
post_hook = "hyprctl reload"
|
|
||||||
|
|
||||||
[templates.kitty]
|
|
||||||
input_path = "kitty.conf"
|
|
||||||
output_path = "~/.config/kitty/colors.conf"
|
|
||||||
|
|
||||||
[templates.waybar]
|
|
||||||
input_path = "colors.css"
|
|
||||||
output_path = "~/.config/waybar/colors.css"
|
|
||||||
post_hook = "pkill -SIGUSR2 waybar"
|
|
||||||
|
|
||||||
[templates.gtk3]
|
|
||||||
input_path = "colors.css"
|
|
||||||
output_path = "~/.config/gtk-3.0/colors.css"
|
|
||||||
|
|
||||||
[templates.gtk4]
|
|
||||||
input_path = "colors.css"
|
|
||||||
output_path = "~/.config/gtk-4.0/colors.css"
|
|
||||||
|
|
||||||
[templates.wofi]
|
|
||||||
input_path = "colors.css"
|
|
||||||
output_path = "~/.config/wofi/colors.css"
|
|
||||||
|
|
||||||
[templates.mako]
|
|
||||||
input_path = "mako"
|
|
||||||
output_path = "~/.config/mako/config"
|
|
||||||
post_hook = "makoctl reload"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
<* for name, value in colors *>
|
|
||||||
$image = {{image}}
|
|
||||||
${{name}} = rgba({{value.default.hex_stripped}}ff)
|
|
||||||
<* endfor *>
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
cursor {{colors.on_surface.default.hex}}
|
|
||||||
cursor_text_color {{colors.on_surface_variant.default.hex}}
|
|
||||||
|
|
||||||
foreground {{colors.on_surface.default.hex}}
|
|
||||||
background {{colors.surface.default.hex}}
|
|
||||||
selection_foreground {{colors.on_secondary.default.hex}}
|
|
||||||
selection_background {{colors.secondary_fixed_dim.default.hex}}
|
|
||||||
url_color {{colors.primary.default.hex}}
|
|
||||||
|
|
||||||
# black
|
|
||||||
color8 #262626
|
|
||||||
color0 #4c4c4c
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 #ac8a8c
|
|
||||||
color9 #c49ea0
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 #8aac8b
|
|
||||||
color10 #9ec49f
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 #aca98a
|
|
||||||
color11 #c4c19e
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 {{colors.primary.default.hex}}
|
|
||||||
color12 #a39ec4
|
|
||||||
|
|
||||||
# magenta
|
|
||||||
color5 #ac8aac
|
|
||||||
color13 #c49ec4
|
|
||||||
|
|
||||||
# cyan
|
|
||||||
color6 #8aacab
|
|
||||||
color14 #9ec3c4
|
|
||||||
|
|
||||||
# white
|
|
||||||
color15 #e7e7e7
|
|
||||||
color7 #f0f0f0
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
background-color={{ colors.surface.default.hex }}
|
|
||||||
border-radius=4
|
|
||||||
border-size=0
|
|
||||||
anchor=top-right
|
|
||||||
default-timeout=2500
|
|
||||||
|
|
||||||
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
|
Before Width: | Height: | Size: 6.7 MiB |
@@ -1,101 +0,0 @@
|
|||||||
|
|
||||||
@define-color background #0b141a;
|
|
||||||
|
|
||||||
@define-color error #ffb4ab;
|
|
||||||
|
|
||||||
@define-color error_container #93000a;
|
|
||||||
|
|
||||||
@define-color inverse_on_surface #283238;
|
|
||||||
|
|
||||||
@define-color inverse_primary #006a61;
|
|
||||||
|
|
||||||
@define-color inverse_surface #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_background #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_error #690005;
|
|
||||||
|
|
||||||
@define-color on_error_container #ffdad6;
|
|
||||||
|
|
||||||
@define-color on_primary #003732;
|
|
||||||
|
|
||||||
@define-color on_primary_container #73f8e6;
|
|
||||||
|
|
||||||
@define-color on_primary_fixed #00201c;
|
|
||||||
|
|
||||||
@define-color on_primary_fixed_variant #005048;
|
|
||||||
|
|
||||||
@define-color on_secondary #003732;
|
|
||||||
|
|
||||||
@define-color on_secondary_container #9ef2e5;
|
|
||||||
|
|
||||||
@define-color on_secondary_fixed #00201c;
|
|
||||||
|
|
||||||
@define-color on_secondary_fixed_variant #005048;
|
|
||||||
|
|
||||||
@define-color on_surface #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_surface_variant #b6c9d8;
|
|
||||||
|
|
||||||
@define-color on_tertiary #00344a;
|
|
||||||
|
|
||||||
@define-color on_tertiary_container #c5e7ff;
|
|
||||||
|
|
||||||
@define-color on_tertiary_fixed #001e2d;
|
|
||||||
|
|
||||||
@define-color on_tertiary_fixed_variant #004c6a;
|
|
||||||
|
|
||||||
@define-color outline #8093a1;
|
|
||||||
|
|
||||||
@define-color outline_variant #374955;
|
|
||||||
|
|
||||||
@define-color primary #53dbca;
|
|
||||||
|
|
||||||
@define-color primary_container #005048;
|
|
||||||
|
|
||||||
@define-color primary_fixed #73f8e6;
|
|
||||||
|
|
||||||
@define-color primary_fixed_dim #53dbca;
|
|
||||||
|
|
||||||
@define-color scrim #000000;
|
|
||||||
|
|
||||||
@define-color secondary #82d5c9;
|
|
||||||
|
|
||||||
@define-color secondary_container #005048;
|
|
||||||
|
|
||||||
@define-color secondary_fixed #9ef2e5;
|
|
||||||
|
|
||||||
@define-color secondary_fixed_dim #82d5c9;
|
|
||||||
|
|
||||||
@define-color shadow #000000;
|
|
||||||
|
|
||||||
@define-color source_color #355b71;
|
|
||||||
|
|
||||||
@define-color surface #0b141a;
|
|
||||||
|
|
||||||
@define-color surface_bright #313a41;
|
|
||||||
|
|
||||||
@define-color surface_container #172127;
|
|
||||||
|
|
||||||
@define-color surface_container_high #222b31;
|
|
||||||
|
|
||||||
@define-color surface_container_highest #2d363c;
|
|
||||||
|
|
||||||
@define-color surface_container_low #131d23;
|
|
||||||
|
|
||||||
@define-color surface_container_lowest #060f15;
|
|
||||||
|
|
||||||
@define-color surface_dim #0b141a;
|
|
||||||
|
|
||||||
@define-color surface_tint #53dbca;
|
|
||||||
|
|
||||||
@define-color surface_variant #374955;
|
|
||||||
|
|
||||||
@define-color tertiary #90cef4;
|
|
||||||
|
|
||||||
@define-color tertiary_container #004c6a;
|
|
||||||
|
|
||||||
@define-color tertiary_fixed #c5e7ff;
|
|
||||||
|
|
||||||
@define-color tertiary_fixed_dim #90cef4;
|
|
||||||
|
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
{
|
|
||||||
"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 +0,0 @@
|
|||||||
scrcpy -K
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
@import "colors.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: @tertiary;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
transition: all 1s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network {
|
|
||||||
color: @primary;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio {
|
|
||||||
color: @secondary;
|
|
||||||
}
|
|
||||||
101
wofi/colors.css
101
wofi/colors.css
@@ -1,101 +0,0 @@
|
|||||||
|
|
||||||
@define-color background #0b141a;
|
|
||||||
|
|
||||||
@define-color error #ffb4ab;
|
|
||||||
|
|
||||||
@define-color error_container #93000a;
|
|
||||||
|
|
||||||
@define-color inverse_on_surface #283238;
|
|
||||||
|
|
||||||
@define-color inverse_primary #006a61;
|
|
||||||
|
|
||||||
@define-color inverse_surface #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_background #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_error #690005;
|
|
||||||
|
|
||||||
@define-color on_error_container #ffdad6;
|
|
||||||
|
|
||||||
@define-color on_primary #003732;
|
|
||||||
|
|
||||||
@define-color on_primary_container #73f8e6;
|
|
||||||
|
|
||||||
@define-color on_primary_fixed #00201c;
|
|
||||||
|
|
||||||
@define-color on_primary_fixed_variant #005048;
|
|
||||||
|
|
||||||
@define-color on_secondary #003732;
|
|
||||||
|
|
||||||
@define-color on_secondary_container #9ef2e5;
|
|
||||||
|
|
||||||
@define-color on_secondary_fixed #00201c;
|
|
||||||
|
|
||||||
@define-color on_secondary_fixed_variant #005048;
|
|
||||||
|
|
||||||
@define-color on_surface #dae4ec;
|
|
||||||
|
|
||||||
@define-color on_surface_variant #b6c9d8;
|
|
||||||
|
|
||||||
@define-color on_tertiary #00344a;
|
|
||||||
|
|
||||||
@define-color on_tertiary_container #c5e7ff;
|
|
||||||
|
|
||||||
@define-color on_tertiary_fixed #001e2d;
|
|
||||||
|
|
||||||
@define-color on_tertiary_fixed_variant #004c6a;
|
|
||||||
|
|
||||||
@define-color outline #8093a1;
|
|
||||||
|
|
||||||
@define-color outline_variant #374955;
|
|
||||||
|
|
||||||
@define-color primary #53dbca;
|
|
||||||
|
|
||||||
@define-color primary_container #005048;
|
|
||||||
|
|
||||||
@define-color primary_fixed #73f8e6;
|
|
||||||
|
|
||||||
@define-color primary_fixed_dim #53dbca;
|
|
||||||
|
|
||||||
@define-color scrim #000000;
|
|
||||||
|
|
||||||
@define-color secondary #82d5c9;
|
|
||||||
|
|
||||||
@define-color secondary_container #005048;
|
|
||||||
|
|
||||||
@define-color secondary_fixed #9ef2e5;
|
|
||||||
|
|
||||||
@define-color secondary_fixed_dim #82d5c9;
|
|
||||||
|
|
||||||
@define-color shadow #000000;
|
|
||||||
|
|
||||||
@define-color source_color #355b71;
|
|
||||||
|
|
||||||
@define-color surface #0b141a;
|
|
||||||
|
|
||||||
@define-color surface_bright #313a41;
|
|
||||||
|
|
||||||
@define-color surface_container #172127;
|
|
||||||
|
|
||||||
@define-color surface_container_high #222b31;
|
|
||||||
|
|
||||||
@define-color surface_container_highest #2d363c;
|
|
||||||
|
|
||||||
@define-color surface_container_low #131d23;
|
|
||||||
|
|
||||||
@define-color surface_container_lowest #060f15;
|
|
||||||
|
|
||||||
@define-color surface_dim #0b141a;
|
|
||||||
|
|
||||||
@define-color surface_tint #53dbca;
|
|
||||||
|
|
||||||
@define-color surface_variant #374955;
|
|
||||||
|
|
||||||
@define-color tertiary #90cef4;
|
|
||||||
|
|
||||||
@define-color tertiary_container #004c6a;
|
|
||||||
|
|
||||||
@define-color tertiary_fixed #c5e7ff;
|
|
||||||
|
|
||||||
@define-color tertiary_fixed_dim #90cef4;
|
|
||||||
|
|
||||||
13
wofi/config
13
wofi/config
@@ -1,13 +0,0 @@
|
|||||||
[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
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
@import "colors.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 @primary;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#text {
|
|
||||||
margin: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#entry {
|
|
||||||
padding: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#entry:selected {
|
|
||||||
color: @on_primary;
|
|
||||||
background: @primary;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#input * {
|
|
||||||
padding: 10px;
|
|
||||||
border: none;
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#scroll {
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user