-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
88 lines (79 loc) · 2.81 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!/usr/bin/env bash
curl -O "https://raw.githubusercontent.com/3m4r5/dotfiles/main/install.sh" && sudo sh install.sh
mkdir -p ~/.config/ ~/.local/bin/ ~/.local/share/fonts/ ~/.local/share/applications/
touch ~/.local/share/applications/micro.desktop ~/.local/share/applications/unzip.desktop
echo "[Desktop Entry]
Encoding=UTF-8
Type=Application
NoDisplay=true
Exec=kitty micro %f
Name=kitty micro" >> ~/.local/share/applications/micro.desktop
echo "[Desktop Entry]
Encoding=UTF-8
Type=Application
NoDisplay=true
Exec=unzip %f
Name=unzip" >> ~/.local/share/applications/unzip.desktop
# yazi:
curl -LO https://github.com/sxyazi/yazi/releases/latest/download/yazi-x86_64-unknown-linux-gnu.zip
unzip yazi-x86_64-unknown-linux-gnu.zip
rm -f yazi-x86_64-unknown-linux-gnu.zip yazi-x86_64-unknown-linux-gnu/README.md yazi-x86_64-unknown-linux-gnu/LICENSE
mv yazi-x86_64-unknown-linux-gnu/* ~/.local/bin/
rm -rf yazi-x86_64-unknown-linux-gnu
# kanata:
curl -L https://github.com/jtroo/kanata/releases/latest/download/kanata -o ~/.local/bin/kanata
chmod +x ~/.local/bin/kanata
# config:
git clone https://github.com/3m4r5/dotfiles.git
cp -r dotfiles/* ~/.config/
cp dotfiles/.bash_aliases dotfiles/.gitignore dotfiles/kanata.kbd ~/.config/
rm -rf dotfiles
chmod +x ~/.config/scripts/*
# junction
xdg-settings set default-web-browser re.sonny.Junction.desktop
xdg-mime default re.sonny.Junction.desktop x-scheme-handler/file
xdg-mime default re.sonny.Junction.desktop inode/directory
# nerd fonts: (WIP)
cd ~/.local/share/fonts/
curl -LO https://github.com/ryanoasis/nerd-fonts/releases/latest/download/NerdFontsSymbolsOnly.zip
unzip NerdFontsSymbolsOnly.zip
rm -f NerdFontsSymbolsOnly.zip LICENSE README.md
# Apple Color Emoji: https://gist.github.com/win0err/9d8c7f0feabdfe8a4c9787b02c79ac51
curl -LO https://github.com/samuelngs/apple-emoji-linux/releases/latest/download/AppleColorEmoji.ttf
rm -rf ~/.cache/fontconfig
fc-cache -f
cd -
echo "
bind 'set show-all-if-ambiguous on'
bind 'TAB:menu-complete'
if [ -f ~/.config/.bash_aliases ]; then
. ~/.config/.bash_aliases
fi" >> ~/.bashrc
: ' TODO
add: wifi-driver kanata espanso nmtui hyprlock hyprpaper
yazi:
- git and relative line numbers plugins
- cli
- sudo mode
- icons
- md/html rendering
- relative line numbers
- gif/apng/heic preview and scroll
- remote file manegment (google drive / waydroid)
- external drives (flash)
hyprland:
- color picker/zoom/workspaces plugin
- keybinds script
waybr: sensors module
bar: display window icons in workspace module
other:
- hyprland, bar, bash, zsh, yazi, zellij, kitty, rofimoji config
- media controls
- fix linear brightness
- external monitor brightness & volume
- keycast: wlkeys/showmethekeys
- on-screen keyboard
- safe charging/prayer times/layout translator script(espanso?)
- pywall theme switcher
- dynamic wallpaper per workspace
- manage with gnu stow / dotter'