Scripts and config files for build themes

This commit is contained in:
q3aql 2022-05-29 17:11:51 +02:00
parent 432afa5ece
commit 2835512fa0
4 changed files with 163 additions and 0 deletions

107
scripts/Xresources Normal file
View File

@ -0,0 +1,107 @@
Xcursor.theme: Breeze_Default
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.autohint: true
Xft.hintstyle: hintfull
Xft.lcdfilter: lcdfilter
XTerm*renderFont: true
!XTerm*faceName: xft:DejaVu Sans Mono
XTerm*faceName: xft:Liberation Mono
!XTerm*faceName: xft:Mononoki Nerd Font
!XTerm*faceName: xft:Ubuntu Nerd Font
!XTerm*faceName: xft:Monospace
XTerm*faceSize: 10
XTerm*utf8: 2
XTerm*locale: true
XTerm.vt100.translations: #override \n\
Ctrl <Key> j: smaller-vt-font() \n\
Ctrl <Key> k: larger-vt-font()
! Every shell is a login shell by default (for inclusion of all necessary environment variables)
XTerm*loginshell: true
! I like a LOT of scrollback...
XTerm*savelines: 16384
! double-click to select whole URLs :D
XTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
URxvt*imLocale: en_US.UTF-8
URxvt*termName: rxvt-unicode-256color
Urxvt*buffered: false
URxvt.intensityStyles: false
URxvt.font: xft:Noto Sans Mono:size=13, \
xft:Monospace:style=Medium:size=13
URxvt.saveLines: 2000
URxvt.scrollBar: false
URxvt.cursorColor: white
!! Extensions
URxvt.perl-ext-common: default,matcher,resize-font,url-select,keyboard-select,clipboard
URxvt.colorUL: #4682B4
!! url-select
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.url-select.launcher: urxvt -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss
URxvt.url-select.underline: true
!! keyboard-select:
URxvt.keysym.M-Escape: perl:keyboard-select:activate
!! resize-font
URxvt.resize-font.smaller: C-j
URxvt.resize-font.bigger: C-k
!! Matcher
URxvt.url-launcher: urxvt -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss
URxvt.matcher.button: 1
!!clipboard
URxvt.keysym.M-c: perl:clipboard:copy
URxvt.keysym.M-v: perl:clipboard:paste
URxvt*depth: 32
! Dracula Xresources palette
!! COLORS
! special
URxvt*foreground: #abb2bf
URxvt*background: #1e2127
URxvt*cursorColor: #292d3e
XTerm*foreground: #abb2bf
XTerm*background: #1e2127
XTerm*cursorColor: #bbc5ff
! black
*.color0: #5c6370
*.color8: #5c6370
! red
*.color1: #e06c75
*.color9: #e06c75
! green
*.color2: #98c379
*.color10: #98c379
! yellow
*.color3: #d19a66
*.color11: #d19a66
! blue
*.color4: #61afef
*.color12: #61afef
! magenta
*.color5: #c678dd
*.color13: #c678dd
! cyan
*.color6: #56b6c2
*.color14: #56b6c2
! white
*.color7: #828791
*.color15: #828791

17
scripts/build-theme.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
main_folder="/opt/dmenu-scripts/"
folder_themes="/opt/dmenu-scripts/themes"
if [ -z "${1}" ] ; then
echo "# Theme selector canceled"
else
if [ -f "${folder_themes}/${1}" ] ; then
cp -rf ${folder_themes}/${1} ${main_folder}/config.h
cp -rf ${folder_themes}/${1} ${main_folder}/config.def.h
cd ${main_folder}
make install clean
else
echo "# Theme selector canceled"
fi
fi

14
scripts/kitty.conf Normal file
View File

@ -0,0 +1,14 @@
#: Fonts configuration
font_family monospace
bold_font auto
italic_font auto
bold_italic_font auto
font_size 10.0
#: Cursor
cursor_shape beam
cursor_beam_thickness 1.8
#: Load default theme
include /opt/dmenu-scripts/scripts/theme.conf

25
scripts/theme.conf Normal file
View File

@ -0,0 +1,25 @@
# One Dark by q3aql, https://github.com/q3aql
# This work is licensed under the terms of the GPL-2.0 license.
# For a copy, see https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
foreground #abb2bf
background #1e2127
cursor #cccccc
color0 #282c34
color1 #e06c75
color2 #98c379
color3 #d19a66
color4 #61afef
color5 #c678dd
color6 #56b6c2
color7 #979eab
color8 #393e48
color9 #d19a66
color10 #56b6c2
color11 #d19a66
color12 #61afef
color13 #e06c75
color14 #56b6c2
color15 #abb2bf
selection_foreground #1e2127
selection_background #abb2bf