Compare commits
3 Commits
dcf4a2b33e
...
f970615cbb
Author | SHA1 | Date | |
---|---|---|---|
f970615cbb | |||
f34546a7ac | |||
483e78fde1 |
|
@ -15,3 +15,4 @@ sudo apt install git
|
||||||
git clone https://git.nunosempere.com/open.source/nunOS.git
|
git clone https://git.nunosempere.com/open.source/nunOS.git
|
||||||
cd nunOS
|
cd nunOS
|
||||||
|
|
||||||
|
source 2-core.sh
|
||||||
|
|
|
@ -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
17
2-core.sh
Normal 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
|
4
3-tmux.sh
Executable file
4
3-tmux.sh
Executable 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
3
4-finegrained.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
source packages/finegrained/1-rose.sh
|
||||||
|
|
||||||
|
echo 1 && sleep 2 && bash
|
14
README.md
14
README.md
|
@ -11,6 +11,8 @@
|
||||||
- Sensible array of default applications
|
- Sensible array of default applications
|
||||||
- Doesn't try to imitate Windows
|
- Doesn't try to imitate Windows
|
||||||
- I like the search with the "windows" key
|
- I like the search with the "windows" key
|
||||||
|
- Escape hatch
|
||||||
|
- Xmonad too hardcore
|
||||||
- [ ] Figure out a few basic things
|
- [ ] Figure out a few basic things
|
||||||
- how to specify shortcuts in the command line: gsettings, or dconf-editor
|
- how to specify shortcuts in the command line: gsettings, or dconf-editor
|
||||||
- [ ] Describe how to get debian step by step
|
- [ ] 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
|
- 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
|
- 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
|
### Debian installer instructions
|
||||||
|
|
||||||
Partition > Guided - use entire disk and set up encrypted LVM.
|
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
|
## How to get this distribution
|
||||||
|
|
||||||
```
|
```
|
||||||
wget ...
|
wget https://git.nunosempere.com/open.source/nunOS/raw/branch/master/1-bootstrap.sh
|
||||||
chmod +x bootstrap.sh
|
source bootstrap.sh
|
||||||
bash bootstrap.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo apt install neovim
|
|
||||||
git config --global core.editor "vim"
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -163,7 +163,7 @@ font:
|
||||||
#style: Bold Italic
|
#style: Bold Italic
|
||||||
|
|
||||||
# Point size
|
# Point size
|
||||||
size: 21.5
|
# size: 21.5
|
||||||
# 24.5
|
# 24.5
|
||||||
## 20.5
|
## 20.5
|
||||||
|
|
||||||
|
@ -442,12 +442,12 @@ cursor:
|
||||||
# - (macOS) /bin/bash --login
|
# - (macOS) /bin/bash --login
|
||||||
# - (Linux/BSD) user login shell
|
# - (Linux/BSD) user login shell
|
||||||
# - (Windows) powershell
|
# - (Windows) powershell
|
||||||
shell:
|
#shell:
|
||||||
program: /bin/bash
|
# program: /bin/bash
|
||||||
args:
|
# args:
|
||||||
- -l
|
# - -l
|
||||||
- -c
|
# - -c
|
||||||
- "bash" #tmuxp load desk"
|
# - "bash" #tmuxp load desk"
|
||||||
# - "tmux"
|
# - "tmux"
|
||||||
# Startup directory
|
# Startup directory
|
||||||
#
|
#
|
||||||
|
|
3
config/bash/utils.sh
Normal file
3
config/bash/utils.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function bright(){
|
||||||
|
xrandr --output eDP --brightness $1
|
||||||
|
}
|
|
@ -1,21 +1,25 @@
|
||||||
sudo apt install xdotool
|
sudo apt install xdotool
|
||||||
|
|
||||||
|
# hide gtk titlebar
|
||||||
wget https://github.com/velitasali/gtktitlebar/releases/download/11.0/gtktitlebar-11.0.zip
|
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
|
yes | sudo unzip gtktitlebar-11.0.zip -d /usr/share/gnome-shell/extensions
|
||||||
rm gtktitlebar-11.0.zip
|
rm gtktitlebar-11.0.zip
|
||||||
|
|
||||||
|
# autohide top bar
|
||||||
|
sudo apt install gnome-shell-extension-autohidetopbar
|
||||||
|
|
||||||
|
# soft brightness
|
||||||
|
|
||||||
|
# refresh gnome shell
|
||||||
name=$(xdotool getwindowfocus getwindowname)
|
name=$(xdotool getwindowfocus getwindowname)
|
||||||
killall -3 gnome-shell && sleep 5
|
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 Tab
|
||||||
xdotool key Return
|
xdotool key Return
|
||||||
sleep 1
|
sleep 1
|
||||||
echo "$name"
|
echo "$name"
|
||||||
wmctrl -a $name
|
wmctrl -a $name
|
||||||
|
|
||||||
|
# enable extensions
|
||||||
gsettings set org.gnome.shell disable-user-extensions false
|
gsettings set org.gnome.shell disable-user-extensions false
|
||||||
gnome-extensions enable gtktitlebar@velitasali.github.io
|
gnome-extensions enable gtktitlebar@velitasali.github.io
|
||||||
|
gnome-extensions enable hidetopbar@mathieu.bidon.ca
|
|
@ -1,2 +1,3 @@
|
||||||
sudo apt install alacritty
|
sudo apt install alacritty
|
||||||
sudo apt install fonts-powerline
|
sudo apt install fonts-powerline
|
||||||
|
cp -r config/alacritty/Noto/ ~/.fonts
|
14
packages/finegrained/1-rose.sh
Normal file
14
packages/finegrained/1-rose.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user