Welcome to Ubuntu 25.04 and fixes

This commit is contained in:
2025-06-09 10:55:32 +02:00
parent 98133dad03
commit 5b3d5208a3
10 changed files with 53 additions and 12 deletions

View File

@@ -1,10 +1,12 @@
#!/bin/sh
# Simple script to run the playbook
echo "Open Sudo rights before start"
sudo echo "ok"
if [ ! -x /usr/bin/ansible ]; then
echo "Missing Ansible, Running Install"
if [ -x /usr/bin/apt ]; then
# I'm not doing anything fancy, so older version from repo is okay
apt install -f ansible
sudo apt install -f ansible
fi
fi
ansible-playbook install-desktop-toolsontech.yml

View File

@@ -6,9 +6,11 @@
ansible.builtin.include_tasks: "{{ item }}"
loop:
- tasks/base_packages.yml
- tasks/flatpak.yml
- tasks/todoist.yml
- tasks/nocfree.yml
- tasks/discord.yml
- tasks/steam.yml

View File

@@ -15,6 +15,8 @@
name:
- i3
- polybar
- keychain
- rofi
- name: Development Environment
become: true
@@ -31,3 +33,10 @@
- flameshot
- peek
- obs-studio
- name: Brave Browser
become: true
ansible.builtin.shell: 'curl -fsS https://dl.brave.com/install.sh | sh'
args:
creates: /usr/bin/brave-browser

View File

@@ -1,8 +1,13 @@
---
- name: Communication
apt:
name:
- discord
# Let's fix Discord Auto updating, because it's a pain
# https://github.com/FlorianHegele/AutoUpdateDiscord
# /
- name: Install AutoUpdateDiscord
become: true
ansible.builtin.git:
repo: 'https://github.com/FlorianHegele/AutoUpdateDiscord'
dest: /opt/AutoUpdateDiscord
- name: Install/Update Discord
become: true
ansible.builtin.shell: 'bash /opt/AutoUpdateDiscord/update_discord.sh'
args:
creates: /usr/bin/Discord

View File

@@ -0,0 +1,5 @@
- name: Setup Flatpak
become: true
apt:
name:
- flatpak

View File

@@ -0,0 +1,5 @@
---
- name: Install Steam
become: true
ansible.builtin.apt:
deb: 'https://cdn.fastly.steamstatic.com/client/installer/steam.deb'

View File

@@ -189,3 +189,8 @@ exec_always --no-startup-id $HOME/.config/polybar/launch.sh
default_border normal 5px
# This needs a newer verison of i3 then I have on my desktop right now
#gaps inner 5px
# Turn off my screen after 10 min of in-activity
exec --no-startup-id xset dpms 600
exec --no-startup-id /usr/bin/blueman-applet

View File

@@ -22,11 +22,11 @@ font-4 = NotoColorEmoji:size=14:scale=10;0
modules-left = i3 cpu memory
modules-center = date
modules-right = wired-network wireless-network pulseaudio
modules-right = wired-network wireless-network pulseaudio tray
tray-position = right
tray-padding = 2
tray-maxsize = 16
#tray-position = right
#tray-padding = 2
#tray-maxsize = 16
[module/backlight]
type = internal/xbacklight

View File

@@ -29,3 +29,11 @@ fi
#if [ -n "$PS1" ] && [ -z "$TMUX" ] && [ -z "$SSH_TTY" ] && [ -t 1 ]; then
# tmux attach-session -t main || tmux new-session -s main
#fi
# Load my SSH Agent and Key
if [ -n "$PS1" ] && [ -z "$SSH_TTY" ] && [ -t 1 ]; then
keychain ~/.ssh/bgrolleman_2024.ed25519
source ~/.keychain/laura-sh
fi
alias notes="tmux attach-session -t notes || tmux new-session -s notes 'nvim ~/Notes/Personal'"