This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.local/bin/README.md

55 lines
2.4 KiB
Markdown
Raw Normal View History

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
- 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
- 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
- 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
- dmenuumount : unmount USB drives through a `dmenu` prompt
2020-05-06 03:20:19 +02:00
- dot : git wrapper to manage dotfiles
- fetch : display basic system infos
- kbacklight : change keyboard backlight level
2020-05-06 03:20:19 +02:00
- maker : create a basic makefile for **C/C++** project
- 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
- player : control `mpc` and send notifications of current `mpd` state
2020-05-06 03:20:19 +02:00
- refbar : refresh `dwm` statusbar
- 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:
- 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
## statusbar
A collection of scripts I call in my
[dwmblocks](https://gitlab.com/swy7ch/dwmblocks) build.