minor updates
This commit is contained in:
parent
8f3259a19a
commit
c5618f2f2c
3 changed files with 36 additions and 10 deletions
|
|
@ -56,7 +56,7 @@ filter_mode = "global"
|
||||||
## which filter mode to use when atuin is invoked from a shell up-key binding
|
## 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"
|
## the accepted values are identical to those of "filter_mode"
|
||||||
## leave unspecified to use same mode set in "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
|
## 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"
|
## the accepted values are identical to those of "search_mode"
|
||||||
|
|
|
||||||
|
|
@ -164,11 +164,12 @@ vim.lsp.enable({
|
||||||
"biome",
|
"biome",
|
||||||
"fish_lsp",
|
"fish_lsp",
|
||||||
"hyprls",
|
"hyprls",
|
||||||
|
"intelephense",
|
||||||
|
"jsonls",
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
"nushell",
|
"nushell",
|
||||||
"pyright",
|
"pyright",
|
||||||
"ruff",
|
"ruff",
|
||||||
"intelephense",
|
|
||||||
-- "rust_analyzer", -- managed by rustacean.nvim
|
-- "rust_analyzer", -- managed by rustacean.nvim
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -101,18 +101,28 @@
|
||||||
"image-size": 80
|
"image-size": 80
|
||||||
},
|
},
|
||||||
"buttons-grid": {
|
"buttons-grid": {
|
||||||
|
"buttons-per-row": 5,
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
"label": "",
|
"label": "",
|
||||||
"type": "normal",
|
"type": "toggle",
|
||||||
"command": "scrcpy",
|
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && tailscale up || tailscale down'",
|
||||||
"right-click-command": "scrcpy --help | head -20 | foot -e less"
|
"update-command": "sh -c 'tailscale status >/dev/null && echo true || echo false'"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "",
|
"label": "",
|
||||||
"type": "normal",
|
"type": "toggle",
|
||||||
"command": "kdeconnect-app",
|
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && systemctl --user stop hypridle || systemctl --user start hypridle'",
|
||||||
"right-click-command": "kdeconnect-settings"
|
"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": " ",
|
"label": " ",
|
||||||
|
|
@ -127,6 +137,21 @@
|
||||||
"active": false,
|
"active": false,
|
||||||
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && pactl set-sink-mute @DEFAULT_SINK@ 1 || pactl set-sink-mute @DEFAULT_SINK@ 0'",
|
"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'"
|
"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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue