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
swytch 4550439b62 feat: add flags to dot
add `git branch`, `git show` and `git log --graph` commands
2020-06-20 11:40:21 +02:00
..
AC_notify fix: update scripts header 2020-06-20 11:39:37 +02:00
arch_setup fix: change echo commands to printf commands 2020-06-20 11:39:37 +02:00
audio_notify cleanup: simplify case statement in audio-notify 2020-06-20 11:39:37 +02:00
backlight_notify fix: update scripts header 2020-06-20 11:39:37 +02:00
bat_notify fix: update scripts header 2020-06-20 11:39:37 +02:00
bibinput fix: change echo commands to printf commands 2020-06-20 11:39:37 +02:00
bibshow fix: change echo commands to printf commands 2020-06-20 11:39:37 +02:00
colorblocks fix: force bash to execute the colorblocks script 2020-06-20 11:39:37 +02:00
compiler cleanup: cleanup suckless' tools build 2020-06-20 11:39:37 +02:00
displayselect fix: update scripts header 2020-06-20 11:39:37 +02:00
dmenumount fix: update scripts header 2020-06-20 11:39:37 +02:00
dmenuopen fix: update scripts header 2020-06-20 11:39:37 +02:00
dmenupass fix: update scripts header 2020-06-20 11:39:37 +02:00
dmenuprompt fix: update scripts header 2020-06-20 11:39:37 +02:00
dmenuumount fix: update scripts header 2020-06-20 11:39:37 +02:00
dot feat: add flags to dot 2020-06-20 11:40:21 +02:00
dwmbar fix: correctly display wifi strength percentage in dwmbar 2020-06-20 11:39:37 +02:00
fetch feat: change colors in fetch 2020-06-20 11:39:37 +02:00
kbacklight fix: update scripts header 2020-06-20 11:39:37 +02:00
maker fix: change echo commands to printf commands 2020-06-20 11:39:37 +02:00
mom fix: change echo commands to printf commands 2020-06-20 11:39:37 +02:00
mommerge fix: change echo commands to printf commands 2020-06-20 11:39:37 +02:00
README.md cleanup: global files cleanup 2020-06-20 11:39:37 +02:00
refbar fix: update scripts header 2020-06-20 11:39:37 +02:00
sbacklight fix: update scripts header 2020-06-20 11:39:37 +02:00
setbg fix: update scripts header 2020-06-20 11:39:37 +02:00
texclear fix: update scripts header 2020-06-20 11:39:37 +02:00
texer fix: change echo commands to printf commands 2020-06-20 11:39:37 +02:00
webupdate fix: update scripts header 2020-06-20 11:39:37 +02:00

Swy7ch' personnal scripts

Hello, world! This is my scripts directory. Feel free to use it at your convenience :)

/!\ Those scripts are POSIX-compliant (hence #! /bin/sh), they are supposed to be run with such shell (BaSH, zsh, dash...); FISH, for example, might cause problems (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

Scripts

  • arch_setup : my personnal machine setup script
  • AC_notify : send a notification when the computer is plugged/unplugged
  • audio-notify : send a notification when audio level is changed
  • backlight : change backlight level
  • backlight_notify : send a notification when backlight level is changed
  • bat_notify : send a notification when battery runs low
  • bibinput : add a .bib entry through dmenu
  • bibshow : retrieve a .bib reference and copy to xclip
  • brightup : raise the keyboard brightness
  • 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
  • dmenupass : dmenu prompt for password, when needed
  • dmenuprompt : ask for a binary choice through dmenu
  • dmenumount : mount USB drives through a dmenu prompt
  • dmenuumount : unmount USB drives through a dmenu prompt
  • dmenuopen : fuzzy-find a file and open it with appropriate application
  • dot : git wrapper to manage dotfiles
  • dwmbar : set the statusbar and updates every minute
  • fetch : display basic system infos
  • maker : create a basic makefile for C/C++ project
  • mom : create a groff/mom file with generic metadata
  • mommerge : merge all .mom files of a directory and compiles it
  • refbar : refresh dwm statusbar
  • 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 project.