Template zshrc to add opitonal env vars

This commit is contained in:
Pavle Portic 2022-05-06 18:20:42 +02:00
parent e2b1b4fe9b
commit f65c31d5fa
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
4 changed files with 28 additions and 3 deletions

View File

@ -1,3 +1,4 @@
LICENSE
init.sh
custom_colemak
config_template.yaml

19
config_template.yaml Normal file
View File

@ -0,0 +1,19 @@
data:
i3:
font_size: 13
xrandr: ''
tray_output: ''
bumblebee:
modules: 'ytrssil'
parameters: >-
sensors.path="coretemp-isa-0000/Package id 0/temp1_input"
xresources:
rgba:
- rgba: rgb
dpi: 96
roxterm:
font:
size: 14
zshrc:
gdk_scale: '1.0'
env_vars: []

View File

@ -208,7 +208,8 @@ bar {
position top
tray_output none
status_command ~/.local/share/bumblebee-status/bumblebee-status -m \
spotify {{ .i3.bumblebee.modules }} \
spotify \
dunst {{ .i3.bumblebee.modules }} \
sensors \
layout \
pasource \
@ -218,6 +219,8 @@ bar {
-p workspacewheel=False \
pasource.showbars="1" \
pasink.showbars="1" \
sensors.use_sensors="true" \
sensors.json="true" \
{{ .i3.bumblebee.parameters }} \
date.format="%a, %Y-%m-%d" \
date.interval="30" \

View File

@ -1,3 +1,4 @@
# vim: set ft=zsh:
# History
HISTFILE=~/.histfile
HISTSIZE=40000
@ -55,8 +56,9 @@ export QT_QPA_PLATFORMTHEME="qt5ct"
export VISUAL="nvim"
export XDG_CONFIG_HOME="$HOME/.config"
export VIRTUAL_ENV_DISABLE_PROMPT="true"
export GDK_DPI_SCALE=1.1
export GDK_DPI_SCALE={{ or .zshrc.gdk_scale "1.0" }}
{{ range $_, $env := .zshrc.env_vars }}export {{ $env.name }}={{ $env.value }}
{{end}}
# Valve shader compiler
export RADV_PERFTEST="aco"