More
This commit is contained in:
parent
0e8356965e
commit
4338c85a18
5 changed files with 33 additions and 12 deletions
|
@ -11,18 +11,18 @@ name = "fish"
|
||||||
auto-format = true
|
auto-format = true
|
||||||
indent = { tab-width = 2, unit = "\t" }
|
indent = { tab-width = 2, unit = "\t" }
|
||||||
|
|
||||||
# [[language]]
|
[[language]]
|
||||||
# name = "javascript"
|
name = "javascript"
|
||||||
# scope = "source.js"
|
scope = "source.js"
|
||||||
# injection-regex = "^(js|javascript)$"
|
injection-regex = "^(js|javascript)$"
|
||||||
# file-types = ["js", "jsx", "mjs"]
|
file-types = ["js", "jsx", "mjs"]
|
||||||
# shebangs = ["deno", "node"]
|
shebangs = ["deno", "node"]
|
||||||
# roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
|
roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
|
||||||
# comment-token = "//"
|
comment-token = "//"
|
||||||
# config = { enable = true, lint = true, unstable = true }
|
# config = { enable = true, lint = true, unstable = true }
|
||||||
# language-server = { command = "deno", args = ["lsp"], language-id = "javascript" }
|
# language-server = { command = "typescript-language-server", args = ["--stdio"], language-id = "javascript" }
|
||||||
# indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = "\t" }
|
||||||
# auto-format = true
|
auto-format = true
|
||||||
|
|
||||||
# [[language]]
|
# [[language]]
|
||||||
# name = "jsx"
|
# name = "jsx"
|
||||||
|
|
|
@ -39,6 +39,16 @@ config.keys = {
|
||||||
mods = 'CTRL',
|
mods = 'CTRL',
|
||||||
action = wezterm.action.ActivatePaneDirection'Down'
|
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',
|
key = 'h',
|
||||||
mods = 'CTRL',
|
mods = 'CTRL',
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
test -d /boot/loader/entries || { echo "no known bootloader"; exit 1; }
|
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_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_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"
|
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
|
time
|
||||||
; TODO: idle inhibitor?
|
; TODO: idle inhibitor?
|
||||||
; TODO: get these to align properly?
|
; 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 + "%"}
|
{" " + volume + "%"}
|
||||||
{" " + round(EWW_CPU["avg"], 0) + "%"}
|
{" " + round(EWW_CPU["avg"], 0) + "%"}
|
||||||
{" " + round(EWW_RAM["used_mem_perc"], 0) + "%"}
|
{" " + round(EWW_RAM["used_mem_perc"], 0) + "%"}
|
||||||
|
@ -43,6 +46,9 @@
|
||||||
(deflisten volume :initial "0"
|
(deflisten volume :initial "0"
|
||||||
"pamixer --get-volume; pactl subscribe | grep sink --line-buffered | while read i; do pamixer --get-volume; done")
|
"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"
|
(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")
|
"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 CTRL, space, exec, makoctl dismiss
|
||||||
bind = $mainMod SHIFT CTRL, space, exec, makoctl restore
|
bind = $mainMod SHIFT CTRL, space, exec, makoctl restore
|
||||||
bind = $mainMod SHIFT, space, exec, makoctl invoke
|
bind = $mainMod SHIFT, space, exec, makoctl invoke
|
||||||
|
|
||||||
|
bind = $mainMod, E, exec, thunar
|
||||||
|
|
Reference in a new issue