You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
dotfiles/.local/bin
David JULIEN 2e3eaef75e
Merge branch 'dev' into gentoo
mail: enhance scan for new mail
1 year ago
..
statusbar Merge branch 'dev' into gentoo 1 year ago
README.md fix: rephrase, typos in README 2 years ago
arch-setup feat: update arch-setup 2 years ago
audio-notify legal: change license to GPLv3 in script headers 2 years ago
bibinput legal: change license to GPLv3 in script headers 2 years ago
bibshow fix: bibshow tests + output 2 years ago
bulk legal: change license to GPLv3 in script headers 2 years ago
colorblocks legal: change license to GPLv3 in script headers 2 years ago
compiler fix: `compiler` 2 years ago
displayselect feat: setup is now 2 * 1080p 2 years ago
dmenumount legal: change license to GPLv3 in script headers 2 years ago
dmenuopen [scripts] fix: error codes 2 years ago
dmenupass fix: dmenupass background color 2 years ago
dmenuprompt legal: change license to GPLv3 in script headers 2 years 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 2 years ago
kbacklight legal: change license to GPLv3 in script headers 2 years ago
mailsync Merge branch 'dev' into gentoo 1 year ago
maker [scripts] fix: maker cpp project handling 2 years ago
mom legal: change license to GPLv3 in script headers 2 years ago
mommerge legal: change license to GPLv3 in script headers 2 years ago
mutt-openfile feat: neomutt open file through mailcap + xdg-open 2 years ago
player cleanup: remove debug lines 2 years ago
remaps feat: maps caps_lock to **CTRL** instead of SUPER 2 years ago
sbacklight cleanup: variables and code 2 years ago
setbg feat: add $XDG_STATE_HOME directory 2 years ago
st-copyout fix: st-copyout 2 years ago
st-urlhandler feat: add scripts for st output management 2 years ago
switch-colors [scripts] fix: error codes 2 years ago
texclear cleanup: script headers 2 years ago
texer cleanup: script headers 2 years ago
transadd fix: icons 2 years ago
tsession [scripts] fix: tsession 2 years ago
webupdate cleanup: script headers 2 years ago

README.md

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.

Scripts

  • 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

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.

statusbar

A collection of scripts I call in my dwmblocks build.