Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fran-penedo committed Sep 10, 2024
0 parents commit 79a7fc0
Show file tree
Hide file tree
Showing 148 changed files with 4,471 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dot_gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[user]
email = [email protected]
name = Francisco Penedo
# signingkey = A3198FD716A360D0!
[push]
default = simple
[core]
excludesfile = /home/fran/.gitignore
editor = nvim
[credential]
helper = /usr/share/git/credential/gnome-keyring/git-credential-gnome-keyring
[github]
user = fran-penedo
[commit]
# gpgsign = true
verbose = 1
230 changes: 230 additions & 0 deletions dot_gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
# Emacs aux files
.pdf-view-restore

# Tags
GPATH
GTAGS
GRTAGS

# Common Python build, test and auxiliary files
.coverage
.coverage.*
coverage.xml
cover/
*.egg-info

*.pydevproject
__pycache__/
.metadata
.gradle
bin/
tmp/
*.tmp
*.bak
*.bkp
*.swp
*~.nib
local.properties
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath

# sbteclipse plugin
.target

# TeXlipse plugin
.texlipse
# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*

# Org-mode
.org-id-locations
*_archive

# flymake-mode
*_flymake.*

# eshell files
/eshell/history
/eshell/lastdir

# elpa packages
/elpa/

# reftex files
*.rel

# AUCTeX auto folder
/auto/

# cask packages
.cask/
*~

# KDE directory preferences
.directory
.svn/
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~

# python
*.pyc
.ropeproject/
.env
.env/

## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc

## Intermediate documents:
*.dvi
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.brf
*.run.xml

## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync

## Auxiliary and intermediate files from other packages:

# algorithms
*.alg
*.loa

# achemso
acs-*.bib

# amsthm
*.thm

# beamer
*.nav
*.snm
*.vrb

#(e)ledmac/(e)ledpar
*.end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R

# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls

# gnuplottex
*-gnuplottex-*

# hyperref
*.brf

# knitr
*-concordance.tex
*.tikz
*-tikzDictionary

# listings
*.lol

# makeidx
*.idx
*.ilg
*.ind
*.ist

# minitoc
*.maf
*.mtc
*.mtc[0-9]
*.mtc[1-9][0-9]

# minted
_minted*
*.pyg

# morewrites
*.mw

# nomencl
*.nlo

# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd

# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/

# todonotes
*.tdo

# xindy
*.xdy

# WinEdt
*.bak
*.sav
.envrc

/.idea/
.vscode/
.envrc
.direnv/
62 changes: 62 additions & 0 deletions dot_xinitrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi

export LANG=en_US.UTF-8

# xrdb -merge .Xresources

xsetroot -cursor_name left_ptr
xsetroot -solid '#555753'
xset s off
xset b off


#trayer --edge top --align right --SetDockType true --SetPartialStrut true \
# --expand true --width 15 --transparent false --tint 0x000000 --height 18 --monitor 1 &

#~/.scripts/sptrayer.sh &

#xscreensaver -no-splash &

#xfce4-power-manager &
#nitrogen --restore &
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
export GPG_AGENT_INFO
systemctl --user set-environment SSH_AUTH_SOCK=${SSH_AUTH_SOCK}
#pasystray &
#nm-applet &
#fbxkb &
#dropboxd &
syndaemon -i 1 -t -k &

export GTK_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export QT_IM_MODULE=fcitx
# fcitx

export PYMACS_PYTHON=python2
export MC_XDG_OPEN=$HOME/dotfiles/.scripts/xdg-open-spawn

# export QT_STYLE_OVERRIDE=Adwaita-Dark
# export QT_QPA_PLATFORMTHEME=qt6gtk2

export MOZ_USE_XINPUT2=1

stty -ixon

exec $1
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
7 changes: 7 additions & 0 deletions private_dot_config/fish/completions/fisher.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
complete --command fisher --exclusive --long help --description "Print help"
complete --command fisher --exclusive --long version --description "Print version"
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments install --description "Install plugins"
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments update --description "Update installed plugins"
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments remove --description "Remove installed plugins"
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments list --description "List installed plugins matching regex"
complete --command fisher --exclusive --condition "__fish_seen_subcommand_from update remove" --arguments "(fisher list)"
12 changes: 12 additions & 0 deletions private_dot_config/fish/completions/tide.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
complete tide --no-files

set -l subcommands bug-report configure

complete tide -x -n __fish_use_subcommand -a bug-report -d "Print info for use in bug reports"
complete tide -x -n __fish_use_subcommand -a configure -d "Run the configuration wizard"

complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s h -l help -d "Print help message"
complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s v -l version -d "Print tide version"

complete tide -x -n '__fish_seen_subcommand_from bug-report' -l clean -d "Run clean Fish instance and install Tide"
complete tide -x -n '__fish_seen_subcommand_from bug-report' -l verbose -d "Print full Tide configuration"
41 changes: 41 additions & 0 deletions private_dot_config/fish/conf.d/_tide_init.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
function _tide_init_install --on-event _tide_init_install
set -U VIRTUAL_ENV_DISABLE_PROMPT true

source (functions --details _tide_sub_configure)
_load_config lean
_tide_finish

if status is-interactive
tide bug-report --check || sleep 4

if contains ilancosman/tide (string lower $_fisher_plugins)
set_color bryellow
echo "ilancosman/tide is a development branch. Please install from a release tag:"
echo -ns "fisher install ilancosman/tide@v5" | fish_indent --ansi
sleep 3
end

switch (read --prompt-str="Configure tide prompt? [Y/n] " | string lower)
case y ye yes ''
tide configure
case '*'
echo -s \n 'Run ' (echo -ns "tide configure" | fish_indent --ansi) ' to customize your prompt.'
end
end
end

function _tide_init_update --on-event _tide_init_update
# Warn users who install from main branch
if contains ilancosman/tide (string lower $_fisher_plugins)
set_color bryellow
echo "ilancosman/tide is a development branch. Please install from a release tag:"
echo -ns "fisher install ilancosman/tide@v5" | fish_indent --ansi
sleep 3
end
end

function _tide_init_uninstall --on-event _tide_init_uninstall
set -e VIRTUAL_ENV_DISABLE_PROMPT
set -e (set -U --names | string match --entire -r '^_?tide')
functions --erase (functions --all | string match --entire -r '^_?tide')
end
Loading

0 comments on commit 79a7fc0

Please sign in to comment.