diff --git a/colorschemes/Makefile b/colorschemes/Makefile index d2fa14e..a7e60cb 100644 --- a/colorschemes/Makefile +++ b/colorschemes/Makefile @@ -9,7 +9,7 @@ MAKEFLAGS += --no-builtin-rules .PHONY: all clean OUT_DIR := out -OUT_FILES := iterm.itermcolors kitty.conf vim.vim setvtrgb.txt zsh.zsh termux.properties variables.css prismjs-theme.css vscode-colorCustomizations.json +OUT_FILES := iterm.itermcolors kitty.conf vim.vim setvtrgb.txt zsh.zsh termux.properties variables.css prismjs-theme.css vscode-colorCustomizations.json xfce4-terminal.theme all: $(OUT_DIR) $(addprefix $(OUT_DIR)/,$(OUT_FILES)) diff --git a/colorschemes/out/xfce4-terminal.theme b/colorschemes/out/xfce4-terminal.theme new file mode 100644 index 0000000..34872c2 --- /dev/null +++ b/colorschemes/out/xfce4-terminal.theme @@ -0,0 +1,13 @@ +[Scheme] +Name=dmitmel's dotfiles colorscheme +ColorForeground=#d3d0c8 +ColorBackground=#2d2d2d +ColorCursorUseDefault=FALSE +ColorCursorForeground=#2d2d2d +ColorCursor=#d3d0c8 +ColorSelectionUseDefault=FALSE +ColorSelection=#d3d0c8 +ColorSelectionBackground=#515151 +TabActivityColor=#f2777a +ColorBoldUseDefault=TRUE +ColorPalette=#2d2d2d;#f2777a;#99cc99;#ffcc66;#6699cc;#cc99cc;#66cccc;#d3d0c8;#747369;#f2777a;#99cc99;#ffcc66;#6699cc;#cc99cc;#66cccc;#f2f0ec;#f99157;#d27b53;#393939;#515151;#a09f93;#e8e6df diff --git a/colorschemes/xfce4-terminal.theme.py b/colorschemes/xfce4-terminal.theme.py new file mode 100755 index 0000000..5775160 --- /dev/null +++ b/colorschemes/xfce4-terminal.theme.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python3 + +import _theme as theme + +print("[Scheme]") +print("Name=dmitmel's dotfiles colorscheme") +print("ColorForeground={}".format(theme.fg)) +print("ColorBackground={}".format(theme.bg)) +print("ColorCursorUseDefault=FALSE") +print("ColorCursorForeground={}".format(theme.cursor_fg)) +print("ColorCursor={}".format(theme.cursor_bg)) +print("ColorSelectionUseDefault=FALSE") +print("ColorSelection={}".format(theme.selection_fg)) +print("ColorSelectionBackground={}".format(theme.selection_bg)) +print("TabActivityColor={}".format(theme.ansi_colors[1])) +print("ColorBoldUseDefault=TRUE") +print("ColorPalette={}".format(";".join(theme.ansi_colors))) diff --git a/system/arch/PKGBUILD b/system/arch/PKGBUILD index b236ba2..1390f11 100644 --- a/system/arch/PKGBUILD +++ b/system/arch/PKGBUILD @@ -11,19 +11,20 @@ backup=() package() { cd "$(dirname "${BASH_SOURCE[0]}")/../files" - install -vDm644 ../../LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" + install -vDm644 ../../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" _install_my_file -vDm644 etc/initcpio/hooks/bootmsg _install_my_file -vDm644 etc/initcpio/install/bootmsg _install_my_file -vDm644 etc/initcpio/hooks/consolecolors _install_my_file -vDm644 etc/initcpio/install/consolecolors - install -vdm750 "$pkgdir/etc/sudoers.d" + install -vdm750 "${pkgdir}/etc/sudoers.d" _install_my_file -vDm640 etc/sudoers.d/99_dmitmel_dotfiles _install_my_file -vDm644 etc/sysctl.d/50-dmitmel.conf _install_my_file -vDm644 etc/bootmsg - install -vDm644 ../../colorschemes/out/setvtrgb.txt "$pkgdir/etc/consolecolors" + install -vDm644 ../../colorschemes/out/setvtrgb.txt "${pkgdir}/etc/consolecolors" _install_my_file -vDm644 etc/locale.conf + install -vDm644 ../../colorschemes/out/xfce4-terminal.theme "${pkgdir}/usr/share/xfce4/terminal/colorschemes/${pkgname}.theme" } _install_my_file() { - install "$@" "$pkgdir/${*: -1}" + install "$@" "${pkgdir}/${*: -1}" }