mirror of
https://github.com/DO1JLR/ansible_linux_desktop_setup.git
synced 2024-09-14 19:54:51 +02:00
Use new modules and improve i3wm config
This commit is contained in:
parent
331295058a
commit
32b94fa1da
3 changed files with 39 additions and 3 deletions
|
@ -1,20 +1,41 @@
|
||||||
---
|
---
|
||||||
|
# flobal user config:
|
||||||
user: l3d
|
user: l3d
|
||||||
admins:
|
admins:
|
||||||
- l3d
|
- l3d
|
||||||
|
|
||||||
|
|
||||||
|
# i3wm config:
|
||||||
|
|
||||||
i3_packages_extra:
|
i3_packages_extra:
|
||||||
- ranger
|
- ranger
|
||||||
|
- light
|
||||||
|
|
||||||
i3_keybindings_extra:
|
i3_keybindings_extra:
|
||||||
- keybinding:
|
- keybinding:
|
||||||
name: Volume (mute/unmute)
|
name: Volume (mute/unmute)
|
||||||
key: $mod+F12
|
key: $mod+F12
|
||||||
exec: --no-startup-id amixer sset Master toggle
|
exec: --no-startup-id pulsemixer --toggle-mute
|
||||||
- keybinding:
|
- keybinding:
|
||||||
name: Volue (default)
|
name: Volue (default)
|
||||||
key: $mod+Shift+F12
|
key: $mod+Shift+F12
|
||||||
exec: --no-startup-id amixer sset Master 40%
|
exec: --no-startup-id pulsemixer --set-volume 42
|
||||||
|
- keybinding:
|
||||||
|
name: volume-up
|
||||||
|
key: XF86AudioRaiseVolume
|
||||||
|
exec: --no-startup-id pulsemixer --change-volume +4
|
||||||
|
- keybinding:
|
||||||
|
name: volume-down
|
||||||
|
key: XF86AudioLowerVolume
|
||||||
|
exec: --no-startup-id pulsemixer --change-volume -5
|
||||||
|
- keybinding:
|
||||||
|
name: darker
|
||||||
|
key: XF86AudioMute
|
||||||
|
exec: --no-startup-id pulsemixer --toggle-mute
|
||||||
|
- keybinding:
|
||||||
|
name: darker
|
||||||
|
key: XF86MonBrightnessDown
|
||||||
|
exec: --no-startup-id light -U 12
|
||||||
- keybinding:
|
- keybinding:
|
||||||
name: darker
|
name: darker
|
||||||
key: XF86MonBrightnessDown
|
key: XF86MonBrightnessDown
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 481820baea960e012bbf7c19f0face8bed88ce6b
|
Subproject commit d74a0badc825b07acf62c7316df9750882e9e4f4
|
15
setup.yml
15
setup.yml
|
@ -9,6 +9,16 @@
|
||||||
roles:
|
roles:
|
||||||
- workstation_packages
|
- workstation_packages
|
||||||
|
|
||||||
|
- name: enable and secure sshd
|
||||||
|
hosts: thinkpad
|
||||||
|
tags:
|
||||||
|
- secure
|
||||||
|
- ssh
|
||||||
|
- setup
|
||||||
|
roles:
|
||||||
|
- authorized_keys
|
||||||
|
- sshd
|
||||||
|
|
||||||
- name: Install useful dotfiles
|
- name: Install useful dotfiles
|
||||||
hosts: thinkpad
|
hosts: thinkpad
|
||||||
tags:
|
tags:
|
||||||
|
@ -24,6 +34,10 @@
|
||||||
roles:
|
roles:
|
||||||
- pulseaudio
|
- pulseaudio
|
||||||
|
|
||||||
|
#
|
||||||
|
# Currently it dosen't work on arch. Rely sad!
|
||||||
|
# Issue is open: https://github.com/maxbachmann/role-firefox/issues/29
|
||||||
|
#
|
||||||
# - name: improve firefox configuration
|
# - name: improve firefox configuration
|
||||||
# hosts: thinkpad
|
# hosts: thinkpad
|
||||||
# tags:
|
# tags:
|
||||||
|
@ -32,6 +46,7 @@
|
||||||
# roles:
|
# roles:
|
||||||
# - firefox
|
# - firefox
|
||||||
|
|
||||||
|
|
||||||
- name: Install useful packages
|
- name: Install useful packages
|
||||||
hosts: thinkpad
|
hosts: thinkpad
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue