From b26690b9c27353772a22b1cc5626b8a8828befa1 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Tue, 6 Oct 2026 20:55:29 +0545 Subject: [PATCH] align with new settings --- config/btop/btop.conf | 4 +- config/btop/themes/matugen.theme | 56 +++++------ config/hypr/configs/keybinds.lua | 23 +++++ config/hypr/configs/startup_apps.lua | 1 - config/hypr/configs/visuals.lua | 2 +- config/hypr/hyprland.lua | 145 ++------------------------- config/hypr/hyprsunset.conf | 6 ++ config/kitty/colors.conf | 40 ++++---- config/matugen/config.toml | 11 ++ config/yazi/theme.toml | 30 +++--- misc/.zshrc | 3 + 11 files changed, 120 insertions(+), 201 deletions(-) create mode 100644 config/hypr/hyprsunset.conf diff --git a/config/btop/btop.conf b/config/btop/btop.conf index ea7bc2ab..461ea708 100644 --- a/config/btop/btop.conf +++ b/config/btop/btop.conf @@ -61,7 +61,7 @@ graph_symbol_net = "default" graph_symbol_proc = "default" #* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace. -shown_boxes = "proc mem cpu net" +shown_boxes = "cpu mem net proc" #* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. update_ms = 1000 @@ -228,7 +228,7 @@ net_download = 100 net_upload = 100 #* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. -net_auto = false +net_auto = true #* Sync the auto scaling for download and upload to whichever currently has the highest scale. net_sync = false diff --git a/config/btop/themes/matugen.theme b/config/btop/themes/matugen.theme index 8e6a15a5..ea7c1682 100644 --- a/config/btop/themes/matugen.theme +++ b/config/btop/themes/matugen.theme @@ -13,65 +13,65 @@ theme[main_bg]="" # Main text color -theme[main_fg]="#dee3e6" +theme[main_fg]="#e0e3e8" # Title color for boxes -theme[title]="#88d1ec" +theme[title]="#95cdf8" # Highlight color for keyboard shortcuts -theme[hi_fg]="#b3cad4" +theme[hi_fg]="#b7c9d9" # Background color of selected item in processes box -theme[selected_bg]="#88d1ec" +theme[selected_bg]="#95cdf8" # Foreground color of selected item in processes box -theme[selected_fg]="#003544" +theme[selected_fg]="#00344e" # Color of inactive/disabled text -theme[inactive_fg]="#bfc8cc" +theme[inactive_fg]="#c1c7ce" # Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#c3c3eb" +theme[proc_misc]="#cfc0e8" # Cpu box outline color -theme[cpu_box]="#8a9296" +theme[cpu_box]="#8b9198" # Memory/disks box outline color -theme[mem_box]="#8a9296" +theme[mem_box]="#8b9198" # Net up/down box outline color -theme[net_box]="#8a9296" +theme[net_box]="#8b9198" # Processes box outline color -theme[proc_box]="#8a9296" +theme[proc_box]="#8b9198" # Box divider line and small boxes line color -theme[div_line]="#40484c" +theme[div_line]="#41474d" # Temperature graph colors -theme[temp_start]="#b3cad4" -theme[temp_mid]="#88d1ec" +theme[temp_start]="#b7c9d9" +theme[temp_mid]="#95cdf8" theme[temp_end]="#ffb4ab" # CPU graph colors -theme[cpu_start]="#b3cad4" -theme[cpu_mid]="#88d1ec" +theme[cpu_start]="#b7c9d9" +theme[cpu_mid]="#95cdf8" theme[cpu_end]="#ffb4ab" # Mem/Disk free meter -theme[free_start]="#b3cad4" +theme[free_start]="#b7c9d9" theme[free_mid]="" -theme[free_end]="#344a52" +theme[free_end]="#384956" # Mem/Disk cached meter -theme[cached_start]="#c3c3eb" +theme[cached_start]="#cfc0e8" theme[cached_mid]="" -theme[cached_end]="#434465" +theme[cached_end]="#4c4162" # Mem/Disk available meter -theme[available_start]="#88d1ec" +theme[available_start]="#95cdf8" theme[available_mid]="" -theme[available_end]="#004d61" +theme[available_end]="#004b6f" # 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]="#b3cad4" -theme[download_mid]="#88d1ec" -theme[download_end]="#c3c3eb" +theme[download_start]="#b7c9d9" +theme[download_mid]="#95cdf8" +theme[download_end]="#cfc0e8" # Upload graph colors -theme[upload_start]="#b3cad4" -theme[upload_mid]="#88d1ec" -theme[upload_end]="#c3c3eb" +theme[upload_start]="#b7c9d9" +theme[upload_mid]="#95cdf8" +theme[upload_end]="#cfc0e8" diff --git a/config/hypr/configs/keybinds.lua b/config/hypr/configs/keybinds.lua index 40c1e4ee..c71fb414 100644 --- a/config/hypr/configs/keybinds.lua +++ b/config/hypr/configs/keybinds.lua @@ -163,3 +163,26 @@ for key, cmd in pairs({ }) do hl.bind(key, hl.dsp.exec_cmd(cmd)) end + +hl.bind( + "XF86AudioRaiseVolume", + hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"), + { locked = true, repeating = true } +) +hl.bind( + "XF86AudioLowerVolume", + hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), + { locked = true, repeating = true } +) +hl.bind( + "XF86AudioMute", + hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), + { locked = true, repeating = true } +) +hl.bind( + "XF86AudioMicMute", + hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"), + { locked = true, repeating = true } +) +hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"), { locked = true, repeating = true }) +hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"), { locked = true, repeating = true }) diff --git a/config/hypr/configs/startup_apps.lua b/config/hypr/configs/startup_apps.lua index d7027bad..5f0dd62a 100644 --- a/config/hypr/configs/startup_apps.lua +++ b/config/hypr/configs/startup_apps.lua @@ -3,7 +3,6 @@ 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 MacTahoe", "hyprctl setcursor MacTahoe 6", -- "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1", diff --git a/config/hypr/configs/visuals.lua b/config/hypr/configs/visuals.lua index 8d0bd6e1..3db9514f 100644 --- a/config/hypr/configs/visuals.lua +++ b/config/hypr/configs/visuals.lua @@ -11,7 +11,7 @@ hl.config({ disable_hyprland_logo = true, enable_swallow = true, swallow_regex = "^(kitty|zen-browser)$", - vrr = 2, + vrr = 1, animate_manual_resizes = false, mouse_move_focuses_monitor = true, disable_splash_rendering = true, diff --git a/config/hypr/hyprland.lua b/config/hypr/hyprland.lua index dac2f98b..f1191ab6 100644 --- a/config/hypr/hyprland.lua +++ b/config/hypr/hyprland.lua @@ -7,139 +7,16 @@ require("configs.startup_apps") require("configs.misc") -- Modus configuration -dofile("/home/sankalp/.config/Modus/config/hypr/modus.lua") +-- dofile("/home/sankalp/.config/Modus/config/hypr/modus.lua") -if hl.plugin.dynamic_cursors then - hl.config({ - plugin = { - dynamic_cursors = { +-- Forma — owns startup services + fabric keybinds (loaded last: wins on dup keys) +dofile("/home/sankalp/Projects/pill/forma/config/forma.lua") - -- 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 +-- local fabricSend = "fabric-cli exec forma" +-- +-- hl.bind("SUPER + R", hl.dsp.exec_cmd(fabricSend .. " 'launcher()'")) +-- hl.bind("SUPER + Y", hl.dsp.exec_cmd(fabricSend .. " 'clipboard()'")) +-- hl.bind("SUPER + G", hl.dsp.exec_cmd(fabricSend .. " 'emoji()'")) +-- hl.bind("SUPER + N", hl.dsp.exec_cmd(fabricSend .. " 'link()'")) +-- hl.bind("ALT + W", hl.dsp.exec_cmd(fabricSend .. " 'wallpaper()'")) +-- hl.bind("SUPER + SHIFT + Q", hl.dsp.exec_cmd("pkill -f 'ma[i]n.py'")) diff --git a/config/hypr/hyprsunset.conf b/config/hypr/hyprsunset.conf new file mode 100644 index 00000000..6a541d3b --- /dev/null +++ b/config/hypr/hyprsunset.conf @@ -0,0 +1,6 @@ +max-gamma = 150 + +profile { + time = 0:00 + identity = true +} diff --git a/config/kitty/colors.conf b/config/kitty/colors.conf index 04020a7f..e9e386bc 100644 --- a/config/kitty/colors.conf +++ b/config/kitty/colors.conf @@ -1,27 +1,27 @@ # Core Colors -background #0f1416 -foreground #dee3e6 -selection_foreground #88d1ec -selection_background #003544 -cursor #88d1ec -cursor_text_color #0f1416 +background #101417 +foreground #e0e3e8 +selection_foreground #95cdf8 +selection_background #00344e +cursor #95cdf8 +cursor_text_color #101417 # Regular Colors -color0 #0f1416 +color0 #101417 color1 #ffb4ab -color2 #88d1ec -color3 #c3c3eb -color4 #b8eaff -color5 #cfe6f1 -color6 #b3cad4 -color7 #dee3e6 +color2 #95cdf8 +color3 #cfc0e8 +color4 #cae6ff +color5 #d3e5f5 +color6 #b7c9d9 +color7 #e0e3e8 # Bright Colors -color8 #353a3d +color8 #363a3e color9 #ffb4ab -color10 #88d1ec -color11 #c3c3eb -color12 #b8eaff -color13 #cfe6f1 -color14 #b3cad4 -color15 #dee3e6 +color10 #95cdf8 +color11 #cfc0e8 +color12 #cae6ff +color13 #d3e5f5 +color14 #b7c9d9 +color15 #e0e3e8 diff --git a/config/matugen/config.toml b/config/matugen/config.toml index c4f53ca0..e15df063 100644 --- a/config/matugen/config.toml +++ b/config/matugen/config.toml @@ -84,6 +84,17 @@ input_path = "~/.config/Modus/config/matugen/templates/modus.css" output_path = "~/.config/Modus/src/styles/colors.css" post_hook = "fabric-cli exec modus 'app.set_css()' &" +[templates.shell] +input_path = "~/.config/Modus/config/matugen/templates/modus.css" +output_path = "~/Projects/shell/src/styles/colors.css" +post_hook = "fabric-cli exec pill 'app.set_css()' &" + +# [templates.forma] +# input_path = "~/Projects/pill/forma/config/matugen/templates/forma.css" +# output_path = "~/Projects/pill/forma/styles/dynamic_colors.css" +# post_hook = "fabric-cli exec forma 'set_css()' &" + + [templates.hyprland] input_path = "~/.config/Modus/config/matugen/templates/hyprland-colors.lua" output_path = "~/.config/Modus/config/matugen/colors.lua" diff --git a/config/yazi/theme.toml b/config/yazi/theme.toml index 5a9205a5..88cf1f5e 100644 --- a/config/yazi/theme.toml +++ b/config/yazi/theme.toml @@ -1,35 +1,35 @@ [manager] -cwd = { fg = "#b3cad4", bold=true} +cwd = { fg = "#b7c9d9", bold=true} -hovered = { fg = "#b8eaff", bg = "#004d61" } +hovered = { fg = "#cae6ff", bg = "#004b6f" } preview_hovered = { underline = true, bold=true } [status] separator_open = "" separator_close = "" -separator_style = { fg = "#b8eaff", bg = "#004d61" } +separator_style = { fg = "#cae6ff", bg = "#004b6f" } # Mode -mode_normal = { fg = "#003544", bg = "#88d1ec", bold = true } -mode_select = { fg = "#1e333b", bg = "#b3cad4", bold = true } -mode_unset = { fg = "#2c2e4d", bg = "#c3c3eb", bold = true } +mode_normal = { fg = "#00344e", bg = "#95cdf8", bold = true } +mode_select = { fg = "#22323f", bg = "#b7c9d9", bold = true } +mode_unset = { fg = "#352b4b", bg = "#cfc0e8", bold = true } [which] -mask = { bg = "#1b2023" } -cand = { fg = "#88d1ec" } -desc = { fg = "#b3cad4" } +mask = { bg = "#1c2024" } +cand = { fg = "#95cdf8" } +desc = { fg = "#b7c9d9" } separator = "  " -separator_style = { fg = "#c3c3eb" } +separator_style = { fg = "#cfc0e8" } [filetype] rules = [ # Images - { mime = "image/*", fg = "#b3cad4" }, + { mime = "image/*", fg = "#b7c9d9" }, # Videos - { mime = "video/*", fg = "#c3c3eb" }, - { mime = "audio/*", fg = "#c3c3eb" }, + { mime = "video/*", fg = "#cfc0e8" }, + { mime = "audio/*", fg = "#cfc0e8" }, # Archives { mime = "application/zip", fg = "#ffb4ab" }, @@ -41,6 +41,6 @@ rules = [ { mime = "application/x-rar", fg = "#ffb4ab" }, # Fallback - { name = "*", fg = "#88d1ec", bold=true }, - { name = "*/", fg = "#b3cad4", bold=true } + { name = "*", fg = "#95cdf8", bold=true }, + { name = "*/", fg = "#b7c9d9", bold=true } ] diff --git a/misc/.zshrc b/misc/.zshrc index 7f7c018a..49b990f7 100644 --- a/misc/.zshrc +++ b/misc/.zshrc @@ -364,3 +364,6 @@ alias yayf='yay -Slq | fzf --multi --preview "yay -Sii {1}" --preview-window=dow alias paruf='paru -Slq | fzf --multi --preview "paru -Sii {1}" --preview-window=down:75% | xargs -r paru -S' alias pacf='pacman -Slq | fzf --multi --preview "pacman -Si {1}" --preview-window=down:75% | xargs -r sudo pacman -S' + +# opencode +export PATH=/home/sankalp/.opencode/bin:$PATH