1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-19 16:27:45 +02:00

Compare commits

..

3 Commits

Author SHA1 Message Date
1547250832 tools: restructured 2023-11-10 13:55:20 +01:00
4cf03f336e profile: upgradet java version 2023-11-10 13:46:41 +01:00
927130756d tools: changed order of screenshotmenu by usage 2023-11-10 13:21:54 +01:00
39 changed files with 4 additions and 4 deletions

View File

@ -7,12 +7,12 @@ output="$HOME/downloads/screenshot-$(date '+%Y-%m-%d_%H-%M-%S').png"
xclip_img="xclip -sel clip -t image/png" xclip_img="xclip -sel clip -t image/png"
xclip_txt="xclip -sel clip -t text/plain" xclip_txt="xclip -sel clip -t text/plain"
case "$(printf "a selected area\\ncurrent window\\nfull screen\\na selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)\\ncolor picker (copy)" | dmenu -l 6 -i -p "Screenshot which area?")" in case "$(printf "a selected area\\na selected area (copy)\\ncurrent window\\ncurrent window (copy)\\nfull screen\\nfull screen (copy)\\ncolor picker (copy)" | dmenu -l 6 -i -p "Screenshot which area?")" in
"a selected area") maim -s $output ;; "a selected area") maim -s $output ;;
"current window") maim -i "$(xdotool getactivewindow)" $output ;;
"full screen") maim $output ;;
"a selected area (copy)") maim -s | ${xclip_img} ;; "a selected area (copy)") maim -s | ${xclip_img} ;;
"current window") maim -i "$(xdotool getactivewindow)" $output ;;
"current window (copy)") maim -i "$(xdotool getactivewindow)" | ${xclip_img} ;; "current window (copy)") maim -i "$(xdotool getactivewindow)" | ${xclip_img} ;;
"full screen") maim $output ;;
"full screen (copy)") maim | ${xclip_img} ;; "full screen (copy)") maim | ${xclip_img} ;;
"color picker (copy)") xcolor |tr -d '\n' | ${xclip_txt} ;; "color picker (copy)") xcolor |tr -d '\n' | ${xclip_txt} ;;
esac esac

View File

@ -45,7 +45,7 @@ export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
export OPENAUDIBLE_HOME="${HOME}/documents/openaudible" export OPENAUDIBLE_HOME="${HOME}/documents/openaudible"
# java # java
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk" export JAVA_HOME="/usr/lib/jvm/java-21-openjdk"
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1
export JDTLS_HOME="/usr/share/java/jdtls" export JDTLS_HOME="/usr/share/java/jdtls"