From 0e9d93a7f34b92a0d53faf5baaf15741a58a5aaa Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Mon, 20 Feb 2023 23:12:23 +0100 Subject: [PATCH] fix os3 setup --- README.md | 11 +++-------- playbooks/laptop.yml | 2 ++ roles/system/files/Xresources | 5 +++++ roles/system/tasks/main.yml | 5 +++++ 4 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 roles/system/files/Xresources diff --git a/README.md b/README.md index 9d2e35f..d16a272 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Personal Linux Setup -My current setup is [Regolith OS](https://regolith-desktop.com/) which is basically Ubuntu + i3. +My current setup is [Linux Mint Vera](https://linuxmint.com/edition.php?id=302) with the [i3 window manager](https://i3wm.org/). ## Before installing -- Put asymmetric key pair in ~/.ssh -- Install git +- Put Ansible Vault password in .vault_password +- Install git and curl - Install Ansible: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html ## TODO @@ -29,8 +29,3 @@ As an intermediate solution, I can just put the password in keepass... - More cool plugins :) - dropdown autocomplete - https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#yamlls - -## Long-term TODO - -- Move away from GNOME because it is quite slow and configuration is pretty bad. This would also mean moving away from Regolith unfortunately. I would probably move to KDE with i3. Maybe there is some distro that does this OOTB? -- Move away from systemd. Not sure how feasibly that is nowadays, but I just get annoyed by some systemd "features" such as resolved. diff --git a/playbooks/laptop.yml b/playbooks/laptop.yml index f0a0d0f..658851f 100644 --- a/playbooks/laptop.yml +++ b/playbooks/laptop.yml @@ -3,6 +3,8 @@ roles: - role: system tags: [system] + - role: i3 + tags: [i3] - role: bash tags: [bash] - role: alacritty diff --git a/roles/system/files/Xresources b/roles/system/files/Xresources new file mode 100644 index 0000000..7c3ddfb --- /dev/null +++ b/roles/system/files/Xresources @@ -0,0 +1,5 @@ +i3-wm.binding.split_h: c +i3-wm.binding.launcher.app: d + +i3-wm.binding.display: F1 +i3-wm.binding.settings: F2 diff --git a/roles/system/tasks/main.yml b/roles/system/tasks/main.yml index 16ba0d6..12d99ad 100644 --- a/roles/system/tasks/main.yml +++ b/roles/system/tasks/main.yml @@ -19,6 +19,11 @@ template: src: "{{ role_path }}/templates/.gitconfig.j2" dest: ~/.gitconfig +- name: Copy Xresources + copy: + src: "{{ role_path }}/files/Xresources" + dest: ~/.config/regolith2/Xresources + when: ansible_distribution == "Ubuntu" - name: Create keepassxc config directory file: path: ~/.config/keepassxc