File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ super + s
2828super + p
2929 projects
3030
31+ super + shift + p
32+ projects ~/worktrees
33+
3134super + F9
3235 changeMeWall
3336
@@ -95,12 +98,9 @@ super + x
9598 --option window.dimensions.lines=25 \
9699 --class floating-terminal \
97100 -e bash -c 'echo -e "\e[1m\t\t C A L E N D A R\e[0m" ;\
98- khal calendar -o 2>/dev/null ;\
101+ khal calendar $(date +"1/%m/%Y") $(date --date="6 months" +"1/%m/%Y") -o -d "Contact birthdays" 2>/dev/null ;\
99102 read -s -r -n 1'
100103
101- super + shift + p
102- playClipboard
103-
104104XF86AudioMute
105105 pactl 'set-sink-mute' @DEFAULT_SINK@ toggle
106106
Original file line number Diff line number Diff line change @@ -18,12 +18,14 @@ expand_categories() {
1818 done
1919}
2020
21+ root=$( realpath ${1:- ~/ projects} )
22+
2123dir=$(
22- find_at ~ /projects |
24+ find_at " $root " |
2325 expand_categories |
2426 sort -nr |
2527 cut -f2 |
26- sed " s|$HOME /projects /||" |
28+ sed " s|$root /||" |
2729 picker -l 50 -i -p project
2830)
29- [ " $dir " ] && exec $TERMINAL --working-directory " $HOME /projects /$dir "
31+ [ " $dir " ] && exec $TERMINAL --working-directory " $root /$dir "
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ host=$(
1919[ -z " $host " ] && exit
2020
2121
22- if grep " $host " <<< $spark_hosts ; then
22+ if grep " ^ $host $ " <<< $spark_hosts ; then
2323 alacritty --class ' floating-term' -e bash -c " spark ssh $host && exit" --hold
2424else
2525 alacritty --class ' floating-term' -e bash -c " ssh $host && exit" --hold
You can’t perform that action at this time.
0 commit comments