bin: refactor and reformat

This commit is contained in:
Smirnov Oleksandr 2024-12-29 22:28:52 +02:00
parent efb4418451
commit 5d78ad3d43
No known key found for this signature in database
7 changed files with 16 additions and 16 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
sudo pacman -Syyuu --noconfirm sudo pacman -Syyuu --noconfirm
paru -Sua --noconfirm paru -Sua --noconfirm
sudo pacman -Rs $(pacman -Qdtq | sed 's/\n/ /g') --noconfirm sudo pacman -Rs "$(pacman -Qdtq | sed 's/\n/ /g')" --noconfirm

View file

@ -1,3 +1,2 @@
#!/usr/bin/env bash #!/usr/bin/env bash
curl -s ipinfo.io | jq "del(.readme) | del(.loc) | ." curl -s ipinfo.io | jq "del(.readme) | del(.loc) | ."

View file

@ -1,2 +1,2 @@
#!/usr/bin/env bash #!/usr/bin/env bash
exec npm i -g yaml-language-server vscode-langservers-extracted typescript-language-server bash-language-server svelte-language-server exec npm i -g yaml-language-server vscode-langservers-extracted typescript-language-server bash-language-server

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
p=$HOME/Documents/Syncthing/logseq/journals p=$HOME/Documents/Obsidian/journal
d=$(date +%Y-%m-%d) d=$(date +%Y-%m-%d)
[ -d "$p" ] && exec nvim "$p/$d.md" [ -d "$p" ] && exec nvim "$p/$d.md"

View file

@ -165,7 +165,8 @@ windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
bind = $mod, f, fullscreen bind = $mod, f, fullscreen
bind = $mod Ctrl, f, togglefloating bind = $mod Ctrl, f, togglefloating
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy bind = , Print, exec, hyprshot -m region
bind = , SHIFT Print, exec, hyprshot -m output
# programs {{{ # programs {{{
bind = $mod SHIFT, w, exec, brave bind = $mod SHIFT, w, exec, brave