initial commit

This commit is contained in:
Anthony Rodriguez 2023-06-01 11:26:29 +02:00
commit 07094edaff
No known key found for this signature in database
54 changed files with 11318 additions and 0 deletions

6
README.org Normal file
View file

@ -0,0 +1,6 @@
#+TITLE: nezia's dotfiles
These are my personal dotfiles for configuring my workstation. I use [stow](https://www.gnu.org/software/stow/) to manage them, hence why everything is under its own module, so I can use `stow *` to symlink them to the right place. All of them should be self explanatory, just be careful when cloning the repository as I also have my wallpapers version controlled to make it easier for future deployments.
# Software used
I use [hyprland]( as my window manager, a wayland compositor.

View file

@ -0,0 +1,18 @@
[global]
frame_color = "#89B4FA"
separator_color= frame
font = "monospace 11"
[urgency_low]
background = "#1E1E2E"
foreground = "#CDD6F4"
[urgency_normal]
background = "#1E1E2E"
foreground = "#CDD6F4"
[urgency_critical]
background = "#1E1E2E"
foreground = "#CDD6F4"
frame_color = "#FAB387"

11
emacs/.emacs.d/.gitignore vendored Normal file
View file

@ -0,0 +1,11 @@
*
!.gitignore
!init.el
<<<<<<< HEAD
!/themes/**
!*.org
=======
!*.org
!themes
!themes/*
>>>>>>> 9ad15b2 (add local whitelist)

202
emacs/.emacs.d/init.el Normal file
View file

@ -0,0 +1,202 @@
(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.
'(package-selected-packages
'(elcord company company-mode pdf-tools org-roam magit expand-region doom-modeline all-the-icons vertico use-package))
'(warning-suppress-log-types '((use-package))))
(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.
)
(setq user-full-name "Anthony Rodriguez")
(setq inhibit-startup-message t)
(scroll-bar-mode -1) ; Disable visible scrollbar
(tool-bar-mode -1) ; Disable the toolbar
(tooltip-mode -1) ; Disable tooltips
(set-fringe-mode 10) ; Give some breathing room
(menu-bar-mode -1) ; Disable the menu bar
;disable backup
(setq backup-inhibited t)
;disable auto save
(setq auto-save-default nil)
(add-to-list 'default-frame-alist '(font . "Monospace 13"))
;; Set theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(load-theme 'catppuccin t)
(setq catppuccin-flavor 'frappe)
(catppuccin-reload)
(add-hook 'text-mode-hook 'visual-line-mode)
;; Initialize package sources
(require 'package)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
("org" . "https://orgmode.org/elpa/")
("elpa" . "https://elpa.gnu.org/packages/")))
(package-initialize)
(unless package-archive-contents
(package-refresh-contents))
;; Initialize use-package on non-Linux platforms
(unless (package-installed-p 'use-package)
(package-install 'use-package))
(require 'use-package)
(setq use-package-always-ensure t)
;; ensures environment variables are available in GUI and daemon
(use-package exec-path-from-shell
:config
(dolist (var '("SSH_AUTH_SOCK" "SSH_AGENT_PID" "GPG_AGENT_INFO" "LANG" "LC_CTYPE" "NIX_SSL_CERT_FILE" "NIX_PATH"))
(add-to-list 'exec-path-from-shell-variables var)))
(when (memq window-system '(mac ns x))
(exec-path-from-shell-initialize))
(when (daemonp)
(exec-path-from-shell-initialize))
(use-package vertico
:init
(vertico-mode))
(use-package all-the-icons)
(use-package doom-modeline
:ensure t
:init (doom-modeline-mode 1)
:custom ((doom-modeline-height 15)))
(use-package which-key
:config
(which-key-mode))
;; magit
(use-package magit)
;; org setup
;; export to a4
(with-eval-after-load 'ox-latex (add-to-list 'org-latex-classes
'("article" "\\documentclass[11pt,a4paper]{article}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
(use-package org-roam
:custom
(org-roam-directory "~/org/notes")
(org-roam-completion-everywhere t)
:config
(org-roam-setup)
:bind (("C-c n f" . org-roam-node-find)
(:map org-mode-map
(("C-c n i" . org-roam-node-insert)
("C-c n l" . org-roam-buffer-toggle)))))
(setq org-publish-project-alist
(list
'("notes"
:base-directory "~/org/notes"
:base-extension "org"
:publishing-directory "~/org/notes"
:publishing-function org-latex-publish-to-pdf
)))
;; spell checking for text modes
(dolist (hook '(text-mode-hook))
(add-hook hook (lambda () (flyspell-mode 1))))
(dolist (hook '(change-log-mode-hook log-edit-mode-hook))
(add-hook hook (lambda () (flyspell-mode -1))))
(add-hook 'prog-mode-hook
(lambda ()
(flyspell-prog-mode)))
;; avoid spell checking code regions in org mode
(add-to-list 'ispell-skip-region-alist '("^#+BEGIN_SRC" . "^#+END_SRC"))
;; add different dictionaries
(let ((langs '("american" "francais")))
(setq lang-ring (make-ring (length langs)))
(dolist (elem langs) (ring-insert lang-ring elem)))
;; cycle through languages
(defun cycle-ispell-languages ()
(interactive)
(let ((lang (ring-ref lang-ring -1)))
(ring-insert lang-ring lang)
(ispell-change-dictionary lang)))
(setq ispell-program-name "aspell")
(global-set-key [f6] 'cycle-ispell-languages)
;; automatic language detection
(use-package guess-language
:config
(setq guess-language-languages '(en fr))
(setq guess-language-min-paragraph-length 35)
:hook
(text-mode . guess-language-mode))
(use-package expand-region
:bind
("C-=" . er/expand-region))
;; enable syntax highlighting in org source blocks
(setq org-src-fontify-natively t)
;; disable latex subscript in org-mode
(setq org-export-with-sub-superscripts nil)
(use-package pdf-tools
:config
(pdf-tools-install)
(setq-default pdf-view-display-size 'fit-width))
;; make language settings work with latex exports
(add-to-list 'org-latex-packages-alist
'("AUTO" "babel" t ("pdflatex" "xelatex" "lualatex")))
(add-to-list 'org-latex-packages-alist
'("AUTO" "polyglossia" t ("xelatex" "lualatex")))
;; lsp configuration
(use-package eglot)
(add-hook 'prog-mode-hook 'eglot-ensure)
;; in buffer auto completion
(use-package company
:hook (prog-mode . emacs-lisp-mode))
;; discord integration
(use-package elcord
:config
(elcord-mode))
;; Makes sure elcord doesn't run on empty frames (for daemonized setups) - https://github.com/Mstrodl/elcord/issues/17#issuecomment-571383324
(defun elcord--disable-elcord-if-no-frames (f)
(declare (ignore f))
(when (let ((frames (delete f (visible-frame-list))))
(or (null frames)
(and (null (cdr frames))
(eq (car frames) terminal-frame))))
(elcord-mode -1)
(add-hook 'after-make-frame-functions 'elcord--enable-on-frame-created)))
(defun elcord--enable-on-frame-created (f)
(declare (ignore f))
(elcord-mode +1))
(defun my/elcord-mode-hook ()
(if elcord-mode
(add-hook 'delete-frame-functions 'elcord--disable-elcord-if-no-frames)
(remove-hook 'delete-frame-functions 'elcord--disable-elcord-if-no-frames)))
(add-hook 'elcord-mode-hook 'my/elcord-mode-hook)

File diff suppressed because it is too large Load diff

View file

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
NoDisplay=true
Exec=emacsclient --eval '(dired "%f")'
Name=Dired
Comment=Emacs Dired
MimeType=inode/directory;application/x-directory

View file

@ -0,0 +1,3 @@
[MIME Cache]
application/x-directory=emacs-dired.desktop;
inode/directory=emacs-dired.desktop;

View file

@ -0,0 +1,11 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>Fira Code Retina</family>
</prefer>
</alias>
</fontconfig>

View file

@ -0,0 +1,31 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
<family>Noto Color Emoji</family>
<family>Noto Emoji</family>
<family>DejaVu Sans</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
<family>Noto Color Emoji</family>
<family>Noto Emoji</family>
<family>DejaVu Serif</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Noto Mono</family>
<family>Noto Color Emoji</family>
<family>Noto Emoji</family>
<family>Fira Code Retina</family>
</prefer>
</alias>
</fontconfig>

10
git/.gitconfig Normal file
View file

@ -0,0 +1,10 @@
[init]
defaultBranch = main
[user]
name = Anthony Rodriguez
email = anthony@nezia.dev
signingKey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAEPEdx0FDYntSZlbiVBb7mbp4EUnlzUTawlGYRy+9I3 id_ed25519
[commit]
gpgsign = true
[gpg]
format = ssh

View file

@ -0,0 +1,17 @@
[Settings]
gtk-theme-name=Catppuccin-Mocha-Standard-Lavender-Dark
gtk-icon-theme-name=Adwaita
gtk-font-name=Cantarell 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb
gtk-application-prefer-dark-theme=1

View file

@ -0,0 +1,9 @@
Net/ThemeName "Catppuccin-Mocha-Standard-Lavender-Dark"
Net/IconThemeName "Adwaita"
Gtk/CursorThemeName "Adwaita"
Net/EnableEventSounds 1
EnableInputFeedbackSounds 0
Xft/Antialias 1
Xft/Hinting 1
Xft/HintStyle "hintslight"
Xft/RGBA "rgb"

19
gtk/.gtkrc-2.0 Normal file
View file

@ -0,0 +1,19 @@
# DO NOT EDIT! This file will be overwritten by nwg-look.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
include "/home/tony/.gtkrc-2.0.mine"
gtk-theme-name="Catppuccin-Mocha-Standard-Lavender-Dark"
gtk-icon-theme-name="Adwaita"
gtk-font-name="Cantarell 11"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintslight"
gtk-xft-rgba="rgb"

View file

@ -0,0 +1,7 @@
theme = "catppuccin_mocha"
[editor]
line-number = "relative"
bufferline = "always"
[editor.file-picker]
hidden = false

1
hyprland/.config/hypr/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
hyprpaper.conf

View file

@ -0,0 +1,61 @@
$rosewaterAlpha = fff5e0dc
$flamingoAlpha = fff2cdcd
$pinkAlpha = fff5c2e7
$mauveAlpha = ffcba6f7
$redAlpha = fff38ba8
$maroonAlpha = ffeba0ac
$peachAlpha = fffab387
$yellowAlpha = fff9e2af
$greenAlpha = ffa6e3a1
$tealAlpha = ff94e2d5
$skyAlpha = ff89dceb
$sapphireAlpha = ff74c7ec
$blueAlpha = ff89b4fa
$lavenderAlpha = ffb4befe
$textAlpha = ffcdd6f4
$subtext1Alpha = ffbac2de
$subtext0Alpha = ffa6adc8
$overlay2Alpha = ff9399b2
$overlay1Alpha = ff7f849c
$overlay0Alpha = ff6c7086
$surface2Alpha = ff585b70
$surface1Alpha = ff45475a
$surface0Alpha = ff313244
$baseAlpha = ff1e1e2e
$mantleAlpha = ff181825
$crustAlpha = ff11111b
$rosewater = 0xfff5e0dc
$flamingo = 0xfff2cdcd
$pink = 0xfff5c2e7
$mauve = 0xffcba6f7
$red = 0xfff38ba8
$maroon = 0xffeba0ac
$peach = 0xfffab387
$yellow = 0xfff9e2af
$green = 0xffa6e3a1
$teal = 0xff94e2d5
$sky = 0xff89dceb
$sapphire = 0xff74c7ec
$blue = 0xff89b4fa
$lavender = 0xffb4befe
$text = 0xffcdd6f4
$subtext1 = 0xffbac2de
$subtext0 = 0xffa6adc8
$overlay2 = 0xff9399b2
$overlay1 = 0xff7f849c
$overlay0 = 0xff6c7086
$surface2 = 0xff585b70
$surface1 = 0xff45475a
$surface0 = 0xff313244
$base = 0xff1e1e2e
$mantle = 0xff181825
$crust = 0xff11111b

View file

@ -0,0 +1,196 @@
# This is an example Hyprland config file.
#
# Refer to the wiki for more information.
#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# Some default env vars.
env = XCURSOR_SIZE,24
source=~/.config/hypr/mocha.conf
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us
kb_variant =
kb_model =
kb_options = compose:ralt, caps:ctrl_modifier
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = true
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5
gaps_out = 20
border_size = 3
col.active_border = $lavender
col.inactive_border = $overlay0
layout = dwindle
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 5
blur = false
blur_size = 3
blur_passes = 1
blur_new_optimizations = true
drop_shadow = false
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
}
animations {
enabled = true
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
}
dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # you probably want this
}
master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_is_master = true
}
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = true
}
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device:epic-mouse-v1 {
sensitivity = -0.5
}
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, kitty
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, emacsclient -nc
bind = $mainMod, W, exec, firefox
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, F, fullscreen
bind = $mainMod_SHIFT, W, exec, ~/.scripts/wwifi.sh
bind = $mainMod_SHIFT, Q, exit
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Media / brightness
bind=,XF86MonBrightnessUp,exec,brightnessctl set +5%
bind=,XF86MonBrightnessDown,exec,brightnessctl set 5%-
bind=,XF86AudioRaiseVolume,exec,pamixer -i 5
bind=,XF86AudioLowerVolume,exec,pamixer -d 5
bind=,XF86AudioMute,exec,pamixer -t
# Screenshot
bind=,Print,exec,grim -o "eDP-1" - | wl-copy && notify-send "Screenshot taken!"
bind=CTRL,Print,exec,grim -g "$(slurp)" - | wl-copy && notify-send "Screenshot taken!"
# lock computer
bind = $mainMod, l, exec,swaylock
bind = ,switch:Lid Switch,exec,systemctl suspend
# emoji picker
bind = $mainMod, period, exec, $HOME/.scripts/wemoji.sh
# hyprland related
exec-once=sh ~/.scripts/start-waybar.sh
exec-once=/usr/lib/polkit-kde-authentication-agent-1
exec-once=dunst
exec-once= ~/.scripts/hyprpaper-generate-config.sh && hyprpaper
# window rules
windowrule=workspace 1 silent,kitty
windowrule=workspace 2 silent,firefox
windowrule=workspace 3 silent,Emacs
windowrulev2 = workspace 5, title:^(.*(Disc|WebC)ord.*)$
windowrule=float,^(.*)(KeePassXC)$
windowrulev2 = idleinhibit always,title:^(.*YouTube.*)$
# personal apps
exec-once=discord
exec-once=sleep 0.5 && keepassxc
exec-once=swayidle -w timeout 180 'swaylock' timeout 600 '[[ $(cat /sys/class/power_supply/AC/online) -eq 0 ]] && systemctl suspend-then-hibernate' before-sleep 'swaylock'
env=MOZ_ENABLE_WAYLAND
env=QT_QPA_PLATFORMTHEME,qt5ct

View file

@ -0,0 +1,62 @@
$rosewaterAlpha = fff5e0dc
$flamingoAlpha = fff2cdcd
$pinkAlpha = fff5c2e7
$mauveAlpha = ffcba6f7
$redAlpha = fff38ba8
$maroonAlpha = ffeba0ac
$peachAlpha = fffab387
$yellowAlpha = fff9e2af
$greenAlpha = ffa6e3a1
$tealAlpha = ff94e2d5
$skyAlpha = ff89dceb
$sapphireAlpha = ff74c7ec
$blueAlpha = ff89b4fa
$lavenderAlpha = ffb4befe
$textAlpha = ffcdd6f4
$subtext1Alpha = ffbac2de
$subtext0Alpha = ffa6adc8
$overlay2Alpha = ff9399b2
$overlay1Alpha = ff7f849c
$overlay0Alpha = ff6c7086
$surface2Alpha = ff585b70
$surface1Alpha = ff45475a
$surface0Alpha = ff313244
$baseAlpha = ff1e1e2e
$mantleAlpha = ff181825
$crustAlpha = ff11111b
$rosewater = 0xfff5e0dc
$flamingo = 0xfff2cdcd
$pink = 0xfff5c2e7
$mauve = 0xffcba6f7
$red = 0xfff38ba8
$maroon = 0xffeba0ac
$peach = 0xfffab387
$yellow = 0xfff9e2af
$green = 0xffa6e3a1
$teal = 0xff94e2d5
$sky = 0xff89dceb
$sapphire = 0xff74c7ec
$blue = 0xff89b4fa
$lavender = 0xffb4befe
$text = 0xffcdd6f4
$subtext1 = 0xffbac2de
$subtext0 = 0xffa6adc8
$overlay2 = 0xff9399b2
$overlay1 = 0xff7f849c
$overlay0 = 0xff6c7086
$surface2 = 0xff585b70
$surface1 = 0xff45475a
$surface0 = 0xff313244
$base = 0xff1e1e2e
$mantle = 0xff181825
$crust = 0xff11111b

View file

@ -0,0 +1,31 @@
[General]
ConfigVersion=2
[Browser]
CustomProxyLocation=
Enabled=true
[GUI]
ApplicationTheme=classic
CompactMode=false
HidePreviewPanel=true
MinimizeOnClose=true
MinimizeOnStartup=true
MinimizeToTray=true
ShowTrayIcon=true
TrayIconAppearance=monochrome-light
[KeeShare]
Active="<?xml version=\"1.0\"?><KeeShare><Active/></KeeShare>\n"
Own="<?xml version=\"1.0\"?><KeeShare><PrivateKey>MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC92aV1O+fxgGFMIHx5tV4RuYclNqFKtko18PeO/aPDi3PhK7vJMzqtRDJYH4vI0J9BFnFQMBGEm11d+Nwezm2zKaSCC59FhtJL94G1ClnbkHA9UmLeuGoGTMUsAGU+IBQUg5vhwaJIB7G659zlDRi3jCRqvaAV7bnqwPupgN4/qkgLf7t0OKZxRhGtD1oQDPW2S+tfgxH2ZLk7X/0myEgy4VfeGDEQnr9kgjOkfe8jqkgDUPwwns53lOK5HE6kBMwdepf2CF+BUBdyhNOmyHg2bveG1XnP3lwaqGfdKtQPcUf7K8Oi0Y6CzJ6LaIYQvWdM4nkIe5kgP58SVilpJ3nRAgMBAAECggEALi5xZzEpXL/D60bDwL9zoJAm5dCCL7BkIPb64VelrH2RtKZ0yZ6imV9Ld9BEqpbFBoo1CjKHMGCyt5c/xGamnLx2fgPhvIHtSfltHeLktNpP0zrlPhRSBjJKjEeUWSZofAz/sEzv8uGcRED+pOEosA1xFl4GQQ9Q+F/1V+g3J/kSuxlQLKBxyhoqVTipRYmjehqCEKrkjuiiS2r9aCwrtYBY8YTJl88bepDqCDDgGq3UMHicr93mEIlRufCHtBFEuU2Kj/qq+VuBcfKk5oRABAX5AJ4ftFfozfxTRxV+VmiTJxymeuO+dwykkfIkN9j7rhyA/CBzwWKg0ZVnxJRhOQKBgQDjV4as0eSmQ8wcySvXE88+tqT5wiz/SJ6ZOydFtDFTAbYtWua5BxXTPhGwzFSv45KVozWtYmIhOQVgAiwvLsBeI657U3PrYdOSUkhADcZPrTn9wt6qytzXnvtuyPJdzCmJAOZn5RJ4cHKKggkEzHX+LP5Nhf6DlK6UWLajn0Zk0wKBgQDVyDzVoN95wvqj3sxhQoeAiIhVisHurfKOB+irUjDkySy7jWkb2oFSgqvquSd51n6uIZhh+K9+edNFpB0Xc5TmkFKeGqS4qLZREvBh/cVzI1V2A7J1sj+EETlE8ozXUfmU6P7WVkODOQCTbtl7ARJ1T611RWFOK0Z/FFkytCJQSwKBgCWRezHn5Y8MORiwrcv2/BJzAEQ9sE3nZD4SJmVAZ7491CsekG4XG6Yy5Z1/xqbiRoDv3ZjvXyP6VkcNVNvfL+7emqDKo6dMHTha3JGpNRJJoAGtSDqVF3WSUh52moahjGOVgH2+vxSkEGmPH4ppdz4vlT6eW/bGhSsClfvoACv9AoGBAJoVjONc5DXattRNzXl8fjXCMqGVNVpWvbBpOuXgg6Ui6r7zmYKd5wAVdtvjP/StCPlw9WgH2lWKcSCMvPseL4BPHX0fLwJ5d47P27qFMj9ehEZfO81hAC6sS17Kg4DecMlHdgX+fwKhnyykhNQHXcp390nDC/NPdaw6el/1PZYpAoGAH6DOMmJmg0407tJtO1svggs2yUu2mvpi+LAM9QbDkv7zPUTfngXsRCARL/pVi0FuwunvLiY0/hkarVrAbesaL4j7IcQ+IDnUJGIuktdlDEusGYKKc3ACYbvwT7dvxOv9D3AY1d5IquXTuicIbSj7XnWRGSmsZClUYRDZvqqJnUI=</PrivateKey><PublicKey><Signer>tony</Signer><Key>MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC92aV1O+fxgGFMIHx5tV4RuYclNqFKtko18PeO/aPDi3PhK7vJMzqtRDJYH4vI0J9BFnFQMBGEm11d+Nwezm2zKaSCC59FhtJL94G1ClnbkHA9UmLeuGoGTMUsAGU+IBQUg5vhwaJIB7G659zlDRi3jCRqvaAV7bnqwPupgN4/qkgLf7t0OKZxRhGtD1oQDPW2S+tfgxH2ZLk7X/0myEgy4VfeGDEQnr9kgjOkfe8jqkgDUPwwns53lOK5HE6kBMwdepf2CF+BUBdyhNOmyHg2bveG1XnP3lwaqGfdKtQPcUf7K8Oi0Y6CzJ6LaIYQvWdM4nkIe5kgP58SVilpJ3nRAgMBAAECggEALi5xZzEpXL/D60bDwL9zoJAm5dCCL7BkIPb64VelrH2RtKZ0yZ6imV9Ld9BEqpbFBoo1CjKHMGCyt5c/xGamnLx2fgPhvIHtSfltHeLktNpP0zrlPhRSBjJKjEeUWSZofAz/sEzv8uGcRED+pOEosA1xFl4GQQ9Q+F/1V+g3J/kSuxlQLKBxyhoqVTipRYmjehqCEKrkjuiiS2r9aCwrtYBY8YTJl88bepDqCDDgGq3UMHicr93mEIlRufCHtBFEuU2Kj/qq+VuBcfKk5oRABAX5AJ4ftFfozfxTRxV+VmiTJxymeuO+dwykkfIkN9j7rhyA/CBzwWKg0ZVnxJRhOQKBgQDjV4as0eSmQ8wcySvXE88+tqT5wiz/SJ6ZOydFtDFTAbYtWua5BxXTPhGwzFSv45KVozWtYmIhOQVgAiwvLsBeI657U3PrYdOSUkhADcZPrTn9wt6qytzXnvtuyPJdzCmJAOZn5RJ4cHKKggkEzHX+LP5Nhf6DlK6UWLajn0Zk0wKBgQDVyDzVoN95wvqj3sxhQoeAiIhVisHurfKOB+irUjDkySy7jWkb2oFSgqvquSd51n6uIZhh+K9+edNFpB0Xc5TmkFKeGqS4qLZREvBh/cVzI1V2A7J1sj+EETlE8ozXUfmU6P7WVkODOQCTbtl7ARJ1T611RWFOK0Z/FFkytCJQSwKBgCWRezHn5Y8MORiwrcv2/BJzAEQ9sE3nZD4SJmVAZ7491CsekG4XG6Yy5Z1/xqbiRoDv3ZjvXyP6VkcNVNvfL+7emqDKo6dMHTha3JGpNRJJoAGtSDqVF3WSUh52moahjGOVgH2+vxSkEGmPH4ppdz4vlT6eW/bGhSsClfvoACv9AoGBAJoVjONc5DXattRNzXl8fjXCMqGVNVpWvbBpOuXgg6Ui6r7zmYKd5wAVdtvjP/StCPlw9WgH2lWKcSCMvPseL4BPHX0fLwJ5d47P27qFMj9ehEZfO81hAC6sS17Kg4DecMlHdgX+fwKhnyykhNQHXcp390nDC/NPdaw6el/1PZYpAoGAH6DOMmJmg0407tJtO1svggs2yUu2mvpi+LAM9QbDkv7zPUTfngXsRCARL/pVi0FuwunvLiY0/hkarVrAbesaL4j7IcQ+IDnUJGIuktdlDEusGYKKc3ACYbvwT7dvxOv9D3AY1d5IquXTuicIbSj7XnWRGSmsZClUYRDZvqqJnUI=</Key></PublicKey></KeeShare>\n"
QuietSuccess=true
[PasswordGenerator]
AdditionalChars=
ExcludedChars=
[SSHAgent]
Enabled=true
[Security]
IconDownloadFallback=true

View file

@ -0,0 +1,80 @@
# vim:ft=kitty
## name: Catppuccin-Mocha
## author: Pocco81 (https://github.com/Pocco81)
## license: MIT
## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf
## blurb: Soothing pastel theme for the high-spirited!
# The basic colors
foreground #CDD6F4
background #1E1E2E
selection_foreground #1E1E2E
selection_background #F5E0DC
# Cursor colors
cursor #F5E0DC
cursor_text_color #1E1E2E
# URL underline color when hovering with mouse
url_color #F5E0DC
# Kitty window border colors
active_border_color #B4BEFE
inactive_border_color #6C7086
bell_border_color #F9E2AF
# OS Window titlebar colors
wayland_titlebar_color system
macos_titlebar_color system
# Tab bar colors
active_tab_foreground #11111B
active_tab_background #CBA6F7
inactive_tab_foreground #CDD6F4
inactive_tab_background #181825
tab_bar_background #11111B
# Colors for marks (marked text in the terminal)
mark1_foreground #1E1E2E
mark1_background #B4BEFE
mark2_foreground #1E1E2E
mark2_background #CBA6F7
mark3_foreground #1E1E2E
mark3_background #74C7EC
# The 16 terminal colors
# black
color0 #45475A
color8 #585B70
# red
color1 #F38BA8
color9 #F38BA8
# green
color2 #A6E3A1
color10 #A6E3A1
# yellow
color3 #F9E2AF
color11 #F9E2AF
# blue
color4 #89B4FA
color12 #89B4FA
# magenta
color5 #F5C2E7
color13 #F5C2E7
# cyan
color6 #94E2D5
color14 #94E2D5
# white
color7 #BAC2DE
color15 #A6ADC8

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,3 @@
[Default Applications]
application/x-directory=emacs-dired.desktop
inode/directory=emacs-dired.desktop

View file

@ -0,0 +1,4 @@
[ColorScheme]
active_colors=#ffcdd6f4, #ff1e1e2e, #ffa6adc8, #ff9399b2, #ff45475a, #ff6c7086, #ffcdd6f4, #ffcdd6f4, #ffcdd6f4, #ff1e1e2e, #ff181825, #ff7f849c, #ff89b4fa, #ff1e1e2e, #ff89b4fa, #fff38ba8, #ff1e1e2e, #ffcdd6f4, #ff11111b, #ffcdd6f4, #807f849c
disabled_colors=#ffa6adc8, #ff1e1e2e, #ffa6adc8, #ff9399b2, #ff45475a, #ff6c7086, #ffa6adc8, #ffa6adc8, #ffa6adc8, #ff1e1e2e, #ff11111b, #ff7f849c, #ff89b4fa, #ff45475a, #ff89b4fa, #fff38ba8, #ff1e1e2e, #ffcdd6f4, #ff11111b, #ffcdd6f4, #807f849c
inactive_colors=#ffcdd6f4, #ff1e1e2e, #ffa6adc8, #ff9399b2, #ff45475a, #ff6c7086, #ffcdd6f4, #ffcdd6f4, #ffcdd6f4, #ff1e1e2e, #ff181825, #ff7f849c, #ff89b4fa, #ffa6adc8, #ff89b4fa, #fff38ba8, #ff1e1e2e, #ffcdd6f4, #ff11111b, #ffcdd6f4, #807f849c

View file

@ -0,0 +1,35 @@
[Appearance]
color_scheme_path=/home/tony/.config/qt5ct/colors/Catppuccin-Mocha.conf
custom_palette=true
icon_theme=Adwaita
standard_dialogs=default
style=Lightly
[Fonts]
fixed="Monospace,12,-1,5,50,0,0,0,0,0"
general="Sans Serif,12,-1,5,50,0,0,0,0,0"
[Interface]
activate_item_on_single_click=1
buttonbox_layout=0
cursor_flash_time=1000
dialog_buttons_have_icons=1
double_click_interval=400
gui_effects=@Invalid()
keyboard_scheme=2
menus_have_icons=true
show_shortcuts_in_context_menus=true
stylesheets=@Invalid()
toolbutton_style=4
underline_shortcut=1
wheel_scroll_lines=3
[PaletteEditor]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0[\0\0\0\xc6\0\0\x2\xd1\0\0\x2\xd6\0\0\0[\0\0\0\xc6\0\0\x2\xd1\0\0\x2\xd6\0\0\0\0\x2\0\0\0\x6\xc0\0\0\0[\0\0\0\xc6\0\0\x2\xd1\0\0\x2\xd6)
[SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x3@\0\0\x3\xeb\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2\x94\0\0\0\0\x2\0\0\0\x6\xc0\0\0\0\0\0\0\0\0\0\0\x3@\0\0\x3\xeb)
[Troubleshooting]
force_raster_widgets=1
ignored_applications=@Invalid()

View file

@ -0,0 +1,7 @@
#!/bin/sh
wallpaper=$(ls "$HOME/".wallpapers/** | shuf -n 1)
cat << EOF > ~/.config/hypr/hyprpaper.conf
preload = $wallpaper
wallpaper = eDP-1, $wallpaper
EOF

View file

@ -0,0 +1,11 @@
#!/bin/sh
CONFIG_FILES="$HOME/.config/waybar/config.jsonc $HOME/.config/waybar/style.css"
trap "killall waybar" EXIT
while true; do
waybar &
inotifywait -e create,modify $CONFIG_FILES
killall waybar
done

7
scripts/.scripts/sync.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
[ ! -f $HOME/passwords.kdbx ] && rclone copy drive:passwords.kdbx $HOME
[ ! -d $HOME/org ] && rclone copy drive:org $HOME
rclone sync $HOME/passwords.kdbx drive:
rclone sync $HOME/org --include "**.{org,png,jpeg}" drive:org

1860
scripts/.scripts/wemoji.sh Executable file

File diff suppressed because it is too large Load diff

98
scripts/.scripts/wwifi.sh Executable file
View file

@ -0,0 +1,98 @@
#!/bin/sh
# Starts a scan of available broadcasting SSIDs
# nmcli dev wifi rescan
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
FIELDS=SSID,SECURITY
POSITION=0
YOFF=0
XOFF=0
if [ -r "$DIR/config" ]; then
source "$DIR/config"
elif [ -r "$HOME/.config/wofi/wifi" ]; then
source "$HOME/.config/wofi/wifi"
else
echo "WARNING: config file not found! Using default values."
fi
LIST=$(nmcli --fields "$FIELDS" device wifi list | sed '/^--/d')
# For some reason wofi always approximates character width 2 short... hmmm
RWIDTH=$(($(echo "$LIST" | head -n 1 | awk '{print length($0); }')*10))
# Dynamically change the height of the wofi menu
LINENUM=$(echo "$LIST" | wc -l)
# Gives a list of known connections so we can parse it later
KNOWNCON=$(nmcli connection show)
# Really janky way of telling if there is currently a connection
CONSTATE=$(nmcli -fields WIFI g)
CURRSSID=$(LANGUAGE=C nmcli -t -f active,ssid dev wifi | awk -F: '$1 ~ /^yes/ {print $2}')
if [[ ! -z $CURRSSID ]]; then
HIGHLINE=$(echo "$(echo "$LIST" | awk -F "[ ]{2,}" '{print $1}' | grep -Fxn -m 1 "$CURRSSID" | awk -F ":" '{print $1}') + 1" | bc )
fi
# HOPEFULLY you won't need this as often as I do
# If there are more than 8 SSIDs, the menu will still only have 8 lines
if [ "$LINENUM" -gt 8 ] && [[ "$CONSTATE" =~ "enabled" ]]; then
LINENUM=8
elif [[ "$CONSTATE" =~ "disabled" ]]; then
LINENUM=1
fi
if [[ "$CONSTATE" =~ "enabled" ]]; then
TOGGLE="toggle off"
elif [[ "$CONSTATE" =~ "disabled" ]]; then
TOGGLE="toggle on"
fi
CHENTRY=$(echo -e "$TOGGLE\nmanual\n$LIST" | uniq -u | wofi -i -d --prompt "Wi-Fi SSID: " --lines "$LINENUM" --location "$POSITION" --yoffset "$YOFF" --xoffset "$XOFF" --width $RWIDTH)
#echo "$CHENTRY"
CHSSID=$(echo "$CHENTRY" | sed 's/\s\{2,\}/\|/g' | awk -F "|" '{print $1}')
#echo "$CHSSID"
# If the user inputs "manual" as their SSID in the start window, it will bring them to this screen
if [ "$CHENTRY" = "manual" ] ; then
# Manual entry of the SSID and password (if appplicable)
MSSID=$(echo "enter the SSID of the network (SSID,password)" | wofi -d "Manual Entry: " --lines 1)
# Separating the password from the entered string
MPASS=$(echo "$MSSID" | awk -F "," '{print $2}')
#echo "$MSSID"
#echo "$MPASS"
# If the user entered a manual password, then use the password nmcli command
if [ "$MPASS" = "" ]; then
nmcli dev wifi con "$MSSID"
else
nmcli dev wifi con "$MSSID" password "$MPASS"
fi
elif [ "$CHENTRY" = "toggle on" ]; then
nmcli radio wifi on
elif [ "$CHENTRY" = "toggle off" ]; then
nmcli radio wifi off
else
# If the connection is already in use, then this will still be able to get the SSID
if [ "$CHSSID" = "*" ]; then
CHSSID=$(echo "$CHENTRY" | sed 's/\s\{2,\}/\|/g' | awk -F "|" '{print $3}')
fi
# Parses the list of preconfigured connections to see if it already contains the chosen SSID. This speeds up the connection process
if [[ $(echo "$KNOWNCON" | grep "$CHSSID") = "$CHSSID" ]]; then
nmcli con up "$CHSSID"
else
if [[ "$CHENTRY" =~ "WPA2" ]] || [[ "$CHENTRY" =~ "WEP" ]]; then
WIFIPASS=$(echo "if connection is stored, hit enter" | wofi -P -d --prompt "password" --lines 1 --location "$POSITION" --yoffset "$YOFF" --xoffset "$XOFF" --width $RWIDTH)
fi
nmcli dev wifi con "$CHSSID" password "$WIFIPASS"
fi
fi

View file

@ -0,0 +1,36 @@
daemonize
show-failed-attempts
clock
screenshots
effect-blur=7x5
color=1f1d2e80
font="Fira Code Retina"
indicator
indicator-radius=200
indicator-thickness=20
line-color=1f1d2e
ring-color=191724
inside-color=1f1d2e
key-hl-color=eb6f92
separator-color=00000000
text-color=e0def4
text-caps-lock-color=""
line-ver-color=eb6f92
ring-ver-color=eb6f92
inside-ver-color=1f1d2e
text-ver-color=e0def4
ring-wrong-color=31748f
text-wrong-color=31748f
inside-wrong-color=1f1d2e
inside-clear-color=1f1d2e
text-clear-color=e0def4
ring-clear-color=9ccfd8
line-clear-color=1f1d2e
line-wrong-color=1f1d2e
bs-hl-color=31748f
grace=2
grace-no-mouse
grace-no-touch
datestr=%d.%m.%Y
timestr=%H:%M
fade-in="0.1"

View file

@ -0,0 +1 @@
/usr/lib/systemd/user/emacs.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/user/pipewire.service

View file

@ -0,0 +1 @@
/home/tony/.config/systemd/user/ssh-agent.service

View file

@ -0,0 +1 @@
/home/tony/.config/systemd/user/sync.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/user/wireplumber.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/user/wireplumber.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/user/pipewire.socket

View file

@ -0,0 +1,11 @@
[Unit]
Description=SSH key agent
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
# DISPLAY required for ssh-askpass to work
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target

View file

@ -0,0 +1,12 @@
[Unit]
Description=SSH key agent
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
# DISPLAY required for ssh-askpass to work
Environment=DISPLAY=:0
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target

View file

@ -0,0 +1,8 @@
[Unit]
Description=Sync personal files with Google Drive
[Service]
ExecStart=/home/tony/.scripts/sync.sh
[Install]
WantedBy=default.target

View file

@ -0,0 +1,9 @@
[Unit]
Description=Sync passwords every 5 minutes
[Timer]
OnBootSec=5min
OnUnitActiveSec=5min
[Install]
WantedBy=timers.target

View file

@ -0,0 +1 @@
/home/tony/.config/systemd/user/sync-passwords.timer

View file

@ -0,0 +1 @@
/home/tony/.config/systemd/user/sync.timer

View file

@ -0,0 +1,157 @@
{
"layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": ["wlr/workspaces", "custom/media"],
"modules-center": ["clock"],
"modules-right": ["pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "tray"],
// Modules configuration
"wlr/workspaces": {
"on-click": "activate",
"disable-scroll": true,
"all-outputs": true,
"format": "{icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"urgent": "",
"focused": "",
"default": ""
}
},
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"unknown-tag": "N/A",
"interval": 2,
"consume-icons": {
"on": " "
},
"random-icons": {
"off": "<span color=\"#f53c3c\"></span> ",
"on": " "
},
"repeat-icons": {
"on": " "
},
"single-icons": {
"on": "1 "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 21,
"spacing": 10
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%d-%m-%Y}"
},
"cpu": {
"format": " {usage}%",
"tooltip": false
},
"memory": {
"format": " {}%"
},
"temperature": {
// "thermal-zone": 2,
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{icon} {temperatureC}°C",
"format-icons": ["", "", ""]
},
"backlight": {
// "device": "acpi_video1",
"format": " {percent}%",
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": " {ipaddr}/{cidr}",
"tooltip-format": " {ifname} via {gwaddr}",
"format-linked": " {ifname} (No IP) ",
"format-disconnected": "⚠ Disconnected",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{icon} {volume}%",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}%",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
}
}

View file

@ -0,0 +1,37 @@
/*
*
* Catppuccin Mocha palette
* Maintainer: rubyowo
*
*/
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;
@define-color text #cdd6f4;
@define-color subtext0 #a6adc8;
@define-color subtext1 #bac2de;
@define-color surface0 #313244;
@define-color surface1 #45475a;
@define-color surface2 #585b70;
@define-color overlay0 #6c7086;
@define-color overlay1 #7f849c;
@define-color overlay2 #9399b2;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color sapphire #74c7ec;
@define-color sky #89dceb;
@define-color teal #94e2d5;
@define-color green #a6e3a1;
@define-color yellow #f9e2af;
@define-color peach #fab387;
@define-color maroon #eba0ac;
@define-color red #f38ba8;
@define-color mauve #cba6f7;
@define-color pink #f5c2e7;
@define-color flamingo #f2cdcd;
@define-color rosewater #f5e0dc;

View file

@ -0,0 +1,262 @@
@import "mocha.css";
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: "Fira Code Retina", FontAwesome6FreeSolid, FontAwesome6Free;
font-size: 15px;
}
window#waybar {
background-color: @base;
color: @text;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
/*
window#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
window#waybar.termite {
background-color: #3F3F3F;
}
window#waybar.chromium {
background-color: #000000;
border: none;
}
button {
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
/* Avoid rounded borders under each button name */
border: none;
border-radius: 0;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
background: inherit;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button {
padding: 0 5px;
background-color: transparent;
color: @fg;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
#workspaces button.focused {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button.active {
background-color: @lavender;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#mpd {
padding: 0 10px;
color: #ffffff;
}
#window,
#workspaces {
margin: 0 4px;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
#clock {
}
#battery {
}
#battery.charging, #battery.plugged {
}
@keyframes blink {
to {
background-color: @base;
color: @text;
}
}
#battery.critical:not(.charging) {
background-color: @red;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #000000;
}
#cpu {
}
#memory {
}
#disk {
}
#backlight {
}
#network {
}
#network.disconnected {
}
#pulseaudio {
}
#pulseaudio.muted {
}
#wireplumber {
}
#wireplumber.muted {
}
#custom-media {
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: #66cc99;
}
#custom-media.custom-vlc {
background-color: #ffa000;
}
#temperature {
}
#temperature.critical {
}
#tray {
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
background-color: #2d3436;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
}
#mpd {
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
}
#mpd.paused {
background-color: #51a37a;
}
#language {
background: #00b093;
color: #740864;
padding: 0 5px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state {
background: #97e1ad;
color: #000000;
padding: 0 0px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state > label {
padding: 0 5px;
}
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad.empty {
background-color: transparent;
}

View file

@ -0,0 +1,94 @@
/* Mocha Lavender */
@define-color accent #babbf1;
@define-color txt #cad3f5;
@define-color bg #24273a;
@define-color bg2 #494d64;
* {
font-family: 'JetBrains Mono Nerd Font', monospace;
font-size: 14px;
}
/* Window */
window {
margin: 0px;
padding: 10px;
border: 3px solid @accent;
border-radius: 7px;
background-color: @bg;
animation: slideIn 0.5s ease-in-out both;
}
/* Slide In */
@keyframes slideIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/* Inner Box */
#inner-box {
margin: 5px;
padding: 10px;
border: none;
background-color: @bg;
animation: fadeIn 0.5s ease-in-out both;
}
/* Fade In */
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/* Outer Box */
#outer-box {
margin: 5px;
padding: 10px;
border: none;
background-color: @bg;
}
/* Scroll */
#scroll {
margin: 0px;
padding: 10px;
border: none;
}
/* Input */
#input {
margin: 5px;
padding: 10px;
border: none;
color: @accent;
background-color: @bg2;
animation: fadeIn 0.5s ease-in-out both;
}
/* Text */
#text {
margin: 5px;
padding: 10px;
border: none;
color: @txt;
animation: fadeIn 0.5s ease-in-out both;
}
/* Selected Entry */
#entry:selected {
background-color: @accent;
}
#entry:selected #text {
color: @bg;
}

