Compare commits

...

3 Commits

Author SHA1 Message Date
f970615cbb savepoint 2023-11-14 22:48:51 +00:00
f34546a7ac feat: handoff to tmux on alacritty 2023-11-14 21:50:39 +00:00
483e78fde1 feat: reach alacritty handoff. 2023-11-14 21:22:36 +00:00
15 changed files with 65 additions and 23 deletions

View File

@ -15,3 +15,4 @@ sudo apt install git
git clone https://git.nunosempere.com/open.source/nunOS.git
cd nunOS
source 2-core.sh

View File

@ -1,3 +0,0 @@
cp -a config/. ~/.config
# echo "source ~/.config/bash/bashrc" >> ~/.bashrc
# actually, I want this command to be indempotent, mmh

17
2-core.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/bash
cp -a config/. ~/.config
# echo "source ~/.config/bash/bashrc" >> ~/.bashrc
# actually, I want this command to be indempotent, mmh
# install core packages
bash packages/core/1-lf.sh
bash packages/core/2-tmux.sh
bash packages/core/3-gnome-extensions.sh
bash packages/core/4-alacritty.sh
# hand off to alacritty
chmod +x 3-tmux.sh
alacritty --config-file ./config/alacritty/alacritty-autostart.yml --command "$HOME/nunOS/3-tmux.sh" &
exit 1

View File

4
3-tmux.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
chmod +x 4-finegrained.sh
/usr/bin/tmux new-session -d -s nunos "bash 4-finegrained.sh"
/usr/bin/tmux attach -t nunos

3
4-finegrained.sh Executable file
View File

@ -0,0 +1,3 @@
source packages/finegrained/1-rose.sh
echo 1 && sleep 2 && bash

View File

View File

@ -11,6 +11,8 @@
- Sensible array of default applications
- Doesn't try to imitate Windows
- I like the search with the "windows" key
- Escape hatch
- Xmonad too hardcore
- [ ] Figure out a few basic things
- how to specify shortcuts in the command line: gsettings, or dconf-editor
- [ ] Describe how to get debian step by step
@ -30,6 +32,8 @@
- But the name "nunOS" (I'm Nuño Sempere) was too good to pass up
- The next step might be to: make this a [Debian derivative](https://www.debian.org/derivatives/)? But not close to it
userland distribution
### Debian installer instructions
Partition > Guided - use entire disk and set up encrypted LVM.
@ -37,12 +41,6 @@ Partition > Guided - use entire disk and set up encrypted LVM.
## How to get this distribution
```
wget ...
chmod +x bootstrap.sh
bash bootstrap.sh
```
```
sudo apt install neovim
git config --global core.editor "vim"
wget https://git.nunosempere.com/open.source/nunOS/raw/branch/master/1-bootstrap.sh
source bootstrap.sh
```

View File

@ -163,7 +163,7 @@ font:
#style: Bold Italic
# Point size
size: 21.5
# size: 21.5
# 24.5
## 20.5
@ -442,12 +442,12 @@ cursor:
# - (macOS) /bin/bash --login
# - (Linux/BSD) user login shell
# - (Windows) powershell
shell:
program: /bin/bash
args:
- -l
- -c
- "bash" #tmuxp load desk"
#shell:
# program: /bin/bash
# args:
# - -l
# - -c
# - "bash" #tmuxp load desk"
# - "tmux"
# Startup directory
#

3
config/bash/utils.sh Normal file
View File

@ -0,0 +1,3 @@
function bright(){
xrandr --output eDP --brightness $1
}

View File

@ -1,21 +1,25 @@
sudo apt install xdotool
# hide gtk titlebar
wget https://github.com/velitasali/gtktitlebar/releases/download/11.0/gtktitlebar-11.0.zip
yes | sudo unzip gtktitlebar-11.0.zip -d /usr/share/gnome-shell/extensions
rm gtktitlebar-11.0.zip
# autohide top bar
sudo apt install gnome-shell-extension-autohidetopbar
# soft brightness
# refresh gnome shell
name=$(xdotool getwindowfocus getwindowname)
killall -3 gnome-shell && sleep 5
# sleep 1 && wmctrl -a $name
wmctrl -a "hephaestus@kedalion: ~/nunOS"
echo 1
# xdotool key a
xdotool key Tab
xdotool key Return
sleep 1
echo "$name"
wmctrl -a $name
# enable extensions
gsettings set org.gnome.shell disable-user-extensions false
gnome-extensions enable gtktitlebar@velitasali.github.io
gnome-extensions enable hidetopbar@mathieu.bidon.ca

View File

@ -1,2 +1,3 @@
sudo apt install alacritty
sudo apt install fonts-powerline
cp -r config/alacritty/Noto/ ~/.fonts

View File

@ -0,0 +1,14 @@
cd /var/local
sudo rm -r rosenrot-browser
sudo mkdir rosenrot-browser
sudo chown $(whoami) rosenrot-browser
git clone https://github.com/NunoSempere/rosenrot-browser
cd rosenrot-browser
cd user-scripts
cd debian-12
bash install-with-dependencies.sh
rose https://git.nunosempere.com/open.source/nunOS https://git.nunosempere.com/open.source/rosenrot &
cd ~/nunOS