diff --git a/playbook.yml b/playbook.yml index de85664..23a82e5 100644 --- a/playbook.yml +++ b/playbook.yml @@ -1,6 +1,6 @@ - hosts: localhost pre_tasks: - - name: install packages + - name: install packages become: true package: name: '{{ item }}' diff --git a/tasks/coc.yml b/tasks/coc.yml index eec5ac3..e18713a 100644 --- a/tasks/coc.yml +++ b/tasks/coc.yml @@ -25,7 +25,7 @@ PATH: '{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}' when: ansible_distribution == "Debian" -- name: install default coc.nvim python packages # noqa 301 +- name: install default coc.nvim python packages command: 'poetry install' args: chdir: '{{ ansible_env.HOME }}/.local/lib/coc' diff --git a/tasks/main.yml b/tasks/main.yml index 9b5d85a..b40b6c1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,3 +18,16 @@ version: master update: true loop: '{{ vim_plugins }}' + +- name: copy konsole configuration files + template: + src: '{{ item.src }}' + dest: '{{ item.dest }}' + mode: '0600' + force: true + loop: + - { + src: 'templates/konsole.profile.j2', + dest: '{{ xdg_data_dir }}/konsole/Standard.profile', + } + - { src: 'templates/konsole.config.j2', dest: '{{ xdg_config_dir }}/konsolerc' } diff --git a/templates/konsole.config.j2 b/templates/konsole.config.j2 new file mode 100644 index 0000000..80f3a66 --- /dev/null +++ b/templates/konsole.config.j2 @@ -0,0 +1,26 @@ +# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} + +[Desktop Entry] +DefaultProfile=Standard.profile + +[DownloadDialog Settings] +Height 1080=494 +Width 1920=700 + +[Favorite Profiles] +Favorites=Standard.profile + +[KonsoleWindow] +ShowMenuBarByDefault=false + +[MainWindow] +MenuBar=Disabled +State=AAAA/wAAAAD9AAAAAAAAB4AAAAQbAAAABAAAAAQAAAAIAAAACPwAAAAA +ToolBarsMovable=Disabled +Width 1920=1415 + +[Notification Messages] +CloseAllTabs=true + +[TabBar] +TabBarPosition=Top diff --git a/templates/konsole.profile.j2 b/templates/konsole.profile.j2 new file mode 100644 index 0000000..12758de --- /dev/null +++ b/templates/konsole.profile.j2 @@ -0,0 +1,16 @@ +# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} + +[Appearance] +BoldIntense=false +ColorScheme=Breeze +Font=IBM Plex Mono,13,-1,5,57,0,0,0,0,0,Medium +UseFontLineChararacters=true + +[Cursor Options] +CursorShape=1 + +[General] +Environment=TERM=tmux-256color,COLORTERM=truecolor +Name=Standard +Parent=FALLBACK/ +StartInCurrentSessionDir=true diff --git a/vars/archlinux.yml b/vars/archlinux.yml index 7cd5504..b9f65d5 100644 --- a/vars/archlinux.yml +++ b/vars/archlinux.yml @@ -9,3 +9,4 @@ packages: - kitty - docker - docker-compose + - ttf-ibm-plex diff --git a/vars/debian-buster.yml b/vars/debian-buster.yml index 6f2abf8..9f4a601 100644 --- a/vars/debian-buster.yml +++ b/vars/debian-buster.yml @@ -8,3 +8,4 @@ packages: - python3-setuptools - exuberant-ctags - apt-transport-https + - fonts-ibm-plex diff --git a/vars/main.yml b/vars/main.yml index e97e50e..c2c6878 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -10,6 +10,7 @@ vim_plugins: - { url: 'https://github.com/preservim/nerdtree', name: 'nerdtree' } - { url: 'https://github.com/neoclide/coc.nvim', name: 'coc.nvim' } - { url: 'https://github.com/sheerun/vim-polyglot', name: 'vim-polygot' } + - { url: 'https://github.com/arzg/vim-colors-xcode.git', name: 'vim-colors-xcode' } poetry_packages: - black diff --git a/vars/ubuntu-focal.yml b/vars/ubuntu-focal.yml index 7281d11..36fdb61 100644 --- a/vars/ubuntu-focal.yml +++ b/vars/ubuntu-focal.yml @@ -13,3 +13,4 @@ packages: - exuberant-ctags - apt-transport-https - kitty + - fonts-ibm-plex