This commit is contained in:
Daniel Flanagan 2023-04-07 22:28:29 -05:00
parent 0089504e20
commit 061e73126c
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
3 changed files with 46 additions and 7 deletions

View File

@ -81,3 +81,6 @@
[url "git@git-p1ap1.divvy.co:"]
insteadOf = https://git-p1ap1.divvy.co
[url "git@git.hq.bill.com"]
insteadOf = git@git-p1ap1.divvy.co

View File

@ -1,33 +1,64 @@
[[language]]
name = "javascript"
scope = "source.js"
injection-regex = "^(js|javascript)$"
file-types = ["js", "jsx", "mjs"]
shebangs = ["deno", "node"]
roots = ["deno.json", "package.json", "tsconfig.json"]
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]]
name = "jsx"
scope = "source.jsx"
injection-regex = "jsx"
file-types = ["jsx"]
shebangs = ["deno", "node"]
roots = ["deno.json", "package.json", "tsconfig.json"]
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 = "javascriptreact" }
indent = { tab-width = 2, unit = " " }
grammar = "javascript"
auto-format = true
[[language]]
name = "typescript"
scope = "source.ts"
injection-regex = "^(ts|typescript)$"
file-types = ["ts"]
shebangs = ["deno", "node"]
roots = ["deno.json", "package.json", "tsconfig.json"]
roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
config = { enable = true, lint = true, unstable = true }
language-server = { command = "deno", args = ["lsp"], language-id = "typescript" }
indent = { tab-width = 2, unit = " " }
auto-format = true
[[language]]
name = "tsx"
scope = "source.tsx"
injection-regex = "^(tsx)$" # |typescript
file-types = ["tsx"]
shebangs = ["deno", "node"]
roots = ["deno.json", "package.json", "tsconfig.json"]
roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
config = { enable = true, lint = true, unstable = true }
language-server = { command = "deno", args = ["lsp"], language-id = "typescriptreact" }
indent = { tab-width = 2, unit = " " }
auto-format = true
[[language]]
name = "jsonc"
scope = "source.jsonc"
injection-regex = "^(jsonc)$"
file-types = ["jsonc"]
shebangs = ["deno", "node"]
roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
config = { enable = true, lint = true, unstable = true }
language-server = { command = "deno", args = ["lsp"], language-id = "jsonc" }
indent = { tab-width = 2, unit = " " }
auto-format = true
[[language]]

View File

@ -10,11 +10,12 @@ set $default_gap 0
xwayland enable
focus_wrapping no
gaps inner $default_gap
smart_borders on|no_gaps
hide_edge_borders smart_no_gaps
default_border pixel 1
smart_borders no_gaps
hide_edge_borders both
default_border pixel 2
focus_follows_mouse no
mouse_warping none
popup_during_fullscreen smart
input type:touchscreen {
events disabled
@ -167,6 +168,8 @@ for_window [title=".*"] floating enable
for_window [app_id=$tilers] floating disable
bindsym $mod+shift+alt+f for_window [class=$tilers] floating toggle
# for_window [title=".*"] opacity $opacity
include /etc/sway/config.d/*
include $XDG_CONFIG_HOME/lytedev-env/*/sway/config
@ -178,6 +181,8 @@ bar {
swaybar_command waybar
}
exec /usr/share/sway/scripts/inactive-windows-transparency.py --opacity 0.95
exec mako
# exec gammastep -t 6500:3500 -l 39.0:-94.5
# exec /usr/lib/kdeconnectd