- used home_directory variable instead of hardcoded /root as home
This commit is contained in:
parent
3bddb0a8cc
commit
62ca6a6e26
|
@ -5,7 +5,7 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
|||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
source /root/powerlevel10k/powerlevel10k.zsh-theme
|
||||
source ~/powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
---
|
||||
# - Installing Comice Control center
|
||||
# - git clone https://github.com/libredeb/comice-control-center.git
|
||||
# - sudo apt install python3 python3-dbus util-linux gsettings-desktop-schemas wireless-tools iproute2 alsa-utils python3-pip
|
||||
# - cd comice-control-center/
|
||||
# - pip3 install -r requirements.txt
|
||||
# - ./comice-control-center
|
||||
|
||||
- name: Comice Control center | Install dependencies
|
||||
apt:
|
||||
|
@ -16,17 +10,17 @@
|
|||
- wireless-tools
|
||||
- iproute2
|
||||
- alsa-utils
|
||||
- python3-pip
|
||||
|
||||
- name: Comice Control center | Clone git repository
|
||||
git:
|
||||
repo: "{{ comice_control_git }}"
|
||||
dest: "{{ comice_control_git }}/Downloads/comice-control-center"
|
||||
dest: "{{ home_directory }}/Downloads/comice-control-center"
|
||||
|
||||
- name: Comice Control center | Install dependencies
|
||||
pip3:
|
||||
name:
|
||||
- -r "{{ comice_control_git }}/Downloads/comice-control-center/requirements.txt"
|
||||
|
||||
- name: Comice Control center | Run script
|
||||
shell:
|
||||
cmd: "cd {{ comice_control_git }}/Downloads/comice-control-center && ./comice-control-center"
|
||||
cmd: "cd {{ home_directory }}/Downloads/comice-control-center && pip3 install -r requirements.txt"
|
||||
|
||||
# - name: Comice Control center | Run script
|
||||
# shell:
|
||||
# cmd: "cd {{ home_directory }}/Downloads/comice-control-center && ./comice-control-center"
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
- curl
|
||||
- name: Conky | Create ~/.conky directory
|
||||
file:
|
||||
path: /root/.conky
|
||||
path: "{{ home_directory }}/.conky"
|
||||
state: directory
|
||||
|
||||
- name: Conky | Copy conky config
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/conky/
|
||||
dest: /root/.conky
|
||||
src: "{{ home_directory }}/Downloads/update-xfce-bigsur/conky/"
|
||||
dest: "{{ home_directory }}/.conky"
|
||||
remote_src: yes
|
||||
|
||||
- name: Conky | Add conky to startup
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
|
||||
- name: Customize Firefox | Close firefox if it's running
|
||||
command: pkill firefox
|
||||
shell:
|
||||
cmd: "pkill firefox"
|
||||
ignore_errors: true
|
||||
|
||||
- name: Customize Firefox | Run Firefox Tweaks
|
||||
shell: "cd /root/Downloads/WhiteSur-gtk-theme/ && ./tweaks.sh -f"
|
||||
shell: "cd {{ home_directory }}/Downloads/WhiteSur-gtk-theme/ && ./tweaks.sh -f"
|
||||
|
|
|
@ -12,21 +12,21 @@
|
|||
value_type: "int"
|
||||
value: 0
|
||||
|
||||
- name: General Changes | Update Window Manager | cycle_draw_frame
|
||||
- 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
|
||||
- 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
|
||||
- name: General Changes | Update Window Manager - show_dock_shadow
|
||||
xfconf:
|
||||
channel: xfwm4
|
||||
property: /general/show_dock_shadow
|
||||
|
@ -36,13 +36,13 @@
|
|||
- name: General Changes | Download and Unzip update-xfce-bigsur.zip
|
||||
unarchive:
|
||||
src: "{{ update_xfce_bigsur_file_url }}"
|
||||
dest: /root/Downloads
|
||||
dest: "{{ home_directory }}/Downloads"
|
||||
remote_src: yes
|
||||
|
||||
- name: General Changes | Copy wallpapers to ~/Pictures
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/wallpapers
|
||||
dest: /root/Pictures
|
||||
src: "{{ home_directory }}/Downloads/update-xfce-bigsur/wallpapers"
|
||||
dest: "{{ home_directory }}/Pictures"
|
||||
remote_src: yes
|
||||
|
||||
- name: General Changes | Change wallpaper
|
||||
|
@ -50,4 +50,4 @@
|
|||
channel: "xfce4-desktop"
|
||||
property: "/backdrop/screen0/monitorscreen/workspace0/last-image"
|
||||
value_type: "string"
|
||||
value: "/root/Pictures/wallpapers/Yosemite.png"
|
||||
value: "{{ home_directory }}/Pictures/wallpapers/Yosemite.png"
|
||||
|
|
|
@ -26,21 +26,17 @@
|
|||
dest: /usr/share/lightdm-webkit/themes/glorious
|
||||
|
||||
- name: LightDM-Webkit2-Greeter | Place lightdm.conf
|
||||
template:
|
||||
copy:
|
||||
src: lightdm.conf
|
||||
dest: "{{ lightdm_path }}/lightdm.conf"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: LightDM-Webkit2-Greeter | Place web-greeter.yml
|
||||
template:
|
||||
copy:
|
||||
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
|
||||
src: "{{ home_directory }}/Pictures/wallpapers"
|
||||
dest: /usr/share/backgrounds
|
||||
remote_src: yes
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
---
|
||||
|
||||
- include_tasks: general-changes.yml
|
||||
# - include_tasks: general-changes.yml
|
||||
|
||||
- include_tasks: theme-icon-cursor-font.yml
|
||||
# - include_tasks: theme-icon-cursor-font.yml
|
||||
|
||||
- include_tasks: global-menu.yml
|
||||
# - include_tasks: global-menu.yml
|
||||
|
||||
- include_tasks: xfce-panel-menu.yml
|
||||
# - include_tasks: xfce-panel-menu.yml
|
||||
|
||||
- include_tasks: xfce-panel-plugins.yml
|
||||
# - include_tasks: xfce-panel-plugins.yml
|
||||
|
||||
- include_tasks: plank-dock.yml
|
||||
# - include_tasks: plank-dock.yml
|
||||
|
||||
- include_tasks: rofi-launcher.yml
|
||||
# - include_tasks: rofi-launcher.yml
|
||||
|
||||
- include_tasks: ulauncher.yml
|
||||
# - include_tasks: ulauncher.yml
|
||||
|
||||
- include_tasks: conky.yml
|
||||
# - include_tasks: conky.yml
|
||||
|
||||
- include_tasks: lightdm-greeter.yml
|
||||
# - include_tasks: lightdm-greeter.yml
|
||||
|
||||
- include_tasks: picom-compositor.yml
|
||||
# - include_tasks: picom-compositor.yml
|
||||
|
||||
- include_tasks: customize-firefox.yml
|
||||
# - include_tasks: customize-firefox.yml
|
||||
|
||||
- include_tasks: xfce-terminal.yml
|
||||
# - include_tasks: xfce-terminal.yml
|
||||
|
||||
- include_tasks: file-manager.yml
|
||||
# - include_tasks: file-manager.yml
|
||||
|
||||
- include_tasks: comice-control.yml
|
|
@ -16,14 +16,14 @@
|
|||
|
||||
- name: Picom | Copy picom config
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/picom
|
||||
dest: /root/.config/
|
||||
src: "{{ home_directory }}/Downloads/update-xfce-bigsur/picom"
|
||||
dest: "{{ home_directory }}/.config/"
|
||||
remote_src: yes
|
||||
|
||||
- name: Picom | Add picom to startup
|
||||
copy:
|
||||
src: /root/.config/picom/picom.desktop
|
||||
dest: /root/.config/autostart/
|
||||
src: "{{ home_directory }}/.config/picom/picom.desktop"
|
||||
dest: "{{ home_directory }}/.config/autostart/"
|
||||
remote_src: yes
|
||||
|
||||
- name: Picom | Disable compositing
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
|
||||
- name: Plank Dock | Copy plank themes
|
||||
copy:
|
||||
src: /root/Downloads/WhiteSur-gtk-theme/src/other/plank/
|
||||
dest: /root/.local/share/plank/themes/
|
||||
src: "{{ home_directory }}/Downloads/WhiteSur-gtk-theme/src/other/plank/"
|
||||
dest: "{{ home_directory }}/.local/share/plank/themes/"
|
||||
remote_src: yes
|
||||
|
||||
- name: Plank Dock | Remove panel-2
|
||||
|
@ -20,10 +20,10 @@
|
|||
value: [1]
|
||||
force_array: yes
|
||||
|
||||
- name: Plank Dock | Copy icons
|
||||
- name: Plank Dock | Copy launchpad icon
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/icons/launchpad.svg
|
||||
dest: /root/.local/share/icons/
|
||||
src: "{{ home_directory }}/Downloads/update-xfce-bigsur/icons/launchpad.svg"
|
||||
dest: "{{ home_directory }}/.local/share/icons/"
|
||||
remote_src: yes
|
||||
|
||||
- name: Plank Dock | Ensure that plank_dock_launcher_path exists
|
||||
|
@ -43,60 +43,44 @@
|
|||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add thunar.dockitem to dock
|
||||
template:
|
||||
copy:
|
||||
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:
|
||||
copy:
|
||||
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:
|
||||
copy:
|
||||
src: thunderbird.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/thunderbird.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add firefox.dockitem to dock
|
||||
template:
|
||||
copy:
|
||||
src: firefox.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/firefox.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add xfce4-terminal.dockitem to dock
|
||||
template:
|
||||
copy:
|
||||
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:
|
||||
copy:
|
||||
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:
|
||||
copy:
|
||||
src: desktop.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/desktop.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Add trash.dockitem to dock
|
||||
template:
|
||||
copy:
|
||||
src: trash.dockitem
|
||||
dest: "{{ plank_dock_launcher_path }}/trash.dockitem"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
||||
- name: Plank Dock | Ensure autostart directory exists
|
||||
file:
|
||||
|
@ -104,8 +88,6 @@
|
|||
state: directory
|
||||
|
||||
- name: Plank Dock | Add plank to autostart
|
||||
template:
|
||||
copy:
|
||||
src: plank.desktop
|
||||
dest: "{{ autostart_path }}/plank.desktop"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
|
||||
- name: Rofi Launcher | Copy rofi config
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/rofi
|
||||
dest: /root/.config/
|
||||
src: "{{ home_directory }}/Downloads/update-xfce-bigsur/rofi"
|
||||
dest: "{{ home_directory }}/.config/"
|
||||
remote_src: yes
|
||||
|
|
|
@ -9,39 +9,39 @@
|
|||
- name: Theme-icons-cursor-fonts | clone WhiteSur-gtk-theme
|
||||
git:
|
||||
repo: "{{ whitesur_gtk_theme_git }}"
|
||||
dest: /root/Downloads/WhiteSur-gtk-theme
|
||||
dest: "{{ home_directory }}/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"
|
||||
cmd: "cd {{ home_directory }}/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
|
||||
dest: "{{ home_directory }}/Downloads/WhiteSur-icon-theme"
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Install WhiteSur-icon-theme
|
||||
shell:
|
||||
cmd: "cd /root/Downloads/WhiteSur-icon-theme && ./install.sh"
|
||||
cmd: "cd {{ home_directory }}/Downloads/WhiteSur-icon-theme && ./install.sh"
|
||||
|
||||
- name: Theme-icons-cursor-fonts | clone WhiteSur-cursors
|
||||
git:
|
||||
repo: "{{ whitesur_cursors_git }}"
|
||||
dest: /root/Downloads/WhiteSur-cursors
|
||||
dest: "{{ home_directory }}/Downloads/WhiteSur-cursors"
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Install WhiteSur-cursors
|
||||
shell:
|
||||
cmd: "cd /root/Downloads/WhiteSur-cursors && ./install.sh"
|
||||
cmd: "cd {{ home_directory }}/Downloads/WhiteSur-cursors && ./install.sh"
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Create ~/.fonts directory
|
||||
file:
|
||||
path: /root/.fonts
|
||||
path: "{{ home_directory }}/.fonts"
|
||||
state: directory
|
||||
|
||||
- name: Theme-icons-cursor-fonts | copy fonts
|
||||
copy:
|
||||
src: /root/Downloads/update-xfce-bigsur/fonts/
|
||||
dest: /root/.fonts
|
||||
src: "{{ home_directory }}/Downloads/update-xfce-bigsur/fonts/"
|
||||
dest: "{{ home_directory }}/.fonts"
|
||||
remote_src: yes
|
||||
|
||||
- name: Theme-icons-cursor-fonts | Update settings Theme
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
- name: Ulauncher | Update settings
|
||||
shell:
|
||||
cmd: "sed -i 's/\"theme-name\": \".*\"/\"theme-name\": \"arc-dark\"/g' {{ home_directory }}/.config/ulauncher/settings.json"
|
||||
warn: false
|
||||
|
||||
- name: Ulauncher | Add in autostart
|
||||
copy:
|
||||
|
|
|
@ -2,33 +2,33 @@
|
|||
|
||||
- name: Xfce Pannel | Xpple Menu - Create directory to store xpple menu
|
||||
file:
|
||||
path: /root/Downloads/xpple_menu/
|
||||
path: "{{ home_directory }}/Downloads/xpple_menu/"
|
||||
state: directory
|
||||
|
||||
- name: Xfce Pannel | Xpple Menu - Download and Unzip
|
||||
unarchive:
|
||||
src: "{{ xpple_menu_url }}"
|
||||
dest: /root/Downloads/xpple_menu/
|
||||
dest: "{{ home_directory }}/Downloads/xpple_menu/"
|
||||
remote_src: yes
|
||||
|
||||
- name: Xfce Pannel | Xpple Menu - Ensure that applications directory exists
|
||||
file:
|
||||
path: /root/.local/share/applications/
|
||||
path: "{{ home_directory }}/.local/share/applications/"
|
||||
state: directory
|
||||
|
||||
- name: Xfce Pannel | Xpple Menu - Copy applications
|
||||
copy:
|
||||
src: /root/Downloads/xpple_menu/applications/
|
||||
dest: /root/.local/share/applications/
|
||||
src: "{{ home_directory }}/Downloads/xpple_menu/applications/"
|
||||
dest: "{{ home_directory }}/.local/share/applications/"
|
||||
remote_src: yes
|
||||
|
||||
- name: Xfce Pannel | Xpple Menu - Create ./config/menu/ directory
|
||||
file:
|
||||
path: /root/.config/menu/
|
||||
path: "{{ home_directory }}/.config/menu/"
|
||||
state: directory
|
||||
|
||||
- name: Xfce Pannel | Xpple Menu - Copy xpple.menu
|
||||
copy:
|
||||
src: /root/Downloads/xpple_menu/xpple.menu
|
||||
dest: /root/.config/menu/
|
||||
src: "{{ home_directory }}/Downloads/xpple_menu/xpple.menu"
|
||||
dest: "{{ home_directory }}/.config/menu/"
|
||||
remote_src: yes
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- name: Terminal | Clone powerlevel10k repository
|
||||
git:
|
||||
repo: "{{ powerlevel10k_git }}"
|
||||
dest: "{{ home_directory }}"powerlevel10k
|
||||
dest: "{{ home_directory }}/powerlevel10k"
|
||||
depth: 1
|
||||
|
||||
- name: Terminal | Install zsh
|
||||
|
@ -18,20 +18,18 @@
|
|||
- name: Terminal | Copy powerlevel10k configuration
|
||||
copy:
|
||||
src: p10k.zsh
|
||||
dest: "{{ home_directory }}".p10k.zsh
|
||||
dest: "{{ home_directory }}/.p10k.zsh"
|
||||
|
||||
- name: Terminal | Copy zshrc configuration
|
||||
copy:
|
||||
src: zshrc
|
||||
dest: "{{ home_directory }}".zshrc
|
||||
dest: "{{ home_directory }}/.zshrc"
|
||||
|
||||
- name: Terminal | Disable powerlevel10k prompt
|
||||
shell:
|
||||
cmd: "echo 'POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true' >>! ~/.zshrc"
|
||||
|
||||
- name: Terminal | Copy terminal config
|
||||
template:
|
||||
copy:
|
||||
src: terminalrc
|
||||
dest: "{{ terminal_config_path }}/terminalrc"
|
||||
owner: root
|
||||
mode: '0644'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Exec=/root/.conky/MX-CoreBlue/start_conky.sh
|
||||
Exec={{ home_directory }}/.conky/MX-CoreBlue/start_conky.sh
|
||||
Hidden=false
|
||||
NoDisplay=false
|
||||
Name=conky
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
[PlankDockItemPreferences]
|
||||
Launcher=file:///root/.local/share/applications/Launchpad.desktop
|
||||
Launcher=file://{{ home_directory }}/.local/share/applications/Launchpad.desktop
|
|
@ -194,12 +194,12 @@
|
|||
|
||||
- Customize Firefox Web Browser
|
||||
- cd WhiteSur-gtk-theme && ./tweaks.sh -f
|
||||
- edit userChrome.css and customChrome.css in ~/.mozilla/firefox/firefox-themes // Check what changes to be done
|
||||
- edit userChrome.css and customChrome.css in ~/.mozilla/firefox/firefox-themes
|
||||
|
||||
- Customize Xfce terminal
|
||||
- git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
|
||||
- chsh -s $(which zsh) /// required or not??
|
||||
- sudo apt install zsh /// required maybe
|
||||
- chsh -s $(which zsh)
|
||||
- sudo apt install zsh
|
||||
- echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
|
||||
- Update ~/.config/xfce4/terminal/terminalrc with below content
|
||||
[Configuration]
|
||||
|
|
Loading…
Reference in New Issue
Block a user