diff --git a/files/background.png b/files/background.png new file mode 100644 index 0000000..612e7f5 Binary files /dev/null and b/files/background.png differ diff --git a/group_vars/thinkpad.yml b/group_vars/thinkpad.yml new file mode 100644 index 0000000..1fd41ed --- /dev/null +++ b/group_vars/thinkpad.yml @@ -0,0 +1,41 @@ +--- +user: l3d + +i3_packages_extra: + - ranger + +i3_keybindings_extra: + - keybinding: + name: Volume (mute/unmute) + key: $mod+F12 + exec: --no-startup-id amixer sset Master toggle + - keybinding: + name: Volue (default) + key: $mod+Shift+F12 + exec: --no-startup-id amixer sset Master 40% + +i3_applications: + - application: + class: "Terminator" + name: "terminator" + workspace: 1 + on_startup: false + - application: + class: "Firefox" + name: "firefox" + workspace: 2 + on_startup: true + - application: + class: "Thunderbird" + name: "thunderbird" + workspace: 9 + on_startup: true + +i3: + font_size: 12 + focus_follows_mouse: true + +i3_desktop_env: + background: "/home/{{ user }}/.config/background.png" + + diff --git a/roles/copy_files/tasks/main.yml b/roles/copy_files/tasks/main.yml new file mode 100644 index 0000000..9be1d02 --- /dev/null +++ b/roles/copy_files/tasks/main.yml @@ -0,0 +1,9 @@ +--- + +- name: copy bg + copy: + src: files/background.png + dest: /home/{{ user }}/.config/background.png + owner: "{{ user }}" + group: "{{ user }}" + mode: 0644 diff --git a/roles/i3wm b/roles/i3wm index 9f033b5..ab5078e 160000 --- a/roles/i3wm +++ b/roles/i3wm @@ -1 +1 @@ -Subproject commit 9f033b50c724804fc55c3c2b76b1d9a78b83e2e4 +Subproject commit ab5078ed7eb7f864c352b61cee206485e5da8a1d diff --git a/setup.yml b/setup.yml index 2ebb17c..3bcb46e 100644 --- a/setup.yml +++ b/setup.yml @@ -4,7 +4,17 @@ hosts: thinkpad tags: - packages + - updates roles: - workstation_packages +- name: Install useful packages + hosts: thinkpad + tags: + - packages + - i3wm + roles: + - copy_files + - i3wm +