This commit is contained in:
parent
1c005edcc0
commit
336e7d08bf
0
playbook/group_vars/all
Normal file
0
playbook/group_vars/all
Normal file
2
playbook/hosts
Normal file
2
playbook/hosts
Normal file
|
@ -0,0 +1,2 @@
|
|||
[nodes]
|
||||
node ansible_host=142.132.171.211 ansible_ssh_private_key_file=~/.ssh/id_rsa ansible_ssh_common_args='-o StrictHostKeyChecking=no'
|
14
playbook/roles/role-one/defaults/main.yml
Normal file
14
playbook/roles/role-one/defaults/main.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
update_xfce_bigsur_file_url: "https://www.opencode.net/lsteam/xfce-big-sur-setup-file/-/raw/master/update-xfce-bigsur.zip"
|
||||
|
||||
whitesur_gtk_theme_git: https://github.com/vinceliuice/WhiteSur-gtk-theme.git
|
||||
whitesur_icon_theme_git: https://github.com/vinceliuice/WhiteSur-icon-theme.git
|
||||
whitesur_cursors_git: https://github.com/vinceliuice/WhiteSur-cursors.git
|
||||
|
||||
xpple_menu_url: https://git.bitmessage.org/swapnil/customize-xfce-anisble/raw/branch/master/xpple_menu.zip
|
||||
|
||||
web_greeter_git: https://github.com/Antergos/web-greeter.git
|
||||
|
||||
lightdm_webkit2_theme_glorious_git: https://github.com/manilarome/lightdm-webkit2-theme-glorious.git
|
||||
|
||||
picom_git: https://github.com/ibhagwan/picom.git
|
25
playbook/roles/role-one/tasks/conky.yml
Normal file
25
playbook/roles/role-one/tasks/conky.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
|
||||
- name: Conky | Install dependencies
|
||||
apt:
|
||||
name:
|
||||
- conky-all
|
||||
- jq
|
||||
- curl
|
||||
- name: Conky | Create ~/.conky directory
|
||||
file:
|
||||
path: /root/.conky
|
||||
state: directory
|
||||
|
||||
- name: Conky | Copy conky config
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/conky/
|
||||
dest: /root/.conky
|
||||
remote_src: yes
|
||||
|
||||
- name: Conky | Add conky to startup
|
||||
template:
|
||||
src: conky.desktop
|
||||
dest: "{{ autostart_path }}/conky.desktop"
|
||||
owner: root
|
||||
mode: '0644'
|
53
playbook/roles/role-one/tasks/general-changes.yml
Normal file
53
playbook/roles/role-one/tasks/general-changes.yml
Normal file
|
@ -0,0 +1,53 @@
|
|||
---
|
||||
|
||||
- name: General Changes | Install xfce4
|
||||
apt:
|
||||
name: xfce4
|
||||
state: latest
|
||||
|
||||
- name: General Changes | Hide icons
|
||||
xfconf:
|
||||
channel: "xfce4-desktop"
|
||||
property: "/desktop-icons/style"
|
||||
value_type: "int"
|
||||
value: 0
|
||||
|
||||
- name: General Changes | Update Window Manager | cycle_draw_frame
|
||||
xfconf:
|
||||
channel: xfwm4
|
||||
property: /general/cycle_draw_frame
|
||||
value_type: bool
|
||||
value: "false"
|
||||
|
||||
- name: General Changes | Update Window Manager | placement_mode
|
||||
xfconf:
|
||||
channel: xfwm4
|
||||
property: /general/placement_mode
|
||||
value_type: string
|
||||
value: center
|
||||
|
||||
- name: General Changes | Update Window Manager | show_dock_shadow
|
||||
xfconf:
|
||||
channel: xfwm4
|
||||
property: /general/show_dock_shadow
|
||||
value_type: bool
|
||||
value: "false"
|
||||
|
||||
- name: General Changes | Download and Unzip update-xfce-bigsur.zip
|
||||
unarchive:
|
||||
src: "{{ update_xfce_bigsur_file_url }}"
|
||||
dest: /root/Downloads
|
||||
remote_src: yes
|
||||
|
||||
- name: General Changes | Copy wallpapers to ~/Pictures
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/wallpapers
|
||||
dest: /root/Pictures
|
||||
remote_src: yes
|
||||
|
||||
- name: General Changes | Change wallpaper
|
||||
xfconf:
|
||||
channel: "xfce4-desktop"
|
||||
property: "/backdrop/screen0/monitorscreen/workspace0/last-image"
|
||||
value_type: "string"
|
||||
value: "/root/Pictures/wallpapers/Yosemite.png"
|
32
playbook/roles/role-one/tasks/global-menu.yml
Normal file
32
playbook/roles/role-one/tasks/global-menu.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
|
||||
- name: Global menu | Install dependencies
|
||||
apt:
|
||||
name:
|
||||
- vala-panel-appmenu-common
|
||||
- bamfdaemon
|
||||
- xfce4-appmenu-plugin
|
||||
- unity-gtk-module-common
|
||||
- unity-gtk2-module
|
||||
- unity-gtk3-module
|
||||
|
||||
- name: Global menu | Update settings | Modules
|
||||
xfconf:
|
||||
channel: xsettings
|
||||
property: /Gtk/Modules
|
||||
value_type: string
|
||||
value: unity-gtk-module
|
||||
|
||||
- name: Global menu | Update settings | ShellShowsMenubar
|
||||
xfconf:
|
||||
channel: xsettings
|
||||
property: /Gtk/ShellShowsMenubar
|
||||
value_type: bool
|
||||
value: "true"
|
||||
|
||||
- name: Global menu | Update settings | ShellShowsAppmenu
|
||||
xfconf:
|
||||
channel: xsettings
|
||||
property: /Gtk/ShellShowsAppmenu
|
||||
value_type: bool
|
||||
value: "true"
|
46
playbook/roles/role-one/tasks/lightdm-greeter.yml
Normal file
46
playbook/roles/role-one/tasks/lightdm-greeter.yml
Normal file
|
@ -0,0 +1,46 @@
|
|||
---
|
||||
|
||||
- name: LightDM-Webkit2-Greeter | Install whither
|
||||
pip:
|
||||
name: whither
|
||||
state: latest
|
||||
|
||||
- name: LightDM-Webkit2-Greeter | Install dependencies
|
||||
apt:
|
||||
name:
|
||||
- liblightdm-gobject-1-dev
|
||||
- python3-gi
|
||||
|
||||
- name: LightDM-Webkit2-Greeter | Clone web-greeter
|
||||
git:
|
||||
repo: "{{ web_greeter_git }}"
|
||||
dest: /tmp/greeter
|
||||
|
||||
- name: LightDM-Webkit2-Greeter | Install web-greeter
|
||||
shell:
|
||||
cmd: "cd /tmp/greeter && make install"
|
||||
|
||||
- name: LightDM-Webkit2-Greeter | Clone lightdm-webkit2-theme-glorious
|
||||
git:
|
||||
repo: "{{ lightdm_webkit2_theme_glorious_git }}"
|
||||
dest: /usr/share/lightdm-webkit/themes/glorious
|
||||
|
||||
- name: LightDM-Webkit2-Greeter | Place lightdm.conf
|
||||
template:
|
||||
src: lightdm.conf
|
||||
dest: "{{ lightdm_path }}/lightdm.conf"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: LightDM-Webkit2-Greeter | Place web-greeter.yml
|
||||
template:
|
||||
src: web-greeter.yml
|
||||
dest: "{{ lightdm_path }}/web-greeter.yml"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: LightDM-Webkit2-Greeter | Copy wallpapers
|
||||
copy:
|
||||
src: /root/Pictures/wallpapers
|
||||
dest: /usr/share/backgrounds
|
||||
remote_src: yes
|
21
playbook/roles/role-one/tasks/main.yml
Normal file
21
playbook/roles/role-one/tasks/main.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
|
||||
- include_tasks: general-changes.yml
|
||||
|
||||
- include_tasks: theme-icon-cursor-font.yml
|
||||
|
||||
- include_tasks: global-menu.yml
|
||||
|
||||
- include_tasks: xfce-panel-menu.yml
|
||||
|
||||
- include_tasks: xfce-panel-plugins.yml
|
||||
|
||||
- include_tasks: plank-dock.yml
|
||||
|
||||
- include_tasks: rofi-launcher.yml
|
||||
|
||||
- include_tasks: conky.yml
|
||||
|
||||
- include_tasks: lightdm-greeter.yml
|
||||
|
||||
- include_tasks: picom-compositor.yml
|
34
playbook/roles/role-one/tasks/picom-compositor.yml
Normal file
34
playbook/roles/role-one/tasks/picom-compositor.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
|
||||
- name: Picom | Install dependencies
|
||||
apt:
|
||||
name: "{{ picom_dependency }}"
|
||||
state: present
|
||||
|
||||
- name: Picom | Clone picom repository
|
||||
git:
|
||||
repo: "{{ picom_git }}"
|
||||
dest: /tmp/picom
|
||||
recursive: yes
|
||||
|
||||
- name: Picom | Build and Install picom
|
||||
shell: "cd /tmp/picom && meson --buildtype=release . build && ninja -C build && sudo ninja -C build install"
|
||||
|
||||
- name: Picom | Copy picom config
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/picom
|
||||
dest: /root/.config/
|
||||
remote_src: yes
|
||||
|
||||
- name: Picom | Add picom to startup
|
||||
copy:
|
||||
src: /root/.config/picom/picom.desktop
|
||||
dest: /root/.config/autostart/
|
||||
remote_src: yes
|
||||
|
||||
- name: Picom | Disable compositing
|
||||
xfconf:
|
||||
channel: xfwm4
|
||||
property: /general/use_compositing
|
||||
value_type: bool
|
||||
value: "false"
|
111
playbook/roles/role-one/tasks/plank-dock.yml
Normal file
111
playbook/roles/role-one/tasks/plank-dock.yml
Normal file
|
@ -0,0 +1,111 @@
|
|||
---
|
||||
|
||||
- name: Plank Dock | Install plank dock
|
||||
apt:
|
||||
name:
|
||||
- plank
|
||||
state: latest
|
||||
|
||||
- name: Plank Dock | Copy plank themes
|
||||
copy:
|
||||
src: /root/Downloads/WhiteSur-gtk-theme/src/other/plank/
|
||||
dest: /root/.local/share/plank/themes/
|
||||
remote_src: yes
|
||||
|
||||
- name: Plank Dock | Remove panel-2
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /panels
|
||||
value_type: int
|
||||
value: [1]
|
||||
force_array: yes
|
||||
|
||||
- name: Plank Dock | Copy icons
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/icons/launchpad.svg
|
||||
dest: /root/.local/share/icons/
|
||||
remote_src: yes
|
||||
|
||||
- name: Plank Dock | Ensure that plank_dock_launcher_path exists
|
||||
file:
|
||||
path: "{{ plank_dock_launcher_path }}"
|
||||
state: directory
|
||||
|
||||
- name: Plank Dock | Remove all *.dockitem files
|
||||
shell:
|
||||
cmd: "rm -f {{ plank_dock_launcher_path }}/*.dockitem"
|
||||
|
||||
- name: Plank Dock | Add launchpad.dockitem to dock
|
||||
template:
|
||||
src: launchpad.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/launchpad.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add thunar.dockitem to dock
|
||||
template:
|
||||
src: thunar.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/thunar.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add org.xfce.Parole.dockitem to dock
|
||||
template:
|
||||
src: org.xfce.Parole.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/org.xfce.Parole.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add thunderbird.dockitem to dock
|
||||
template:
|
||||
src: thunderbird.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/thunderbird.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add firefox.dockitem to dock
|
||||
template:
|
||||
src: firefox.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/firefox.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add xfce4-terminal.dockitem to dock
|
||||
template:
|
||||
src: xfce4-terminal.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/xfce4-terminal.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add mate-calc.dockitem to dock
|
||||
template:
|
||||
src: mate-calc.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/mate-calc.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add desktop.dockitem to dock
|
||||
template:
|
||||
src: desktop.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/desktop.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add trash.dockitem to dock
|
||||
template:
|
||||
src: trash.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/trash.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Ensure autostart directory exists
|
||||
file:
|
||||
path: "{{ autostart_path }}"
|
||||
state: directory
|
||||
|
||||
- name: Plank Dock | Add plank to autostart
|
||||
template:
|
||||
src: plank.desktop
|
||||
dest: "{{ autostart_path }}/plank.desktop"
|
||||
owner: root
|
||||
mode: '0644'
|
12
playbook/roles/role-one/tasks/rofi-launcher.yml
Normal file
12
playbook/roles/role-one/tasks/rofi-launcher.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
|
||||
- name: Rofi Launcher | Install dependencies
|
||||
apt:
|
||||
name:
|
||||
- rofi
|
||||
|
||||
- name: Rofi Launcher | Copy rofi config
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/rofi
|
||||
dest: /root/.config/
|
||||
remote_src: yes
|
94
playbook/roles/role-one/tasks/theme-icon-cursor-font.yml
Normal file
94
playbook/roles/role-one/tasks/theme-icon-cursor-font.yml
Normal file
|
@ -0,0 +1,94 @@
|
|||
---
|
||||
|
||||
- name: Theme-icons-cursor-fonts | install dependencies
|
||||
apt:
|
||||
name:
|
||||
- gtk2-engines-murrine
|
||||
- sassc
|
||||
|
||||
- name: Theme-icons-cursor-fonts | clone WhiteSur-gtk-theme
|
||||
git:
|
||||
repo: "{{ whitesur_gtk_theme_git }}"
|
||||
dest: /root/Downloads/WhiteSur-gtk-theme
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Install WhiteSur-gtk-theme
|
||||
shell:
|
||||
cmd: "cd /root/Downloads/WhiteSur-gtk-theme && ./install.sh -c dark -c light"
|
||||
|
||||
- name: Theme-icons-cursor-fonts | clone WhiteSur-icon-theme
|
||||
git:
|
||||
repo: "{{ whitesur_icon_theme_git }}"
|
||||
dest: /root/Downloads/WhiteSur-icon-theme
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Install WhiteSur-icon-theme
|
||||
shell:
|
||||
cmd: "cd /root/Downloads/WhiteSur-icon-theme && ./install.sh"
|
||||
|
||||
- name: Theme-icons-cursor-fonts | clone WhiteSur-cursors
|
||||
git:
|
||||
repo: "{{ whitesur_cursors_git }}"
|
||||
dest: /root/Downloads/WhiteSur-cursors
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Install WhiteSur-cursors
|
||||
shell:
|
||||
cmd: "cd /root/Downloads/WhiteSur-cursors && ./install.sh"
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Create ~/.fonts directory
|
||||
file:
|
||||
path: /root/.fonts
|
||||
state: directory
|
||||
|
||||
- name: Theme-icons-cursor-fonts | copy fonts
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/fonts/
|
||||
dest: /root/.fonts
|
||||
remote_src: yes
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Update settings Theme
|
||||
xfconf:
|
||||
channel: xsettings
|
||||
property: /Net/ThemeName
|
||||
value_type: string
|
||||
value: WhiteSur-dark
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Update settings Icon Theme
|
||||
xfconf:
|
||||
channel: xsettings
|
||||
property: /Net/IconThemeName
|
||||
value_type: string
|
||||
value: WhiteSur-dark
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Update settings Font
|
||||
xfconf:
|
||||
channel: xsettings
|
||||
property: /Gtk/FontName
|
||||
value_type: string
|
||||
value: "San Francisco Display 10"
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Update settings Monospace Font
|
||||
xfconf:
|
||||
channel: xsettings
|
||||
property: /Gtk/MonospaceFontName
|
||||
value_type: string
|
||||
value: "Iosevka Term 10"
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Update general Theme
|
||||
xfconf:
|
||||
channel: xfwm4
|
||||
property: /general/theme
|
||||
value_type: string
|
||||
value: WhiteSur-dark
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Update general Button Layout
|
||||
xfconf:
|
||||
channel: xfwm4
|
||||
property: /general/button_layout
|
||||
value_type: string
|
||||
value: "CHM|"
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Update general Title Font
|
||||
xfconf:
|
||||
channel: xfwm4
|
||||
property: /general/title_font
|
||||
value_type: string
|
||||
value: "San Francisco Display Medium 9"
|
34
playbook/roles/role-one/tasks/xfce-panel-menu.yml
Normal file
34
playbook/roles/role-one/tasks/xfce-panel-menu.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
|
||||
- name: Xfce Pannel | Xpple Menu - Create directory to store xpple menu
|
||||
file:
|
||||
path: /root/Downloads/xpple_menu/
|
||||
state: directory
|
||||
|
||||
- name: Xfce Pannel | Xpple Menu - Download and Unzip
|
||||
unarchive:
|
||||
src: "{{ xpple_menu_url }}"
|
||||
dest: /root/Downloads/xpple_menu/
|
||||
remote_src: yes
|
||||
|
||||
- name: Xfce Pannel | Xpple Menu - Ensure that applications directory exists
|
||||
file:
|
||||
path: /root/.local/share/applications/
|
||||
state: directory
|
||||
|
||||
- name: Xfce Pannel | Xpple Menu - Copy applications
|
||||
copy:
|
||||
src: /root/Downloads/xpple_menu/applications/
|
||||
dest: /root/.local/share/applications/
|
||||
remote_src: yes
|
||||
|
||||
- name: Xfce Pannel | Xpple Menu - Create ./config/menu/ directory
|
||||
file:
|
||||
path: /root/.config/menu/
|
||||
state: directory
|
||||
|
||||
- name: Xfce Pannel | Xpple Menu - Copy xpple.menu
|
||||
copy:
|
||||
src: /root/Downloads/xpple_menu/xpple.menu
|
||||
dest: /root/.config/menu/
|
||||
remote_src: yes
|
148
playbook/roles/role-one/tasks/xfce-panel-plugins.yml
Normal file
148
playbook/roles/role-one/tasks/xfce-panel-plugins.yml
Normal file
|
@ -0,0 +1,148 @@
|
|||
---
|
||||
|
||||
- name: Xfce Panel | Add separator - plugin-26
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-26
|
||||
value_type: string
|
||||
value: separator
|
||||
|
||||
- name: Xfce Panel | Modify separator - plugin-26
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-26/style
|
||||
value_type: uint
|
||||
value: 0
|
||||
|
||||
- name: Xfce Panel | Add separator - plugin-27
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-27
|
||||
value_type: string
|
||||
value: separator
|
||||
|
||||
- name: Xfce Panel | Modify separator - plugin-27
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-27/style
|
||||
value_type: uint
|
||||
value: 0
|
||||
|
||||
- name: Xfce Panel | Modify separator - plugin-3
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-3/expand
|
||||
value_type: bool
|
||||
value: "false"
|
||||
|
||||
- name: Xfce Panel | Add keyboard Layout - plugin-28
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-28
|
||||
value_type: string
|
||||
value: xkb
|
||||
|
||||
- name: Xfce Panel | Modify keyboard - plugin-28 - display-type
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-28/display-type
|
||||
value_type: uint
|
||||
value: 1
|
||||
|
||||
- name: Xfce Panel | Modify keyboard - plugin-28 - display-name
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-28/display-name
|
||||
value_type: uint
|
||||
value: 1
|
||||
|
||||
- name: Xfce Panel | Modify keyboard - plugin-28 - display-scale
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-28/display-scale
|
||||
value_type: uint
|
||||
value: 50
|
||||
|
||||
- name: Xfce Panel | Modify keyboard - plugin-28 - group-policy
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-28/group-policy
|
||||
value_type: uint
|
||||
value: 0
|
||||
|
||||
- name: Xfce Panel | Modify keyboard - plugin-28 - display-tooltip-icon
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-28/display-tooltip-icon
|
||||
value_type: bool
|
||||
value: "true"
|
||||
|
||||
- name: Xfce Panel | Add weather - plugin-29
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-29
|
||||
value_type: string
|
||||
value: weather
|
||||
|
||||
- name: Xfce Panel | Add Appmenu - plugin-30
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-30
|
||||
value_type: string
|
||||
value: appmenu
|
||||
|
||||
- name: Xfce Panel | Modify Appmenu - plugin-30 - use-bold-name
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-30/use-bold-name
|
||||
value_type: bool
|
||||
value: "true"
|
||||
|
||||
- name: Xfce Panel | Modify applicationsmenu - plugin-1 - custom-menu
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-1/use-custom-menu
|
||||
value_type: bool
|
||||
value: "true"
|
||||
|
||||
- name: Xfce Panel | Modify applicationsmenu - plugin-1 - custom-menu-file
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-1/custom-menu-file
|
||||
value_type: string
|
||||
value: /root/.config/menu/xpple.menu
|
||||
|
||||
- name: Xfce Panel | Modify applicationsmenu - plugin-1 - button-icon
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-1/button-icon
|
||||
value_type: string
|
||||
value: start-here
|
||||
|
||||
- name: Xfce Panel | Modify applicationsmenu - plugin-1 - show-button-title
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-1/show-button-title
|
||||
value_type: bool
|
||||
value: "false"
|
||||
|
||||
- name: Xfce Panel | Modify Actions Buttons - plugin-14 - appearance
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-14/appearance
|
||||
value_type: uint
|
||||
value: 0
|
||||
|
||||
- name: Xfce Panel | Modify Actions Buttons - plugin-14 - style
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /plugins/plugin-14/items
|
||||
value_type: string
|
||||
value: ["-lock-screen", "-switch-user", "-separator", "-suspend", "-hibernate", "-hybrid-sleep", "-separator", "-shutdown", "-restart", "-separator", "+logout", "-logout-dialog"]
|
||||
|
||||
- name: Xfce Panel | Rearrange Plugins
|
||||
xfconf:
|
||||
channel: xfce4-panel
|
||||
property: /panels/panel-1/plugin-ids
|
||||
value_type: int
|
||||
value: [26,1,3,30,5,29,28,6,7,8,9,10,11,12,13,14,27]
|
9
playbook/roles/role-one/templates/conky.desktop
Normal file
9
playbook/roles/role-one/templates/conky.desktop
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Exec=/root/.conky/MX-CoreBlue/start_conky.sh
|
||||
Hidden=false
|
||||
NoDisplay=false
|
||||
Name=conky
|
||||
Comment=conky
|
||||
X-GNOME-Autostart-Delay=2
|
||||
X-GNOME-Autostart-enabled=true
|
2
playbook/roles/role-one/templates/desktop.dockitem
Normal file
2
playbook/roles/role-one/templates/desktop.dockitem
Normal file
|
@ -0,0 +1,2 @@
|
|||
[PlankDockItemPreferences]
|
||||
Launcher=docklet://desktop
|
2
playbook/roles/role-one/templates/firefox.dockitem
Normal file
2
playbook/roles/role-one/templates/firefox.dockitem
Normal file
|
@ -0,0 +1,2 @@
|
|||
[PlankDockItemPreferences]
|
||||
Launcher=file:///usr/share/applications/firefox.desktop
|
2
playbook/roles/role-one/templates/launchpad.dockitem
Normal file
2
playbook/roles/role-one/templates/launchpad.dockitem
Normal file
|
@ -0,0 +1,2 @@
|
|||
[PlankDockItemPreferences]
|
||||
Launcher=file:///root/.local/share/applications/Launchpad.desktop
|
163
playbook/roles/role-one/templates/lightdm.conf
Normal file
163
playbook/roles/role-one/templates/lightdm.conf
Normal file
|
@ -0,0 +1,163 @@
|
|||
#
|
||||
# General configuration
|
||||
#
|
||||
# start-default-seat = True to always start one seat if none are defined in the configuration
|
||||
# greeter-user = User to run greeter as
|
||||
# minimum-display-number = Minimum display number to use for X servers
|
||||
# minimum-vt = First VT to run displays on
|
||||
# lock-memory = True to prevent memory from being paged to disk
|
||||
# user-authority-in-system-dir = True if session authority should be in the system location
|
||||
# guest-account-script = Script to be run to setup guest account
|
||||
# logind-check-graphical = True to on start seats that are marked as graphical by logind
|
||||
# log-directory = Directory to log information to
|
||||
# run-directory = Directory to put running state in
|
||||
# cache-directory = Directory to cache to
|
||||
# sessions-directory = Directory to find sessions
|
||||
# remote-sessions-directory = Directory to find remote sessions
|
||||
# greeters-directory = Directory to find greeters
|
||||
# backup-logs = True to move add a .old suffix to old log files when opening new ones
|
||||
# dbus-service = True if LightDM provides a D-Bus service to control it
|
||||
#
|
||||
[LightDM]
|
||||
#start-default-seat=true
|
||||
#greeter-user=lightdm
|
||||
#minimum-display-number=0
|
||||
#minimum-vt=7
|
||||
#lock-memory=true
|
||||
#user-authority-in-system-dir=false
|
||||
#guest-account-script=guest-account
|
||||
#logind-check-graphical=false
|
||||
#log-directory=/var/log/lightdm
|
||||
#run-directory=/var/run/lightdm
|
||||
#cache-directory=/var/cache/lightdm
|
||||
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
|
||||
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
|
||||
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
|
||||
#backup-logs=true
|
||||
#dbus-service=true
|
||||
|
||||
#
|
||||
# Seat configuration
|
||||
#
|
||||
# Seat configuration is matched against the seat name glob in the section, for example:
|
||||
# [Seat:*] matches all seats and is applied first.
|
||||
# [Seat:seat0] matches the seat named "seat0".
|
||||
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
|
||||
#
|
||||
# type = Seat type (local, xremote)
|
||||
# pam-service = PAM service to use for login
|
||||
# pam-autologin-service = PAM service to use for autologin
|
||||
# pam-greeter-service = PAM service to use for greeters
|
||||
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
|
||||
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
|
||||
# xserver-config = Config file to pass to X server
|
||||
# xserver-layout = Layout to pass to X server
|
||||
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
|
||||
# xserver-share = True if the X server is shared for both greeter and session
|
||||
# xserver-hostname = Hostname of X server (only for type=xremote)
|
||||
# xserver-display-number = Display number of X server (only for type=xremote)
|
||||
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
|
||||
# xdmcp-port = XDMCP UDP/IP port to communicate on
|
||||
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
|
||||
# greeter-session = Session to load for greeter
|
||||
# greeter-hide-users = True to hide the user list
|
||||
# greeter-allow-guest = True if the greeter should show a guest login option
|
||||
# greeter-show-manual-login = True if the greeter should offer a manual login option
|
||||
# greeter-show-remote-login = True if the greeter should offer a remote login option
|
||||
# user-session = Session to load for users
|
||||
# allow-user-switching = True if allowed to switch users
|
||||
# allow-guest = True if guest login is allowed
|
||||
# guest-session = Session to load for guests (overrides user-session)
|
||||
# session-wrapper = Wrapper script to run session with
|
||||
# greeter-wrapper = Wrapper script to run greeter with
|
||||
# guest-wrapper = Wrapper script to run guest sessions with
|
||||
# display-setup-script = Script to run when starting a greeter session (runs as root)
|
||||
# display-stopped-script = Script to run after stopping the display server (runs as root)
|
||||
# greeter-setup-script = Script to run when starting a greeter (runs as root)
|
||||
# session-setup-script = Script to run when starting a user session (runs as root)
|
||||
# session-cleanup-script = Script to run when quitting a user session (runs as root)
|
||||
# autologin-guest = True to log in as guest by default
|
||||
# autologin-user = User to log in with by default (overrides autologin-guest)
|
||||
# autologin-user-timeout = Number of seconds to wait before loading default user
|
||||
# autologin-session = Session to load for automatic login (overrides user-session)
|
||||
# autologin-in-background = True if autologin session should not be immediately activated
|
||||
# exit-on-failure = True if the daemon should exit if this seat fails
|
||||
#
|
||||
[Seat:*]
|
||||
#type=local
|
||||
#pam-service=lightdm
|
||||
#pam-autologin-service=lightdm-autologin
|
||||
#pam-greeter-service=lightdm-greeter
|
||||
#xserver-command=X
|
||||
#xmir-command=Xmir
|
||||
#xserver-config=
|
||||
#xserver-layout=
|
||||
#xserver-allow-tcp=false
|
||||
#xserver-share=true
|
||||
#xserver-hostname=
|
||||
#xserver-display-number=
|
||||
#xdmcp-manager=
|
||||
#xdmcp-port=177
|
||||
#xdmcp-key=
|
||||
greeter-session=web-greeter
|
||||
#greeter-hide-users=false
|
||||
#greeter-allow-guest=true
|
||||
#greeter-show-manual-login=false
|
||||
#greeter-show-remote-login=true
|
||||
#user-session=default
|
||||
#allow-user-switching=true
|
||||
#allow-guest=true
|
||||
#guest-session=
|
||||
#session-wrapper=lightdm-session
|
||||
#greeter-wrapper=
|
||||
#guest-wrapper=
|
||||
#display-setup-script=
|
||||
#display-stopped-script=
|
||||
#greeter-setup-script=
|
||||
#session-setup-script=
|
||||
#session-cleanup-script=
|
||||
#autologin-guest=false
|
||||
#autologin-user=
|
||||
#autologin-user-timeout=0
|
||||
#autologin-in-background=false
|
||||
#autologin-session=
|
||||
#exit-on-failure=false
|
||||
|
||||
#
|
||||
# XDMCP Server configuration
|
||||
#
|
||||
# enabled = True if XDMCP connections should be allowed
|
||||
# port = UDP/IP port to listen for connections on
|
||||
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
|
||||
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
|
||||
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
|
||||
#
|
||||
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
|
||||
# it can be a word and the first 7 characters are used as the key.
|
||||
#
|
||||
[XDMCPServer]
|
||||
#enabled=false
|
||||
#port=177
|
||||
#listen-address=
|
||||
#key=
|
||||
#hostname=
|
||||
|
||||
#
|
||||
# VNC Server configuration
|
||||
#
|
||||
# enabled = True if VNC connections should be allowed
|
||||
# command = Command to run Xvnc server with
|
||||
# port = TCP/IP port to listen for connections on
|
||||
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
|
||||
# width = Width of display to use
|
||||
# height = Height of display to use
|
||||
# depth = Color depth of display to use
|
||||
#
|
||||
[VNCServer]
|
||||
#enabled=false
|
||||
#command=Xvnc
|
||||
#port=5900
|
||||
#listen-address=
|
||||
#width=1024
|
||||
#height=768
|
||||
#depth=8
|
2
playbook/roles/role-one/templates/mate-calc.dockitem
Normal file
2
playbook/roles/role-one/templates/mate-calc.dockitem
Normal file
|
@ -0,0 +1,2 @@
|
|||
[PlankDockItemPreferences]
|
||||
Launcher=file:///usr/share/applications/mate-calc.desktop
|
|
@ -0,0 +1,2 @@
|
|||
[PlankDockItemPreferences]
|
||||
Launcher=file:///usr/share/applications/org.xfce.Parole.desktop
|
11
playbook/roles/role-one/templates/plank.desktop
Normal file
11
playbook/roles/role-one/templates/plank.desktop
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Exec=plank
|
||||
Hidden=false
|
||||
NoDisplay=false
|
||||
Name[en_US]=plank
|
||||
Name=plank
|
||||
Comment[en_US]=plank
|
||||
Comment=plank
|
||||
X-GNOME-Autostart-Delay=2
|
||||
X-GNOME-Autostart-enabled=true
|
2
playbook/roles/role-one/templates/thunar.dockitem
Normal file
2
playbook/roles/role-one/templates/thunar.dockitem
Normal file
|
@ -0,0 +1,2 @@
|
|||
[PlankDockItemPreferences]
|
||||
Launcher=file:///usr/share/applications/thunar.desktop
|
2
playbook/roles/role-one/templates/thunderbird.dockitem
Normal file
2
playbook/roles/role-one/templates/thunderbird.dockitem
Normal file
|
@ -0,0 +1,2 @@
|
|||
[PlankDockItemPreferences]
|
||||
Launcher=file:///usr/share/applications/thunderbird.desktop
|
2
playbook/roles/role-one/templates/trash.dockitem
Normal file
2
playbook/roles/role-one/templates/trash.dockitem
Normal file
|
@ -0,0 +1,2 @@
|
|||
[PlankDockItemPreferences]
|
||||
Launcher=docklet://trash
|
33
playbook/roles/role-one/templates/web-greeter.yml
Normal file
33
playbook/roles/role-one/templates/web-greeter.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
#
|
||||
# branding:
|
||||
# background_images_dir: Path to directory that contains background images for use by themes.
|
||||
# logo_image: Path to logo image for use by greeter themes.
|
||||
# user_image: Default user image/avatar. This is used by themes when user has no .face image.
|
||||
#
|
||||
# NOTE: Paths must be accessible to the lightdm system user account (so they cannot be anywhere in /home)
|
||||
#
|
||||
branding:
|
||||
background_images_dir: /usr/share/backgrounds
|
||||
logo_image: /usr/share/web-greeter/themes/default/img/antergos-logo-user.png
|
||||
user_image: /usr/share/web-greeter/themes/default/img/antergos.png
|
||||
|
||||
#
|
||||
# greeter:
|
||||
# debug_mode: Enable debug mode for the greeter as well as greeter themes.
|
||||
# detect_theme_errors: Provide an option to load a fallback theme when theme errors are detected.
|
||||
# screensaver_timeout: Blank the screen after this many seconds of inactivity.
|
||||
# secure_mode: Don't allow themes to make remote http requests.
|
||||
# theme: Greeter theme to use.
|
||||
# time_format: A moment.js format string so the greeter can generate localized time for display.
|
||||
# time_language: Language to use when displaying the time or "auto" to use the system's language.
|
||||
#
|
||||
# NOTE: See moment.js documentation for format string options: http://momentjs.com/docs/#/displaying/format
|
||||
#
|
||||
greeter:
|
||||
debug_mode: True
|
||||
detect_theme_errors: True
|
||||
screensaver_timeout: 300
|
||||
secure_mode: True
|
||||
theme: glorious
|
||||
time_format: LT
|
||||
time_language: auto
|
|
@ -0,0 +1,2 @@
|
|||
[PlankDockItemPreferences]
|
||||
Launcher=file:///usr/share/applications/xfce4-terminal.desktop
|
34
playbook/roles/role-one/vars/main.yml
Normal file
34
playbook/roles/role-one/vars/main.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
|
||||
plank_dock_launcher_path: /root/.config/plank/dock1/launchers
|
||||
autostart_path: /root/.config/autostart
|
||||
lightdm_path: /etc/lightdm
|
||||
|
||||
picom_dependency:
|
||||
- cmake
|
||||
- meson
|
||||
- ninja-build
|
||||
- git
|
||||
- pkg-config
|
||||
- asciidoc
|
||||
- libxext-dev
|
||||
- libxcb1-dev
|
||||
- libxcb-damage0-dev
|
||||
- libxcb-xfixes0-dev
|
||||
- libxcb-shape0-dev
|
||||
- libxcb-render-util0-dev
|
||||
- libxcb-render0-dev
|
||||
- libxcb-randr0-dev
|
||||
- libxcb-composite0-dev
|
||||
- libxcb-image0-dev
|
||||
- libxcb-present-dev
|
||||
- libxcb-xinerama0-dev
|
||||
- libxcb-glx0-dev
|
||||
- libpixman-1-dev
|
||||
- libdbus-1-dev
|
||||
- libconfig-dev
|
||||
- libgl1-mesa-dev
|
||||
- libpcre2-dev
|
||||
- libevdev-dev
|
||||
- uthash-dev
|
||||
- libev-dev
|
||||
- libx11-xcb-dev
|
7
playbook/setup.yml
Normal file
7
playbook/setup.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
|
||||
- name: Apply role-one to all nodes
|
||||
hosts: all
|
||||
remote_user: root
|
||||
roles:
|
||||
- role-one
|
11
readme.txt
11
readme.txt
|
@ -4,7 +4,7 @@
|
|||
- use xfconf-query for most changes
|
||||
|
||||
- Hide icons
|
||||
- xfce4-desktop : "desktop-icons/style" -t "int" -s 0 OR iterare through all icons(in file-icons properties) and set value to false
|
||||
- xfce4-desktop : "desktop-icons/style" -t "int" -s 0
|
||||
|
||||
- xfwm4 "general/cycle_draw_frame" type="bool" set to false
|
||||
"general/placement_mode" type="string" set to center
|
||||
|
@ -33,11 +33,12 @@
|
|||
|
||||
- xsettings : "Net/ThemeName" type="string" set to "WhiteSur-dark"
|
||||
: "Net/IconThemeName" type="string" set to "WhiteSur-dark"
|
||||
: "Gtk/FontName" type="string" set to "San Francisco Display Regular" (maybe? cant find other setting for font)
|
||||
: How to set monospace one?
|
||||
: "Gtk/FontName" type="string" set to "San Francisco Display 10"
|
||||
: "Gtk/MonospaceFontName" type="string" set to "Iosevka Term 10"
|
||||
|
||||
- xfwm4 : "general/theme" type="string" set to "WhiteSur-dark"
|
||||
: "general/button_layout" type="string" value="O|HMC" set to "CHM|" (need to test) . How to hide arrow buttons?
|
||||
: "general/title_font" set to "San Francisco Display Medium"
|
||||
: "general/button_layout" type="string" value="O|HMC" set to "CHM|"
|
||||
: "general/title_font" set to "San Francisco Display Medium 9"
|
||||
|
||||
- Global menu
|
||||
- sudo apt install vala-panel-appmenu-common bamfdaemon // xfce4-appmenu-plugin
|
||||
|
|
BIN
xpple_menu.zip
Normal file
BIN
xpple_menu.zip
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user