From 77b54904281523cb1cc536e70115352b37b561d4 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 26 Apr 2021 15:33:38 +0200 Subject: add alacritty and vdirsyncher configs --- config/alacritty/alacritty.yml | 25 +++++++++++++++++++++++++ config/alacritty/dark.yaml | 28 ++++++++++++++++++++++++++++ config/alacritty/light.yml | 28 ++++++++++++++++++++++++++++ config/alacritty/theme.yml | 1 + config/vdirsyncer/config.gpg | Bin 0 -> 1367 bytes setup.py | 9 +++++++-- 6 files changed, 89 insertions(+), 2 deletions(-) create mode 100644 config/alacritty/alacritty.yml create mode 100644 config/alacritty/dark.yaml create mode 100644 config/alacritty/light.yml create mode 120000 config/alacritty/theme.yml create mode 100644 config/vdirsyncer/config.gpg diff --git a/config/alacritty/alacritty.yml b/config/alacritty/alacritty.yml new file mode 100644 index 0000000..348ce9b --- /dev/null +++ b/config/alacritty/alacritty.yml @@ -0,0 +1,25 @@ +# Configuration for Alacritty, the GPU enhanced terminal emulator. + +# import the current color theme +import: + - ~/.config/alacritty/theme.yml + +# Font configuration +font: + # Normal (roman) font face + normal: + # Font family + # + # Default: + # - (macOS) Menlo + # - (Linux/BSD) monospace + # - (Windows) Consolas + # family: 'Fira Code' + # family: 'Droid Sans Mono' + # family: Hack + + # The `style` can be specified to pick a specific face. + style: Regular + + # Point size + #size: 11.0 diff --git a/config/alacritty/dark.yaml b/config/alacritty/dark.yaml new file mode 100644 index 0000000..0055c81 --- /dev/null +++ b/config/alacritty/dark.yaml @@ -0,0 +1,28 @@ +# Colors (Solarized Dark) +colors: + # Default colors + primary: + background: '0x002b36' + foreground: '0x839496' + + # Normal colors + normal: + black: '0x073642' + red: '0xdc322f' + green: '0x859900' + yellow: '0xb58900' + blue: '0x268bd2' + magenta: '0xd33682' + cyan: '0x2aa198' + white: '0xeee8d5' + + # Bright colors + bright: + black: '0x002b36' + red: '0xcb4b16' + green: '0x586e75' + yellow: '0x657b83' + blue: '0x839496' + magenta: '0x6c71c4' + cyan: '0x93a1a1' + white: '0xfdf6e3' \ No newline at end of file diff --git a/config/alacritty/light.yml b/config/alacritty/light.yml new file mode 100644 index 0000000..6a5acd9 --- /dev/null +++ b/config/alacritty/light.yml @@ -0,0 +1,28 @@ +# Colors (Solarized Light) +colors: + # Default colors + primary: + background: '0xfdf6e3' + foreground: '0x586e75' + + # Normal colors + normal: + black: '0x073642' + red: '0xdc322f' + green: '0x859900' + yellow: '0xb58900' + blue: '0x268bd2' + magenta: '0xd33682' + cyan: '0x2aa198' + white: '0xeee8d5' + + # Bright colors + bright: + black: '0x002b36' + red: '0xcb4b16' + green: '0x586e75' + yellow: '0x657b83' + blue: '0x839496' + magenta: '0x6c71c4' + cyan: '0x93a1a1' + white: '0xfdf6e3' \ No newline at end of file diff --git a/config/alacritty/theme.yml b/config/alacritty/theme.yml new file mode 120000 index 0000000..3c3f997 --- /dev/null +++ b/config/alacritty/theme.yml @@ -0,0 +1 @@ +dark.yaml \ No newline at end of file diff --git a/config/vdirsyncer/config.gpg b/config/vdirsyncer/config.gpg new file mode 100644 index 0000000..4020dfb Binary files /dev/null and b/config/vdirsyncer/config.gpg differ diff --git a/setup.py b/setup.py index 29b6a97..cff8073 100755 --- a/setup.py +++ b/setup.py @@ -94,6 +94,10 @@ targets = { dotfile_loc_helper], "wofi": [("config/wofi", config_dir + "/wofi")], + "alacritty": + [("config/alacritty", config_dir + "/alacritty")], + "vdirsyncer": + [("config/vdirsyncer/config.gpg", config_dir + "/vdirsyncer/config")], "dir_colors": [("dir_colors", home_dir + "/.dir_colors")], "fish": @@ -155,15 +159,16 @@ def install_target(target, quiet): if not os.path.isdir("decrypted"): os.makedirs("decrypted") start_filename = instruction[0].rfind("/") + 1 + filename = f'{target}-{instruction[0][start_filename:-4]}' if subprocess.run([ "gpg", "--output", - "decrypted/" + instruction[0][start_filename:-4], + "decrypted/" + filename, "-d", instruction[0]]): # adjust instruction[0] instruction = ( - "decrypted/" + instruction[0][start_filename:-4], + "decrypted/" + filename, instruction[1]) # set privacy friendly file permissions -- cgit v1.2.3