mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
asdf
This commit is contained in:
parent
6e58080996
commit
6643211753
4 changed files with 32 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
||||||
.google.de TRUE / FALSE 2145916800 CONSENT WP.284bff None
|
|
||||||
#HttpOnly_.google.de TRUE / FALSE 1600348726 NID 200=PBixEKuZw1HwbUMVwySfOWJeCJk49OtOPP7RIzxVMiHff0s8eiic-o6qBb0-rnbHaA4G4j5NzFuKn7Cwa1bHJaq7Ugu4iDA6VyIt3Jjfz6A8ZnnR0HJgxCbqruwzBJrz-SSePPt68CC_fKuEw7zVS4rKwqzQtQzeBBujMtTKfo8 None
|
|
||||||
#HttpOnly_.google.de TRUE /verify TRUE 1600348726 SNID ACHoUkDLnHPdA-eku_E5R9QcIvV2uXQO-Eiuog5wVDqnuZh0zNnbsY7k7dofHE-TiYWbfUyI7Xlp-PChoWV2GQ Lax
|
|
||||||
#HttpOnly_.google.de TRUE / TRUE 1618233527 ANID AHWqTUmxkxyFkyYgbf7RtsYZ-spR3k1IqBE3rAPOQnGeCg-soPIX1T7_2A6aOP_c None
|
#HttpOnly_.google.de TRUE / TRUE 1618233527 ANID AHWqTUmxkxyFkyYgbf7RtsYZ-spR3k1IqBE3rAPOQnGeCg-soPIX1T7_2A6aOP_c None
|
||||||
.google.de TRUE / TRUE 1587129541 1P_JAR 2020-3-18-13 None
|
.google.de TRUE / FALSE 2145916800 CONSENT WP.284bff.284ebc None
|
||||||
|
.google.de TRUE / TRUE 1587549603 1P_JAR 2020-3-23-10 None
|
||||||
|
#HttpOnly_.google.de TRUE / FALSE 1600768803 NID 200=oa53M0hgKvaT-DGFdGn2ou9Fy9-qzzRdz54Mhn8QkE9YVQ5SNyPvVfW5ZNGMeN0p56gsQcMGgJSfXnidMnJJWBfkT8xsXG26s9Ivb2jQ2iAh26tZXjwlaBtRlHHTPZ2p4MGvOjBLzvAg2_mc2lCeYvMen7diKVKV40WD9bZkLU8 None
|
||||||
|
#HttpOnly_.google.de TRUE /verify TRUE 1600768803 SNID AI94zCAK4GXnNFvKws37D6OgUXnTF-A1X8UKdae44aguNeZnx9VsUydULInLayVov1aiZmtkh2Pf1W6AHrN5-w Lax
|
||||||
|
|
|
@ -1,16 +1,24 @@
|
||||||
#!/bin/bash
|
#!/bin/dash
|
||||||
# todo combine selection with query by using first word as selection and rest as query
|
openDetailsAction() {
|
||||||
selection=$( echo -e "hoogle\ngoogle" | rofi -dmenu )
|
echo "Details:surf https://hoogle.haskell.org/?hoogle=$1&scope=package:$2"
|
||||||
if [ $selection = "hoogle" ]; then
|
}
|
||||||
input=$( rofi -p "search hoogle" -dmenu )
|
|
||||||
query=$( echo $input | sed 's/ p=.*$//g' )
|
query=$( echo "h\ng" | rofi -dmenu )
|
||||||
package=$( echo $input | sed 's/.*p=//g' )
|
selection=$( echo "$query" | awk '{print $1}' )
|
||||||
[ $package = $query ] && package=""
|
input=$( echo "$query" | awk '{print $2}' )
|
||||||
#firefox --new-window "https://hoogle.haskell.org/?hoogle=$query&scope=package:$package" &
|
|
||||||
#surf "https://hoogle.haskell.org/?hoogle=$query&scope=package:$package" &
|
case "$selection" in
|
||||||
result=$( hoogle $query | rofi -p "select" -dmenu | sed 's/^\(.*\) :: .*$/\1/' | sed 's/\ /./g' | xargs hoogle --info )
|
"h")
|
||||||
notify-send "hoogle" "$result"
|
query=$( echo "$input" | sed 's/ p=.*$//g' )
|
||||||
elif [ $selection = "google" ]; then
|
package=$( echo "$input" | sed 's/.*p=//g' )
|
||||||
query=$( rofi -p "search google" -dmenu )
|
[ "$package" = "$query" ] && package=""
|
||||||
$BROWSER "https://google.de/search?q=$query" &
|
|
||||||
fi
|
selection=$( hoogle "$query" | rofi -p "select" -dmenu | sed 's/^\(.*\) :: .*$/\1/' | sed 's/\ /./g' )
|
||||||
|
result=$( echo "$selection" | xargs hoogle --info )
|
||||||
|
notify-send.sh --icon="dialog-information" --action="$(openDetailsAction "$query" "$package")" "Hoogle" "$result"
|
||||||
|
;;
|
||||||
|
"g")
|
||||||
|
$BROWSER "https://google.de/search?q=$input" &
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
#!/bin/dash
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "usage: screenrecorder.sh <output-file-path>"
|
echo "usage: screenrecorder.sh <output-file-path>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ffmpeg -video_size 2560x1080 -framerate 25 -f x11grab -i :0.0 $1
|
ffmpeg -video_size 2560x1080 -framerate 25 -f x11grab -i :0.0 "$1"
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
#!/bin/dash
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "timer.sh <time>"
|
echo "timer.sh <time>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
termdown -o /home/leon/scripts/remainingTime.txt $1 && notify-send "Timer" "Timer finished: $1"
|
termdown -o /home/leon/scripts/remainingTime.txt "$1" && notify-send "Timer" "Timer finished: $1"
|
||||||
|
|
Loading…
Reference in a new issue