File tree Expand file tree Collapse file tree 7 files changed +91
-28
lines changed Expand file tree Collapse file tree 7 files changed +91
-28
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ yay -S elephant
1313yay -S elephant-desktopapplications
1414yay -S elephant-files
1515yay -S elephant-menus
16+ yay -S elephant-clipboard
1617```
1718
1819``` bash
@@ -50,6 +51,10 @@ sudo make install
5051cd ~ /Downloads/elephant/internal/providers/files
5152sudo make install
5253
54+ # Provider clipboard
55+ cd ~ /Downloads/elephant/internal/providers/clipboard
56+ sudo make install
57+
5358```
5459## Activate Walker
5560
Original file line number Diff line number Diff line change 1111# Load Launcher
1212# -----------------------------------------------------
1313launcher=$( cat $HOME /.config/ml4w/settings/launcher)
14-
15- case $1 in
16- d)
17- if [ " $launcher " == " walker" ]; then
18- cliphist list | $HOME /.config/walker/launch.sh -d -N -H -p " Search" | cliphist delete
19- else
14+ if [ " $launcher " == " walker" ]; then
15+ $HOME /.config/walker/launch.sh -m clipboard -N -H
16+ else
17+ case $1 in
18+ d)
2019 cliphist list | rofi -dmenu -replace -config ~ /.config/rofi/config-cliphist.rasi | cliphist delete
21- fi
2220 ;;
23-
24- w)
25- if [ " $launcher " == " walker" ]; then
26- if [ $( echo -e " Clear\nCancel" | $HOME /.config/walker/launch.sh -d -n -N -H --maxheight 100) == " Clear" ]; then
27- cliphist wipe
28- fi
29- else
30- if [ $( echo -e " Clear\nCancel" | rofi -dmenu -config ~ /.config/rofi/config-short.rasi) == " Clear" ]; then
31- cliphist wipe
32- fi
33- fi
21+ w)
22+ cliphist wipe
3423 ;;
35-
36- * )
37- if [ " $launcher " == " walker" ]; then
38- cliphist list | $HOME /.config/walker/launch.sh -d -N -H -p " Search" | cliphist decode | wl-copy
39- else
24+ * )
4025 cliphist list | rofi -dmenu -replace -config ~ /.config/rofi/config-cliphist.rasi | cliphist decode | wl-copy
41- fi
4226 ;;
43- esac
27+ esac
28+ fi
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # ML4W Theme Glass
3+
4+ # Set waybar
5+ echo " /ml4w-glass;/ml4w-glass/default" > $HOME /.config/ml4w/settings/waybar-theme.sh
6+ $HOME /.config/waybar/launch.sh &
7+
8+ # Set nwg-dock-hyprland
9+ echo " glass" > $HOME /.config/ml4w/settings/dock-theme
10+ $HOME /.config/nwg-dock-hyprland/launch.sh &
11+
12+ # Set swaync
13+ echo ' @import "themes/glass/style.css";' > $HOME /.config/swaync/style.css
14+ swaync-client -rs
15+
16+ # Set wlogout
17+ echo ' @import "themes/glass/style.css";' > $HOME /.config/wlogout/style.css
18+
19+ # Set launcher
20+ echo ' walker' > $HOME /.config/ml4w/settings/launcher
21+
22+ # Set walker theme
23+ echo ' glass' > $HOME /.config/ml4w/settings/walker-theme
24+
25+ # Set Window Border
26+ echo ' source = ~/.config/hypr/conf/windows/glass.conf' > $HOME /.config/hypr/conf/window.conf
27+
28+ # Set rofi
29+ echo ' * { border-width: 1px; }' > $HOME /.config/ml4w/settings/rofi-border.rasi
30+
31+ echo " :: Theme set to Glass"
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ echo '@import "themes/glass/style.css";' > $HOME/.config/wlogout/style.css
1919# Set launcher
2020echo ' rofi' > $HOME /.config/ml4w/settings/launcher
2121
22+ # Set walker theme
23+ echo ' glass' > $HOME /.config/ml4w/settings/walker-theme
24+
2225# Set Window Border
2326echo ' source = ~/.config/hypr/conf/windows/glass.conf' > $HOME /.config/hypr/conf/window.conf
2427
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # ML4W Theme Modern
3+
4+ # Set waybar
5+ echo " /ml4w-modern;/ml4w-modern/default" > $HOME /.config/ml4w/settings/waybar-theme.sh
6+ $HOME /.config/waybar/launch.sh &
7+
8+ # Set nwg-dock-hyprland
9+ echo " modern" > $HOME /.config/ml4w/settings/dock-theme
10+ $HOME /.config/nwg-dock-hyprland/launch.sh &
11+
12+ # Set swaync
13+ echo ' @import "themes/modern/style.css";' > $HOME /.config/swaync/style.css
14+ swaync-client -rs
15+
16+ # Set wlogout
17+ echo ' @import "themes/modern/style.css";' > $HOME /.config/wlogout/style.css
18+
19+ # Set launcher
20+ echo ' walker' > $HOME /.config/ml4w/settings/launcher
21+
22+ # Set walker theme
23+ echo ' modern' > $HOME /.config/ml4w/settings/walker-theme
24+
25+ # Set Window Border
26+ echo ' source = ~/.config/hypr/conf/windows/default.conf' > $HOME /.config/hypr/conf/window.conf
27+
28+ # Set rofi
29+ echo ' * { border-width: 2px; }' > $HOME /.config/ml4w/settings/rofi-border.rasi
30+
31+ echo " :: Theme set to Modern"
Original file line number Diff line number Diff line change @@ -17,7 +17,10 @@ swaync-client -rs
1717echo ' @import "themes/modern/style.css";' > $HOME /.config/wlogout/style.css
1818
1919# Set launcher
20- echo ' walker' > $HOME /.config/ml4w/settings/launcher
20+ echo ' rofi' > $HOME /.config/ml4w/settings/launcher
21+
22+ # Set walker theme
23+ echo ' modern' > $HOME /.config/ml4w/settings/walker-theme
2124
2225# Set Window Border
2326echo ' source = ~/.config/hypr/conf/windows/default.conf' > $HOME /.config/hypr/conf/window.conf
Original file line number Diff line number Diff line change @@ -10,8 +10,13 @@ launcher=$(cat $HOME/.config/ml4w/settings/launcher)
1010# -----------------------------------------------------
1111# Themes
1212# -----------------------------------------------------
13- THEME_OPTIONS=$( find " $SCRIPT_DIR " -maxdepth 1 -mindepth 1 -type d | awk -F/ ' { print $NF }' )
14-
13+ if command -v walker > /dev/null 2>&1 ; then
14+ # Walker installed
15+ THEME_OPTIONS=$( find " $SCRIPT_DIR " -maxdepth 1 -mindepth 1 -type d | awk -F/ ' { print $NF }' )
16+ else
17+ # Walker not installed
18+ THEME_OPTIONS=$( find " $SCRIPT_DIR " -maxdepth 1 -mindepth 1 -type d -not -name " *walker*" | awk -F/ ' { print $NF }' )
19+ fi
1520# -----------------------------------------------------
1621# Start Launcher
1722# -----------------------------------------------------
You can’t perform that action at this time.
0 commit comments