From d7ff1c1dea16619a38f35536a5c00685d848abce Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 10 May 2024 02:03:31 +0900 Subject: Initial Push - Moving to Wallust from Pywal --- config/wallust/templates/colors-cava | 185 ++++++++++++++++++++++++++ config/wallust/templates/colors-hyprland.conf | 18 +++ config/wallust/templates/colors-kitty.conf | 37 ++++++ config/wallust/templates/colors-rofi.rasi | 28 ++++ config/wallust/templates/colors-swaync.css | 9 ++ config/wallust/templates/colors-waybar.css | 20 +++ config/wallust/wallust.toml | 53 ++++++++ 7 files changed, 350 insertions(+) create mode 100644 config/wallust/templates/colors-cava create mode 100644 config/wallust/templates/colors-hyprland.conf create mode 100644 config/wallust/templates/colors-kitty.conf create mode 100644 config/wallust/templates/colors-rofi.rasi create mode 100644 config/wallust/templates/colors-swaync.css create mode 100644 config/wallust/templates/colors-waybar.css create mode 100644 config/wallust/wallust.toml (limited to 'config/wallust') diff --git a/config/wallust/templates/colors-cava b/config/wallust/templates/colors-cava new file mode 100644 index 00000000..1fd9eb65 --- /dev/null +++ b/config/wallust/templates/colors-cava @@ -0,0 +1,185 @@ +## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting. + + +[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 = 100 + +# The number of bars (0-200). 0 sets it to auto (fill up console). +# Bars' width and space between bars in number of characters. +; bars = 0 +; bar_width = 2 +; bar_spacing = 1 + +# For SDL width and space between bars is in pixels, defaults are: +; bar_width = 20 +; bar_spacing = 5 + + +# 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: 'pulse', 'alsa', 'fifo', 'sndio' or 'shmem' +# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with. +# +# All input methods uses the same config variable 'source' +# to define where it should get the audio. +# +# For pulseaudio '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 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 +method = pulse +source = auto + +; method = alsa +; source = hw:Loopback,1 + +; method = fifo +; source = /tmp/mpd.fifo +; sample_rate = 44100 +; sample_bits = 16 + +; method = shmem +; source = /squeezelite-AA:BB:CC:DD:EE:FF + +; method = portaudio +; source = auto + + +[output] + +# Output method. Can be 'ncurses', 'noncurses', 'raw' or 'sdl'. +# 'noncurses' uses a custom framebuffer technique and prints only changes +# from frame to frame in the terminal. 'ncurses' is default if supported. +# +# '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. +# +# 'sdl' uses the Simple DirectMedia Layer to render in a graphical context. +; method = ncurses + +# 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'. +; channels = stereo +; mono_option = average + +# Raw output target. A fifo 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 + +[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 +# ncurses output method and a terminal that can change color definitions such as Gnome-terminal or rxvt. +# if supported, ncurses mode will be forced on if user defined colors are used. +# default is to keep current terminal color +; background = default +; foreground = default + +# SDL only support hex code colors, these are the default: +; background = '#111111' +; foreground = '#33cccc' + + +# Gradient mode, only hex defined colors (and thereby ncurses mode) 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 +# In the [color] section + +[color] + +gradient = 1 + +gradient_count = 8 +gradient_color_1 = '{{color0}}' +gradient_color_2 = '{{color2}}' +gradient_color_3 = '{{color3}}' +gradient_color_4 = '{{color5}}' +gradient_color_5 = '{{color7}}' +gradient_color_6 = '{{color12}}' +gradient_color_7 = '{{color13}}' +gradient_color_8 = '{{color15}}' + +[color] + +[smoothing] + +# Percentage value for integral smoothing. Takes values from 0 - 100. +# Higher values means smoother, but less precise. 0 to disable. +; 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". +; gravity = 100 + + +# In bar height, bars that would have been lower that this will not be drawn. +; ignore = 0 + + +[eq] + +# This one is tricky. You can have as much keys as you want. +# Remember to uncomment more then 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 diff --git a/config/wallust/templates/colors-hyprland.conf b/config/wallust/templates/colors-hyprland.conf new file mode 100644 index 00000000..0387b5cb --- /dev/null +++ b/config/wallust/templates/colors-hyprland.conf @@ -0,0 +1,18 @@ +$background = rgb({{background | strip}}) +$foreground = rgb({{foreground | strip}}) +$color0 = rgb({{color0 | strip}}) +$color1 = rgb({{color1 | strip}}) +$color2 = rgb({{color2 | strip}}) +$color3 = rgb({{color3 | strip}}) +$color4 = rgb({{color4 | strip}}) +$color5 = rgb({{color5 | strip}}) +$color6 = rgb({{color6 | strip}}) +$color7 = rgb({{color7 | strip}}) +$color8 = rgb({{color8 | strip}}) +$color9 = rgb({{color9 | strip}}) +$color10 = rgb({{color10 | strip}}) +$color11 = rgb({{color11 | strip}}) +$color12 = rgb({{color12 | strip}}) +$color13 = rgb({{color13 | strip}}) +$color14 = rgb({{color14 | strip}}) +$color15 = rgb({{color15 | strip}}) diff --git a/config/wallust/templates/colors-kitty.conf b/config/wallust/templates/colors-kitty.conf new file mode 100644 index 00000000..4bcd862b --- /dev/null +++ b/config/wallust/templates/colors-kitty.conf @@ -0,0 +1,37 @@ +font_family Intel One Mono +bold_font auto +italic_font auto +bold_italic_font auto + +confirm_os_window_close 0 + +foreground {{foreground}} +background {{background}} +background_opacity 0.25 +cursor {{cursor}} + +active_tab_foreground {{background}} +active_tab_background {{foreground}} +inactive_tab_foreground {{foreground}} +inactive_tab_background {{background}} + +active_border_color {{foreground}} +inactive_border_color {{background}} +bell_border_color {{color1}} + +color0 {{color0}} +color1 {{color1}} +color2 {{color2}} +color3 {{color3}} +color4 {{color4}} +color5 {{color5}} +color6 {{color6}} +color7 {{color7}} +color8 {{color8}} +color9 {{color9}} +color10 {{color10}} +color11 {{color11}} +color12 {{color12}} +color13 {{color13}} +color14 {{color14}} +color15 {{color15}} diff --git a/config/wallust/templates/colors-rofi.rasi b/config/wallust/templates/colors-rofi.rasi new file mode 100644 index 00000000..508d177a --- /dev/null +++ b/config/wallust/templates/colors-rofi.rasi @@ -0,0 +1,28 @@ +* { +active-background: {{color2}}; +active-foreground: {{foreground}}; +normal-background: {{background}}; +normal-foreground: {{foreground}}; +urgent-background: {{color1}}; +urgent-foreground: {{foreground}}; + +alternate-active-background: {{background}}; +alternate-active-foreground: {{foreground}}; +alternate-normal-background: {{background}}; +alternate-normal-foreground: {{foreground}}; +alternate-urgent-background: {{background}}; +alternate-urgent-foreground: {{foreground}}; + +selected-active-background: {{color1}}; +selected-active-foreground: {{foreground}}; +selected-normal-background: {{color7}}; +selected-normal-foreground: {{foreground}}; +selected-urgent-background: {{color12}}; +selected-urgent-foreground: {{foreground}}; + +background-color: {{background}}; +background: rgba(0,0,0,0.7); +foreground: {{color15}}; +border-color: {{background}}; +} + diff --git a/config/wallust/templates/colors-swaync.css b/config/wallust/templates/colors-swaync.css new file mode 100644 index 00000000..0c2b636b --- /dev/null +++ b/config/wallust/templates/colors-swaync.css @@ -0,0 +1,9 @@ +@define-color text {{foreground}}; +@define-color background rgba({{background | rgb}},0.25); +@define-color background-alt {{background}}; +@define-color cursor {{cursor}}; +@define-color hovered {{color12}}; +@define-color button-background {{color6}}; +@define-color button-active {{color2}}; +@define-color border {{color9}}; +@define-color urgent {{color15}}; diff --git a/config/wallust/templates/colors-waybar.css b/config/wallust/templates/colors-waybar.css new file mode 100644 index 00000000..f66bac77 --- /dev/null +++ b/config/wallust/templates/colors-waybar.css @@ -0,0 +1,20 @@ +@define-color foreground {{foreground}}; +@define-color background rgba({{background | rgb}},0.25); +@define-color cursor {{cursor}}; + +@define-color color0 {{color0}}; +@define-color color1 {{color1}}; +@define-color color2 {{color2}}; +@define-color color3 {{color3}}; +@define-color color4 {{color4}}; +@define-color color5 {{color5}}; +@define-color color6 {{color6}}; +@define-color color7 {{color7}}; +@define-color color8 {{color8}}; +@define-color color9 {{color9}}; +@define-color color10 {{color10}}; +@define-color color11 {{color11}}; +@define-color color12 {{color12}}; +@define-color color13 {{color13}}; +@define-color color14 {{color14}}; +@define-color color15 {{color15}}; diff --git a/config/wallust/wallust.toml b/config/wallust/wallust.toml new file mode 100644 index 00000000..4ed44e8b --- /dev/null +++ b/config/wallust/wallust.toml @@ -0,0 +1,53 @@ +# wallust 3.0 beta.* + +backend = "resized" +color_space = "lch" + +# NOTE: All filters will fill 16 colors (from color0 to color15), 16 color +# variations are the 'ilusion' of more colors by opaquing color1 to color5. +# Use the most prominent colors in a way that makes sense, a scheme: +# * dark - 8 dark colors, dark background and light contrast +# * dark16 - Same as `dark` but uses the 16 colors trick +# * harddark - Same as `dark` with hard hue colors +# * harddark16 - Harddark with 16 color variation +# * light - Light bg, dark fg +# * light16 - Same as `light` but uses the 16 color trick +# * softdark - Variant of softlight, uses the lightest colors and a dark +# background (could be interpreted as `dark` inversed) +# * softdark16 - softdark with 16 color variation +# * softlight - Light with soft pastel colors, counterpart of `harddark` +# * softlight16 - softlight with 16 color variation +palette = "dark16" + +# Difference between similar colors, used by the colorspace: +# 1 Not perceptible by human eyes. +# 1 - 2 Perceptible through close observation. +# 2 - 10 Perceptible at a glance. +# 11 - 49 Colors are more similar than opposite +# 100 Colors are exact opposite +threshold = 10 + +[templates] +cava.template = 'templates/colors-cava' +cava.target = '~/.config/cava/config' + +hypr.template = 'templates/colors-hyprland.conf' +hypr.target = '~/.config/hypr/wallust/wallust-hyprland.conf' + +rofi.template = 'templates/colors-rofi.rasi' +rofi.target = '~/.config/rofi/wallust/colors-rofi.rasi' + +swaync.template = 'templates/colors-swaync.css' +swaync.target = '~/.config/swaync/wallust/colors-wallust.css' + +waybar.template = 'templates/colors-waybar.css' +waybar.target = '~/.config/waybar/wallust/colors-waybar.css' + +#macchina.template = 'templates/colors-macchina.toml' +#macchina.target = '~/.config/macchina/themes/wallust.toml' + +#wezterm.template = 'templates/colors-wezterm.toml' +#wezterm.target = '~/.config/wezterm/colors/wallust.toml' + +#zathura.template = 'templates/colors-zathura' +#zathura.target = '~/.config/zathura/zathurarc' -- cgit v1.2.3 From 610d1bdada7e734e91262f64f6dc8b4502c1f6a0 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 10 May 2024 10:36:11 +0900 Subject: tweaked for better wallust on rofi configs, swaync wallust tweaked for better wallust, wallust template for rofi adjusted --- config/rofi/config-wallpaper.rasi | 6 +++--- config/rofi/config.rasi | 4 ++-- config/rofi/resolution/1080p/config.rasi | 4 ++-- config/rofi/resolution/1440p/config.rasi | 4 ++-- config/swaync/style.css | 6 +++--- config/wallust/templates/colors-rofi.rasi | 12 ++++++------ 6 files changed, 18 insertions(+), 18 deletions(-) (limited to 'config/wallust') diff --git a/config/rofi/config-wallpaper.rasi b/config/rofi/config-wallpaper.rasi index 5afb7699..e887e9f3 100644 --- a/config/rofi/config-wallpaper.rasi +++ b/config/rofi/config-wallpaper.rasi @@ -36,15 +36,15 @@ element { orientation: vertical; padding: 0px; spacing: 0px; - border-radius: 12px; + border-radius: 15px; } element-icon { - size: 15%; + size: 20%; } element-text { - font: "Fira Code SemiBold 10"; + font: "Fira Code SemiBold 12"; vertical-align: 0.5; horizontal-align: 0.5; } diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 4929c92c..bc6f2d7f 100755 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -155,8 +155,8 @@ scrollbar { element { enabled: true; spacing: 10px; - padding: 4px; - border-radius: 10px; + padding: 10px; + border-radius: 12px; background-color: transparent; cursor: pointer; } diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 4929c92c..bc6f2d7f 100755 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -155,8 +155,8 @@ scrollbar { element { enabled: true; spacing: 10px; - padding: 4px; - border-radius: 10px; + padding: 10px; + border-radius: 12px; background-color: transparent; cursor: pointer; } diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index 68154e1b..9c2e73ea 100755 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -155,8 +155,8 @@ scrollbar { element { enabled: true; spacing: 10px; - padding: 4px; - border-radius: 10px; + padding: 10px; + border-radius: 12px; background-color: transparent; cursor: pointer; } diff --git a/config/swaync/style.css b/config/swaync/style.css index a87d9961..537b7d3c 100755 --- a/config/swaync/style.css +++ b/config/swaync/style.css @@ -3,12 +3,12 @@ @import '../../.config/waybar/wallust/colors-waybar.css'; -@define-color noti-border-color @color2; +@define-color noti-border-color @color10; @define-color noti-bg rgba(0, 0, 0, 0.8); @define-color noti-bg-alt #111111; @define-color noti-bg-hover @color2; -@define-color text-color @color7; -@define-color text-color-alt @color2; +@define-color text-color @color12; +@define-color text-color-alt @color9; @define-color text-color-disabled rgba(150, 150, 150, 0.8); * { diff --git a/config/wallust/templates/colors-rofi.rasi b/config/wallust/templates/colors-rofi.rasi index 508d177a..0e45cc44 100644 --- a/config/wallust/templates/colors-rofi.rasi +++ b/config/wallust/templates/colors-rofi.rasi @@ -1,21 +1,21 @@ * { -active-background: {{color2}}; +active-background: {{color9}}; active-foreground: {{foreground}}; normal-background: {{background}}; normal-foreground: {{foreground}}; -urgent-background: {{color1}}; +urgent-background: {{color7}}; urgent-foreground: {{foreground}}; -alternate-active-background: {{background}}; +alternate-active-background: {{color3}}; alternate-active-foreground: {{foreground}}; alternate-normal-background: {{background}}; alternate-normal-foreground: {{foreground}}; alternate-urgent-background: {{background}}; alternate-urgent-foreground: {{foreground}}; -selected-active-background: {{color1}}; +selected-active-background: {{color7}}; selected-active-foreground: {{foreground}}; -selected-normal-background: {{color7}}; +selected-normal-background: {{color9}}; selected-normal-foreground: {{foreground}}; selected-urgent-background: {{color12}}; selected-urgent-foreground: {{foreground}}; @@ -23,6 +23,6 @@ selected-urgent-foreground: {{foreground}}; background-color: {{background}}; background: rgba(0,0,0,0.7); foreground: {{color15}}; -border-color: {{background}}; +border-color: {{color12}}; } -- cgit v1.2.3