Compare commits

...

7 Commits

Author SHA1 Message Date
7204fa768a Use dconf to update terminal preferences
Some checks failed
buildbot/travis_bionic Build done.
2022-03-22 20:40:24 +05:30
c78817339d Updated plank dock
- Use dconf to update plank preferences
- Updated dockitems
2022-03-22 20:39:25 +05:30
16667ae451 Minor update in lightdm 2022-03-22 20:38:08 +05:30
0c729f122c Updated firefox customization
- Get default profile and add user.js
2022-03-22 20:37:29 +05:30
2714f44007 Removed terminal config file as dconf should be used to modify 2022-03-22 20:34:38 +05:30
ba33a21af5 Removed file-manager.yml as nautilus is default already 2022-03-22 20:33:54 +05:30
59d3d5af84 Moved picom dependencies to defaults
- Added enable_picom option in var
2022-03-22 20:33:14 +05:30
9 changed files with 104 additions and 105 deletions

View File

@ -15,4 +15,34 @@ picom_git: https://github.com/ibhagwan/picom.git
powerlevel10k_git: https://github.com/romkatv/powerlevel10k.git
comice_control_git: https://github.com/libredeb/comice-control-center.git
comice_control_git: https://github.com/libredeb/comice-control-center.git
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

View File

@ -1,34 +0,0 @@
[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

View File

@ -0,0 +1 @@
user_pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"customizableui-special-spring1\",\"urlbar-container\",\"customizableui-special-spring2\",\"new-tab-button\",\"save-to-pocket-button\",\"downloads-button\",\"fxa-toolbar-menu-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"alltabs-button\"],\"PersonalToolbar\":[\"import-button\",\"personal-bookmarks\"]},\"seen\":[\"save-to-pocket-button\",\"developer-button\"],\"dirtyAreaCache\":[\"nav-bar\",\"PersonalToolbar\",\"toolbar-menubar\",\"TabsToolbar\"],\"currentVersion\":17,\"newElementCount\":6}");

View File

@ -19,3 +19,15 @@
- name: Customize Firefox | Run Firefox Tweaks
shell: "cd {{ home_directory }}/Downloads/WhiteSur-gtk-theme/ && ./tweaks.sh -f"
when: firefox_check.rc == 0
- name: Customize Firefox | Get the name of default profile
shell:
cmd: "ls ~/.mozilla/firefox/ | grep 'default-release'"
register: firefox_profile
when: firefox_check.rc == 0
- name: Customize Firefox | Place user.js in profile
copy:
src: user.js
dest: "{{ home_directory }}/.mozilla/firefox/{{ firefox_profile.stdout }}/user.js"
when: firefox_check.rc == 0

View File

@ -1,11 +0,0 @@
---
- name: File Manager | Install nautilus
become: yes
apt:
name: nautilus
state: latest
- name: File Manager | Make Nautilus default file manager
shell:
cmd: "xdg-mime default nautilus.desktop inode/directory application"

View File

@ -46,5 +46,5 @@
become: yes
copy:
src: "{{ home_directory }}/Pictures/wallpapers"
dest: /usr/share/backgrounds
dest: /usr/share/backgrounds/
remote_src: yes

View File

