My scripts for startup, dmenu, and the command line
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.
= cb9832b5be Add cmd functions пре 3 година
.gitignore Create utility functions for managing backups пре 4 година
README.md Attempt putting search parsing in a single function пре 3 година
backup :q пре 4 година
bar.sh :q пре 4 година
cvpn statusbar and dwm improvements пре 4 година
dwm-start Move launcher and actions to prompt script пре 3 година
dwm-statusbar Removed brightness and volume from statusbar пре 4 година
edit-ini Added INI editor пре 3 година
ewrap Move launcher and actions to prompt script пре 3 година
lsix :q пре 4 година
prompt Add cmd functions пре 3 година
screenshot.sh :q пре 4 година
setup-xbindkeys Make app launchers пре 3 година
syn.sh statusbar and dwm improvements пре 4 година
util util flag changes пре 4 година
util-audio statusbar and dwm improvements пре 4 година

README.md

Macros

This is a collection of commands I use to make managing files and processes easier. Use it to automagically select and run terminal applications, send signals to daemons, execute arbitrary commands, search the web, grab passwords from a password manager, and more.

Prompt

mpc dmenu scrot xclip tmux vim lbry pass dunst

They’re all optional but missing commands may have unexpeted side effects. The scripts also assumes you have the common commands in GNU core utilities like sed, awk, etc.

  • dmenu for the prompts. It can be changed to rofi or some other solution
  • scrot and xclip for screenshots
  • all scripts assume your prefered terminal is st
  • mpc is for media controls
  • the script assumes your passwords are in ~/Passwords/

Usage

prompt [launch | action | cmd | ddg | pass]
edit-ini ...

Use it to automagically select and run terminal applications, send signals to daemons, execute arbitrary commands, search the web, grab passwords from the password manager, and more.

TODO

  • Finish vpn and networking stuff after ini script is finished, then make sure printf in case goes to stderror which is shown in bar
  • Add ddg search prompt
  • setup pass
  • variables to the script to make assumed paths easier to change
  • show script for man pages, pkg info, and other things
  • command to clipboard
  • emoji select to clipboard
  • system of additional clipboards using /tmp files
  • use attach-session -t . -c /dir for selecting multiplexer directory
  • ddg fill options should be taken from bookmarks or history