commit
303b189507
@ -0,0 +1,21 @@ |
||||
!! URxvt Appearance |
||||
urxvt*termName: rxvt-256color |
||||
urxvt*font: xft:Terminus:style=Regular:size=12 |
||||
Xft.autohint: true |
||||
Xft.antialias: true |
||||
Xft.hinting: true |
||||
Xft.hintstyle: hintslight |
||||
Xft.rgba: rgb |
||||
Xft.lcdfilter: lcddefault |
||||
|
||||
urxvt*letterSpace: 0 |
||||
urxvt*lineSpace: 0 |
||||
urxvt*geometry: 120x30 |
||||
urxvt.internalBorder: 24 |
||||
urxvt.saveline: 2048 |
||||
urxvt.scrollBar: false |
||||
urxvt.scrollBar_right: false |
||||
urxvt.urgentOnBell: true |
||||
urxvt.depth: 32 |
||||
urxvt.cursorUnderline: true |
||||
urxvt.cursorBlink: true |
@ -0,0 +1,38 @@ |
||||
alias activateTop='xrandr --output DP-3 --auto --above eDP-1-1' |
||||
alias activateSync='nvidia-settings --assign CurrentMetaMode="DP-3: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On},DVI-I-3-2: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"' |
||||
alias activateLeft='xrandr --output DP-4 --auto --left-of DP-3; i3-msg restart' |
||||
alias activateDisplayLink='xrandr --setprovideroutputsource 3 0' |
||||
alias closeLaptop='xrandr --output eDP-1-1 --off' |
||||
alias activateHome='closeLaptop; activateLeft; activateSync' |
||||
|
||||
alias weather="curl wttr.in/Phoenix" |
||||
alias asuvpn='sudo openconnect --csd-wrapper=/usr/lib/openconnect/csd-post.sh --disable-ipv6 --no-proxy --pfs --base-mtu=1000 sslvpn.asu.edu/2fa' |
||||
alias fixWifi='sudo rmmod iwlmvm; sudo rmmod iwlwifi; sudo modprobe iwlmvm; sudo modprobe iwlwifi' |
||||
|
||||
alias paraview='~/Projects/paraview/install/bin/paraview' |
||||
|
||||
export PATH=/home/frosty/.local/bin:$PATH |
||||
export PATH=/home/frosty/Projects/paraview/install/bin:$PATH |
||||
export PATH=/opt/cisco/anyconnect/bin:$PATH |
||||
export PATH=/home/frosty/Programs/CXX/parsplice/install/bin:$PATH |
||||
|
||||
# LAMMPS dependencies |
||||
export PYTHONPATH=/home/frosty/Apps/lammps/python:$PYTHONPATH |
||||
export LD_LIBRARY_PATH=/home/frosty/Apps/lammps/install/lib:$LD_LIBRARY_PATH |
||||
export PATH=/home/frosty/Apps/lammps/install/bin:$PATH |
||||
export PATH=/home/frosty/Programs/Rust/CommandPrompter/target/debug:$PATH |
||||
|
||||
#paraview python module |
||||
export LD_LIBRARY_PATH=/home/frosty/Projects/paraview/install/lib:$LD_LIBRARY_PATH |
||||
export PYTHONPATH=/home/frosty/Projects/paraview/install/lib/python3.9/site-packages/:$PYTHONPATH |
||||
|
||||
#LANL proxy; make sure to comment out after the summer |
||||
#export http_proxy="http://proxyout.lanl.gov:8080" |
||||
#export https_proxy="http://proxyout.lanl.gov:8080" |
||||
#export ftp_proxy="http://proxyout.lanl.gov:8080" |
||||
#export HTTP_PROXY="http://proxyout.lanl.gov:8080" |
||||
#export HTTPS_PROXY="http://proxyout.lanl.gov:8080" |
||||
#export FTP_PROXY="http://proxyout.lanl.gov:8080" |
||||
|
||||
(cat ~/.cache/wal/sequences &) |
||||
clear |
@ -0,0 +1,22 @@ |
||||
# ~/.bashrc |
||||
# |
||||
|
||||
# If not running interactively, don't do anything |
||||
[[ $- != *i* ]] && return |
||||
|
||||
if [[ -f ~/.bash_home ]]; then |
||||
. ~/.bash_home |
||||
fi |
||||
|
||||
alias emacs='emacsclient -ct' |
||||
alias ls='ls --color=auto' |
||||
alias diff='diff --color=auto' |
||||
alias grep='grep --color=auto' |
||||
alias cp="rsync -r --progress" |
||||
alias mv="rsync -aP --remove-source-files" |
||||
|
||||
GREEN="\[$(tput setaf 4)\]" |
||||
GREENER="\[$(tput setaf 2)\]" |
||||
RESET="\[$(tput sgr0)\]" |
||||
|
||||
PS1="${GREEN}\u@\h ${GREENER}\W ${RESET}> " |
@ -0,0 +1,75 @@ |
||||
(require 'package) |
||||
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) |
||||
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) |
||||
(eval-when-compile |
||||
(require 'use-package)) |
||||
|
||||
;list the packages you want |
||||
(setq package-list '(rustic calfw multiple-cursors transient magit restart-emacs dashboard simpleclip auctex company eglot centaur-tabs telephone-line rainbow-delimiters smex format-all flycheck neotree rainbow-mode use-package)) |
||||
|
||||
; list the repositories containing them |
||||
(setq package-archives '(("elpa" . "http://tromey.com/elpa/") |
||||
("gnu" . "http://elpa.gnu.org/packages/") |
||||
("marmalade" . "http://marmalade-repo.org/packages/"))) |
||||
|
||||
; activate all the packages (in particular autoloads) |
||||
(package-initialize) |
||||
|
||||
; fetch the list of packages available |
||||
(unless package-archive-contents |
||||
(package-refresh-contents)) |
||||
|
||||
; install the missing packages |
||||
(dolist (package package-list) |
||||
(unless (package-installed-p package) |
||||
(package-install package))) |
||||
|
||||
|
||||
(use-package company) |
||||
(add-hook 'after-init-hook 'global-company-mode) |
||||
|
||||
(use-package eglot :ensure t) |
||||
(add-hook 'c++-mode-hook 'eglot-ensure) |
||||
(add-hook 'c-mode-hook 'eglot-ensure) |
||||
|
||||
(use-package rustic :init |
||||
(setq rustic-lsp-client 'eglot)) |
||||
|
||||
(use-package centaur-tabs :init |
||||
(setq centaur-tabs-enable-key-bindings t |
||||
centaur-tabs-set-icons t |
||||
centaur-tabs-set-modified-marker t |
||||
centaur-tabs-style "chamfer")) |
||||
(centaur-tabs-headline-match) |
||||
(centaur-tabs-mode 1) |
||||
(add-hook 'after-init-hook #'global-flycheck-mode) |
||||
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode) |
||||
(global-set-key (kbd "M-x") 'smex) |
||||
(global-set-key (kbd "M-X") 'smex-major-mode-commands) |
||||
|
||||
(require 'telephone-line) |
||||
(telephone-line-mode 1) |
||||
(when (fboundp 'windmove-default-keybindings) |
||||
(windmove-default-keybindings)) |
||||
|
||||
(setq-default cursor-type 'bar) |
||||
(setq backup-directory-alist '(("" . "~/.emacs.d/backup"))) |
||||
(which-key-mode) |
||||
|
||||
(use-package dashboard |
||||
:ensure t |
||||
:config (dashboard-setup-startup-hook) |
||||
(setq dashboard-set-footer nil |
||||
dashboard-org-agenda-categories '("Tasks" "appointments"))) |
||||
|
||||
(setq interprogram-cut-function nil) |
||||
|
||||
(require 'multiple-cursors) |
||||
(global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines) |
||||
(global-set-key (kbd "C->") 'mc/mark-next-like-this) |
||||
(global-set-key (kbd "C-<") 'mc/mark-previous-like-this) |
||||
(global-set-key (kbd "C-c C-<") 'mc/mark-all-like-this) |
||||
(scroll-bar-mode -1) |
||||
(cond ((file-exists-p "~/.emacs_home.el") (load "~/.emacs_home.el"))) |
||||
|
||||
;;; .emacs ends here |
@ -0,0 +1,111 @@ |
||||
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/") |
||||
(add-to-list 'load-path "~/.emacs.d/downloadedEl/") |
||||
|
||||
(custom-set-variables |
||||
;; custom-set-variables was added by Custom. |
||||
;; If you edit it by hand, you could mess it up, so be careful. |
||||
;; Your init file should contain only one such instance. |
||||
;; If there is more than one, they won't work right. |
||||
'(TeX-view-program-selection |
||||
'(((output-dvi has-no-display-manager) |
||||
"dvi2tty") |
||||
((output-dvi style-pstricks) |
||||
"dvips and gv") |
||||
(output-dvi "xdvi") |
||||
(output-pdf "Zathura") |
||||
(output-html "xdg-open"))) |
||||
'(ansi-color-faces-vector |
||||
[default default default italic underline success warning error]) |
||||
'(ansi-color-names-vector |
||||
["black" "#d55e00" "#009e73" "#f8ec59" "black" "#cc79a7" "#56b4e9" "white"]) |
||||
'(browse-url-browser-function 'browse-url-default-browser) |
||||
'(column-number-mode t) |
||||
'(custom-enabled-themes '(wilmersdorf)) |
||||
'(custom-safe-themes |
||||
'("edd01c5822b89be3544795eb19ad3096d1330c06ef2b0b4ec3a3c4e5a4bbc9d4" "ba72dfc6bb260a9d8609136b9166e04ad0292b9760a3e2431cf0cd0679f83c3a" "41098e2f8fa67dc51bbe89cce4fb7109f53a164e3a92356964c72f76d068587e" "fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" "bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" "36ca8f60565af20ef4f30783aa16a26d96c02df7b4e54e9900a5138fb33808da" "c9ddf33b383e74dac7690255dd2c3dfa1961a8e8a1d20e401c6572febef61045" "bf798e9e8ff00d4bf2512597f36e5a135ce48e477ce88a0764cfb5d8104e8163" "5034d4b3ebd327bbdc1bbf925b6bf7e4dfbe4f3f84ee4d21e154143f128c6e04" default)) |
||||
'(hl-todo-keyword-faces |
||||
'(("TODO" . "#dc752f") |
||||
("NEXT" . "#dc752f") |
||||
("THEM" . "#2aa198") |
||||
("PROG" . "#268bd2") |
||||
("OKAY" . "#268bd2") |
||||
("DONT" . "#d70000") |
||||
("FAIL" . "#d70000") |
||||
("DONE" . "#86dc2f") |
||||
("NOTE" . "#875f00") |
||||
("KLUDGE" . "#875f00") |
||||
("HACK" . "#875f00") |
||||
("TEMP" . "#875f00") |
||||
("FIXME" . "#dc752f") |
||||
("XXX+" . "#dc752f") |
||||
("\\?\\?\\?+" . "#dc752f"))) |
||||
'(mode-line-in-non-selected-windows nil) |
||||
'(package-selected-packages |
||||
'(rustic org-caldav all-the-icons doom-themes which-key calfw multiple-cursors transient magit restart-emacs dashboard simpleclip auctex messages-are-flowing ## powerline-evil ewal-spacemacs-themes ewal spacemacs-theme spaceline company eglot centaur-tabs ample-theme telephone-line rainbow-delimiters smex format-all flycheck neotree rainbow-mode use-package)) |
||||
'(pdf-view-midnight-colors '("#b2b2b2" . "#262626")) |
||||
'(tool-bar-mode nil)) |
||||
|
||||
(require 'calfw) |
||||
(require 'calfw-cal) |
||||
(require 'calfw-org) |
||||
(defun my-calendar () |
||||
(interactive) |
||||
(cfw:open-calendar-buffer |
||||
:contents-sources |
||||
(list |
||||
(cfw:org-create-source "Green") |
||||
(cfw:cal-create-source "Orange") |
||||
))) |
||||
|
||||
(setq org-replace-disputed-keys t) |
||||
(define-key global-map "\C-cl" 'org-store-link) |
||||
(define-key global-map "\C-ca" 'org-agenda) |
||||
(setq org-log-done t) |
||||
(setq org-agenda-files (list "~/Documents/org-mode/tweaking.org" |
||||
"~/Documents/org-mode/school.org" |
||||
"~/Documents/org-mode/untitled_project.org" |
||||
"~/Documents/org-mode/personal.org")) |
||||
(add-to-list 'auto-mode-alist '("neomutt" . mail-mode)) |
||||
(setq appt-message-warning-time 15 |
||||
appt-display-format 'window) |
||||
(appt-activate 1) |
||||
(defun notify-send (title msg) |
||||
(interactive) |
||||
(shell-command (concat "notify-send '" title "' '" msg "'"))) |
||||
(defun facade-notify-appt (min-to-app new-time msg) |
||||
(notify-send (format "Appointment in %s minute(s)" min-to-app) msg)) |
||||
(setq appt-disp-window-function (function facade-notify-appt)) |
||||
(add-hook 'diary-list-entries-hook 'diary-sort-entries t) |
||||
;; not perfect, messes up theme if you switch from terminal to gui and |
||||
;; vice versa, but whatever |
||||
|
||||
(add-hook 'after-make-frame-functions |
||||
(lambda (frame) |
||||
(select-frame frame) |
||||
(if (display-graphic-p frame) |
||||
(progn (load-theme 'wilmersdorf t) |
||||
(enable-theme 'wilmersdorf) |
||||
(scroll-bar-mode -1) |
||||
(my-calendar) |
||||
(global-hl-line-mode)) |
||||
(progn (disable-theme 'wilmersdorf) |
||||
(setq global-hl-line-mode nil))))) |
||||
|
||||
(custom-set-faces |
||||
;; custom-set-faces was added by Custom. |
||||
;; If you edit it by hand, you could mess it up, so be careful. |
||||
;; Your init file should contain only one such instance. |
||||
;; If there is more than one, they won't work right. |
||||
'(default ((t (:family "Iosevka" :foundry "CYEL" :slant normal :weight normal :height 100 :width normal)))) |
||||
'(org-todo ((t (:inherit bold :foreground "#527F80"))))) |
||||
|
||||
;(use-package org-caldav |
||||
; :init (setq org-caldav-url "https://calendar.rshyn.site/frosty")) |
||||
|
||||
;(setq org-icalendar-alarm-time 1) |
||||
;(setq org-icalendar-include-todo t |
||||
; org-caldav-sync-todo t) |
||||
; (setq org-icalendar-include-sexps t) |
||||
; (setq org-icalendar-use-deadline '(todo-due)) |
||||
; (setq org-icalendar-use-scheduled '(todo-start))) |
||||
|
@ -0,0 +1,8 @@ |
||||
dir=~/.dotfiles |
||||
files="emacs" |
||||
|
||||
cd $dir |
||||
|
||||
for file in $files; do |
||||
ln -s $dir/$file ~/.$file |
||||
done |
Loading…
Reference in new issue