a
This commit is contained in:
parent
9cc4c70178
commit
84b2baf3ef
3 changed files with 22 additions and 15 deletions
4
common.sh
Normal file
4
common.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
# Should not be executable, only sourced by other scripts
|
||||
|
||||
command_exists() { command -v ${1} >/dev/null; }
|
|
@ -21,7 +21,7 @@ font pango:Roboto Mono for Powerline 11
|
|||
#font pango:DejaVu Sans Mono 8
|
||||
|
||||
# KEYBOARD SHORTCUTS
|
||||
bindsym $mod+l exec i3lock-fancy
|
||||
bindsym $mod+F1 exec i3lock-fancy
|
||||
bindsym Print exec $HOME/.local/scripts/screenshot.sh select
|
||||
bindsym ctrl+Print exec $HOME/.local/scripts/screenshot.sh fullscreen
|
||||
bindsym $mod+p exec $HOME/.local/scripts/passmenu.sh
|
||||
|
|
|
@ -1,18 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
cargo install \
|
||||
bat \
|
||||
cargo-edit \
|
||||
cargo-expand \
|
||||
cargo-tree \
|
||||
cargo-update \
|
||||
cargo-watch \
|
||||
fd-find \
|
||||
hexyl \
|
||||
just \
|
||||
ripgrep \
|
||||
tectonic \
|
||||
tokei \
|
||||
topgrade \
|
||||
source $(dirname "$0")/common.sh
|
||||
|
||||
command_exists cargo && \
|
||||
cargo install \
|
||||
bat \
|
||||
cargo-edit \
|
||||
cargo-expand \
|
||||
cargo-tree \
|
||||
cargo-update \
|
||||
cargo-watch \
|
||||
fd-find \
|
||||
hexyl \
|
||||
just \
|
||||
ripgrep \
|
||||
tectonic \
|
||||
tokei \
|
||||
topgrade \
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue