diff --git a/.vscode/settings.json b/.vscode/settings.json index ec1d4cd..3d9edb5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -15,6 +15,7 @@ "dmenu", "Dotfiles", "dpms", + "equicord", "Fastfetch", "flameshot", "hypr", @@ -32,6 +33,7 @@ "killactive", "killall", "logoutlaunch", + "matugen", "meslo", "movefocus", "movetoworkspace", diff --git a/Configs/.config/cava/config b/Configs/.config/cava/config index fa865d3..c4b187f 100644 --- a/Configs/.config/cava/config +++ b/Configs/.config/cava/config @@ -32,10 +32,16 @@ ; bar_width = 20 ; bar_spacing = 5 -# sdl_glsl have these default values, they are only used to calulate max number of bars. +# sdl_glsl have these default values, they are only used to calculate max number of bars. ; bar_width = 1 ; bar_spacing = 0 +# ceter bars in terminal, if there is space. +; center_align = 1 + +# max height of bars in terminal, in percent of terminal height. +; max_height = 100 + # Lower and higher cutoff frequencies for lowest and highest bars # the bandwidth of the visualizer. @@ -64,7 +70,7 @@ # (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. +# Both input and output devices are supported. To capture the monitor source of a sink node, append '.monitor' to the sink's object name. # # For alsa 'source' will be the capture device. # For fifo 'source' will be the path to fifo-file. @@ -80,7 +86,7 @@ # README.md contains further information on how to setup CAVA for JACK. # ; method = pulse -; source = auto +; source = auto ; method = pipewire ; source = auto @@ -112,16 +118,26 @@ # channels: sndio, oss, jack # autoconnect: jack # Other methods ignore these settings. +# For pipewire, sample_rate will default to 48000, for all other input methods, sample_rate will default to 44100. # # 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. # +# +# The 'pipewire' input method has three options to control linking and mixing: +# active: Force the node to always process. Useful for monitoring sources when no other application is active. +# remix: Allow pipewire to remix audio channels to match cava's channel count. Useful for surround sound. +# virtual: Set the node to virtual, to avoid recording notifications from the DE. +# ; sample_rate = 44100 ; sample_bits = 16 ; channels = 2 ; autoconnect = 2 +; active = 0 +; remix = 1 +; virtual = 1 [output] @@ -134,7 +150,7 @@ # # '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. +# 'raw' defaults to 1024 bars stereo (512 bars mono), 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. @@ -144,10 +160,12 @@ # use one of the predefined ones. ; method = noncurses -# Orientation of the visualization. Can be 'bottom', 'top', 'left' or 'right'. -# Default is 'bottom'. Other orientations are only supported on sdl and ncruses -# output. Note: many fonts have weird glyphs for 'top' and 'right' characters, -# which can make ncurses not look right. +# 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'. @@ -159,7 +177,9 @@ ; mono_option = average ; reverse = 0 -# Raw output target. A fifo will be created if target does not exist. +# 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'. @@ -177,8 +197,8 @@ ; frame_delimiter = 10 # sdl window size and position. -1,-1 is centered. -; sdl_width = 1000 -; sdl_height = 500 +; sdl_width = 1024 +; sdl_height = 512 ; sdl_x = -1 ; sdl_y= -1 ; sdl_full_screen = 0 @@ -188,10 +208,10 @@ # Only supported on ncurses and noncurses output. ; xaxis = none -# enable alacritty synchronized updates. 1 = on, 0 = off +# 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 -; alacritty_sync = 0 +; synchronized_sync = 0 # Shaders for sdl_glsl, located in $HOME/.config/cava/shaders ; vertex_shader = pass_through.vert @@ -227,16 +247,40 @@ # 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 = 1 -gradient_count = 6 -gradient_color_1 = '#31748f' -gradient_color_2 = '#9ccfd8' -gradient_color_3 = '#c4a7e7' -gradient_color_4 = '#ebbcba' -gradient_color_5 = '#f6c177' -gradient_color_6 = '#eb6f92' +; 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' +# Horizontal is only supported on noncurses output. +# Only one color will be calculated per bar. +; horizontal_gradient = 0 +; horizontal_gradient_color_1 = '#c45161' +; horizontal_gradient_color_2 = '#e094a0' +; horizontal_gradient_color_3 = '#f2b6c0' +; horizontal_gradient_color_4 = '#f2dde1' +; horizontal_gradient_color_5 = '#cbc7d8' +; horizontal_gradient_color_6 = '#8db7d2' +; horizontal_gradient_color_7 = '#5e62a9' +; horizontal_gradient_color_8 = '#434279' + + +# If both vertical and horizontal gradient is enabled, vertical will be blended in this direction. +# Can be 'up', 'down', 'left' or 'right'. 'up' means the vertical gradient will be blended in from +# bottom to top. I.e. the bottom will be only the horizontal +# and top will be only the color of the vertical gradient. +blend_direction = 'up' + +# use theme file instead of defining colors in this file +# themes are located in $HOME/.config/cava/themes +theme = 'matugen' + [smoothing] diff --git a/Configs/.config/matugen/config.toml b/Configs/.config/matugen/config.toml index da5d544..7786284 100644 --- a/Configs/.config/matugen/config.toml +++ b/Configs/.config/matugen/config.toml @@ -1,6 +1,11 @@ [config] reload_apps = true +[templates.cava] +input_path = '~/.config/matugen/templates/cava.ini' +output_path = '~/.config/cava/themes/matugen' +post_hook = "pkill -USR1 cava" + [templates.gtk3] input_path = '~/.config/matugen/templates/gtk.css' output_path = '~/.config/gtk-3.0/colors.css' diff --git a/Configs/.config/matugen/templates/cava.ini b/Configs/.config/matugen/templates/cava.ini new file mode 100644 index 0000000..d53476e --- /dev/null +++ b/Configs/.config/matugen/templates/cava.ini @@ -0,0 +1,18 @@ +[color] +background = 'default' +foreground = '{{colors.primary.default.hex}}' + +; gradient = 0 +gradient = 1 +gradient_color_1 = '{{colors.primary_container.default.hex}}' +gradient_color_2 = '{{colors.primary.default.hex}}' +gradient_color_3 = '{{colors.on_primary_container.default.hex}}' + +horizontal_gradient = 0 +; horizontal_gradient = 1 +horizontal_gradient_color_1 = '{{colors.primary_container.default.hex}}' +horizontal_gradient_color_2 = '{{colors.primary.default.hex}}' +horizontal_gradient_color_3 = '{{colors.on_primary_container.default.hex}}' +horizontal_gradient_color_4 = '{{colors.primary.default.hex}}' +horizontal_gradient_color_5 = '{{colors.primary_container.default.hex}}' +