feat: reach alacritty handoff.

This commit is contained in:
NunoSempere 2023-11-14 21:22:36 +00:00
parent dcf4a2b33e
commit 483e78fde1
9 changed files with 21 additions and 9 deletions

View File

@ -15,3 +15,4 @@ sudo apt install git
git clone https://git.nunosempere.com/open.source/nunOS.git
cd nunOS
bash 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

11
2-core.sh Normal file
View File

@ -0,0 +1,11 @@
cp -a config/. ~/.config
# echo "source ~/.config/bash/bashrc" >> ~/.bashrc
# actually, I want this command to be indempotent, mmh
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
alacritty --config-file ./config/alacritty/alacritty-autostart.yml --command "/usr/bin/bash"

View File

@ -163,7 +163,7 @@ font:
#style: Bold Italic
# Point size
size: 21.5
# size: 21.5
# 24.5
## 20.5

View File

@ -1,21 +1,23 @@
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
# 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