Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from zstg/main
Browse files Browse the repository at this point in the history
Lots of fixes
  • Loading branch information
zstg authored Mar 2, 2024
2 parents 7a0c105 + 4cc5a35 commit 9a220d8
Show file tree
Hide file tree
Showing 15 changed files with 69 additions and 46 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[submodule "airootfs/usr/share/backgrounds/StratOS"]
path = airootfs/usr/share/backgrounds/StratOS
url = https://github.com/lugvitc/StratOS-wallpapers
[submodule "airootfs/usr/share/grub/themes/StratOS-grub"]
path = airootfs/usr/share/grub/themes/StratOS-grub
url = https://github.com/zstg/StratOS-grub
[submodule "airootfs/opt/maneki-neko"]
path = airootfs/opt/maneki-neko
url = https://github.com/zstg/stratOS-maneki-neko
Expand All @@ -16,3 +13,6 @@
[submodule "airootfs/etc/skel/.config/emacs"]
path = airootfs/etc/skel/.config/emacs
url = https://github.com/StratOS-Linux/Stratmacs
[submodule "airootfs/usr/share/grub/themes/StratOS-grub"]
path = airootfs/usr/share/grub/themes/StratOS-grub
url = https://github.com/StratOS-Linux/StratOS-grub
2 changes: 1 addition & 1 deletion airootfs/etc/passwd
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
root:x:0:0:root:/root:/usr/bin/bash
stratos:x:1000:1000::/home/stratos:/usr/bin/bash
stratos:x:1000:1000::/home/stratos:/usr/bin/zsh
10 changes: 10 additions & 0 deletions airootfs/etc/skel/.aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
alias ls='eza --color=always'
alias rg='rg -i --sort-path'
alias grep='grep --color=auto'
alias neofetch='neofetch --ascii_distro janus'
alias fetch-arch="sudo brl fetch arch"
alias fetch-ubuntu=" sudo brl fetch ubuntu -m http://repo.huaweicloud.com/ubuntu -r mantic"
alias apt="nala"
alias sudo="sudo -E"
alias cat="bat --plain --number --color=always"
alias bat="bat --plain --number --color=always"
10 changes: 2 additions & 8 deletions airootfs/etc/skel/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,9 @@

# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# [[ -f ~/.bashrc-personal && source ~/.bashrc-personal ]]
[[ -f ~/.bashrc-personal ]] && source ~/.bashrc-personal
export PATH=~/.local/bin:$PATH
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias neofetch='neofetch --ascii_distro janus'
alias fetch-arch="sudo brl fetch arch"
alias fetch-ubuntu=" sudo brl fetch ubuntu -m http://repo.huaweicloud.com/ubuntu -r mantic"
alias apt="nala"
alias sudo="sudo -E"
[[ -f ~/.aliases ]] && source ~/.aliases
source <(starship init bash --print-full-init)
[[ $(command -v grab) ]] && grab
PS1='[\u@\h \W]\$ ' # this works ONLY on bash, use Starship instead.
2 changes: 1 addition & 1 deletion airootfs/etc/skel/.config/emacs
Submodule emacs updated 1 files
+1 −14 stratmacs.org
14 changes: 14 additions & 0 deletions airootfs/etc/skel/.zshrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return
[[ -f ~/.zshrc-personal ]] && source ~/.zshrc-personal
export PATH=~/.local/bin:$PATH
[[ -f ~/.aliases ]] && source ~/.aliases
source <(starship init zsh --print-full-init)
[[ $(command -v grab) ]] && grab
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
bindkey "^[[H" beginning-of-line
bindkey "^[[F" end-of-line
9 changes: 4 additions & 5 deletions airootfs/usr/local/bin/StratOS-configure-distro
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,18 @@ while true; do
1)
echo "Bootstrapping Ubuntu..."
until $(which apt); do
pkexec brl remove -d ubuntu >/dev/null
pkexec brl fetch ubuntu
pkexec brl remove -d ubuntu 2>/dev/null
pkexec brl fetch ubuntu
sudo apt install -y nala
done
echo "\n==> Ubuntu configured successfully."
pkexec sed 's/timeout = 30/timeout = 0/g' -i /bedrock/etc/bedrock.conf
;;
2)
echo "Bootstrapping Fedora..."
until $(which dnf); do
pkexec brl remove -d fedora >/dev/null
pkexec brl remove -d fedora 2>/dev/null
pkexec brl fetch fedora
done
pkexec sed 's/timeout = 30/timeout = 0/g' -i /bedrock/etc/bedrock.conf
echo "\n==> Fedora configured successfully."
;;
*)
Expand Down
4 changes: 2 additions & 2 deletions airootfs/usr/local/bin/StratOS-configure-theme
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ while true; do
gsettings set org.gnome.desktop.interface gtk-theme "'Tokyonight-Dark-B'"
gsettings set org.gnome.desktop.interface icon-theme "'Tokyonight-Dark'"
ln -sf $HOME/.themes/Tokyonight-Dark-B/gtk-4.0/ ~/.config/
sudo cp -f /usr/share/grub/themes/StratOS-grub/tokyonight-dark/theme.txt /usr/share/grub/themes/StratOS-grub/theme.txt
sudo cp -f /usr/share/grub/themes/StratOS-grub/tokyonight-dark/background.png /usr/share/grub/themes/StratOS-grub/background.png
sudo cp -f /usr/share/grub/themes/StratOS-grub/tokyo-night/theme.txt /usr/share/grub/themes/StratOS-grub/theme.txt
sudo cp -f /usr/share/grub/themes/StratOS-grub/tokyo-night/background.png /usr/share/grub/themes/StratOS-grub/background.png
sudo ln -sf /etc/calamares/branding/tokyonight-dark/stylesheet.qss /etc/calamares/branding/default/stylesheet.qss
sudo ln -sf $HOME/.config/starship/tokyonight-dark/starship.toml $HOME/.config/starship.toml
sudo cp /opt/maneki-neko/src/ui/TokyoNight-Dark/** /opt/maneki-neko/src/ui/
Expand Down
1 change: 1 addition & 0 deletions airootfs/usr/local/bin/StratOS-configure-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ if [[ -d /bedrock ]]; then
# notify-send "Bootstrapping Ubuntu..."
# pkexec /bedrock/bin/brl fetch ubuntu
# notify-send "Cleaning up..."
pkexec sed 's/timeout = 30/timeout = 0/g' -i /bedrock/etc/bedrock.conf # make this change regardless of whether a distro is installed or not
rm -f $HOME/.config/autostart/ubuntu.desktop
# sudo apt update
# sudo apt -y upgrade
Expand Down
2 changes: 1 addition & 1 deletion airootfs/usr/share/backgrounds/StratOS
2 changes: 1 addition & 1 deletion airootfs/usr/share/grub/themes/StratOS-grub
47 changes: 26 additions & 21 deletions packages.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ archlinux-keyring
# b43-fwcutter
base
base-devel
bat
bind
bibata-cursor-theme
broadcom-wl
Expand All @@ -18,7 +19,7 @@ chromium
# cryptsetup
# darkhttpd
dbus
ddrescue
# ddrescue
dhclient
dhcpcd
dialog
Expand All @@ -33,17 +34,20 @@ efibootmgr
emacs
ethtool
exfatprogs
eza
f2fs-tools
fatresize
fsarchiver
fd
# fsarchiver
fzf
git

# GNOME-related packages
# gnome
gdm
gnome-backgrounds
gnome-characters
gnome-color-manager
# gnome-color-manager
gnome-control-center
gnome-font-viewer
gnome-keyring
Expand All @@ -66,9 +70,9 @@ xdg-user-dirs-gtk



gnu-netcat
# gnu-netcat
gpart
gpm
# gpm
gptfdisk
grab
grub
Expand All @@ -80,16 +84,15 @@ kpmcore
kvantum
lazygit
less
libfido2
# libfido2
libusb-compat
licenses
linux
linux-atm
linux-firmware
linux-firmware-marvell
livecd-sounds
lsscsi
# StratOS-repo/calamares
# livecd-sounds
# lsscsi
lvm2
# lynx
man-db
Expand All @@ -99,35 +102,36 @@ memtest86+
memtest86+-efi
mkinitcpio
mkinitcpio-archiso
mkinitcpio-nfs-utils
# mkinitcpio-nfs-utils
mkinitcpio-openswap
modemmanager
mtools
nano
nbd
ndisc6
# nbd
# ndisc6
neovim
networkmanager
nfs-utils
nilfs-utils
# nfs-utils
# nilfs-utils
npm
ntfs-3g
# nvme-cli
open-iscsi
open-vm-tools
openssh
os-prober
partclone
# partclone
# parted
partimage
pcsclite
pv
# partimage
# pcsclite
# pv
python-pyqt5
qt5-wayland
qt6-wayland
refind
# reflector
rock
ripgrep
rsync
sg3_utils
smartmontools
Expand All @@ -137,13 +141,13 @@ starship
sudo
syslinux
systemd-resolvconf
tcpdump
# tcpdump
terminus-font
testdisk
# tpm2-tools
# tpm2-tss
ttf-jetbrains-mono-nerd
udftools
# udftools
usb_modeswitch
usbmuxd
usbutils
Expand All @@ -155,4 +159,5 @@ wpa_supplicant
xorg
xorg-server
yay-bin
# zsh
zsh
zsh-syntax-highlighting
4 changes: 2 additions & 2 deletions syslinux/archiso_head.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ MENU HELPMSGENDROW 29

# Refer to https://wiki.syslinux.org/wiki/index.php/Comboot/menu.c32

MENU COLOR title 1;33;40 #80ff8080 #00000000 std
MENU COLOR border 33;40 #40ff8080 #00000000 std
MENU COLOR title 1;33;40 #40769ff0 #00000000 std
MENU COLOR border 33;40 #40769ff0 #00000000 std
MENU COLOR sel 7;33;40 #e0ffffff #20ffffff all
MENU COLOR unsel 33;44 #50ffffff #a0000000 std
MENU COLOR help 37;40 #c0ffffff #a0000000 std
Expand Down
Binary file modified syslinux/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9a220d8

Please sign in to comment.