Skip to content

Commit 7e9a458

Browse files
committed
2025.08.28
1 parent a5b7eda commit 7e9a458

5 files changed

Lines changed: 95 additions & 3 deletions

File tree

os-unix/config-editor/.config/Code/User/settings.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"window.customMenuBarAltFocus": false,
55
"window.newWindowDimensions": "maximized",
66
"window.restoreWindows": "all",
7-
"window.title": "${folderName} ${activeEditorLong}${separator}${remoteName}",
7+
"window.title": "${folderName} ${separator}${activeRepositoryBranchName}${separator}${remoteName}",
88
"window.titleBarStyle": "custom",
99

1010
//
@@ -526,10 +526,11 @@
526526
"Lua.telemetry.enable": false,
527527

528528
// OTHER
529-
"workbench.colorTheme": "Solarized Light",
529+
"workbench.colorTheme": "Quiet Light",
530530
"editor.cursorBlinking": "smooth",
531531
"editor.fontFamily": "'Hack', monospace",
532532
"[typescript]": {
533533
"editor.defaultFormatter": "vscode.typescript-language-features"
534-
}
534+
},
535+
"autotitle.autoUpdate": false
535536
}

os-unix/setup-devtool/pgadmin.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/usr/bin/env bash
2+
3+
source ~/.dotfiles/os-unix/data/source.sh
4+
5+
declare -g g_name='pgAdmin'
6+
7+
main() {
8+
util.install_by_setup "$@"
9+
}
10+
11+
install.ubuntu() {
12+
local gpg_file='/etc/apt/keyrings/pgadmin.asc'
13+
14+
pkg.add_apt_key 'https://www.pgadmin.org/static/packages_pgadmin_org.pub' \
15+
"$gpg_file"
16+
17+
# TODO
18+
sudo sh -c "echo \"deb [signed-by=$gpg_file] https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main\" > /etc/apt/sources.list.d/pgadmin4.list && apt-get update -y"
19+
20+
sudo apt-get update -y
21+
sudo apt-get install -y pgadmin4-desktop
22+
}
23+
24+
installed() {
25+
[ -d /usr/pgadmin4 ]
26+
}
27+
28+
util.if_file_sourced || _setup "$@"

os-unix/setup-devtool/podman.sh

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/env bash
2+
3+
source ~/.dotfiles/os-unix/data/source.sh
4+
5+
declare -g g_name='podman'
6+
7+
main() {
8+
util.install_by_setup "$@"
9+
}
10+
11+
install.debian() {
12+
sudo apt-get install -y podman
13+
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
14+
flatpak install -y --user flathub io.podman_desktop.PodmanDesktop
15+
}
16+
17+
install.ubuntu() {
18+
install.debian "$@"
19+
}
20+
21+
install.fedora() {
22+
sudo dnf -y install podman
23+
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
24+
flatpak install -y --user flathub io.podman_desktop.PodmanDesktop
25+
}
26+
27+
install.opensuse() {
28+
sudo zypper -n install podman
29+
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
30+
flatpak install -y --user flathub io.podman_desktop.PodmanDesktop
31+
}
32+
33+
installed() {
34+
command -v podman &>/dev/null
35+
}
36+
37+
util.if_file_sourced || _setup "$@"

os-unix/setup-devtool/postgres.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env bash
2+
3+
source ~/.dotfiles/os-unix/data/source.sh
4+
5+
declare -g g_name='PostgreSQL'
6+
7+
main() {
8+
util.install_by_setup "$@"
9+
}
10+
11+
install.ubuntu() {
12+
sudo apt-get install -y postgresql-common
13+
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
14+
sudo apt-get update -y
15+
sudo apt-get install -y postgresql-17 postgresql-doc-17
16+
}
17+
18+
installed() {
19+
command -v postgres &>/dev/null
20+
}
21+
22+
util.if_file_sourced || _setup "$@"

os-unix/setup-other/docker-credential-secretservice.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@ obj['credsStore'] = 'secretservice'
2121
file.write_text(json.dumps(obj, indent='\t'))"
2222
}
2323

24+
installed() {
25+
[ -f ~/bin/docker-credential-secretservice ]
26+
}
27+
2428
util.if_file_sourced || _setup "$@"

0 commit comments

Comments
 (0)