From c5618f2f2c5bffb19fc6d92c6aa0faf1bab3bf2f Mon Sep 17 00:00:00 2001 From: aleidk Date: Wed, 27 Aug 2025 14:44:37 -0400 Subject: [PATCH] minor updates --- Configs/atuin/.config/atuin/config.toml | 2 +- .../nvim/.config/nvim/lua/aleidk/options.lua | 3 +- Configs/swaync/.config/swaync/config.json | 41 +++++++++++++++---- 3 files changed, 36 insertions(+), 10 deletions(-) diff --git a/Configs/atuin/.config/atuin/config.toml b/Configs/atuin/.config/atuin/config.toml index 84fd8a8..d8dd788 100644 --- a/Configs/atuin/.config/atuin/config.toml +++ b/Configs/atuin/.config/atuin/config.toml @@ -56,7 +56,7 @@ filter_mode = "global" ## which filter mode to use when atuin is invoked from a shell up-key binding ## the accepted values are identical to those of "filter_mode" ## leave unspecified to use same mode set in "filter_mode" -filter_mode_shell_up_key_binding = "host" +filter_mode_shell_up_key_binding = "session" ## which search mode to use when atuin is invoked from a shell up-key binding ## the accepted values are identical to those of "search_mode" diff --git a/Configs/nvim/.config/nvim/lua/aleidk/options.lua b/Configs/nvim/.config/nvim/lua/aleidk/options.lua index d6f7c93..816ac44 100644 --- a/Configs/nvim/.config/nvim/lua/aleidk/options.lua +++ b/Configs/nvim/.config/nvim/lua/aleidk/options.lua @@ -164,11 +164,12 @@ vim.lsp.enable({ "biome", "fish_lsp", "hyprls", + "intelephense", + "jsonls", "lua_ls", "nushell", "pyright", "ruff", - "intelephense", -- "rust_analyzer", -- managed by rustacean.nvim }) diff --git a/Configs/swaync/.config/swaync/config.json b/Configs/swaync/.config/swaync/config.json index 41d2483..1ab7b9c 100644 --- a/Configs/swaync/.config/swaync/config.json +++ b/Configs/swaync/.config/swaync/config.json @@ -101,18 +101,28 @@ "image-size": 80 }, "buttons-grid": { + "buttons-per-row": 5, "actions": [ { - "label": "󰄜", - "type": "normal", - "command": "scrcpy", - "right-click-command": "scrcpy --help | head -20 | foot -e less" + "label": "󰒍", + "type": "toggle", + "command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && tailscale up || tailscale down'", + "update-command": "sh -c 'tailscale status >/dev/null && echo true || echo false'" }, { - "label": "󰌘", - "type": "normal", - "command": "kdeconnect-app", - "right-click-command": "kdeconnect-settings" + "label": "", + "type": "toggle", + "command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && systemctl --user stop hypridle || systemctl --user start hypridle'", + "update-command": "sh -c 'systemctl --user is-active hypridle -q && echo false || echo true'" + }, + + { + "label": "", + "type": "toggle", + "command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && bluetoothctl -- power off || bluetoothctl -- power on'", + "update-command": "sh -c '[[ -n $(bluetoothctl show | grep \\\"PowerState: on\\\") ]] && echo true || echo false'", + "right-click-command": "blueman-manager", + "tooltip": "Bluetooth" }, { "label": " ", @@ -127,6 +137,21 @@ "active": false, "command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && pactl set-sink-mute @DEFAULT_SINK@ 1 || pactl set-sink-mute @DEFAULT_SINK@ 0'", "update-command": "sh -c '[[ $(pactl get-sink-mute @DEFAULT_SINK@) == *yes* ]] && echo true || echo false'" + }, + { + "label": "󰜉", + "command": "reboot", + "tooltip": "Reboot" + }, + { + "label": "⏻", + "command": "shutdown now", + "tooltip": "Power Off" + }, + { + "label": "󰍁", + "command": "hyprlock", + "tooltip": "Lock" } ] }