mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-12-22 14:09:53 +00:00
Compare commits
2 commits
b67b883c05
...
7ede21e362
Author | SHA1 | Date | |
---|---|---|---|
7ede21e362 | |||
bada246014 |
3 changed files with 45 additions and 11 deletions
|
@ -159,13 +159,21 @@ schemes:
|
|||
# Bright colors
|
||||
bright:
|
||||
black: '0x969896'
|
||||
red: '0xde935f'
|
||||
green: '0x282a2e'
|
||||
yellow: '0x373b41'
|
||||
blue: '0xb4b7b4'
|
||||
magenta: '0xe0e0e0'
|
||||
cyan: '0xa3685a'
|
||||
red: '0xcc6666'
|
||||
green: '0xb5bd68'
|
||||
yellow: '0xf0c674'
|
||||
blue: '0x81a2be'
|
||||
magenta: '0xb294bb'
|
||||
cyan: '0x8abeb7'
|
||||
white: '0xffffff'
|
||||
|
||||
indexed_colors:
|
||||
- { index: 16, color: '0xde935f' }
|
||||
- { index: 17, color: '0xa3685a' }
|
||||
- { index: 18, color: '0x282a2e' }
|
||||
- { index: 19, color: '0x373b41' }
|
||||
- { index: 20, color: '0xb4b7b4' }
|
||||
- { index: 21, color: '0xe0e0e0' }
|
||||
# Base16 Dracula 256 - alacritty color config
|
||||
# Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula)
|
||||
dracula: &drakula
|
||||
|
|
|
@ -19,4 +19,19 @@
|
|||
- com.github.unrud.VideoDownloader
|
||||
- fyi.zoey.Boop-GTK
|
||||
- nl.hjdskes.gcolor3
|
||||
- re.sonny.Junction
|
||||
- org.gnome.DejaDup
|
||||
state: present
|
||||
|
||||
- name: Check if open function is set
|
||||
shell: grep -c "^function open" ~/.shellconfig/functions.sh || true
|
||||
register: open_test
|
||||
|
||||
- name: "Adding 'open' shell function"
|
||||
ansible.builtin.lineinfile:
|
||||
name: ~/.shellconfig/functions.sh
|
||||
line: |
|
||||
# Open files from CLI via Junction flatpak
|
||||
function open() { if [[ -f $@ || -d $@ ]]; then flatpak run re.sonny.Junction $@ &>/dev/null; else echo "❌No such file or directory '$@'"; false; fi}
|
||||
state: present
|
||||
when: open_test.stdout|int == 0
|
||||
|
|
|
@ -1,8 +1,19 @@
|
|||
- name: Install vim
|
||||
- name: Install vim (RHEL based)
|
||||
become: true
|
||||
package:
|
||||
name: vim
|
||||
name:
|
||||
- vim-X11
|
||||
- vim-common
|
||||
- vim-minimal
|
||||
state: latest
|
||||
when: ansible_facts['os_family'] == "RedHat"
|
||||
|
||||
- name: Install vim (Debian based)
|
||||
become: true
|
||||
package:
|
||||
name: vim-gtk
|
||||
state: present
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
|
||||
- name: Prepare vim...
|
||||
file:
|
||||
|
|
Loading…
Reference in a new issue