parent
336e7d08bf
commit
8ca45ad24b
|
@ -12,3 +12,5 @@ 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
|
||||
|
||||
powerlevel10k_git: https://github.com/romkatv/powerlevel10k.git
|
7
playbook/roles/role-one/tasks/customize-firefox.yml
Normal file
7
playbook/roles/role-one/tasks/customize-firefox.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
|
||||
- name: Customize Firefox | Close firefox if it's running
|
||||
command: pkill firefox
|
||||
|
||||
- name: Customize Firefox | Run Firefox Tweaks
|
||||
shell: "cd /root/Downloads/WhiteSur-gtk-theme/ && ./tweaks.sh -f"
|
11
playbook/roles/role-one/tasks/file-manager.yml
Normal file
11
playbook/roles/role-one/tasks/file-manager.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
|
||||
- name: File Manager | Install nautilus
|
||||
apt:
|
||||
name:
|
||||
- nautilus
|
||||
state: latest
|
||||
|
||||
- name: File Manager | Make Nautilus default file manager
|
||||
shell:
|
||||
cmd: "xdg-mime default nautilus.desktop inode/directory application"
|
|
@ -19,3 +19,9 @@
|
|||
- include_tasks: lightdm-greeter.yml
|
||||
|
||||
- include_tasks: picom-compositor.yml
|
||||
|
||||
- include_tasks: customize-firefox.yml
|
||||
|
||||
- include_tasks: xfce-terminal.yml
|
||||
|
||||
- include_tasks: file-manager.yml
|
||||
|
|
27
playbook/roles/role-one/tasks/xfce-terminal.yml
Normal file
27
playbook/roles/role-one/tasks/xfce-terminal.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
|
||||
- name: Terminal | Clone powerlevel10k repository
|
||||
git:
|
||||
repo: "{{ powerlevel10k_git }}"
|
||||
dest: /root/powerlevel10k
|
||||
depth: 1
|
||||
|
||||
- name: Terminal | Install zsh
|
||||
apt:
|
||||
name: zsh
|
||||
state: present
|
||||
|
||||
- name: Terminal | Change shell to zsh
|
||||
shell:
|
||||
cmd: "chsh -s $(which zsh)"
|
||||
|
||||
- name: Terminal | Source powerlevel10k theme
|
||||
shell:
|
||||
cmd: "echo 'source /root/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc"
|
||||
|
||||
- name: Terminal | Copy terminal config
|
||||
template:
|
||||
src: terminalrc
|
||||
dest: "{{ terminal_config_path }}/terminalrc"
|
||||
owner: root
|
||||
mode: '0644'
|
34
playbook/roles/role-one/templates/terminalrc
Normal file
34
playbook/roles/role-one/templates/terminalrc
Normal file
|
@ -0,0 +1,34 @@
|
|||
[Configuration]
|
||||
MiscAlwaysShowTabs=FALSE
|
||||
MiscBell=FALSE
|
||||
MiscBellUrgent=FALSE
|
||||
MiscBordersDefault=TRUE
|
||||
MiscCursorBlinks=FALSE
|
||||
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
|
||||
MiscDefaultGeometry=80x24
|
||||
MiscInheritGeometry=FALSE
|
||||
MiscMenubarDefault=TRUE
|
||||
MiscMouseAutohide=FALSE
|
||||
MiscMouseWheelZoom=TRUE
|
||||
MiscToolbarDefault=FALSE
|
||||
MiscConfirmClose=TRUE
|
||||
MiscCycleTabs=TRUE
|
||||
MiscTabCloseButtons=TRUE
|
||||
MiscTabCloseMiddleClick=TRUE
|
||||
MiscTabPosition=GTK_POS_TOP
|
||||
MiscHighlightUrls=TRUE
|
||||
MiscMiddleClickOpensUri=FALSE
|
||||
MiscCopyOnSelect=FALSE
|
||||
MiscShowRelaunchDialog=TRUE
|
||||
MiscRewrapOnResize=TRUE
|
||||
MiscUseShiftArrowsToScroll=FALSE
|
||||
MiscSlimTabs=FALSE
|
||||
MiscNewTabAdjacent=FALSE
|
||||
MiscSearchDialogOpacity=100
|
||||
MiscShowUnsafePasteDialog=TRUE
|
||||
FontUseSystem=TRUE
|
||||
BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT
|
||||
RunCustomCommand=TRUE
|
||||
CustomCommand=zsh
|
||||
BackgroundDarkness=0.900000
|
||||
ColorPalette=#000000;#cc0000;#4e9a06;#c4a000;#3465a4;#75507b;#06989a;#d3d7cf;#555753;#ef2929;#8ae234;#fce94f;#739fcf;#ad7fa8;#34e2e2;#eeeeec
|
|
@ -2,6 +2,7 @@
|
|||
plank_dock_launcher_path: /root/.config/plank/dock1/launchers
|
||||
autostart_path: /root/.config/autostart
|
||||
lightdm_path: /etc/lightdm
|
||||
terminal_config_path: /root/.config/xfce4/terminal
|
||||
|
||||
picom_dependency:
|
||||
- cmake
|
||||
|
|
Loading…
Reference in New Issue
Block a user