From 68a69e962f6c6966fae1f8fe6efdb0951326ec84 Mon Sep 17 00:00:00 2001 From: Seymur Bagirov Date: Sat, 10 May 2025 00:10:27 +0400 Subject: [PATCH] misc: changes --- nvim/lazy-lock.json | 42 ++++---- waybar/config.jsonc | 236 ++++---------------------------------------- waybar/style.css | 58 +++++------ 3 files changed, 71 insertions(+), 265 deletions(-) diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 977f62e..4ba4edd 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -4,42 +4,42 @@ "barbecue": { "branch": "main", "commit": "cd7e7da622d68136e13721865b4d919efd6325ed" }, "blink.cmp": { "branch": "main", "commit": "cb5e346d9e0efa7a3eee7fd4da0b690c48d2a98e" }, "cloak.nvim": { "branch": "main", "commit": "648aca6d33ec011dc3166e7af3b38820d01a71e4" }, - "codesnap.nvim": { "branch": "main", "commit": "6400480aa6cc366cbd931146c429aaa64680dab9" }, + "codesnap.nvim": { "branch": "main", "commit": "be6d6b9a3b5e6999edbda76b16dace03d9bfcd3d" }, "colorful-menu.nvim": { "branch": "master", "commit": "f80feb8a6706f965321aff24d0ed3849f02a7f77" }, - "conform.nvim": { "branch": "master", "commit": "eebc724d12c5579d733d1f801386e0ceb909d001" }, + "conform.nvim": { "branch": "master", "commit": "6632e7d788a85bf8405ea0c812d343fc308b7b8c" }, "crates.nvim": { "branch": "main", "commit": "85356807f3a0e9a3f7015586f3a010170d338686" }, "csharpls-extended-lsp.nvim": { "branch": "master", "commit": "53c6dfc9790d262edd3d6a4483294bedf53d70f5" }, "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, - "friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" }, - "gitsigns.nvim": { "branch": "main", "commit": "17ab794b6fce6fce768430ebc925347e349e1d60" }, - "go.nvim": { "branch": "master", "commit": "ef38820e413e10f47d83688dee41785bd885fb2a" }, - "guihua.lua": { "branch": "master", "commit": "d783191eaa75215beae0c80319fcce5e6b3beeda" }, + "friendly-snippets": { "branch": "main", "commit": "31f2a2657b6261724313281fe0d8ba6f43f4a4fa" }, + "gitsigns.nvim": { "branch": "main", "commit": "02eafb1273afec94447f66d1a43fc5e477c2ab8a" }, + "go.nvim": { "branch": "master", "commit": "ecffa1757ac8e84e1e128f12e0fdbf8418354f6f" }, + "guihua.lua": { "branch": "master", "commit": "fef6203c57e0e8803f4f7409d2499c2cc1afafb1" }, "harpoon": { "branch": "harpoon2", "commit": "ed1f853847ffd04b2b61c314865665e1dadf22c7" }, "image.nvim": { "branch": "master", "commit": "2e2d28b7734b5efdfc1219f4da8a46c761587bc2" }, "indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" }, "kitty-scrollback.nvim": { "branch": "main", "commit": "6c24f1979afe4c6b0310117b76d59d672224afd7" }, "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, "lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" }, - "leap.nvim": { "branch": "main", "commit": "03eaa2e0c0ec9436dea0e954bc47564ff3ca9196" }, + "leap.nvim": { "branch": "main", "commit": "8a0efa79133fee211017d769c8031512192008b3" }, "lsp-zero.nvim": { "branch": "v3.x", "commit": "77550f2f6cbf0959ef1583d845661af075f3442b" }, - "lualine.nvim": { "branch": "master", "commit": "0ea56f91b7f51a37b749c050a5e5dfdd56b302b3" }, + "lualine.nvim": { "branch": "master", "commit": "86fe39534b7da729a1ac56c0466e76f2c663dc42" }, "luvit-meta": { "branch": "main", "commit": "1df30b60b1b4aecfebc785aa98943db6c6989716" }, - "markdown.nvim": { "branch": "main", "commit": "8bb0d4725cc4909a603158d44ff28b6158ad9278" }, + "markdown.nvim": { "branch": "main", "commit": "dfc1299d9f32b53b34b7ac6c3a7553b5fd29977f" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" }, "mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" }, "noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" }, "nui.nvim": { "branch": "main", "commit": "8d3bce9764e627b62b07424e0df77f680d47ffdb" }, - "nvim-autopairs": { "branch": "master", "commit": "2a406cdd8c373ae7fe378a9e062a5424472bd8d8" }, - "nvim-dap": { "branch": "master", "commit": "7aade9e99bef5f0735cf966e715b3ce45515d786" }, - "nvim-dap-ui": { "branch": "master", "commit": "bc81f8d3440aede116f821114547a476b082b319" }, + "nvim-autopairs": { "branch": "master", "commit": "4d74e75913832866aa7de35e4202463ddf6efd1b" }, + "nvim-dap": { "branch": "master", "commit": "98bf130702eaafad8567c0e3ea1171c2552d58bb" }, + "nvim-dap-ui": { "branch": "master", "commit": "881a69e25bd6658864fab47450025490b74be878" }, "nvim-lightbulb": { "branch": "master", "commit": "aa3a8b0f4305b25cfe368f6c9be9923a7c9d0805" }, - "nvim-lspconfig": { "branch": "master", "commit": "4ea9083b6d3dff4ddc6da17c51334c3255b7eba5" }, + "nvim-lspconfig": { "branch": "master", "commit": "32b6a6449aaba11461fffbb596dd6310af79eea4" }, "nvim-navbuddy": { "branch": "master", "commit": "f22bac988f2dd073601d75ba39ea5636ab6e38cb" }, - "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, + "nvim-navic": { "branch": "master", "commit": "39231352aec0d1e09cebbffdd9dc20a5dc691ffe" }, "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, - "nvim-notify": { "branch": "master", "commit": "22f29093eae7785773ee9d543f8750348b1a195c" }, - "nvim-recorder": { "branch": "main", "commit": "3f4aac35b71d5db7216ffe6ae6f3f8d146c5ea52" }, - "nvim-treesitter": { "branch": "master", "commit": "0e21ee8df6235511c02bab4a5b391d18e165a58d" }, + "nvim-notify": { "branch": "master", "commit": "b5825cf9ee881dd8e43309c93374ed5b87b7a896" }, + "nvim-recorder": { "branch": "main", "commit": "acced0860bcc4396ff5c7b0ef55c2364df8226b0" }, + "nvim-treesitter": { "branch": "master", "commit": "684eeac91ed8e297685a97ef70031d19ac1de25a" }, "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, "nvim-ufo": { "branch": "main", "commit": "a026364df62e88037b26d37c9f14c17c006fd577" }, "nvim-web-devicons": { "branch": "master", "commit": "c90dee4e930ab9f49fa6d77f289bff335b49e972" }, @@ -49,9 +49,9 @@ "persisted.nvim": { "branch": "main", "commit": "d35a3ed973e17defd8800acd46a0c893498a2671" }, "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, "promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" }, - "rainbow-delimiters.nvim": { "branch": "master", "commit": "de39919a57e1a40a4c7dc5bae0de276f9c616ef3" }, - "roslyn.nvim": { "branch": "main", "commit": "09541daaefaa61a422a4ae979dcc8d1b5cd37e42" }, - "rustaceanvim": { "branch": "master", "commit": "3f327d15a3c1ed48b1e1087e16873a28a39768c2" }, + "rainbow-delimiters.nvim": { "branch": "master", "commit": "55ad4fb76ab68460f700599b7449385f0c4e858e" }, + "roslyn.nvim": { "branch": "main", "commit": "d06aa2f6c5990dd195eb12e68bc5a96b6fd23bff" }, + "rustaceanvim": { "branch": "master", "commit": "69636cedf0d6aabf0eac3dfbce24883fe1051a3d" }, "snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" }, "tailwindcss-colorizer-cmp.nvim": { "branch": "main", "commit": "3d3cd95e4a4135c250faf83dd5ed61b8e5502b86" }, "telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" }, @@ -60,7 +60,7 @@ "undotree": { "branch": "master", "commit": "b951b87b46c34356d44aa71886aecf9dd7f5788a" }, "vim-dadbod": { "branch": "master", "commit": "9f0ca8bcef704659820a95c3bbd2c262583a66a1" }, "vim-dadbod-completion": { "branch": "master", "commit": "a8dac0b3cf6132c80dc9b18bef36d4cf7a9e1fe6" }, - "vim-dadbod-ui": { "branch": "master", "commit": "685e75b34ee0e12f92ec4507ea8bb7f1aaa936e5" }, + "vim-dadbod-ui": { "branch": "master", "commit": "460432301a5cb280ea265ddfa15c9f3dcd1d26b7" }, "vim-dotenv": { "branch": "master", "commit": "5c51cfcf8d87280d6414e03cd6b253eb70ecb800" }, "vim-fugitive": { "branch": "master", "commit": "4a745ea72fa93bb15dd077109afbb3d1809383f2" }, "vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" }, diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 7031e6a..2a75fcf 100755 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -1,201 +1,4 @@ [ -// { -// "layer": "top", // Waybar at top layer -// "position": "top", // Waybar position (top|bottom|left|right), -// "name": "top", -// // "height": 30, // Waybar height (to be removed for auto height) -// // "width": 1280, // Waybar width -// // "gtk-layer-shell": "false", -// // Choose the order of the modules -// "modules-left": ["tray", "custom/notification", "custom/media"], -// "modules-center": ["hyprland/window"], -// "modules-right": ["cpu", "memory"], -// "mode": "default", -// "sway/mode": { -// "format": " {}" -// }, -// "hyprland/workspaces": { -// "format": "{name}", -// "persistent_workspaces": { -// "*": 5, // 5 workspaces by default on every monitor -// }, -// "show-special": true -// }, -// "hyprland/window": { -// "format": "👉 {}", -// "rewrite": { -// "(.*) — Mozilla Firefox": "🌎 $1", -// }, -// "separate-outputs": true -// }, -// "custom/layout": { -// "tooltip": false, -// "exec": "swaymsg -mrt subscribe '[\"input\"]' | jq -r --unbuffered \"select(.change == \\\"xkb_layout\\\") | .input | select(.type == \\\"keyboard\\\") | .xkb_active_layout_name | .[0:2]\"" -// }, -// "custom/zypper": { -// "format": "{} ", -// "interval": 3600, -// "exec": "zypper lu | grep 'v |' | wc -l; echo 'packages to update'", -// "exec-if": "exit 0", -// // "on-click": "exec alacritty -e sudo sh -c 'zypper ref; zypper dup; pkill -SIGRTMIN+8 waybar'", -// "signal": 8 -// }, -// // Modules configuration -// // "hyprland/workspaces": { -// // "disable-scroll": true, -// // "all-outputs": true, -// // "format": "{name}: {icon}", -// // "format-icons": { -// // "1": "", -// // "2": "", -// // "3": "", -// // "4": "", -// // "5": "", -// // "urgent": "", -// // "focused": "", -// // "default": "" -// // } -// // }, -// "idle_inhibitor": { -// "format": "{icon}", -// "format-icons": { -// "activated": "", -// "deactivated": "" -// } -// }, -// "tray": { -// // "icon-size": 21, -// "spacing": 10 -// }, -// "cpu": { -// "format": "{usage}% ", -// "tooltip": true -// }, -// "memory": { -// "format": "{}% " -// }, -// "temperature": { -// // "thermal-zone": 2, -// // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", -// "critical-threshold": 80, -// // "format-critical": "{temperatureC}°C {icon}", -// "format": "{temperatureC}°C {icon}", -// "format-icons": ["", "", ""] -// }, -// "backlight": { -// // "device": "acpi_video1", -// "format": "{percent}% {icon}", -// "format-icons": ["", ""] -// }, -// "battery": { -// "states": { -// // "good": 95, -// "warning": 30, -// "critical": 15 -// }, -// "format": "{icon}", -// "format-charging": "", -// "format-plugged": "", -// "format-alt": "{capacity}% {time}", -// "format-icons": ["", "", "", "", ""] -// }, -// "battery#bat2": { -// "bat": "BAT2" -// }, -// "network": { -// // "interface": "wlp2*", // (Optional) To force the use of this interface -// "format-wifi": "", -// "format-ethernet": "", -// "format-linked": "", -// "format-disconnected": "⚠", -// "format-alt": "{ifname} {essid} ({signalStrength}%)" -// }, -// "pulseaudio": { -// "format": "{volume}% {icon}", -// "format-bluetooth": "{volume}% {icon}", -// "format-muted": "", -// "format-icons": { -// "headphone": "", -// "hands-free": "", -// "headset": "", -// "phone": "", -// "portable": "", -// "car": "", -// "default": ["", ""] -// }, -// "scroll-step": 1, -// "on-click": "pavucontrol", -// "ignored-sinks": ["Easy Effects Sink"] -// }, -// "custom/scratchpad": { -// "format-text": "{}", -// "return-type": "json", -// "interval": 3, -// "exec": "/usr/share/openSUSEway/helpers/scratchpad-indicator.sh 2> /dev/null", -// "exec-if": "exit 0", -// "on-click": "swaymsg 'scratchpad show'", -// "on-click-right": "swaymsg 'move scratchpad'" -// }, -// // "custom/notification": { -// // "tooltip": true, -// // "format": "{icon}", -// // "format-icons": { -// // "notification": "", -// // "none": " ", -// // "dnd-notification": "", -// // "dnd-none": " " -// // }, -// // "return-type": "json", -// // "exec-if": "which swaync-client", -// // "exec": "swaync-client -swb", -// // "on-click": "swaync-client -t -sw", -// // "on-click-right": "swaync-client -d -sw", -// // "escape": true -// // }, -// "hyprland/language": { -// "format": "{short} {variant}", -// // "keyboard-name": "at-translated-set-2-keyboard" -// }, -// "user": { -// "format": "{user} (up {work_d} days ↑)", -// "interval": 60, -// "height": 30, -// "width": 30, -// "icon": true, -// }, -// "custom/notification": { -// "tooltip": false, -// "format": "{icon}", -// "format-icons": { -// "notification": "", -// "none": "", -// "dnd-notification": "", -// "dnd-none": "", -// "inhibited-notification": "", -// "inhibited-none": "", -// "dnd-inhibited-notification": "", -// "dnd-inhibited-none": "" -// }, -// "return-type": "json", -// "exec-if": "which swaync-client", -// "exec": "swaync-client -swb", -// "on-click": "sleep 0.1 && swaync-client -t -sw", -// "on-click-right": "swaync-client -d -sw", -// "escape": true -// }, -// "custom/media": { -// "format": "{icon} {}", -// "escape": true, -// "return-type": "json", -// "max-length": 40, -// "on-click": "playerctl play-pause", -// "on-click-right": "playerctl stop", -// "smooth-scrolling-threshold": 5, // This value was tested using a trackpad, it should be lowered if using a mouse. -// "on-scroll-up": "playerctl next", -// "on-scroll-down": "playerctl previous", -// "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null", // Script in resources/custom_modules folder -// } -// }, { "layer": "top", "position": "bottom", @@ -242,28 +45,31 @@ // "keyboard-name": "at-translated-set-2-keyboard" }, "pulseaudio": { - "format": "{volume}% {icon}", - "format-bluetooth": "{volume}% {icon}", - "format-muted": "", - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", ""] - }, + // "format": "{volume}% {icon}", + // "format-bluetooth": "{volume}% {icon}", + // "format-muted": "", + // "format-icons": { + // "alsa_output.pci-0000_00_1f.3.analog-stereo": "", + // "alsa_output.pci-0000_00_1f.3.analog-stereo-muted": "", + // "headphone": "", + // "hands-free": "", + // "headset": "", + // "phone": "", + // "phone-muted": "", + // "portable": "", + // "car": "", + // "default": ["", ""] + // }, "scroll-step": 1, "on-click": "pavucontrol", "ignored-sinks": ["Easy Effects Sink"] }, - //"wireplumber": { - // "format": "{volume}% {icon}", - // "format-muted": "", - // "on-click": "pavucontrol", - // "format-icons": ["", "", ""] - //}, + "wireplumber": { + "format": "{volume}% {icon}", + "format-muted": "", + "on-click": "pavucontrol", + "format-icons": ["", "", ""] + }, "temperature": { // "thermal-zone": 2, "hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", diff --git a/waybar/style.css b/waybar/style.css index d2e4c39..9e36f44 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -1,38 +1,38 @@ * { - border: none; + border: none; border-radius: 0; - font-family: "JetBrainsMono NF"; - font-size: 15px; + font-family: "JetBrainsMono NF"; + font-size: 15px; font-weight: 600; - box-shadow: none; - text-shadow: none; + box-shadow: none; + text-shadow: none; transition-duration: 0s; } window#waybar { /* color: rgba(53, 185, 171, 1); */ color: whitesmoke; - background-color: rgba(38,40,42, 0.92); + background-color: rgba(38, 40, 42, 0.92); border-bottom: 2px solid rgba(75, 0, 130, 1); border-radius: 100px; /* border-top: 2px solid rgba(75, 0, 130, 1); */ } -window#waybar.bottom{ +window#waybar.bottom { background-color: transparent; border-bottom: none; } -window#waybar.bottom > * > *{ - background-color: rgba(38,40,42, 0.8); +window#waybar.bottom>*>* { + background-color: rgba(38, 40, 42, 0.8); border-radius: 100px; } -window#waybar.bottom > * > :nth-child(1){ +window#waybar.bottom>*> :nth-child(1) { border: 2px solid #e5c07b; } -window#waybar.bottom > * > :nth-child(2){ +window#waybar.bottom>*> :nth-child(2) { border: 2px solid #abb2bf; padding-right: 10px; padding-left: 10px; @@ -41,7 +41,7 @@ window#waybar.bottom > * > :nth-child(2){ -window#waybar.bottom > * > :nth-child(3){ +window#waybar.bottom>*> :nth-child(3) { border: 2px solid #61afef; } @@ -51,12 +51,10 @@ window#waybar.solo { color: whitesmoke; } -#workspaces { - -} +#workspaces {} #custom-scratchpad { - margin: 0px 5px; + margin: 0px 5px; padding: 0px 5px; } @@ -76,9 +74,9 @@ window#waybar.solo { /* background-color: rgba(255, 255, 255, 0.4); */ } -#workspaces button.persistent{ +#workspaces button.persistent { /* color: rgba(115, 186, 37, 1); */ - color:whitesmoke; + color: whitesmoke; } #workspaces button.urgent { @@ -86,12 +84,12 @@ window#waybar.solo { color: rgba(255, 210, 4, 1); } -#workspaces button:hover{ +#workspaces button:hover { background-color: rgba(23, 63, 79, 0.4); border-radius: 100px; } -#workspaces button.special{ +#workspaces button.special { color: blueviolet; } @@ -103,17 +101,18 @@ window#waybar.solo { #temperature, #custom-layout, #backlight, -#custom-zypper -{ +#custom-zypper, +#wireplumber { margin: 0px 6px 0px 10px; - min-width: 30px; + min-width: 30px; } -#cpu, #memory{ +#cpu, +#memory { margin: 0px 6px 0px 3px; } -#language{ +#language { margin: 0px 3px 0px 10px; } @@ -122,7 +121,7 @@ window#waybar.solo { } #battery.warning { - color: rgba(255, 210, 4, 1); + color: rgba(255, 210, 4, 1); } #battery.critical { @@ -134,13 +133,14 @@ window#waybar.solo { } #custom-notification { - font-family: "NotoSansMono Nerd Font"; - margin: 0px 6px 0px 8px; + font-family: "NotoSansMono Nerd Font"; + margin: 0px 6px 0px 8px; } -#tray{ +#tray { margin-left: 5px; } + /* #pulseaudio-slider slider { */ /* min-height: 0px; */ /* min-width: 0px; */