8 Commits

Author SHA1 Message Date
opal 2231bc79b8 stoof 2026-06-12 14:45:59 -07:00
opal 18af1b323d added history alias 2026-04-27 13:58:42 -07:00
opal 098a789fbd volume 2026-04-23 18:20:17 -07:00
opal 6b25249862 reee 2026-04-07 19:45:10 -07:00
opal 246166b23c Merge branch 'master' of git.opal.sh:opal/opalfiles 2026-04-06 10:06:18 -07:00
opal 27faf4b7ee changes 2026-04-06 10:06:15 -07:00
opal 8abb7853fc Merge branch 'master' of git.opal.sh:opal/opalfiles 2026-04-06 07:19:47 -07:00
opal 91749ffff1 doom config thing + adding things to gitignore 2026-04-06 07:19:44 -07:00
7 changed files with 73 additions and 84 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
TERM = "xterm-256color"
[font]
size = 16
size = 18
[font.normal]
family = "VictorMono Nerd Font"
+22 -22
View File
@@ -1,31 +1,31 @@
[colors.primary]
background = '#10140f'
foreground = '#e0e4db'
background = '#f9f9ff'
foreground = '#191c20'
[colors.selection]
text = '#e0e4db'
background = '#1b5e20'
text = '#191c20'
background = '#d4e3ff'
[colors.cursor]
text = '#10140f'
cursor = '#4caf50'
text = '#f9f9ff'
cursor = '#3b608f'
[colors.normal]
black = '#10140f'
red = '#c96a4c'
green = '#4daf4c'
yellow = '#dacb52'
blue = '#35a639'
magenta = '#005103'
cyan = '#4caf50'
white = '#abb7ab'
black = '#111318'
red = '#872844'
green = '#196b24'
yellow = '#aba314'
blue = '#396296'
magenta = '#cde2fd'
cyan = '#3b608f'
white = '#262628'
[colors.bright]
black = '#717b71'
red = '#eca088'
green = '#80d27e'
yellow = '#fff39a'
blue = '#63c067'
magenta = '#89e38d'
cyan = '#b6f4b9'
white = '#f6fdf6'
black = '#757779'
red = '#b34d6b'
green = '#379d45'
yellow = '#b9b221'
blue = '#4471ad'
magenta = '#cde2fd'
cyan = '#839bb9'
white = '#d1d3d6'
+2 -2
View File
@@ -50,7 +50,7 @@
;; Font Config
(setq doom-font (font-spec :family "VictorMono Nerd Font" :size 22 :weight 'medium)
doom-variable-pitch-font (font-spec :family "VictorMono Nerd Font" :size 22 :weight 'medium :slant 'italic))
doom-variable-pitch-font (font-spec :family "DejaVu Serif" :size 22))
(defun opal/org-font-setup ()
;; Replace list hyphen with dot
@@ -100,7 +100,7 @@
;;(setq org-startup-folded t)
(setq org-indent-indentation-per-level 2)
(setq org-hide-emphasis-markers t)
(setq org-agenda-files (directory-files-recursively "~/Sync/org/agenda/" "\\.org$"))
(setq org-agenda-files (directory-files-recursively "~/sync/org/agenda/" "\\.org$"))
(setq org-agenda-todo-ignore-scheduled 'future)
(require 'org-habit)
+2 -2
View File
@@ -390,8 +390,8 @@ binds {
// The allow-when-locked=true property makes them work even when the session is locked.
// Using spawn-sh allows to pass multiple arguments together with the command.
// "-l 1.0" limits the volume to 100%.
XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+ -l 1.0"; }
XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-"; }
XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+ -l 1.0"; }
XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02-"; }
XF86AudioMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; }
XF86AudioMicMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; }
+2
View File
@@ -5,3 +5,5 @@ SAVEHIST=10000
# Options to make history nicer
setopt HIST_IGNORE_DUPS HIST_IGNORE_SPACE
export GTK_THEME=Yaru-dark
+37 -57
View File
@@ -21,6 +21,19 @@ SAVEHIST=10000
# Options to make history nicer
setopt HIST_IGNORE_DUPS HIST_IGNORE_SPACE
# Auto capitalize
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
export CODE_DIR="$HOME/code"
#######################################################
# KEYBINDS
#######################################################
autoload -U select-word-style
select-word-style bash
bindkey '^[[1;3D' backward-word # Alt+Left
bindkey '^[[1;3C' forward-word # Alt+Right
#######################################################
# PROMPT
@@ -43,33 +56,22 @@ PROMPT='%F{cyan}[%n@%m %F{yellow}%~%f%F{green}${vcs_info_msg_0_}%f%F{cyan}]%f
# Remove right side prompt (like time)
unset RPROMPT
#######################################################
# GOPASS
#######################################################
# Gopass aliases
alias gpi='gopass insert --multiline'
alias gpl='gopass ls'
alias gps='gopass show'
alias gpsclip='gopass show --clip'
alias gpe='gopass edit'
#######################################################
# ALIAS
#######################################################
alias dot='cd ~/code/opalfiles'
alias ans='cd ~/code/ansible'
alias dot='cd $CODE_DIR/opalfiles'
alias ans='cd $CODE_DIR/ansible'
alias v='nvim'
alias vim='nvim'
alias vi='nvim'
# DNF
alias din='sudo dnf install'
alias dre='sudo dnf remove'
alias dup='sudo dnf update'
alias dse='dnf search'
# Package Manager
alias pin='sudo pacman -S'
alias pre='sudo pacman -R'
alias pup='sudo pacman -Syu'
alias pse='pacman -Ss'
# alias to show the date
alias da='date "+%Y-%m-%d %A %T %Z"'
@@ -128,57 +130,26 @@ alias gcom='git commit -m'
alias h='history 1'
alias pkg='nvim ~/Code/arch-ansible/roles/packages/tasks/main.yml'
alias pkg-aur='nvim ~/Code/arch-ansible/scripts/aur-pkg-install.sh'
#######################################################
# FUNCTIONS
#######################################################
# Reset all USB devices after suspend/hibernate if they vanish
usbreset() {
echo "Re-authorizing all USB devices..."
for d in /sys/bus/usb/devices/*/authorized; do
if [[ -w $d ]]; then
echo 0 | sudo tee "$d" >/dev/null
echo 1 | sudo tee "$d" >/dev/null
fi
done
echo "Done. Check with lsusb."
}
#######################################################
# KEYBINDS
#######################################################
autoload -U select-word-style
select-word-style bash
bindkey '^[[1;3D' backward-word # Alt+Left
bindkey '^[[1;3C' forward-word # Alt+Right
#######################################################
# WORK
#######################################################
alias pkg='nvim $CODE_DIR/arch-ansible/roles/packages/tasks/main.yml'
alias pkg-aur='nvim $CODE_DIR/arch-ansible/scripts/aur-pkg-install.sh'
# Wireguard
alias wgup='nmcli connection up wg0'
alias wgdown='nmcli connection down wg0'
keys()
{
eval "$(keychain --quiet --absolute --dir ~/.config/keychain --eval ry_ecdsa)"
eval "$(keychain --quiet --absolute --dir ~/.config/keychain --eval id_rsa)"
}
alias history='history 0'
keys
#######################################################
# FUNCTIONS
#######################################################
apply() {
(cd ~/Code/arch-ansible && ansible-playbook -i inventory/hosts.yml site.yml -K "$@")
(cd $CODE_DIR/arch-ansible && ansible-playbook -i inventory/hosts.yml site.yml -K "$@")
}
apply-aur() {
(cd ~/Code/arch-ansible/scripts && bash aur-pkg-install.sh)
(cd $CODE_DIR/arch-ansible/scripts && bash aur-pkg-install.sh)
}
shred-dir() {
@@ -195,3 +166,12 @@ shred-dir() {
rm -rf "$dir"
echo "Done."
}
keys()
{
eval "$(keychain --quiet --absolute --dir ~/.config/keychain --eval ry_ecdsa)"
eval "$(keychain --quiet --absolute --dir ~/.config/keychain --eval id_rsa)"
}
keys
+7
View File
@@ -1,4 +1,5 @@
.config/qutebrowser/quickmarks
.config/mimeapps.list
.config/qutebrowser/qsettings/*
.config/qutebrowser/autoconfig.yml
.config/borgmatic/config.yaml
@@ -7,6 +8,10 @@
.local/share/mpd
.config/ncmpcpp/lyrics/
.config/zsh/.zsh_history
.config/zsh/.zcompcache
.config/niri/dms/
.config/gtk-3.0/
.config/gtk-4.0/
*.swp
lazy-lock.json
*.sync-conflict*
@@ -15,3 +20,5 @@ flycheck-packages.el
*.log
.config/zsh/.zcompdump
.local/bin/claude
.config/systemd/user/default.target.wants/
.config/nvim/lua/