You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David JULIEN c982b10206
Merge branch 'dev' into gentoo
1 year ago
statusbar Merge branch 'dev' into gentoo 1 year ago
bibshow fix: bibshow tests + output 2 years ago
compiler fix: `compiler` 2 years ago
dmenuopen [scripts] fix: error codes 1 year ago
dmenuumount fix: ignore /boot 2 years ago
dot feat: move $HOME/.dotfiles to $HOME/.dotfiles.git 2 years ago
fetch Merge branch 'dev' into gentoo 1 year ago
mailsync fix: icons 1 year ago
maker [scripts] fix: maker cpp project handling 1 year ago
player cleanup: remove debug lines 1 year ago
remaps feat: maps caps_lock to **CTRL** instead of SUPER 1 year ago
sbacklight cleanup: variables and code 1 year ago
setbg feat: add $XDG_STATE_HOME directory 1 year ago
switch-colors [scripts] fix: error codes 1 year ago
transadd fix: icons 1 year ago
tsession [scripts] fix: tsession 1 year ago

Swy7ch' personnal scripts

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

/!\ 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.


  • arch-setup : my personnal machine setup script
  • audio-notify : send a notification when audio level is changed
  • backlight-notify : send a notification when backlight level is changed
  • bibinput : add a .bib entry through dmenu
  • bibshow : retrieve a .bib reference and copy to xclip
  • bulk : execute batch commands through your favorite $EDITOR
  • 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
  • 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
  • dot : git wrapper to manage dotfiles
  • fetch : display basic system infos
  • kbacklight : change keyboard backlight level
  • maker : create a basic makefile for C/C++ project
  • mailsync : synchronize mail accounts
  • 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
  • refbar : refresh dwm statusbar
  • remaps : remap keys
  • sbacklight : change screen backlight level
  • 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


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.


A collection of scripts I call in my dwmblocks build.