@ -19,6 +19,21 @@
dest: "{{ home_directory }}/.local/share/icons/"
remote_src: yes
- name: Plank Dock | Dconf - Set zoom enabled
dconf:
key: /net/launchpad/plank/docks/dock1/zoom-enabled
value: "true"
- name: Plank Dock | Dconf - Set zoom percent
dconf:
key: /net/launchpad/plank/docks/dock1/zoom-percent
value: 130
- name: Plank Dock | Dconf - Set theme
dconf:
key: /net/launchpad/plank/docks/dock1/theme
value: "'theme-dark'"
- name: Plank Dock | Ensure that plank_dock_launcher_path exists
file:
path: "{{ plank_dock_launcher_path }}"
@ -33,35 +48,30 @@
src: launchpad.dockitem
dest: "{{ plank_dock_launcher_path }}/launchpad.dockitem"
- name: Plank Dock | Add thunar.dockitem to dock
- name: Plank Dock | Add org.gnome.Nautilus.dockitem to dock
copy:
src: thunar.dockitem
dest: "{{ plank_dock_launcher_path }}/thunar.dockitem"
- name: Plank Dock | Add org.xfce.Parole.dockitem to dock
copy:
src: org.xfce.Parole.dockitem
dest: "{{ plank_dock_launcher_path }}/org.xfce.Parole.dockitem"
- name: Plank Dock | Add thunderbird.dockitem to dock
copy:
src: thunderbird.dockitem
dest: "{{ plank_dock_launcher_path }}/thunderbird.dockitem"
src: org.gnome.Nautilus.dockitem
dest: "{{ plank_dock_launcher_path }}/org.gnome.Nautilus.dockitem"
- name: Plank Dock | Add firefox.dockitem to dock
copy:
src: firefox.dockitem
dest: "{{ plank_dock_launcher_path }}/firefox.dockitem"
- name: Plank Dock | Add xfce4-terminal.dockitem to dock
- name: Plank Dock | Add org.gnome.gedit.dockitem to dock
copy:
src: xfce4-terminal.dockitem
dest: "{{ plank_dock_launcher_path }}/xfce4-terminal.dockitem"
src: org.gnome.gedit.dockitem
dest: "{{ plank_dock_launcher_path }}/org.gnome.gedit.dockitem"
- name: Plank Dock | Add mate-calc.dockitem to dock
- name: Plank Dock | Add org.gnome.Terminal.dockitem to dock
copy:
src: mate-calc.dockitem
dest: "{{ plank_dock_launcher_path }}/mate-calc.dockitem"
src: org.gnome.Terminal.dockitem
dest: "{{ plank_dock_launcher_path }}/org.gnome.Terminal.dockitem"
- name: Plank Dock | Add org.gnome.Calculator.dockitem to dock
copy:
src: org.gnome.Calculator.dockitem
dest: "{{ plank_dock_launcher_path }}/org.gnome.Calculator.dockitem"
- name: Plank Dock | Add desktop.dockitem to dock
copy:

View File

@ -27,16 +27,32 @@
src: zshrc
dest: "{{ home_directory }}/.zshrc"
- name: Terminal | Disable powerlevel10k prompt
- name: Terminal | Get default profile
shell:
cmd: "echo 'POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true' >>! ~/.zshrc"
cmd: "gsettings get org.gnome.Terminal.ProfilesList default"
register: default_profile
- name: Terminal | Make sure terminal_config_path directory exists
file:
path: "{{ terminal_config_path }}"
state: directory
- name: Terminal | Dconf - use-custom-command
dconf:
key: "/org/gnome/terminal/legacy/profiles:/:{{ default_profile.stdout.strip(\"'\") }}/use-custom-command"
value: "true"
- name: Terminal | Copy terminal config
copy:
src: terminalrc
dest: "{{ terminal_config_path }}/terminalrc"
- name: Terminal | Dconf - custom-command
dconf:
key: "/org/gnome/terminal/legacy/profiles:/:{{ default_profile.stdout.strip(\"'\") }}/custom-command"
value: "'zsh'"
- name: Terminal | Dconf - use-theme-transparency
dconf:
key: "/org/gnome/terminal/legacy/profiles:/:{{ default_profile.stdout.strip(\"'\") }}/use-theme-transparency"
value: "false"
- name: Terminal | Dconf - use-transparent-background
dconf:
key: "/org/gnome/terminal/legacy/profiles:/:{{ default_profile.stdout.strip(\"'\") }}/use-transparent-background"
value: "true"
- name: Terminal | Dconf - background-transparency-percent
dconf:
key: "/org/gnome/terminal/legacy/profiles:/:{{ default_profile.stdout.strip(\"'\") }}/background-transparency-percent"
value: "5"

View File

@ -6,32 +6,7 @@ autostart_path: "{{ home_directory }}/.config/autostart"
lightdm_path: /etc/lightdm
terminal_config_path: "{{ home_directory }}/.config/xfce4/terminal"
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
# Disabling compositor gives a beautiful blurry window borders
# But it's been observed that it cause issues with the whole system
# So its default to false for now
enable_picom: false