Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
091259da79 | ||
|
|
b2ffead66b |
@@ -11,6 +11,7 @@ export_paths+=("${HOME}/dotfiles/scripts")
|
||||
export_paths+=("${HOME}/dotfiles/desktop-files")
|
||||
export_paths+=("/opt/jlink")
|
||||
export_paths+=("${HOME}/.cargo/bin")
|
||||
export_paths+=("/opt/arm-gnu-toolchain-15.2.rel1-x86_64-arm-none-eabi/bin")
|
||||
|
||||
for entry in ${export_paths[@]}; do
|
||||
if ! [[ -d "${entry}" ]]; then
|
||||
|
||||
@@ -22,9 +22,9 @@ if [[ ! -d "${screenshots_path}" ]]; then
|
||||
fi
|
||||
temp_file="${screenshots_path}/temporary.png"
|
||||
|
||||
import -window root -crop "$(slop --tolerance=4 || exit 0)" "${temp_file}"
|
||||
# maim -suo -f png --tolerance=4 "${temp_file}"
|
||||
maim -suo -f png -t 0 "${temp_file}"
|
||||
|
||||
# meh!
|
||||
function colour_picker {
|
||||
colour_value="$(magick "${temp_file}" -scale 1x1\! -format "#%[hex:p{0,0}]" info:)"
|
||||
notify-send "[colour picker]" "${colour_value}"
|
||||
|
||||
Reference in New Issue
Block a user