summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-14 13:03:37 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-14 13:03:37 +0800
commit761f025d1261259d1ed1d7002fc5fd5f17d2ae8f (patch)
treea57e6cb87025305675b5ddf878dc0850f82dbef2
parente560b59fcbd04af0e92ba255a12004ec8db9216b (diff)
bump
-rw-r--r--dot-config/Thunar/renamerrc4
-rw-r--r--dot-config/cava/shaders/spectrogram.frag53
-rw-r--r--dot-config/cava/shaders/winamp_line_style_spectrum.frag112
-rw-r--r--dot-config/dconf/userbin76916 -> 89698 bytes
-rw-r--r--dot-config/hypr/binds.conf8
-rw-r--r--dot-config/hypr/hyprland.conf22
-rw-r--r--dot-config/hypr/hyprlandd.conf7
-rw-r--r--dot-config/hypr/rules.conf4
-rw-r--r--dot-config/hypr/shutdown.conf1
-rw-r--r--dot-config/qt5ct/qt5ct.conf6
-rw-r--r--dot-config/qt6ct/qt6ct.conf6
-rw-r--r--dot-config/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml9
-rw-r--r--dot-config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml2
-rw-r--r--dot-hyperhdr/db/hyperhdr.db2
14 files changed, 211 insertions, 25 deletions
diff --git a/dot-config/Thunar/renamerrc b/dot-config/Thunar/renamerrc
index a7efe813..b91e4e4d 100644
--- a/dot-config/Thunar/renamerrc
+++ b/dot-config/Thunar/renamerrc
@@ -10,7 +10,7 @@ Start=1
[ThunarSbrReplaceRenamer]
CaseSensitive=FALSE
-Replacement=zst
-Pattern=zip
+Replacement=jar.disabled
+Pattern=jar
Regexp=FALSE
diff --git a/dot-config/cava/shaders/spectrogram.frag b/dot-config/cava/shaders/spectrogram.frag
new file mode 100644
index 00000000..ccb79aef
--- /dev/null
+++ b/dot-config/cava/shaders/spectrogram.frag
@@ -0,0 +1,53 @@
+#version 330
+
+in vec2 fragCoord;
+out vec4 fragColor;
+
+// bar values. defaults to left channels first (low to high), then right (high
+// to low).
+uniform float bars[512];
+
+uniform int bars_count; // number of bars (left + right) (configurable)
+uniform int bar_width; // bar width (configurable), not used here
+uniform int bar_spacing; // space bewteen bars (configurable)
+
+uniform vec3 u_resolution; // window resolution
+
+// colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
+uniform vec3 bg_color; // background color
+uniform vec3 fg_color; // foreground color
+
+uniform int gradient_count;
+uniform vec3 gradient_colors[8]; // gradient colors
+
+uniform sampler2D inputTexture; // Texture from the first render pass
+
+vec3 normalize_C(float y, vec3 col_1, vec3 col_2, float y_min, float y_max) {
+ // create color based on fraction of this color and next color
+ float yr = (y - y_min) / (y_max - y_min);
+ return col_1 * (1.0 - yr) + col_2 * yr;
+}
+
+void main() {
+ // find which bar to use based on where we are on the y axis
+ int bar = int(bars_count * fragCoord.y);
+ float y = bars[bar];
+ float band_size = 1.0 / float(bars_count);
+ float current_band_min = bar * band_size;
+ float current_band_max = (bar + 1) * band_size;
+
+ int hist_length = 512;
+ float win_size = 1.0 / hist_length;
+
+ if (fragCoord.x > 1.0 - win_size) {
+
+ if (fragCoord.y > current_band_min && fragCoord.y < current_band_max) {
+
+ fragColor = vec4(fg_color * y, 1.0);
+ }
+ } else {
+ vec2 offsetCoord = fragCoord;
+ offsetCoord.x += float(win_size);
+ fragColor = texture(inputTexture, offsetCoord);
+ }
+} \ No newline at end of file
diff --git a/dot-config/cava/shaders/winamp_line_style_spectrum.frag b/dot-config/cava/shaders/winamp_line_style_spectrum.frag
new file mode 100644
index 00000000..375ff27e
--- /dev/null
+++ b/dot-config/cava/shaders/winamp_line_style_spectrum.frag
@@ -0,0 +1,112 @@
+#version 330
+
+// Emulate the "line style" spectrum analyzer from Winamp 2.
+// Try this config for a demonstration:
+
+/*
+[general]
+bar_width = 2
+bar_spacing = 0
+higher_cutoff_freq = 22000
+
+[output]
+method = sdl_glsl
+channels = mono
+fragment_shader = winamp_line_style_spectrum.frag
+
+[color]
+background = '#000000'
+gradient = 1
+gradient_color_1 = '#319C08'
+gradient_color_2 = '#29CE10'
+gradient_color_3 = '#BDDE29'
+gradient_color_4 = '#DEA518'
+gradient_color_5 = '#D66600'
+gradient_color_6 = '#CE2910'
+
+[smoothing]
+noise_reduction = 10
+*/
+
+in vec2 fragCoord;
+out vec4 fragColor;
+
+// bar values. defaults to left channels first (low to high), then right (high to low).
+uniform float bars[512];
+
+uniform int bars_count; // number of bars (left + right) (configurable)
+uniform int bar_width; // bar width (configurable), not used here
+uniform int bar_spacing; // space bewteen bars (configurable)
+
+uniform vec3 u_resolution; // window resolution
+
+//colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
+uniform vec3 bg_color; // background color
+uniform vec3 fg_color; // foreground color
+
+uniform int gradient_count;
+uniform vec3 gradient_colors[8]; // gradient colors
+
+vec3 normalize_C(float y,vec3 col_1, vec3 col_2, float y_min, float y_max)
+{
+ //create color based on fraction of this color and next color
+ float yr = (y - y_min) / (y_max - y_min);
+ return col_1 * (1.0 - yr) + col_2 * yr;
+}
+
+void main()
+{
+ // find which bar to use based on where we are on the x axis
+ float x = u_resolution.x * fragCoord.x;
+ int bar = int(bars_count * fragCoord.x);
+
+ //calculate a bar size
+ float bar_size = u_resolution.x / bars_count;
+
+ //the y coordinate is stretched by 4X to resemble Winamp
+ float y = min(bars[bar] * 4.0, 1.0);
+
+ // make sure there is a thin line at bottom
+ if (y * u_resolution.y < 1.0)
+ {
+ y = 1.0 / u_resolution.y;
+ }
+
+ vec4 bar_color;
+
+ if (gradient_count == 0)
+ {
+ bar_color = vec4(fg_color,1.0);
+ }
+ else
+ {
+ //find color in the configured gradient for the top of the bar
+ int color = int((gradient_count - 1) * y);
+
+ //find where on y this and next color is supposed to be
+ float y_min = float(color) / (gradient_count - 1.0);
+ float y_max = float(color + 1) / (gradient_count - 1.0);
+
+ //make a solid color for the entire bar
+ bar_color = vec4(normalize_C(y, gradient_colors[color], gradient_colors[color + 1], y_min, y_max), 1.0);
+ }
+
+
+ //draw the bar up to current height
+ if (y > fragCoord.y)
+ {
+ //make some space between bars based on settings
+ if (x > (bar + 1) * (bar_size) - bar_spacing)
+ {
+ fragColor = vec4(bg_color,1.0);
+ }
+ else
+ {
+ fragColor = bar_color;
+ }
+ }
+ else
+ {
+ fragColor = vec4(bg_color,1.0);
+ }
+} \ No newline at end of file
diff --git a/dot-config/dconf/user b/dot-config/dconf/user
index 1b055526..66a5604e 100644
--- a/dot-config/dconf/user
+++ b/dot-config/dconf/user
Binary files differ
diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf
index 8783bae7..ba279998 100644
--- a/dot-config/hypr/binds.conf
+++ b/dot-config/hypr/binds.conf
@@ -80,10 +80,10 @@ bind = $mod, Pause, execr, hyprfreeze -s -a
bind = ,Print, execr, $HOME/scripts/hyprshot --now
# Brightness
-# bind = ,XF86MonBrightnessUp, execr, $HOME/scripts/sysutil.sh brightness --inc
-# bind = ,XF86MonBrightnessDown, execr, $HOME/scripts/sysutil.sh brightness --dec
-binde = ,XF86MonBrightnessUp, execr, hyprctl hyprsunset gamma +5
-binde = ,XF86MonBrightnessDown, execr, hyprctl hyprsunset gamma -5
+binde = ,XF86MonBrightnessUp, execr, $HOME/scripts/sysutil.sh brightness --inc
+binde = ,XF86MonBrightnessDown, execr, $HOME/scripts/sysutil.sh brightness --dec
+# binde = ,XF86MonBrightnessUp, execr, hyprctl hyprsunset gamma +5
+# binde = ,XF86MonBrightnessDown, execr, hyprctl hyprsunset gamma -5
# Window management
# bind = $mod, d, execr, $HOME/scripts/hyprhide h
diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf
index 27b5241a..ee5353b6 100644
--- a/dot-config/hypr/hyprland.conf
+++ b/dot-config/hypr/hyprland.conf
@@ -3,13 +3,13 @@
################
# See https://wiki.hyprland.org/Configuring/Monitors/
-# monitor=,highres@highrr,auto,auto#,bitdepth,10#,cm,hdr,sdrbrightness,1.5,sdrsaturation, 0.8#,cm,auto
+monitor=,highres@highrr,auto,auto#,bitdepth,10#,cm,hdr,sdrbrightness,1.5,sdrsaturation, 0.8#,cm,auto
# monitor=,preferred,auto,auto,bitdepth,10
-monitorv2 {
- output =
- mode = highres
- scale = 1.5
-}
+# monitorv2 {
+# output =
+# mode = highres
+# scale = 1.5
+# }
###################
@@ -94,6 +94,7 @@ xwayland {
decoration {
rounding = 7
rounding_power = 10
+ border_part_of_window = true
# Change transparency of focused and unfocused windows
# active_opacity = 0.95
@@ -170,10 +171,10 @@ animations {
animation = windows, 1, 3, overshot, gnome
# animation = windowsOut, 1, 2, slow-fast, popin 15%
- animation = windowsOut, 1, 2, slow-fast, popin 15%
+ animation = windowsOut, 1, 1.5, slow-fast, popin 15%
# animation = windowsMove, 1, 2, md3_accel # when new window appears, it will block it for a while since its slower then windowIn animation
- animation = workspaces, 1, 6, fast-slow, slide
- animation = workspacesIn, 1, 6, fast-slow, slidefade
+ animation = workspaces, 1, 5, fast-slow, slide
+ animation = workspacesIn, 1, 5, fast-slow, slidefade
animation = borderangle, 1, 100, linear, loop
animation = layers, 1, 3, sovershot, popin 15%
@@ -232,6 +233,7 @@ group {
render {
direct_scanout = true
# xp_mode = true # crazy drag bg
+ new_render_scheduling = true
ctm_animation = 1
}
@@ -252,7 +254,7 @@ input {
# kb_options = caps:swapescape # changed in kb settings
kb_rules =
- follow_mouse = 1
+ follow_mouse = 1 # 2
scroll_factor = 1.0
# sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
diff --git a/dot-config/hypr/hyprlandd.conf b/dot-config/hypr/hyprlandd.conf
index 4e633781..3416207a 100644
--- a/dot-config/hypr/hyprlandd.conf
+++ b/dot-config/hypr/hyprlandd.conf
@@ -12,7 +12,7 @@ monitor=,highres@highrr,auto,auto,bitdepth,10
###################
# Program defaults
-$terminal = alacritty
+$terminal = kitty
$termfloat = [global; float; size 40% 40%; workspace +0] alacritty msg create-window
$editor = lvim
# $browser = thorium-browser
@@ -373,4 +373,9 @@ bindm = super, mouse:273, resizewindow
general:snap:respect_gaps = true
+debug {
+ # damage_blink = true
+ suppress_errors = true
+}
+
general:float_gaps = -1
diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf
index 1fcef340..60aa8195 100644
--- a/dot-config/hypr/rules.conf
+++ b/dot-config/hypr/rules.conf
@@ -235,6 +235,9 @@ layerrule = blur,logout_dialog
layerrule = blur, waybar
layerrule = ignorezero, waybar
+layerrule = blur, quickshell:bar
+layerrule = ignorezero, quickshell:bar
+
layerrule = blur, syshud
layerrule = ignorezero, syshud
# layerrule = blur,$browser
@@ -275,6 +278,7 @@ windowrule = nofocus, class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinne
# permissions
permission = /usr/bin/grim, screencopy, allow
+permission = /usr/bin/hyprlock, screencopy, allow
permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
permission = /var/cache/hyprpm/system/dynamic-cursors/dynamic-cursors.so, plugin, allow
diff --git a/dot-config/hypr/shutdown.conf b/dot-config/hypr/shutdown.conf
index 1da1286d..51af105f 100644
--- a/dot-config/hypr/shutdown.conf
+++ b/dot-config/hypr/shutdown.conf
@@ -3,3 +3,4 @@ exec-shutdown = hyprsession --mode save-and-exit
# input leap always glitch if you do a soft reboot since they don't get killed?
exec-shutdown = killall input-leap
exec-shutdown = killall input-leaps
+exec-shutdown = killall video-guard vidoe-guard-helper
diff --git a/dot-config/qt5ct/qt5ct.conf b/dot-config/qt5ct/qt5ct.conf
index e0ceef40..c46660b6 100644
--- a/dot-config/qt5ct/qt5ct.conf
+++ b/dot-config/qt5ct/qt5ct.conf
@@ -6,8 +6,8 @@ standard_dialogs=xdgdesktopportal
style=kvantum-dark
[Fonts]
-fixed="JetBrainsMono Nerd Font,11,-1,5,50,0,0,0,0,0,Regular"
-general="Inter,11,-1,5,50,0,0,0,0,0,Regular"
+fixed="JetBrainsMono Nerd Font,12,-1,5,50,0,0,0,0,0,Regular"
+general="0xProto Nerd Font,12,-1,5,50,0,0,0,0,0,Regular"
[Interface]
activate_item_on_single_click=1
@@ -25,7 +25,7 @@ underline_shortcut=1
wheel_scroll_lines=3
[SettingsWindow]
-geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\xef\0\0\x5R\0\0\0\0\0\0\0\0\0\0\x4\xff\0\0\x5\x66\0\0\0\0\x2\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\x4\xef\0\0\x5R)
+geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\xef\0\0\x5U\0\0\0\0\0\0\0\0\0\0\x4\xf8\0\0\x5[\0\0\0\0\x2\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\x4\xef\0\0\x5U)
[Troubleshooting]
force_raster_widgets=1
diff --git a/dot-config/qt6ct/qt6ct.conf b/dot-config/qt6ct/qt6ct.conf
index 844a5770..2586df97 100644
--- a/dot-config/qt6ct/qt6ct.conf
+++ b/dot-config/qt6ct/qt6ct.conf
@@ -6,8 +6,8 @@ standard_dialogs=xdgdesktopportal
style=kvantum-dark
[Fonts]
-fixed="JetBrainsMono Nerd Font,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
-general="Inter,12,-1,5,300,0,0,0,0,0,0,0,0,0,0,1"
+fixed="JetBrainsMono Nerd Font,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
+general="0xProto Nerd Font,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
[Interface]
activate_item_on_single_click=1
@@ -25,7 +25,7 @@ underline_shortcut=1
wheel_scroll_lines=3
[SettingsWindow]
-geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\xef\0\0\x2\xa2\0\0\0\0\0\0\0\0\0\0\x4\xef\0\0\x2\xa2\0\0\0\0\x2\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\x4\xef\0\0\x2\xa2)
+geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\xef\0\0\x5U\0\0\0\0\0\0\0\0\0\0\x4\xef\0\0\x5U\0\0\0\0\x2\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\x4\xef\0\0\x5U)
[Troubleshooting]
force_raster_widgets=1
diff --git a/dot-config/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml b/dot-config/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml
new file mode 100644
index 00000000..f199fed4
--- /dev/null
+++ b/dot-config/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml
@@ -0,0 +1,9 @@
+<?xml version="1.1" encoding="UTF-8"?>
+
+<channel name="ristretto" version="1.0">
+ <property name="window" type="empty">
+ <property name="navigationbar" type="empty">
+ <property name="position" type="string" value="left"/>
+ </property>
+ </property>
+</channel>
diff --git a/dot-config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/dot-config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
index 258b49ed..11507799 100644
--- a/dot-config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
+++ b/dot-config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
@@ -13,7 +13,7 @@
<property name="last-sort-order" type="string" value="GTK_SORT_DESCENDING"/>
<property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_38_PERCENT"/>
<property name="last-details-view-visible-columns" type="string" value="THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE"/>
- <property name="last-details-view-column-widths" type="string" value="50,50,133,127,50,194,50,50,595,50,50,77,50,92"/>
+ <property name="last-details-view-column-widths" type="string" value="50,50,133,127,50,194,50,50,1863,50,50,82,50,92"/>
<property name="misc-status-bar-active-info" type="uint" value="31"/>
<property name="misc-text-beside-icons" type="bool" value="false"/>
<property name="misc-folders-first" type="bool" value="false"/>
diff --git a/dot-hyperhdr/db/hyperhdr.db b/dot-hyperhdr/db/hyperhdr.db
index a1355d53..e9390879 100644
--- a/dot-hyperhdr/db/hyperhdr.db
+++ b/dot-hyperhdr/db/hyperhdr.db
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bc5345ff4da833ade440e3cedd1f82ff91134221a6716375fefbcd7440bd5a29
+oid sha256:55472dcbd32b9bb7527b209dcae129b2005f01cd24d32eca9a1fc72d83edfee0
size 57344