Skip to content

Commit c7bf41a

Browse files
committed
oboro => [pre-commit][hyprland.lua]
1 parent c09e0e4 commit c7bf41a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

runes/git/template/hooks/pre-commit

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ if [ -n "$cargo_root" ] &&
6464
cargo fmt --check || exit 1
6565
fi
6666

67+
lint_script=$(find . -name 'package.json' | head -n 1 | xargs --no-run-if-empty jq '.scripts // {} | keys[]' -r | grep 'lint')
68+
if [ -n "$lint_script" ] && [ -z "$DISABLE_FMT_CHECK" ]; then
69+
npm run lint || exit 1
70+
fi
71+
6772
if [ -e .mendess-copyright-check-holder ]; then
6873
holder=$(cat .mendess-copyright-check-holder)
6974
while read -r file; do

runes/hypr/hyprland.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ end
210210

211211
hl.bind(mainMod .. " + SHIFT + space", hl.dsp.window.float({ action = "toggle" }))
212212
hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen({ action = "toggle" }))
213+
hl.bind(mainMod .. " + SHIFT + F", hl.dsp.window.fullscreen({ mode = 1 }))
213214

214215
hl.bind(mainMod .. " + I", hl.dsp.workspace.toggle_special("magic"))
215216
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special:magic", follow = false }))

0 commit comments

Comments
 (0)