More
This commit is contained in:
parent
0e8356965e
commit
4338c85a18
|
@ -11,18 +11,18 @@ name = "fish"
|
|||
auto-format = true
|
||||
indent = { tab-width = 2, unit = "\t" }
|
||||
|
||||
# [[language]]
|
||||
# name = "javascript"
|
||||
# scope = "source.js"
|
||||
# injection-regex = "^(js|javascript)$"
|
||||
# file-types = ["js", "jsx", "mjs"]
|
||||
# shebangs = ["deno", "node"]
|
||||
# roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
|
||||
# comment-token = "//"
|
||||
[[language]]
|
||||
name = "javascript"
|
||||
scope = "source.js"
|
||||
injection-regex = "^(js|javascript)$"
|
||||
file-types = ["js", "jsx", "mjs"]
|
||||
shebangs = ["deno", "node"]
|
||||
roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
|
||||
comment-token = "//"
|
||||
# config = { enable = true, lint = true, unstable = true }
|
||||
# language-server = { command = "deno", args = ["lsp"], language-id = "javascript" }
|
||||
# indent = { tab-width = 2, unit = " " }
|
||||
# auto-format = true
|
||||
# language-server = { command = "typescript-language-server", args = ["--stdio"], language-id = "javascript" }
|
||||
indent = { tab-width = 2, unit = "\t" }
|
||||
auto-format = true
|
||||
|
||||
# [[language]]
|
||||
# name = "jsx"
|
||||
|
|
|
@ -39,6 +39,16 @@ config.keys = {
|
|||
mods = 'CTRL',
|
||||
action = wezterm.action.ActivatePaneDirection'Down'
|
||||
},
|
||||
{
|
||||
key = 'Insert',
|
||||
mods = 'SHIFT',
|
||||
action = wezterm.action.PasteFrom'Clipboard'
|
||||
},
|
||||
{
|
||||
key = 'v',
|
||||
mods = 'CTRL|SHIFT',
|
||||
action = wezterm.action.PasteFrom'PrimarySelection'
|
||||
},
|
||||
{
|
||||
key = 'h',
|
||||
mods = 'CTRL',
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
test -d /boot/loader/entries || { echo "no known bootloader"; exit 1; }
|
||||
|
||||
# TODO: see catppuccin-tty for possible alternate implementation?
|
||||
# TODO: possibly just setup catppuccin-tty?
|
||||
|
||||
inject_red="vt.default_red=0x11,0xf9,0xa6,0xf4,0x66,0xae,0xa1,0xf8,0x75,0xf9,0xa6,0xf4,0x66,0xae,0xa1,0xf9"
|
||||
inject_green="vt.default_grn=0x11,0x26,0xe2,0xbf,0xd9,0x81,0xef,0xf8,0x71,0x26,0xe2,0xbf,0xd9,0x81,0xef,0xf8"
|
||||
inject_blue="vt.default_blu=0x11,0x72,0x2e,0x75,0xef,0xff,0xe4,0xf2,0x5e,0x72,0x2e,0x75,0xef,0xff,0xe4,0xf5"
|
||||
|
|
|
@ -22,7 +22,10 @@
|
|||
time
|
||||
; TODO: idle inhibitor?
|
||||
; TODO: get these to align properly?
|
||||
(box :class "mic" (box :class {micMuted == "false" ? "live" : "muted"} {micMuted == "false" ? " " : " "}))
|
||||
(box :class "mic" (
|
||||
box :class {micMuted == "false" ? "live" : "muted"} {micMuted == "false" ? " " : " "}
|
||||
) {micVolume + "%"}
|
||||
)
|
||||
{" " + volume + "%"}
|
||||
{" " + round(EWW_CPU["avg"], 0) + "%"}
|
||||
{" " + round(EWW_RAM["used_mem_perc"], 0) + "%"}
|
||||
|
@ -43,6 +46,9 @@
|
|||
(deflisten volume :initial "0"
|
||||
"pamixer --get-volume; pactl subscribe | grep sink --line-buffered | while read i; do pamixer --get-volume; done")
|
||||
|
||||
(deflisten micVolume :initial "0"
|
||||
"pamixer --default-source --get-volume; pactl subscribe | grep source --line-buffered | while read i; do pamixer --default-source --get-volume; done")
|
||||
|
||||
(deflisten micMuted :initial "false"
|
||||
"pamixer --default-source --get-mute; pactl subscribe | grep source --line-buffered | while read i; do pamixer --default-source --get-mute; done")
|
||||
|
||||
|
|
|
@ -211,3 +211,5 @@ bindm = $mainMod, mouse:273, resizewindow
|
|||
bind = $mainMod CTRL, space, exec, makoctl dismiss
|
||||
bind = $mainMod SHIFT CTRL, space, exec, makoctl restore
|
||||
bind = $mainMod SHIFT, space, exec, makoctl invoke
|
||||
|
||||
bind = $mainMod, E, exec, thunar
|
||||
|
|
Reference in a new issue