From 859e133a8d547c5d1a3443b2772bbc40675e0fac Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sat, 5 Sep 2026 06:54:54 +0545 Subject: [PATCH] uppdate --- config/btop/themes/matugen.theme | 42 ++++----- config/code-flags.conf | 2 + config/fastfetch/config.jsonc | 5 - config/hypr/configs/startup_apps.lua | 6 +- config/hypr/hyprland.lua | 135 +++++++++++++++++++++++++++ config/kitty/colors.conf | 26 +++--- config/vivaldi-stable.conf | 6 +- config/yazi/theme.toml | 28 +++--- 8 files changed, 190 insertions(+), 60 deletions(-) diff --git a/config/btop/themes/matugen.theme b/config/btop/themes/matugen.theme index 138b1943..8e6a15a5 100644 --- a/config/btop/themes/matugen.theme +++ b/config/btop/themes/matugen.theme @@ -16,22 +16,22 @@ theme[main_bg]="" theme[main_fg]="#dee3e6" # Title color for boxes -theme[title]="#89d0ed" +theme[title]="#88d1ec" # Highlight color for keyboard shortcuts -theme[hi_fg]="#b3cad5" +theme[hi_fg]="#b3cad4" # Background color of selected item in processes box -theme[selected_bg]="#89d0ed" +theme[selected_bg]="#88d1ec" # Foreground color of selected item in processes box theme[selected_fg]="#003544" # Color of inactive/disabled text -theme[inactive_fg]="#c0c8cc" +theme[inactive_fg]="#bfc8cc" # Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#c4c3eb" +theme[proc_misc]="#c3c3eb" # Cpu box outline color theme[cpu_box]="#8a9296" @@ -49,29 +49,29 @@ theme[proc_box]="#8a9296" theme[div_line]="#40484c" # Temperature graph colors -theme[temp_start]="#b3cad5" -theme[temp_mid]="#89d0ed" +theme[temp_start]="#b3cad4" +theme[temp_mid]="#88d1ec" theme[temp_end]="#ffb4ab" # CPU graph colors -theme[cpu_start]="#b3cad5" -theme[cpu_mid]="#89d0ed" +theme[cpu_start]="#b3cad4" +theme[cpu_mid]="#88d1ec" theme[cpu_end]="#ffb4ab" # Mem/Disk free meter -theme[free_start]="#b3cad5" +theme[free_start]="#b3cad4" theme[free_mid]="" -theme[free_end]="#354a53" +theme[free_end]="#344a52" # Mem/Disk cached meter -theme[cached_start]="#c4c3eb" +theme[cached_start]="#c3c3eb" theme[cached_mid]="" -theme[cached_end]="#444465" +theme[cached_end]="#434465" # Mem/Disk available meter -theme[available_start]="#89d0ed" +theme[available_start]="#88d1ec" theme[available_mid]="" -theme[available_end]="#004d62" +theme[available_end]="#004d61" # Mem/Disk used meter theme[used_start]="#ffb4ab" @@ -79,11 +79,11 @@ theme[used_mid]="" theme[used_end]="#93000a" # Download graph colors -theme[download_start]="#b3cad5" -theme[download_mid]="#89d0ed" -theme[download_end]="#c4c3eb" +theme[download_start]="#b3cad4" +theme[download_mid]="#88d1ec" +theme[download_end]="#c3c3eb" # Upload graph colors -theme[upload_start]="#b3cad5" -theme[upload_mid]="#89d0ed" -theme[upload_end]="#c4c3eb" +theme[upload_start]="#b3cad4" +theme[upload_mid]="#88d1ec" +theme[upload_end]="#c3c3eb" diff --git a/config/code-flags.conf b/config/code-flags.conf index 73d5b6d6..d930f345 100644 --- a/config/code-flags.conf +++ b/config/code-flags.conf @@ -1 +1,3 @@ --disable-gpu +--enable-features=UseOzonePlatform +--ozone-platform=x11 diff --git a/config/fastfetch/config.jsonc b/config/fastfetch/config.jsonc index dfbe1c8d..85cff4c0 100644 --- a/config/fastfetch/config.jsonc +++ b/config/fastfetch/config.jsonc @@ -115,11 +115,6 @@ "keyColor": "magenta" }, { - "type": "media", - "key": "│ └󰝚", - "keyColor": "magenta" - }, - { "type": "custom", "format": "\u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[38m \u001b[39m \u001b[39m  \u001b[38m \u001b[37m \u001b[36m \u001b[35m \u001b[34m \u001b[33m \u001b[32m \u001b[31m \u001b[90m " }, diff --git a/config/hypr/configs/startup_apps.lua b/config/hypr/configs/startup_apps.lua index 15844097..d7027bad 100644 --- a/config/hypr/configs/startup_apps.lua +++ b/config/hypr/configs/startup_apps.lua @@ -4,9 +4,9 @@ hl.on("hyprland.start", function() local cmds = { "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP", -- GTK_MODULES is set at Modus runtime by _setup_environment() in globalmenu.py - "gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Ice", - "hyprctl setcursor Bibata-Modern-Ice 6", - "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1", + "gsettings set org.gnome.desktop.interface cursor-theme MacTahoe", + "hyprctl setcursor MacTahoe 6", + -- "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1", "udiskie", } diff --git a/config/hypr/hyprland.lua b/config/hypr/hyprland.lua index dff83358..dac2f98b 100644 --- a/config/hypr/hyprland.lua +++ b/config/hypr/hyprland.lua @@ -8,3 +8,138 @@ require("configs.misc") -- Modus configuration dofile("/home/sankalp/.config/Modus/config/hypr/modus.lua") + +if hl.plugin.dynamic_cursors then + hl.config({ + plugin = { + dynamic_cursors = { + + -- enables the plugin + enabled = true, + + -- sets the cursor behaviour, supports these values: + -- tilt - tilt the cursor based on x-velocity + -- rotate - rotate the cursor based on movement direction + -- stretch - stretch the cursor shape based on direction and velocity + -- none - do not change the cursor's behaviour + mode = "tilt", + + -- minimum angle difference in degrees after which the shape is changed + -- smaller values are smoother, but more expensive for hw cursors + threshold = 2, + + -- for mode = "rotate" + rotate = { + + -- length in px of the simulated stick used to rotate the cursor + -- most realistic if this is your actual cursor size + length = 20, + + -- clockwise offset applied to the angle in degrees + -- this will apply to ALL shapes + offset = 0.0, + }, + + -- for mode = "tilt" + tilt = { + + -- controls how powerful the tilt is, the lower, the more power + -- this value controls at which speed (px/s) the full tilt is reached + limit = 5000, + + -- relationship between speed and tilt, supports these values: + -- linear - a linear function is used + -- quadratic - a quadratic function is used (most realistic to actual air drag) + -- negative_quadratic - negative version of the quadratic one, feels more aggressive + -- see `activation` in `src/mode/utils.cpp` for how exactly the calculation is done + activation = "negative_quadratic", + + -- time window (ms) over which the speed is calculated + -- higher values will make slow motions smoother but more delayed + window = 100, + + -- full tilt for each side (°) + full = 60, + }, + + -- for mode = "stretch" + stretch = { + + -- controls how much the cursor is stretched + -- this value controls at which speed (px/s) the full stretch is reached + -- the full stretch being twice the original length + limit = 3000, + + -- relationship between speed and stretch amount, supports these values: + -- linear - a linear function is used + -- quadratic - a quadratic function is used + -- negative_quadratic - negative version of the quadratic one, feels more aggressive + -- see `activation` in `src/mode/utils.cpp` for how exactly the calculation is done + activation = "quadratic", + + -- time window (ms) over which the speed is calculated + -- higher values will make slow motions smoother but more delayed + window = 100, + }, + + -- configure shake to find + -- magnifies the cursor if its is being shaken + shake = { + + -- enables shake to find + enabled = true, + + -- controls how soon a shake is detected + -- lower values mean sooner + threshold = 6.0, + + -- magnification level immediately after shake start + base = 4.0, + -- magnification increase per second when continuing to shake + speed = 4.0, + -- how much the speed is influenced by the current shake intensity + influence = 0.0, + + -- maximal magnification the cursor can reach + -- values below 1 disable the limit (e.g. 0) + limit = 0.0, + + -- time in milliseconds the cursor will stay magnified after a shake has ended + timeout = 2000, + + -- show cursor behaviour `tilt`, `rotate`, etc. while shaking + effects = false, + + -- enable ipc events for shake + -- see the `ipc` section below + ipc = false, + }, + + -- use hyprcursor to get a higher resolution texture when the cursor is magnified + -- see the `hyprcursor` section below + hyprcursor = { + + -- use nearest-neighbour (pixelated) scaling when magnifying beyond texture size + -- this will also have effect without hyprcursor support being enabled + -- 0 - never use pixelated scaling + -- 1 - use pixelated when no highres image + -- 2 - always use pixelated scaling + nearest = 1, + + -- enable dedicated hyprcursor support + enabled = true, + + -- resolution in pixels to load the magnified shapes at + -- be warned that loading a very high-resolution image will take a long time and might impact memory consumption + -- -1 means we use [normal cursor size] * [shake:base option] + resolution = -1, + + -- shape to use when clientside cursors are being magnified + -- see the shape-name property of shape rules for possible names + -- specifying clientside will use the actual shape, but will be pixelated + fallback = "clientside", + }, + }, + }, + }) +end diff --git a/config/kitty/colors.conf b/config/kitty/colors.conf index 60efc7b4..04020a7f 100644 --- a/config/kitty/colors.conf +++ b/config/kitty/colors.conf @@ -1,27 +1,27 @@ # Core Colors -background #0f1417 +background #0f1416 foreground #dee3e6 -selection_foreground #89d0ed +selection_foreground #88d1ec selection_background #003544 -cursor #89d0ed -cursor_text_color #0f1417 +cursor #88d1ec +cursor_text_color #0f1416 # Regular Colors -color0 #0f1417 +color0 #0f1416 color1 #ffb4ab -color2 #89d0ed -color3 #c4c3eb -color4 #baeaff +color2 #88d1ec +color3 #c3c3eb +color4 #b8eaff color5 #cfe6f1 -color6 #b3cad5 +color6 #b3cad4 color7 #dee3e6 # Bright Colors color8 #353a3d color9 #ffb4ab -color10 #89d0ed -color11 #c4c3eb -color12 #baeaff +color10 #88d1ec +color11 #c3c3eb +color12 #b8eaff color13 #cfe6f1 -color14 #b3cad5 +color14 #b3cad4 color15 #dee3e6 diff --git a/config/vivaldi-stable.conf b/config/vivaldi-stable.conf index 4fcb0a04..59f275cc 100644 --- a/config/vivaldi-stable.conf +++ b/config/vivaldi-stable.conf @@ -1,4 +1,2 @@ ---ozone-platform=wayland ---enable-features=WebRTCPipeWireCapturer ---ozone-platform-hint=auto ---enable-wayland-ime +--enable-features=UseOzonePlatform +--ozone-platform=x11 diff --git a/config/yazi/theme.toml b/config/yazi/theme.toml index a57fbe47..5a9205a5 100644 --- a/config/yazi/theme.toml +++ b/config/yazi/theme.toml @@ -1,35 +1,35 @@ [manager] -cwd = { fg = "#b3cad5", bold=true} +cwd = { fg = "#b3cad4", bold=true} -hovered = { fg = "#baeaff", bg = "#004d62" } +hovered = { fg = "#b8eaff", bg = "#004d61" } preview_hovered = { underline = true, bold=true } [status] separator_open = "" separator_close = "" -separator_style = { fg = "#baeaff", bg = "#004d62" } +separator_style = { fg = "#b8eaff", bg = "#004d61" } # Mode -mode_normal = { fg = "#003544", bg = "#89d0ed", bold = true } -mode_select = { fg = "#1e333c", bg = "#b3cad5", bold = true } -mode_unset = { fg = "#2d2d4d", bg = "#c4c3eb", bold = true } +mode_normal = { fg = "#003544", bg = "#88d1ec", bold = true } +mode_select = { fg = "#1e333b", bg = "#b3cad4", bold = true } +mode_unset = { fg = "#2c2e4d", bg = "#c3c3eb", bold = true } [which] mask = { bg = "#1b2023" } -cand = { fg = "#89d0ed" } -desc = { fg = "#b3cad5" } +cand = { fg = "#88d1ec" } +desc = { fg = "#b3cad4" } separator = "  " -separator_style = { fg = "#c4c3eb" } +separator_style = { fg = "#c3c3eb" } [filetype] rules = [ # Images - { mime = "image/*", fg = "#b3cad5" }, + { mime = "image/*", fg = "#b3cad4" }, # Videos - { mime = "video/*", fg = "#c4c3eb" }, - { mime = "audio/*", fg = "#c4c3eb" }, + { mime = "video/*", fg = "#c3c3eb" }, + { mime = "audio/*", fg = "#c3c3eb" }, # Archives { mime = "application/zip", fg = "#ffb4ab" }, @@ -41,6 +41,6 @@ rules = [ { mime = "application/x-rar", fg = "#ffb4ab" }, # Fallback - { name = "*", fg = "#89d0ed", bold=true }, - { name = "*/", fg = "#b3cad5", bold=true } + { name = "*", fg = "#88d1ec", bold=true }, + { name = "*/", fg = "#b3cad4", bold=true } ]