2
zsh/.profile Normal file
View file

@ -0,0 +1,2 @@
export PATH="$HOME/.yarn/bin:$PATH"
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"

1
zsh/.zprofile Symbolic link
View file

@ -0,0 +1 @@
.profile

2057
zsh/.zsh/antigen.zsh Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,74 @@
# Catppuccin Mocha Theme (for zsh-syntax-highlighting)
#
# Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor)
typeset -gA ZSH_HIGHLIGHT_STYLES
# Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md
#
## General
### Diffs
### Markup
## Classes
## Comments
ZSH_HIGHLIGHT_STYLES[comment]='fg=#585b70'
## Constants
## Entitites
## Functions/methods
ZSH_HIGHLIGHT_STYLES[alias]='fg=#a6e3a1'
ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#a6e3a1'
ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#a6e3a1'
ZSH_HIGHLIGHT_STYLES[function]='fg=#a6e3a1'
ZSH_HIGHLIGHT_STYLES[command]='fg=#a6e3a1'
ZSH_HIGHLIGHT_STYLES[precommand]='fg=#a6e3a1,italic'
ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#fab387,italic'
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#fab387'
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#fab387'
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#cba6f7'
## Keywords
## Built ins
ZSH_HIGHLIGHT_STYLES[builtin]='fg=#a6e3a1'
ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#a6e3a1'
ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#a6e3a1'
## Punctuation
ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#f38ba8'
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#cdd6f4'
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#cdd6f4'
ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#cdd6f4'
ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#f38ba8'
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#f38ba8'
ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#f38ba8'
## Serializable / Configuration Languages
## Storage
## Strings
ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#f9e2af'
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#f9e2af'
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#f9e2af'
ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#e64553'
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#f9e2af'
ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#e64553'
ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#f9e2af'
## Variables
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#cdd6f4'
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#e64553'
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#cdd6f4'
ZSH_HIGHLIGHT_STYLES[assign]='fg=#cdd6f4'
ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#cdd6f4'
ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#cdd6f4'
## No category relevant in spec
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#e64553'
ZSH_HIGHLIGHT_STYLES[path]='fg=#cdd6f4,underline'
ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#f38ba8,underline'
ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#cdd6f4,underline'
ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#f38ba8,underline'
ZSH_HIGHLIGHT_STYLES[globbing]='fg=#cdd6f4'
ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#cba6f7'
#ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?'
#ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?'
#ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?'
#ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?'
ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#e64553'
ZSH_HIGHLIGHT_STYLES[redirection]='fg=#cdd6f4'
ZSH_HIGHLIGHT_STYLES[arg0]='fg=#cdd6f4'
ZSH_HIGHLIGHT_STYLES[default]='fg=#cdd6f4'
ZSH_HIGHLIGHT_STYLES[cursor]='fg=#cdd6f4'

36
zsh/.zshrc Normal file
View file

@ -0,0 +1,36 @@
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt autocd extendedglob nomatch
unsetopt beep
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/tony/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
autoload -Uz vcs_info
precmd() { vcs_info }
zstyle ':vcs_info:git:*' formats '%b '
setopt PROMPT_SUBST
PROMPT='%F{green}%n%f@%F{green}%m%f %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ '
source ~/.zsh/antigen.zsh
source ~/.zsh/catppuccin_mocha-zsh-syntax-highlighting.zsh
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen apply
# aliases
alias ls="ls --color=auto"
alias ll="ls -al"
# Set up Node Version Manager
source /usr/share/nvm/init-nvm.sh