mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
Improve Fedora support
This commit is contained in:
parent
f5a72a3d09
commit
4f8db6e14e
4 changed files with 21 additions and 3 deletions
|
@ -1,6 +1,11 @@
|
|||
---
|
||||
- name: register os-specific variables
|
||||
include_vars: "{{ ansible_os_family }}.yml"
|
||||
when: ansible_distribution != "Fedora"
|
||||
|
||||
- name: register Fedora variables
|
||||
include_vars: "{{ ansible_distribution }}.yml"
|
||||
when: ansible_distribution == "Fedora"
|
||||
|
||||
# i3 packages
|
||||
- name: define i3_packages
|
||||
|
|
|
@ -17,10 +17,11 @@ bindsym $mod+Shift+Return exec $term -e tmux
|
|||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
{% if ansible_distribution == 'Redhat' or ansible_distribution == 'Fedora' %}
|
||||
{% if ansible_distribution == 'Redhat' or ansible_distribution == 'CentOS' %}
|
||||
# bindsym $mod+d exec dmenu_run (a program launcher)
|
||||
bindsym $mod+d exec dmenu_run
|
||||
{% else %}bindsym $mod+d exec rofi -show run
|
||||
{%- else -%}
|
||||
bindsym $mod+d exec rofi -show run
|
||||
# bindsym $mod+d exec rofi (a program launcher)
|
||||
bindsym $mod+Shift+d exec rofi -show window
|
||||
bindsym $mod+Shift+s exec rofi -show ssh
|
||||
|
|
12
vars/Fedora.yml
Normal file
12
vars/Fedora.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
__i3_packages:
|
||||
- i3
|
||||
- compton
|
||||
- feh
|
||||
- tmux
|
||||
- terminator
|
||||
- i3lock
|
||||
- rofi
|
||||
- xautolock
|
||||
- scrot
|
||||
- ImageMagick
|
|
@ -33,5 +33,5 @@ __i3_workspaces:
|
|||
|
||||
user: "{{ i3wm_user }}"
|
||||
|
||||
playbook_version_number: 9009 # should be over ninethousand
|
||||
playbook_version_number: 9010 # should be over ninethousand
|
||||
playbook_version_path: '/etc/ansible-version/role-i3wm_chaos-bodensee_github.com.version'
|
||||
|
|
Loading…
Reference in a new issue