update: added a project selector TUI and tips, brushed up ghosty config.

This commit is contained in:
2026-05-18 22:18:20 +02:00
parent 671d6220d1
commit 97d4712554
6 changed files with 67 additions and 19 deletions
+30 -1
View File
@@ -1,6 +1,14 @@
# SDG-OS
mangoWC dotfiles with DMS integration
mangoWC dotfiles with DMS integration as well as a couple of other things.
custom stuff:
- pacman and AUR TUIs
- tips
- auto-update
- mango configuration manager TUI
- project manager TUI
- screenshots scripts
## auto-install
@@ -157,6 +165,25 @@ you can also see all tips via fzf using the "alltips" command
lastly, you'll get a notification popup with a random tip when you press SUPER+0
# project manager TUI
SDG-OS comes with an interactive script bound to super+shift+tab, this will preview the paths to all of the git repositories within your projects directory (default ~/projects)
on the right side, you'll see the contents of that git repository as well as the README.md file.
when you select a repository, the screen will close and in its place, an instance of VSCode opens with that repository already selected.
to change your projects dir, you can do the following:
`echo "MyProjects/Subdir" > ~/.config/projectdir.state`
this will set your projects dir to /home/YourUserName/MyProjects/Subdir
you cannot set the projects dir outside of your home folder, it is also not advised to set it directly to your home folder as including .local will cause it to include all your AUR packages.
# contributing
@@ -171,6 +198,8 @@ just message me on discord lmao.
# Updates:
18-05-2026 - added tips, better ghostty and zsh configuration and a project manager TUI to open your github repo's in VSCode.
17-05-2026 - added auto-updater as well as install script.
17-05-2026 - added screenshot capability through scripts, first run modal (opens settings and keybinds popup on first boot) and added a somewhat-simple mango config editor script.
+16 -16
View File
@@ -1,22 +1,22 @@
background = #0e141c
foreground = #dde3ee
cursor-color = #a1c9ff
selection-background = #004880
selection-foreground = #dde3ee
background = #101418
foreground = #e0e2e8
cursor-color = #9ecafc
selection-background = #154974
selection-foreground = #e0e2e8
palette = 0=#0e141c
palette = 1=#ff729b
palette = 2=#7fff91
palette = 0=#101418
palette = 1=#ff729c
palette = 2=#7efc8f
palette = 3=#fff772
palette = 4=#87b4f2
palette = 5=#264876
palette = 6=#a1c9ff
palette = 4=#84b6ef
palette = 5=#244a74
palette = 6=#9ecafc
palette = 7=#eff6ff
palette = 8=#999ea5
palette = 8=#979da3
palette = 9=#ff9fbb
palette = 10=#a5ffb2
palette = 10=#a5ffb1
palette = 11=#fffaa5
palette = 12=#afd1ff
palette = 13=#bdd9ff
palette = 14=#d4e6ff
palette = 12=#aed3ff
palette = 13=#bcdbff
palette = 14=#d4e8ff
palette = 15=#f8fbff
+2
View File
@@ -15,6 +15,8 @@ fi
stow . -t /home/$(whoami)/.config/
echo "on" > ~/.config/SDGupdate.state
echo "projects" > ~/.config/projectdir.state
mkdir -p ~/projects
echo "source /home/$(whoami)/.config/sdgos/zshconfig.zsh" >> ~/.zshrc
+1
View File
@@ -36,6 +36,7 @@ bind=SUPER,E,spawn,nautilus ~
bind=SUPER,B,spawn,firefox
bind=SUPER,N,spawn_shell,dms ipc call notepad open # open notes
bind=SUPER+SHIFT,M,spawn,firefox --new-window https://mangowm.github.io/docs/configuration
bind=SUPER+SHIFT,TAB,spawn_shell,ghostty -e ~/.config/sdgos/tuis/project-select.sh # summon project selection TUI
+2 -2
View File
@@ -1,6 +1,6 @@
# ! Auto-generated file. Do not edit directly.
# Remove source = ./dms/colors.conf from your config to override.
bordercolor = 0x8b919cff
focuscolor = 0xa1c9ffff
bordercolor = 0x8c9199ff
focuscolor = 0x9ecafcff
urgentcolor = 0xffb4abff
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
dirstate=$(cat ~/.config/projectdir.state)
DIR=/home/$(whoami)/$dirstate
# Find directories containing a '.git' folder and get their absolute paths
REPOS=$(find "$(realpath "$DIR")" -maxdepth 5 -name ".git" -type d -exec dirname {} \; | xargs -I {} readlink -f {})
SELECTED=$(echo "$REPOS" | fzf --layout=reverse --preview="clear && eza -al --color=always --group-directories-first --icons {} && echo "-----------------------------------------------------" && cat {}/README.md ")
echo $SELECTED
CMD="code-oss -n $SELECTED"
mmsg -d spawn_shell,"$CMD"