From d9a6b7e86cb956aa64aa5a059a9bbcab821e7cc9 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Thu, 20 Jun 2024 13:25:42 +0100 Subject: [PATCH] Fix height on firefox --- dotfiles/.homepage/style.css | 4 ++-- dotfiles/.local/bin/blue | 13 ------------- dotfiles/.xinitrc | 1 + install.sh | 11 ++++++++++- 4 files changed, 13 insertions(+), 16 deletions(-) delete mode 100755 dotfiles/.local/bin/blue diff --git a/dotfiles/.homepage/style.css b/dotfiles/.homepage/style.css index 7f1056b3..32a77fe6 100644 --- a/dotfiles/.homepage/style.css +++ b/dotfiles/.homepage/style.css @@ -1,9 +1,9 @@ -body { +html, body { font-family: "JetBrainsMono NF", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; color: #ebdbb2; text-align: center; background: #282828; - height: 100vh; + height: 100%; display: flex; flex-direction: column; justify-content: center; diff --git a/dotfiles/.local/bin/blue b/dotfiles/.local/bin/blue deleted file mode 100755 index dc0d3aae..00000000 --- a/dotfiles/.local/bin/blue +++ /dev/null @@ -1,13 +0,0 @@ -echo -#echo "Ctrl + C to stop scanning." -echo -hcitool scan # to get the MAC address of your device -bluetoothctl agent on -#bluetoothctl scan on | grep -E "NEW" -#bluetoothctl scan off &> /dev/null -echo -read -p "Mac address: " MAC_ADDRESS -bluetoothctl pair $MAC_ADDRESS -echo -read -p "Press ENTER after pairing." -bluetoothctl connect $MAC_ADDRESS diff --git a/dotfiles/.xinitrc b/dotfiles/.xinitrc index b7583e27..26e5194f 100644 --- a/dotfiles/.xinitrc +++ b/dotfiles/.xinitrc @@ -3,6 +3,7 @@ feh --bg-scale "/home/trude/dotfiles/bg2.png" & xrdb ~/.Xresources dunst & /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & +blueman-applet & export XDG_SESSION_TYPE=??? export XDG_SESSION_DESKTOP=??? diff --git a/install.sh b/install.sh index 2d119011..0136c78d 100755 --- a/install.sh +++ b/install.sh @@ -15,7 +15,8 @@ dialog --erase-on-exit \ "2" "Install Dotfiles" "on"\ "3" "Install GitHub CLI" "off"\ "4" "Install AI Tools" "off"\ - "5" "Install MultiMC" "off" 2> main.tmp + "5" "Install MultiMC" "off"\ + "6" "Enable bluetooth support" "off" 2> main.tmp main_menu=$( cat main.tmp ) rm main.tmp mkdir logs @@ -118,6 +119,14 @@ for selection in $main_menu; do } | dialog --backtitle "$BACKTITLE" --programbox "Install Minecraft (MultiMC)" 30 90 fi + if [ "$selection" = "6" ]; then + # --- ENABLE BLUETOOTH --- + + { + sudo apt-get install -y blueman + } | dialog --backtitle "$BACKTITLE" --programbox "Enable Bluetooth support (blueman)" 30 90 + fi + if [ "$selection" = "2" ]; then # --- INSTALL DOTFILES ---