aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2021-04-26 15:33:38 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2021-04-26 15:33:38 +0200
commit77b54904281523cb1cc536e70115352b37b561d4 (patch)
tree186921952d634ef1f77d73a999e746fb3383a376
parent1d8548f638ef2c11eccb20759b1adb20534206e2 (diff)
downloaddotfiles-77b54904281523cb1cc536e70115352b37b561d4.tar.gz
dotfiles-77b54904281523cb1cc536e70115352b37b561d4.zip
add alacritty and vdirsyncher configs
-rw-r--r--config/alacritty/alacritty.yml25
-rw-r--r--config/alacritty/dark.yaml28
-rw-r--r--config/alacritty/light.yml28
l---------config/alacritty/theme.yml1
-rw-r--r--config/vdirsyncer/config.gpgbin0 -> 1367 bytes
-rwxr-xr-xsetup.py9
6 files changed, 89 insertions, 2 deletions
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
--- /dev/null
+++ b/config/vdirsyncer/config.gpg
Binary files 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