2020-05-06 03:20:19 +02:00
# Swy7ch' personnal scripts
**Hello, world!** This is my scripts directory. Feel free to use it at your convenience :)
2021-02-14 19:06:35 +01:00
**/!\\** Those scripts are POSIX-compliant (hence `#!/usr/bin/env sh` ), they are
supposed to be run with such shell (BaSH, zsh, dash...); FISH, for example,
might cause issues (with `if` statements, for instance) if a script is run
directly in a terminal; I recommend launching background scripts within
`.xinit` to avoid those issues.
2020-05-06 03:20:19 +02:00
## Scripts
2021-02-13 21:29:29 +01:00
- arch-setup : my personnal machine setup script
2020-05-06 03:20:19 +02:00
- audio-notify : send a notification when audio level is changed
2021-02-13 21:29:29 +01:00
- backlight-notify : send a notification when backlight level is changed
2020-05-06 03:20:19 +02:00
- bibinput : add a ** .bib** entry through `dmenu`
- bibshow : retrieve a ** .bib** reference and copy to `xclip`
2021-02-12 23:23:40 +01:00
- bulk : execute batch commands through your favorite $EDITOR
2020-05-06 03:20:19 +02:00
- colorblocks : show the system colors through colored squares
- compiler : compile a file / runs a script if the filetype is supported
- displayselect : handle a multimonitor setup
2021-02-12 23:34:54 +01:00
- dmenumount : mount USB drives through a `dmenu` prompt
2020-05-06 03:20:19 +02:00
- dmenupass : `dmenu` prompt for password, when needed
- dmenuprompt : ask for a binary choice through `dmenu`
- dmenuopen : fuzzy-find a file and open it with appropriate application
2021-02-12 23:34:54 +01:00
- dmenuumount : unmount USB drives through a `dmenu` prompt
2020-05-06 03:20:19 +02:00
- dot : git wrapper to manage dotfiles
2020-05-15 21:19:01 +02:00
- fetch : display basic system infos
2021-02-12 23:34:54 +01:00
- kbacklight : change keyboard backlight level
2020-05-06 03:20:19 +02:00
- maker : create a basic makefile for **C/C++** project
2021-02-14 18:42:53 +01:00
- mailsync : synchronize mail accounts
2020-05-06 03:20:19 +02:00
- mom : create a `groff/mom` file with generic metadata
- mommerge : merge all ** .mom** files of a directory and compiles it
2021-02-12 23:34:54 +01:00
- player : control `mpc` and send notifications of current `mpd` state
2020-05-06 03:20:19 +02:00
- refbar : refresh `dwm` statusbar
2021-02-12 23:34:54 +01:00
- remaps : remap keys
- sbacklight : change screen backlight level
2020-05-06 03:20:19 +02:00
- setbg : set the wallpaper using `xwallpaper`
- texclear : remove `LaTeX` compilation files
- texer : create a ** .tex** file with generic metadata + input packages
- webupdate : update the files on my website
## arch_setup
This is the shell script I run just after I installed Arch. It does few things:
2020-05-20 17:03:00 +02:00
- Install the apps I use
- Download my personnal repos
- Compile my WM (`dwm`), my binary launcher (`dmenu`) and my terminal emulator (`st`), which are part of the [suckless ](https://suckless.org/ ) project.
2020-05-06 03:20:19 +02:00
2021-02-13 20:17:23 +01:00
## statusbar
A collection of scripts I call in my
[dwmblocks ](https://gitlab.com/swy7ch/dwmblocks ) build.