Update console configuration
This commit is contained in:
parent
05beb0ece3
commit
3094ca8ce7
9 changed files with 61 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: install packages
|
- name: install packages
|
||||||
become: true
|
become: true
|
||||||
package:
|
package:
|
||||||
name: '{{ item }}'
|
name: '{{ item }}'
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
PATH: '{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}'
|
PATH: '{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}'
|
||||||
when: ansible_distribution == "Debian"
|
when: ansible_distribution == "Debian"
|
||||||
|
|
||||||
- name: install default coc.nvim python packages # noqa 301
|
- name: install default coc.nvim python packages
|
||||||
command: 'poetry install'
|
command: 'poetry install'
|
||||||
args:
|
args:
|
||||||
chdir: '{{ ansible_env.HOME }}/.local/lib/coc'
|
chdir: '{{ ansible_env.HOME }}/.local/lib/coc'
|
||||||
|
|
|
||||||
|
|
@ -18,3 +18,16 @@
|
||||||
version: master
|
version: master
|
||||||
update: true
|
update: true
|
||||||
loop: '{{ vim_plugins }}'
|
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' }
|
||||||
|
|
|
||||||
26
templates/konsole.config.j2
Normal file
26
templates/konsole.config.j2
Normal file
|
|
@ -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
|
||||||
16
templates/konsole.profile.j2
Normal file
16
templates/konsole.profile.j2
Normal file
|
|
@ -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
|
||||||
|
|
@ -9,3 +9,4 @@ packages:
|
||||||
- kitty
|
- kitty
|
||||||
- docker
|
- docker
|
||||||
- docker-compose
|
- docker-compose
|
||||||
|
- ttf-ibm-plex
|
||||||
|
|
|
||||||
|
|
@ -8,3 +8,4 @@ packages:
|
||||||
- python3-setuptools
|
- python3-setuptools
|
||||||
- exuberant-ctags
|
- exuberant-ctags
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
|
- fonts-ibm-plex
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ vim_plugins:
|
||||||
- { url: 'https://github.com/preservim/nerdtree', name: 'nerdtree' }
|
- { url: 'https://github.com/preservim/nerdtree', name: 'nerdtree' }
|
||||||
- { url: 'https://github.com/neoclide/coc.nvim', name: 'coc.nvim' }
|
- { url: 'https://github.com/neoclide/coc.nvim', name: 'coc.nvim' }
|
||||||
- { url: 'https://github.com/sheerun/vim-polyglot', name: 'vim-polygot' }
|
- { 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:
|
poetry_packages:
|
||||||
- black
|
- black
|
||||||
|
|
|
||||||
|
|
@ -13,3 +13,4 @@ packages:
|
||||||
- exuberant-ctags
|
- exuberant-ctags
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
- kitty
|
- kitty
|
||||||
|
- fonts-ibm-plex
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue