Add starship prompt, swaylock theme, thunar archive plugin, starship packages

This commit is contained in:
funman300
2026-04-22 16:32:06 -07:00
parent 31df897982
commit fe3df936dd
6 changed files with 85 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
if status is-interactive
starship init fish | source
end
+4 -1
View File
@@ -6,7 +6,7 @@ echo "==> Installing packages"
sudo pacman -S --needed - < packages.txt sudo pacman -S --needed - < packages.txt
echo "==> Creating config directories" echo "==> Creating config directories"
mkdir -p ~/.config/{niri,waybar,wofi,mako,alacritty,gtk-3.0,gtk-4.0} ~/.config/environment.d ~/.config/xdg-desktop-portal mkdir -p ~/.config/{niri,waybar,wofi,mako,alacritty,gtk-3.0,gtk-4.0,swaylock,fish} ~/.config/environment.d ~/.config/xdg-desktop-portal
echo "==> Linking configs" echo "==> Linking configs"
@@ -16,6 +16,9 @@ ln -sf "$(pwd)/waybar/style.css" ~/.config/waybar/style.css
ln -sf "$(pwd)/wofi/config" ~/.config/wofi/config ln -sf "$(pwd)/wofi/config" ~/.config/wofi/config
ln -sf "$(pwd)/wofi/style.css" ~/.config/wofi/style.css ln -sf "$(pwd)/wofi/style.css" ~/.config/wofi/style.css
ln -sf "$(pwd)/mako/config" ~/.config/mako/config ln -sf "$(pwd)/mako/config" ~/.config/mako/config
ln -sf "$(pwd)/swaylock/config" ~/.config/swaylock/config
ln -sf "$(pwd)/fish/config.fish" ~/.config/fish/config.fish
ln -sf "$(pwd)/starship/starship.toml" ~/.config/starship.toml
ln -sf "$(pwd)/alacritty/alacritty.toml" ~/.config/alacritty/alacritty.toml ln -sf "$(pwd)/alacritty/alacritty.toml" ~/.config/alacritty/alacritty.toml
ln -sf "$(pwd)/gtk-3.0/settings.ini" ~/.config/gtk-3.0/settings.ini ln -sf "$(pwd)/gtk-3.0/settings.ini" ~/.config/gtk-3.0/settings.ini
ln -sf "$(pwd)/gtk-4.0/settings.ini" ~/.config/gtk-4.0/settings.ini ln -sf "$(pwd)/gtk-4.0/settings.ini" ~/.config/gtk-4.0/settings.ini
+2 -2
View File
@@ -38,7 +38,7 @@ spawn-at-startup "mako"
spawn-at-startup "swww-daemon" spawn-at-startup "swww-daemon"
spawn-at-startup "nm-applet" "--indicator" spawn-at-startup "nm-applet" "--indicator"
spawn-at-startup "polkit-gnome-authentication-agent-1" spawn-at-startup "polkit-gnome-authentication-agent-1"
spawn-at-startup "swayidle" "-w" "timeout" "300" "niri msg action power-off-monitors" "timeout" "600" "swaylock -f -c 000000" "before-sleep" "swaylock -f -c 000000" spawn-at-startup "swayidle" "-w" "timeout" "300" "niri msg action power-off-monitors" "timeout" "600" "swaylock" "before-sleep" "swaylock"
spawn-at-startup "wl-paste" "--watch" "cliphist" "store" spawn-at-startup "wl-paste" "--watch" "cliphist" "store"
spawn-at-startup "blueman-applet" spawn-at-startup "blueman-applet"
spawn-at-startup "wlsunset" "-l" "49.2" "-L" "-123.1" spawn-at-startup "wlsunset" "-l" "49.2" "-L" "-123.1"
@@ -63,7 +63,7 @@ binds {
Print { spawn-sh "grim -g \"$(slurp)\" ~/Pictures/screenshot-$(date +%s).png"; } Print { spawn-sh "grim -g \"$(slurp)\" ~/Pictures/screenshot-$(date +%s).png"; }
Mod+Shift+E { spawn "swaylock" "-f" "-c" "000000"; } Mod+Shift+E { spawn "swaylock"; }
Mod+Shift+P { spawn "powermenu"; } Mod+Shift+P { spawn "powermenu"; }
Mod+Shift+C { spawn "clipboard-picker"; } Mod+Shift+C { spawn "clipboard-picker"; }
Mod+Shift+X { quit; } Mod+Shift+X { quit; }
+3
View File
@@ -29,4 +29,7 @@ imv
mpv mpv
zathura zathura
zathura-pdf-mupdf zathura-pdf-mupdf
thunar-archive-plugin
file-roller
starship
+32
View File
@@ -0,0 +1,32 @@
# Starship config - Tomorrow Night palette
format = """
$directory\
$git_branch\
$git_status\
$cmd_duration\
$line_break\
$character"""
[character]
success_symbol = "[](bold #81a2be)"
error_symbol = "[](bold #cc6666)"
[directory]
style = "bold #81a2be"
truncation_length = 3
truncate_to_repo = true
[git_branch]
symbol = " "
style = "bold #b5bd68"
format = "[$symbol$branch]($style) "
[git_status]
style = "#cc6666"
format = '([$all_status$ahead_behind]($style) )'
[cmd_duration]
min_time = 2000
style = "#f0c674"
format = "[$duration]($style) "
+41
View File
@@ -0,0 +1,41 @@
# swaylock config - Tomorrow Night theme
# Background
color=1d1f21
# Indicator
indicator-radius=80
indicator-thickness=8
indicator-idle-visible
# Ring colors
ring-color=373b41
ring-clear-color=81a2be
ring-ver-color=b5bd68
ring-wrong-color=cc6666
# Inside colors
inside-color=1d1f21cc
inside-clear-color=1d1f21cc
inside-ver-color=1d1f21cc
inside-wrong-color=1d1f21cc
# Line (separator between inside and ring)
line-color=00000000
line-clear-color=00000000
line-ver-color=00000000
line-wrong-color=00000000
# Text
text-color=c5c8c6
text-clear-color=81a2be
text-ver-color=b5bd68
text-wrong-color=cc6666
# Key highlight
key-hl-color=81a2be
bs-hl-color=cc6666
# Font
font=JetBrainsMono Nerd Font
font-size=14