1
Fork 0

Fix some stuff

- save vvvvvv game files
- launch vesktop on hyprland startup
This commit is contained in:
prescientmoon 2024-10-14 10:44:18 +02:00
parent 3c99db8650
commit 8fbb994353
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
5 changed files with 126 additions and 106 deletions

View file

@ -1274,11 +1274,11 @@
"purifix": "purifix"
},
"locked": {
"lastModified": 1728796450,
"narHash": "sha256-16AGyN4HddZXQFaxYZjPVYxSd4b2pKJ7wUwiNgHHXQs=",
"lastModified": 1728837827,
"narHash": "sha256-3BIeNuntiR0xrKIPNRbp7EInWRjgJ1LzWJI/HiQ68k0=",
"owner": "prescientmoon",
"repo": "miros",
"rev": "21e1332cc763049e27f6597967b3ac2f73fa7599",
"rev": "457414c4dd64dae05414f8e4181d8be7672fb89b",
"type": "github"
},
"original": {

View file

@ -5,6 +5,7 @@
directories = [
".factorio"
"${config.xdg.dataHome}/Steam"
"${config.xdg.dataHome}/VVVVVV"
];
};
# }}}

View file

@ -1025,11 +1025,13 @@ let
];
formatter = "purs-tidy";
};
lua_ls.settings.Lua = {
format.enable = true;
# Do not send telemetry data containing a randomized but unique identifier
telemetry.enable = false;
};
texlab.settings.texlab = {
build = {
args = [
@ -1050,6 +1052,8 @@ let
onEdit = true;
};
};
nixd.offset_encoding = "utf-8";
nixd.settings.nixd =
let
satellite = "${config.xdg.userDirs.extraConfig.XDG_PROJECTS_DIR}/satellite";
@ -1067,10 +1071,13 @@ let
home-manager.expr = ''(builtins.getFlake "${satellite}").homeConfigurations."${config.home.username}@${hostname}".options'';
};
};
tinymist.settings.exportPdf = "onType";
tinymist.offset_encoding = "utf-8";
cssls = { };
jsonls = { };
dhall_lsp_server = { };
typst_lsp.exportPdf = "onType";
elmls = { };
csharp_ls = { };
};
@ -1426,7 +1433,7 @@ let
package = "kaarmu/typst.vim";
dependencies.nix = lib.lists.optionals packedTargets.typst [
upkgs.typst
upkgs.typst-lsp
upkgs.tinymist
upkgs.typstfmt
];

View file

