mirror of
https://github.com/bgrolleman/dotfiles.git
synced 2025-12-06 05:45:24 +01:00
Welcome to Ubuntu 25.04 and fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
5
ansible.desktop/tasks/flatpak.yml
Normal file
5
ansible.desktop/tasks/flatpak.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: Setup Flatpak
|
||||
become: true
|
||||
apt:
|
||||
name:
|
||||
- flatpak
|
||||
5
ansible.desktop/tasks/steam.yml
Normal file
5
ansible.desktop/tasks/steam.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: Install Steam
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
deb: 'https://cdn.fastly.steamstatic.com/client/installer/steam.deb'
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
8
profile
8
profile
@@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user