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" "purifix": "purifix"
}, },
"locked": { "locked": {
"lastModified": 1728796450, "lastModified": 1728837827,
"narHash": "sha256-16AGyN4HddZXQFaxYZjPVYxSd4b2pKJ7wUwiNgHHXQs=", "narHash": "sha256-3BIeNuntiR0xrKIPNRbp7EInWRjgJ1LzWJI/HiQ68k0=",
"owner": "prescientmoon", "owner": "prescientmoon",
"repo": "miros", "repo": "miros",
"rev": "21e1332cc763049e27f6597967b3ac2f73fa7599", "rev": "457414c4dd64dae05414f8e4181d8be7672fb89b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

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

View file

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

View file

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

View file

@ -44,7 +44,6 @@ misc {
# Configure the default hyprland branding # Configure the default hyprland branding
disable_hyprland_logo = true disable_hyprland_logo = true
disable_splash_rendering = true disable_splash_rendering = true
# force_hypr_chan = true
} }
animations { animations {
@ -54,7 +53,7 @@ animations {
} }
# Execute apps at launch # 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 # Without this, xdg-open doesn't work
exec = systemctl --user import-environment PATH && systemctl --user restart xdg-desktop-portal.service exec = systemctl --user import-environment PATH && systemctl --user restart xdg-desktop-portal.service