summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorottjk <joshott16@gmail.com>2024-03-19 04:39:41 -0400
committerottjk <joshott16@gmail.com>2024-03-19 04:39:41 -0400
commit5ed3c77c0bc3741be2dc8896fe3947b1972c0144 (patch)
tree8c0d0ead566227cec82a0f3669bed0c7535fe405
parent313f7738fea3ab0d7f477c8c760037749ea7b735 (diff)
downloaddotfiles-5ed3c77c0bc3741be2dc8896fe3947b1972c0144.tar.gz
dotfiles-5ed3c77c0bc3741be2dc8896fe3947b1972c0144.zip
couple niceties
-rw-r--r--nvim/snips/tex/symbols.lua16
-rw-r--r--starship/starship.toml1
-rw-r--r--sway/config2
3 files changed, 19 insertions, 0 deletions
diff --git a/nvim/snips/tex/symbols.lua b/nvim/snips/tex/symbols.lua
index 35d0575..ab63521 100644
--- a/nvim/snips/tex/symbols.lua
+++ b/nvim/snips/tex/symbols.lua
@@ -188,6 +188,18 @@ return {
{ condition = h.in_mathzone }
),
+ n.s({trig="'ti", regTrig=true, snippetType="autosnippet", priority=100},
+ n.fmta("\\tilde{<>}",
+ { n.i(1) }),
+ { condition = h.in_mathzone }
+ ),
+ n.s({trig=[[(\\[a-zA-Z]+|[A-Za-z0-9]|\\[a-z]+\{\\?[A-Za-z0-9]+\})'ti]],
+ wordTrig=false, trigEngine="ecma", snippetType="autosnippet", priority=200},
+ n.fmta("\\tilde{<>}",
+ { n.f(function(_, parent) return parent.captures[1] end) }),
+ { condition = h.in_mathzone }
+ ),
+
n.s({trig="mcal", snippetType="autosnippet"},
n.fmta("\\mathcal{<>}",
{ n.i(1) }),
@@ -330,6 +342,10 @@ return {
{ n.t("\\xi") },
{ condition = h.in_mathzone }
),
+ n.s({trig="'ka", snippetType="autosnippet"},
+ { n.t("\\kappa") },
+ { condition = h.in_mathzone }
+ ),
n.s({trig="'ci", snippetType="autosnippet"},
{ n.t("\\circ") },
{ condition = h.in_mathzone }
diff --git a/starship/starship.toml b/starship/starship.toml
index f7a2ad6..c71a936 100644
--- a/starship/starship.toml
+++ b/starship/starship.toml
@@ -47,6 +47,7 @@ Linux = "󰌽"
Gentoo = "󰣨"
Fedora = "󰣛"
Arch = "󰣇"
+Ubuntu = "󰕈"
[username]
show_always = true
diff --git a/sway/config b/sway/config
index 8c8b439..8172bf7 100644
--- a/sway/config
+++ b/sway/config
@@ -180,6 +180,7 @@ bindsym $mod+x exec xournalpp
# bindsym $mod+c exec "wezterm start --cwd ~/nextcloud/notebook/tex xch nvim"
bindsym $mod+c exec "lectern open"
bindsym $mod+d exec "wezterm start --cwd ~/nextcloud/notebook/md xch nvim"
+bindsym $mod+Shift+t exec "wezterm start --class 'float'"
bindsym $mod+Shift+c exec "wezterm start --class 'numbat' numbat"
bindsym $mod+Shift+g exec "feh -Z -F -B black /home/josh/Pictures/game.png"
@@ -197,6 +198,7 @@ gaps outer 0px
title_align center
default_border pixel
+for_window [app_id="float"] floating enable
for_window [app_id="numbat"] floating enable
for_window [app_id="xoppdoggin"] floating enable; resize set 1800 1000
for_window [class="Inkscape"] floating enable; resize set 1800 1000