mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-19 12:57:21 +02:00
Compare commits
2 Commits
43ba89861e
...
52cc1ed161
Author | SHA1 | Date | |
---|---|---|---|
52cc1ed161 | |||
ecacaf7d28 |
@ -27,30 +27,30 @@ repos:
|
|||||||
# https://github.com/Mikaela/gist/blob/master/doctoc.txt
|
# https://github.com/Mikaela/gist/blob/master/doctoc.txt
|
||||||
args: [--update-only]
|
args: [--update-only]
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: "v1.3.0"
|
rev: "v1.4.1"
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: "v3.0.0-alpha.9-for-vscode"
|
rev: "v3.0.0"
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
exclude_types: [python, pyi, jupyter]
|
exclude_types: [python, pyi, jupyter]
|
||||||
additional_dependencies: [
|
#additional_dependencies: [
|
||||||
"prettier@2.8.8",
|
#"prettier@3.0.0",
|
||||||
#"@prettier/plugin-ruby@3.2.2",
|
#"@prettier/plugin-ruby@3.2.2",
|
||||||
]
|
#]
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 23.3.0
|
rev: 23.7.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
#- id: black-jupyter
|
#- id: black-jupyter
|
||||||
- repo: https://github.com/scop/pre-commit-shfmt
|
- repo: https://github.com/scop/pre-commit-shfmt
|
||||||
rev: v3.6.0-2
|
rev: v3.7.0-1
|
||||||
hooks:
|
hooks:
|
||||||
- id: shfmt
|
- id: shfmt
|
||||||
#- id: shfmt-docker
|
#- id: shfmt-docker
|
||||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||||
rev: "2.7.1"
|
rev: "2.7.2"
|
||||||
hooks:
|
hooks:
|
||||||
- id: editorconfig-checker
|
- id: editorconfig-checker
|
||||||
alias: ec
|
alias: ec
|
||||||
|
17
bash/usr-local-bin/librewolf
Executable file
17
bash/usr-local-bin/librewolf
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# LibreWolf wrapper for using wayland and starting with ProfileManager
|
||||||
|
|
||||||
|
set -x
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
FlagsForLibrewolf="--ProfileManager $@"
|
||||||
|
|
||||||
|
# TODO: Local installation in the future? See the firefox wrapper
|
||||||
|
if [ -f /usr/bin/librewolf ]; then
|
||||||
|
/usr/bin/librewolf $FlagsForLibrewolf
|
||||||
|
# Fallback to flatpak, don't care if it doesn't exist
|
||||||
|
else
|
||||||
|
flatpak run io.gitlab.librewolf-community $FlagsForLibrewolf
|
||||||
|
fi
|
||||||
|
|
||||||
|
set +x
|
Loading…
x
Reference in New Issue
Block a user