scripts
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
#================================================= # Scripts #================================================= # description: directory that contains miscellaneous scripts # list of scripts # - wait_host_up.sh # - navigate2ws.sh # - mx_script.sh # - i3_save_layout.sh # - darth_bright.sh #======================================= # wait_host_up.sh #======================================= # fping sudo pacman -S fping # libnotify sudo pacman -S libnotify # description Script that keeps checking the availability of hosts with fping in a range of IPs (eg: 143.106.45.162/27). When it identifies any host up it sends a desktop notification and exit. #======================================= # navigate2ws.sh #======================================= # i3 sudo pacman -S i3-wm # description Script to navigate to i3 workspaces and open specifics windows if woskpace is empty. #======================================= # mx_script.sh #======================================= # Solaar sudo pacman -S solaar # description change host connection for both MX Master 3 and MX Keys using Solaar https://github.com/ito-rafael/pc-general-config/blob/master/mx/readme #======================================= # - i3_save_layout.sh #======================================= # prerequisites sudo pacman -S perl-anyevent-i3 sudo pacman -S perl-json-xs # description saves layout of workspace N in file $HOME/.config/i3/wsN.json # usage # first prepare the workspace opening the respective windows, then: $HOME/.config/scripts/i3_save_layout.sh N #======================================= # darth_bright.sh #======================================= # GTK 3.0 sudo pacman -S gtk3 # usage: # - edit ~/.zshrc (or ~/.bashrc) # ----- get current theme export THEME_CURRENT=$(cat ~/.config/gtk-3.0/settings.ini | grep -oP '(?<=gtk-theme-name=).*') # ----- # - source script watch -n 1 head ~/.config/gtk-3.0/settings.ini source $HOME/.config/scripts/darth_bright.sh #=======================================