@ -1,18 +1,18 @@
block text
import common/math-phrases
for thmenv <- @⟨theorem,lemma,exercise,definition,corollary,example⟩
for thmprefix <- @⟨@thmenv:thm,lem,exe,def,cor,exa⟩
block auto start
-- {{{ Environments
string begin
name environment
snip
\begin{$1}
$0
\end{$1}
-- }}}
block auto !math start
-- {{{ Environments & lists & their elements
for env <- @⟨enumerate,itemize,align*⟩
string @⟨@env:olist,ulist,dm⟩
@ -39,8 +39,12 @@ block auto !math start
string item
snip \item$|1⟨,[$1] $0⟩
-- }}}
block text
import common/math-phrases
-- {{{ References
string ref
snip \ref{$1}$0
string r@thmprefix
@ -50,22 +54,25 @@ block text
snip (\ref{$1})$0
string pr@thmprefix
snip (\ref{@thmprefix:$1})$0
string quote
snip ``$1''$0
string forcecr
snip {\ \\\\}
pattern ([Ll]et)
name definition
snip @1 \$$1 = $2\$ @0
-- }}}
block auto
-- {{{ Delimiters
string "
name quote
snip ``$1''$0
string $
name inline math
snip \$$1\$$0
-- }}}
string forcecr
desc Force the content onto a new line
snip {\ \\\}
block math
-- {{{ Sigma/Pi notation
for shorthand <- @⟨sum,prod⟩
for symbol <- @⟨@shorthand:sigma,pi⟩
for operation <- @⟨@shorthand:sum,product⟩
@ -73,7 +80,8 @@ block math
name @symbol @operation
desc Write out a @operation using big @symbol notation
snip \\@symbol{$|1⟨$1 = $2,$1⟩}^$|2⟨{$2},\infty$2⟩ $0
-- }}}
-- {{{ Matrices
for matkind <- @⟨matrix,determinant⟩
for matenv <- @⟨@matkind:bmatrix,vmatrix⟩
for shorthand <- @⟨@matkind:mat,det⟩
@ -94,7 +102,8 @@ block math
$4 & $5 & $6 \\\\
$7 & $8 & $9
\end{@matenv}
-- }}}
-- {{{ Equations
for createabbr <- @⟨false,true⟩
for operator <- @⟨@createabbr:
@⟨eq,lt,gt⟩,
@ -132,7 +141,8 @@ block math
$0
\end{array}
\right\}
-- }}}
-- {{{ Explanations
block end
for suffix <- @⟨add,sub,rmul,pow,inv⟩
string ex@suffix
@ -165,9 +175,11 @@ block math
$$1$ is bounded,
definition of $$1$,
⟩}}$0
-- }}}
block auto
block word
block auto word
-- {{{ Shorthands
-- {{{ Constants
for constkind <- @⟨default,shortened⟩
for constant <- @⟨@constkind:
@⟨star,delta,Delta,pi,tau,psi,phi,rho,sigma,alpha,beta,theta,gamma,omega,Omega,half,ordop,land,lor⟩,
@ -181,14 +193,14 @@ block math
for operator <- @⟨,e,s⟩
string @operator@constant
snip @⟨@operator:,^,_⟩\\@expansion
abbr niinf -\ifty
abbr eniinf ^{-\ifty}
abbr sniinf _{-\ifty}
-- }}}
-- {{{ Logic
abbr frl \forall
abbr exs \exists
abbr nope \bot
abbr yee \top
-- }}}
-- {{{ Set-theory
abbr card \#
abbr ccap \cap
abbr ccup \cup
@ -203,26 +215,37 @@ block math
abbr spt \supset
abbr sseq \subseteq
abbr sst \subset
abbr nope \bot
abbr yee \top
-- }}}
-- {{{ Numbers
abbr niinf -\ifty
abbr eniinf ^{-\ifty}
abbr sniinf _{-\ifty}
abbr ccan \cancel
abbr com \circ
abbr limsup \lim\sup
abbr mangle \measuredangle
abbr mul \cdot
abbr nlnl \pm
abbr limsup \lim\sup
-- }}}
-- {{{ Misc
abbr oball \ball
abbr vsm \vecspace
abbr mangle \measuredangle
abbr com \circ
-- }}}
-- {{{ Fonts
abbr bb \mathbb
abbr cal \mathcal
-- }}}
-- }}}
-- {{{ Sets
for set <- @⟨N,Z,Q,I,R,C,P,F⟩
abbr @⟨@set:nats,ints,rats,irats,rrea,comp,ppri,ffie⟩ \mathbb @set
for noperator <- @⟨ordop,land,lor,equiv,pmod,ldots,cdots,perp,lim,angle,sup⟩
string set
desc Create a set by escaping the brackets
snip \{$1\}
-- }}}
-- {{{ Operators
for noperator <- @⟨ordop,land,lor,equiv,pmod,ldots,cdots,perp,angle,sup⟩
abbr @noperator \\@noperator
for operator <- @⟨overline,hat,bar,abs,norm,prob,diprod,sin,cos,sqrt,ln,lrb,zmod,gen,diam,prob⟩
@ -232,11 +255,10 @@ block math
for bioperator <- @⟨iprod,frac,binom,dist⟩
string @bioperator
snip \\@bioperator$|1⟨ $1,{$1}⟩$|2⟨ $2,{$2}⟩ $0
-- }}}
string set
desc Create a set by escaping the brackets
snip \{$1\}
block auto
-- {{{ Subscripts & exponents
pattern (.*)e@⟨t(%a),(%d)⟩
name auto exponent
snip @0^@1 $0
@ -256,25 +278,15 @@ block math
string ee
name exponent
snip ^{$1} $0
pattern (%a)(.)pp
name auto function call
snip @0(@1) $0
pattern (%a)d(.)p
name auto derivative call
snip @0'(@1) $0
pattern (%a)i(.)p
name auto preimage call
snip @0^{-1}(@1) $0
-- }}}
-- {{{ Postfix notation
block !word
abbr .inv ^{-1}
abbr .neg _-
abbr .pos _+
abbr .t ^T
-- }}}
-- {{{ Limits & integrals
for limtarget <- @⟨anything,zero,infinity,negative infinity⟩
for prefix <- @⟨@limtarget:,z,i,n⟩
for limtargetsymbol <- @⟨@limtarget:$2,0,\infty,-\infty⟩
@ -289,3 +301,4 @@ block math
string inti
name indefinite integral
snip \int $1 \dif $0
-- }}}

View file

@ -44,7 +44,6 @@ misc {
# Configure the default hyprland branding
disable_hyprland_logo = true
disable_splash_rendering = true
# force_hypr_chan = true
}
animations {
@ -54,7 +53,7 @@ animations {
}
# Execute apps at launch
exec-once = foot & firefox & discocss & gtk-launch obsidiantui & gtk-launch smostui & Spotify
exec-once = foot & firefox & vesktop & gtk-launch obsidiantui & gtk-launch smostui & Spotify
# Without this, xdg-open doesn't work
exec = systemctl --user import-environment PATH && systemctl --user restart xdg-desktop-portal.service