Compare commits
No commits in common. "3933779b4db1123f21a7586d7782fbd5074ca2af" and "e647999fbaf4c524b7da7fd3797886a3f29d868a" have entirely different histories.
3933779b4d
...
e647999fba
@ -25,7 +25,6 @@ README.md
|
|||||||
.config/redshift
|
.config/redshift
|
||||||
.config/rofi
|
.config/rofi
|
||||||
.config/yt-dlp
|
.config/yt-dlp
|
||||||
.config/X11
|
|
||||||
.config/zathura
|
.config/zathura
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
clear lock
|
|
||||||
clear control
|
|
||||||
keycode 66 = Control_L
|
|
||||||
add control = Control_L Control_R
|
|
@ -1,89 +0,0 @@
|
|||||||
Xft.lcdfiler: lcddefault
|
|
||||||
Xft.antialias: true
|
|
||||||
Xft.hinting: true
|
|
||||||
Xft.hintstyle: hintfull
|
|
||||||
|
|
||||||
Xcursor.size: 16
|
|
||||||
|
|
||||||
me: xterm-256color
|
|
||||||
|
|
||||||
XTerm*locale: true
|
|
||||||
XTerm*selectToClipboard: true
|
|
||||||
XTerm*faceName: Source Han Code JP
|
|
||||||
XTerm*faceNameDoublesize: Source Han Code JP
|
|
||||||
XTerm*faceSize: 8
|
|
||||||
|
|
||||||
! molokai color scheme
|
|
||||||
|
|
||||||
XTerm*background: #101010
|
|
||||||
XTerm*foreground: #d0d0d0
|
|
||||||
XTerm*cursorColor: #d0d0d0
|
|
||||||
XTerm*color0: #101010
|
|
||||||
XTerm*color1: #960050
|
|
||||||
XTerm*color2: #66aa11
|
|
||||||
XTerm*color3: #c47f2c
|
|
||||||
XTerm*color4: #30309b
|
|
||||||
XTerm*color5: #7e40a5
|
|
||||||
XTerm*color6: #3579a8
|
|
||||||
XTerm*color7: #9999aa
|
|
||||||
XTerm*color8: #303030
|
|
||||||
XTerm*color9: #ff0090
|
|
||||||
XTerm*color10: #80ff00
|
|
||||||
XTerm*color11: #ffba68
|
|
||||||
XTerm*color12: #5f5fee
|
|
||||||
XTerm*color13: #bb88dd
|
|
||||||
XTerm*color14: #4eb4fa
|
|
||||||
XTerm*color15: #d0d0d0
|
|
||||||
|
|
||||||
! urxvt settings
|
|
||||||
URxvt.scrollBar: False
|
|
||||||
URxvt.font: xft:Source Han Code JP:medium:size=7.6
|
|
||||||
URxvt.boldFont: xft:Source Han Code JP:medium:size=7.6
|
|
||||||
URxvt.letterSpace: -0.3
|
|
||||||
|
|
||||||
! Base16 Tomorrow Night
|
|
||||||
! Author: Chris Kempson (http://chriskempson.com)
|
|
||||||
|
|
||||||
*.foreground : #c5c8c6
|
|
||||||
*.cursorColor : #f0c674
|
|
||||||
*.background : #1e1f21
|
|
||||||
|
|
||||||
! 16 color space
|
|
||||||
|
|
||||||
! Black, Gray, Silver, White
|
|
||||||
*.color0 : #1d1f21
|
|
||||||
*.color8 : #969896
|
|
||||||
*.color7 : #c5c8c6
|
|
||||||
*.color15 : #ffffff
|
|
||||||
|
|
||||||
! Red
|
|
||||||
*.color1 : #cc6666
|
|
||||||
*.color9 : #cc6666
|
|
||||||
|
|
||||||
! Green
|
|
||||||
*.color2 : #b5bd68
|
|
||||||
*.color10 : #b5bd68
|
|
||||||
|
|
||||||
! Yellow
|
|
||||||
*.color3 : #f0c674
|
|
||||||
*.color11 : #f0c674
|
|
||||||
|
|
||||||
! Blue
|
|
||||||
*.color4 : #81a2be
|
|
||||||
*.color12 : #81a2be
|
|
||||||
|
|
||||||
! Purple
|
|
||||||
*.color5 : #b294bb
|
|
||||||
*.color13 : #b294bb
|
|
||||||
|
|
||||||
! Teal
|
|
||||||
*.color6 : #8abeb7
|
|
||||||
*.color14 : #8abeb7
|
|
||||||
|
|
||||||
! Extra colors
|
|
||||||
*.color16 : #de935f
|
|
||||||
*.color17 : #a3685a
|
|
||||||
*.color18 : #282a2e
|
|
||||||
*.color19 : #373b41
|
|
||||||
*.color20 : #b4b7b4
|
|
||||||
*.color21 : #e0e0e0
|
|
@ -1,5 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
while [ -n "$(wmctrl -l | grep "Firefox")" ]; do
|
|
||||||
wmctrl -c "Firefox"
|
|
||||||
done
|
|
@ -1,62 +0,0 @@
|
|||||||
# Load profile
|
|
||||||
|
|
||||||
for file in "/etc/profile" "$HOME/.config/.profile" "/etc/xprofile" "$HOME/.config/X11/xprofile"; do
|
|
||||||
if [ -f "$file" ]; then
|
|
||||||
echo "Loading profile from $file"
|
|
||||||
. "$file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Load resources
|
|
||||||
for file in "/etc/X11/Xresources" "$HOME/.config/X11/Xresources"; do
|
|
||||||
if [ -f "$file" ]; then
|
|
||||||
echo "Loading resource: $file"
|
|
||||||
xrdb -merge "$file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Load keymaps
|
|
||||||
for file in "/etc/X11/Xkbmap" "$HOME/.config/X11/Xkbmap"; do
|
|
||||||
if [ -f "$file" ]; then
|
|
||||||
echo "Loading keymap: $file"
|
|
||||||
setxkbmap $(cat "$file")
|
|
||||||
XKB_IN_USE=yes
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Load xmodmap if not using XKB
|
|
||||||
if [ -z "$XKB_IN_USE" ]; then
|
|
||||||
for file in "/etc/X11/Xmodmap" "$HOME/.config/X11/Xmodmap"; do
|
|
||||||
if [ -f "$file" ]; then
|
|
||||||
echo "Loading modmap: $file"
|
|
||||||
xmodmap "$file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
unset XKB_IN_USE
|
|
||||||
|
|
||||||
# Run all system xinitrc shell scripts
|
|
||||||
xinitdir="/etc/X11/xinit/xinitrc.d"
|
|
||||||
if [ -d "$xinitdir" ]; then
|
|
||||||
for script in $xinitdir/*; do
|
|
||||||
echo "Loading xinit script $script"
|
|
||||||
if [ -x "$script" -a ! -d "$script" ]; then
|
|
||||||
. "$script"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Run user xsession shell script
|
|
||||||
script="$HOME/.config/X11/xsession"
|
|
||||||
if [ -x "$script" -a ! -d "$script" ]; then
|
|
||||||
echo "Loading xsession script $script"
|
|
||||||
. "$script"
|
|
||||||
fi
|
|
||||||
|
|
||||||
export USERXSESSION="$XDG_CACHE_HOME/X11/xsession"
|
|
||||||
export USERXSESSIONRC="$XDG_CACHE_HOME/X11/xsessionrc"
|
|
||||||
export ALTUSERXSESSION="$XDG_CACHE_HOME/X11/Xsession"
|
|
||||||
export ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors"
|
|
||||||
|
|
||||||
exec i3
|
|
@ -1,82 +0,0 @@
|
|||||||
#############################################
|
|
||||||
# Disabling .xsession-errors
|
|
||||||
#############################################
|
|
||||||
# export ERRFILE=/dev/null
|
|
||||||
# export ERRFILE=/tmp/xsession-errors
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Setting XDG-Based directories
|
|
||||||
#############################################
|
|
||||||
export XDG_RUNTIME_DIR=/run/user/1000
|
|
||||||
export XDG_CONFIG_HOME=$HOME/.config
|
|
||||||
export XDG_CACHE_HOME=$HOME/.cache
|
|
||||||
export XDG_DATA_HOME=$HOME/.local/share
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Setting XDG User directories
|
|
||||||
#############################################
|
|
||||||
## # Default Path
|
|
||||||
export XDG_DESKTOP_DIR="$HOME/ws"
|
|
||||||
export XDG_DOCUMENTS_DIR="$HOME/vc/docs"
|
|
||||||
export XDG_DOWNLOAD_DIR="$HOME/dl"
|
|
||||||
export XDG_MUSIC_DIR="$HOME/vc/audio"
|
|
||||||
export XDG_PICTURES_DIR="$HOME/vc/pix"
|
|
||||||
# export XDG_PUBLICSHARE_DIR="$HOME/Public"
|
|
||||||
# export XDG_TEMPLATES_DIR="$HOME/Templates"
|
|
||||||
export XDG_VIDEOS_DIR="$HOME/vc/vids"
|
|
||||||
|
|
||||||
# Append PATH
|
|
||||||
export PATH=$PATH:$XDG_CONFIG_HOME/rofi/scripts
|
|
||||||
export PATH=$PATH:$HOME/.local/bin
|
|
||||||
export PATH=$PATH:$HOME/.local/share/myscripts
|
|
||||||
|
|
||||||
# For GTK & QT
|
|
||||||
export GTK_IM_MODULE=fcitx
|
|
||||||
export QT_IM_MODULE=fcitx
|
|
||||||
export QT_QPA_PLATFORMTHEME='qt6ct'
|
|
||||||
export XMODIFIERS=@im=fcitx
|
|
||||||
export DefaultIMModule=fcitx
|
|
||||||
export GTK2_RC_FILES=$XDG_CONFIG_HOME/gtk-2.0/gtkrc
|
|
||||||
export GTK_THEME=Adwaita:dark
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# X11
|
|
||||||
#############################################
|
|
||||||
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
|
|
||||||
|
|
||||||
# Default Applications
|
|
||||||
export TERM=alacritty-256color
|
|
||||||
|
|
||||||
# For CUDA
|
|
||||||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
|
|
||||||
|
|
||||||
##############################
|
|
||||||
# For Applications
|
|
||||||
##############################
|
|
||||||
|
|
||||||
# Filezilla
|
|
||||||
export FZ_DATADIR=$XDG_DATA_HOME/filezilla
|
|
||||||
|
|
||||||
# `pass` command
|
|
||||||
export PASSWORD_STORE_DIR=$XDG_DATA_HOME/password-store
|
|
||||||
|
|
||||||
# gpg (gnupg)
|
|
||||||
export GNUPGHOME=$XDG_DATA_HOME/gnupg
|
|
||||||
|
|
||||||
###############################
|
|
||||||
# xset
|
|
||||||
##############################
|
|
||||||
/bin/xset r rate 200 80
|
|
||||||
/bin/xset s off
|
|
||||||
/bin/xset -dpms
|
|
||||||
|
|
||||||
# tmux
|
|
||||||
# Cannot set config-file-path as env.
|
|
||||||
# $ tmux -f <config-file-path>
|
|
||||||
# 2020-05-07: Now, config file is ~/.config/tmux/tmux.conf
|
|
||||||
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
|
|
||||||
|
|
||||||
{{ if eq .chezmoi.hostname "arch" -}}
|
|
||||||
# nvidia-settings
|
|
||||||
nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings" --load-config-only
|
|
||||||
{{- end }}
|
|
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Disabling .xsession-errors
|
|
||||||
# export ERRFILE=/tmp/xsession-errors
|
|
||||||
|
|
||||||
# Run polkit agent (See: https://wiki.archlinux.org/title/Polkit)
|
|
||||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
Loading…
x
Reference in New Issue
Block a user