Stuff
This commit is contained in:
parent
0089504e20
commit
061e73126c
3 changed files with 46 additions and 7 deletions
|
@ -81,3 +81,6 @@
|
||||||
|
|
||||||
[url "git@git-p1ap1.divvy.co:"]
|
[url "git@git-p1ap1.divvy.co:"]
|
||||||
insteadOf = https://git-p1ap1.divvy.co
|
insteadOf = https://git-p1ap1.divvy.co
|
||||||
|
|
||||||
|
[url "git@git.hq.bill.com"]
|
||||||
|
insteadOf = git@git-p1ap1.divvy.co
|
||||||
|
|
|
@ -1,33 +1,64 @@
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "javascript"
|
name = "javascript"
|
||||||
|
scope = "source.js"
|
||||||
|
injection-regex = "^(js|javascript)$"
|
||||||
|
file-types = ["js", "jsx", "mjs"]
|
||||||
shebangs = ["deno", "node"]
|
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 }
|
config = { enable = true, lint = true, unstable = true }
|
||||||
language-server = { command = "deno", args = ["lsp"], language-id = "javascript" }
|
language-server = { command = "deno", args = ["lsp"], language-id = "javascript" }
|
||||||
|
indent = { tab-width = 2, unit = " " }
|
||||||
auto-format = true
|
auto-format = true
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "jsx"
|
name = "jsx"
|
||||||
|
scope = "source.jsx"
|
||||||
|
injection-regex = "jsx"
|
||||||
|
file-types = ["jsx"]
|
||||||
shebangs = ["deno", "node"]
|
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 }
|
config = { enable = true, lint = true, unstable = true }
|
||||||
language-server = { command = "deno", args = ["lsp"], language-id = "javascriptreact" }
|
language-server = { command = "deno", args = ["lsp"], language-id = "javascriptreact" }
|
||||||
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
grammar = "javascript"
|
||||||
auto-format = true
|
auto-format = true
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "typescript"
|
name = "typescript"
|
||||||
|
scope = "source.ts"
|
||||||
|
injection-regex = "^(ts|typescript)$"
|
||||||
|
file-types = ["ts"]
|
||||||
shebangs = ["deno", "node"]
|
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 }
|
config = { enable = true, lint = true, unstable = true }
|
||||||
language-server = { command = "deno", args = ["lsp"], language-id = "typescript" }
|
language-server = { command = "deno", args = ["lsp"], language-id = "typescript" }
|
||||||
|
indent = { tab-width = 2, unit = " " }
|
||||||
auto-format = true
|
auto-format = true
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "tsx"
|
name = "tsx"
|
||||||
|
scope = "source.tsx"
|
||||||
|
injection-regex = "^(tsx)$" # |typescript
|
||||||
|
file-types = ["tsx"]
|
||||||
shebangs = ["deno", "node"]
|
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 }
|
config = { enable = true, lint = true, unstable = true }
|
||||||
language-server = { command = "deno", args = ["lsp"], language-id = "typescriptreact" }
|
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
|
auto-format = true
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
|
|
|
@ -10,11 +10,12 @@ set $default_gap 0
|
||||||
xwayland enable
|
xwayland enable
|
||||||
focus_wrapping no
|
focus_wrapping no
|
||||||
gaps inner $default_gap
|
gaps inner $default_gap
|
||||||
smart_borders on|no_gaps
|
smart_borders no_gaps
|
||||||
hide_edge_borders smart_no_gaps
|
hide_edge_borders both
|
||||||
default_border pixel 1
|
default_border pixel 2
|
||||||
focus_follows_mouse no
|
focus_follows_mouse no
|
||||||
mouse_warping none
|
mouse_warping none
|
||||||
|
popup_during_fullscreen smart
|
||||||
|
|
||||||
input type:touchscreen {
|
input type:touchscreen {
|
||||||
events disabled
|
events disabled
|
||||||
|
@ -167,6 +168,8 @@ for_window [title=".*"] floating enable
|
||||||
for_window [app_id=$tilers] floating disable
|
for_window [app_id=$tilers] floating disable
|
||||||
bindsym $mod+shift+alt+f for_window [class=$tilers] floating toggle
|
bindsym $mod+shift+alt+f for_window [class=$tilers] floating toggle
|
||||||
|
|
||||||
|
# for_window [title=".*"] opacity $opacity
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
include $XDG_CONFIG_HOME/lytedev-env/*/sway/config
|
include $XDG_CONFIG_HOME/lytedev-env/*/sway/config
|
||||||
|
|
||||||
|
@ -178,6 +181,8 @@ bar {
|
||||||
swaybar_command waybar
|
swaybar_command waybar
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exec /usr/share/sway/scripts/inactive-windows-transparency.py --opacity 0.95
|
||||||
|
|
||||||
exec mako
|
exec mako
|
||||||
# exec gammastep -t 6500:3500 -l 39.0:-94.5
|
# exec gammastep -t 6500:3500 -l 39.0:-94.5
|
||||||
# exec /usr/lib/kdeconnectd
|
# exec /usr/lib/kdeconnectd
|
||||||
|
|
Reference in a new issue