mirror of
https://github.com/DO1JLR/ansible_linux_desktop_setup.git
synced 2024-09-14 19:54:51 +02:00
add i3wm config
This commit is contained in:
parent
74827b7227
commit
0ec1feb5d0
5 changed files with 61 additions and 1 deletions
BIN
files/background.png
Normal file
BIN
files/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
41
group_vars/thinkpad.yml
Normal file
41
group_vars/thinkpad.yml
Normal file
|
@ -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"
|
||||||
|
|
||||||
|
|
9
roles/copy_files/tasks/main.yml
Normal file
9
roles/copy_files/tasks/main.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- name: copy bg
|
||||||
|
copy:
|
||||||
|
src: files/background.png
|
||||||
|
dest: /home/{{ user }}/.config/background.png
|
||||||
|
owner: "{{ user }}"
|
||||||
|
group: "{{ user }}"
|
||||||
|
mode: 0644
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9f033b50c724804fc55c3c2b76b1d9a78b83e2e4
|
Subproject commit ab5078ed7eb7f864c352b61cee206485e5da8a1d
|
10
setup.yml
10
setup.yml
|
@ -4,7 +4,17 @@
|
||||||
hosts: thinkpad
|
hosts: thinkpad
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
- updates
|
||||||
roles:
|
roles:
|
||||||
- workstation_packages
|
- workstation_packages
|
||||||
|
|
||||||
|
- name: Install useful packages
|
||||||
|
hosts: thinkpad
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
- i3wm
|
||||||
|
roles:
|
||||||
|
- copy_files
|
||||||
|
- i3wm
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue