Removing old archive stuff.

This commit is contained in:
2024-08-23 16:26:12 -07:00
parent 59b7021575
commit efd2a556e3
26 changed files with 0 additions and 2476 deletions

View File

@@ -1,128 +0,0 @@
{
"layer": "top",
"position": "top",
"height": 44,
"modules-left": ["hyprland/workspaces"],
"modules-center": ["clock","custom/padd","custom/weather"],
"modules-right": ["custom/l_end","custom/music","custom/padd","pulseaudio","custom/padd","network", "custom/padd","battery","custom/padd","custom/wlsunset","custom/padd", "tray","custom/power","custom/padd"],
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "<span size='large'>{icon}</span>",
},
"sway/mode": {
"format": "<span style='italic'>{}</span>"
},
"tray": {
"icon-size": 18,
"spacing": 8
},
"clock": {
"format": " {:%H:%M  %a %B %d}",
"tooltip-format": "<tt><big>{calendar}</big></tt>"
},
"custom/music": {
"exec": "~/.config/waybar/scripts/music.py",
"interval": 3,
"tooltip": false
},
"custom/weather": {
"exec": "~/.config/waybar/scripts/weather.py",
"interval": 600,
"tooltip": false
},
"battery": {
"interval": 15,
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"full-at": "99",
"format": "{icon} {capacity}%",
"format-icons": ["","", "","", ""],
"format-good": " {capacity}%", // An empty format will hide the module
"format-full": " Full",
"format-charging": " {capacity}% "
},
"custom/wlsunset": {
"format": "{icon}",
"format-icons": [""],
"on-click": "wlsunset -l 47.6 -L -122.3 -t 3000 -T 3100"
},
"network": {
"interval": 5,
"format-wifi": " {essid}",
"format-ethernet": " {ifname}",
"format-disconnected": " ",
"tooltip-format-wifi": "{essid}:{signalStrength}\nSpeed:{bandwidthDownBits} \n{ipaddr}",
"on-click": "alacritty -e nmtui"
},
"pulseaudio": {
"scroll-step": 1,
"on-scroll-up": "amixer set Master 3%+",
"on-click": "pavucontrol",
"on-scroll-down": "amixer set Master 3%-",
"format": "",
"format": "{icon} {volume}%",
"format-muted": "",
"format-icons": {
"headset": "",
"headphone": "",
"default": ["", "", ""]
},
},
"custom/power": {
"format": "{}",
//"exec": "echo ; echo  logout",
"on-click": "wlogout -p layer-shell",
"interval" : 86400, // once every day
"tooltip": true
},
"custom/l_end": {
"format": " ",
"interval" : "once",
"tooltip": false
},
"custom/r_end": {
"format": " ",
"interval" : "once",
"tooltip": false
},
"custom/sl_end": {
"format": " ",
"interval" : "once",
"tooltip": false
},
"custom/sr_end": {
"format": " ",
"interval" : "once",
"tooltip": false
},
"custom/rl_end": {
"format": " ",
"interval" : "once",
"tooltip": false
},
"custom/rr_end": {
"format": " ",
"interval" : "once",
"tooltip": false
},
"custom/padd": {
"format": " ",
"interval" : "once",
"tooltip": false
}
}

View File

@@ -1,43 +0,0 @@
#!/usr/bin/env python3
import requests
import sys
import re
def fahrenheit_to_celsius(fahrenheit):
return (fahrenheit - 32) * 5 / 9
def get_weather():
try:
response = requests.get("http://wttr.in/sea?format=1")
response.raise_for_status()
return response.text.strip()
except requests.exceptions.RequestException as e:
return f"Error: {e}"
def format_weather(weather):
try:
# print(f"Raw weather data: '{weather}'") # Debug print
match = re.match(r"(\D+)\s+(\+?[\d.]+)°F", weather)
if not match:
return "Error: Unexpected weather format"
icon = match.group(1).strip()
temp_f = round(float(match.group(2)))
temp_c = round(fahrenheit_to_celsius(temp_f))
return f"{icon} {temp_c}°C / {temp_f}°F"
except Exception as e:
return f"Error formatting weather data: {e}"
if __name__ == "__main__":
weather = get_weather()
if weather.startswith("Error"):
print(weather)
sys.exit(1)
else:
formatted_weather = format_weather(weather)
print(formatted_weather)

View File

@@ -1,9 +0,0 @@
if [[ -z "$XDG_CONFIG_HOME" ]]
then
export XDG_CONFIG_HOME="$HOME/.config"
fi
if [[ -d "$XDG_CONFIG_HOME/zsh" ]]
then
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
fi

View File

@@ -1,298 +0,0 @@
(add-to-list 'load-path "~/.guix-profile/bin/guile")
(add-to-list 'load-path "~/.guix-profile/share/emacs/site-lisp")
;; Match Emacs program path to be the same as user shell
(defun set-exec-path-from-shell-PATH ()
"Set up Emacs' `exec-path' and PATH environment variable to match
that used by the user's shell."
(interactive)
(let ((path-from-shell (replace-regexp-in-string
"[ \t\n]*$" "" (shell-command-to-string
"$SHELL --login -c 'echo $PATH'"))))
(setenv "PATH" path-from-shell)
(setq exec-path (split-string path-from-shell path-separator))))
(set-exec-path-from-shell-PATH)
;; Setting general info
(setq user-full-name "Ry"
user-mail-address "ry@opal.sh")
;; Set line number
(setq display-line-numbers-type t)
;; Keeps text lines from going off screen.
(set-default 'truncate-lines nil)
;; Add this hook to ERC if I run into trouble with truncated lines in other modes.
;; (add-hook 'erc-mode-hook (lambda () (setq-default truncate-lines nil)))
;; Only enable line numbers for certain modes
(dolist (mode '(org-mode-hook
term-mode-hook
shell-mode-hook
eshell-mode-hook))
(add-hook mode (lambda () (display-line-numbers-mode 0))))
;; Enable clipboard
(setq x-select-enable-clipboard t)
;; load theme
(setq doom-theme 'modus-operandi)
;; Configure Modus theme
(use-package modus-themes
:init
(setq modus-themes-italic-constructs t
modus-themes-bold-constructs nil
modus-themes-region '(accented bg-only no-extend)
modus-themes-org-blocks 'greyscale
modus-themes-paren-match 'intense
modus-themes-mixed-fonts t)
;; Load the theme files before enabling a theme
(modus-themes-load-themes)
:config
(modus-themes-load-vivendi) ;; OR (modus-themes-load-operandi)
:bind ("<f5>" . modus-themes-toggle))
;; Set fonts
(set-face-attribute 'default nil :font "Fira Code" :height 125 :weight 'medium)
(set-face-attribute 'variable-pitch nil :font "Fira Sans" :height 1.0 :weight 'regular)
(set-face-attribute 'fixed-pitch nil :font "Fira Code" :height 1.0 :weight 'medium)
(defun rymacs/org-font-setup ()
;; Replace list hyphen with dot
(font-lock-add-keywords 'org-mode
'(("^ *\\([-]\\) "
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1)
""))))))
;; Set faces for heading levels
(dolist (face '((org-level-1 . 1.2)
(org-level-2 . 1.1)
(org-level-3 . 1.05)
(org-level-4 . 1.0)
(org-level-5 . 1.1)
(org-level-6 . 1.1)
(org-level-7 . 1.1)
(org-level-8 . 1.1)))
(set-face-attribute (car face) nil :font "Cantarell" :weight 'regular :height (cdr face)))
;; Ensure that anything that should be fixed-pitch in Org files appears that way
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
(set-face-attribute 'org-table nil :inherit 'fixed-pitch)
(set-face-attribute 'org-formula nil :inherit 'fixed-pitch)
(set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch)
(set-face-attribute 'line-number nil :inherit 'fixed-pitch)
(set-face-attribute 'line-number-current-line nil :inherit 'fixed-pitch))
;; Set org agenda dir
(setq org-directory "~/org/")
(defun rymacs/org-mode-setup ()
(org-indent-mode)
(variable-pitch-mode 1)
(visual-line-mode 1)
(setq org-startup-folded t))
(use-package org
:commands (org-capture org-agenda)
:hook (org-mode . rymacs/org-mode-setup)
:config
(setq org-ellipsis "")
(setq org-agenda-start-with-log-mode t)
(setq org-log-done 'time)
(setq org-log-into-drawer t)
(setq org-agenda-files
'("~/org/projects/"
"~/org/tasks/"
))
(require 'org-habit)
(add-to-list 'org-modules 'org-habit)
(setq org-habit-graph-column 60)
(setq org-todo-keywords
'((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!)")
(sequence "BACKLOG(b)" "PLAN(p)" "READY(r)" "ACTIVE(a)" "REVIEW(v)" "WAIT(w@/!)" "HOLD(h)" "|" "COMPLETED(c)" "CANC(k@)")))
(setq org-refile-targets
'(("archive.org" :maxlevel . 1)
("planner.org" :maxlevel . 1)))
;; Save Org buffers after refiling!
(advice-add 'org-refile :after 'org-save-all-org-buffers)
(setq org-tag-alist
'((:startgroup)
; Put mutually exclusive tags here
(:endgroup)
("@errand" . ?E)
("@home" . ?H)
("@work" . ?W)
("agenda" . ?a)
("planning" . ?p)
("publish" . ?P)
("batch" . ?b)
("note" . ?n)
("idea" . ?i)))
;; Configure custom agenda views
(setq org-agenda-custom-commands
'(("d" "Dashboard"
((agenda "" ((org-deadline-warning-days 7)))
(todo "NEXT"
((org-agenda-overriding-header "Next Tasks")))
(tags-todo "agenda/ACTIVE" ((org-agenda-overriding-header "Active Projects")))))
("n" "Next Tasks"
((todo "NEXT"
((org-agenda-overriding-header "Next Tasks")))))
;; Low-effort next actions
("e" tags-todo "+TODO=\"NEXT\"+Effort<15&+Effort>0"
((org-agenda-overriding-header "Low Effort Tasks")
(org-agenda-max-todos 20)
(org-agenda-files org-agenda-files)))))
;; Create capture templates
(setq org-capture-templates
`(("t" "Tasks")
("tt" "Task" entry (file+olp "~/org/planner/tasks.org" "Inbox")
"* TODO %?\n %U\n %a\n %i" :empty-lines 1)
("p" "Projects")
("pp" "Project File" entry (file+olp "~/org/projects/auto-infra-overview.org" "Inbox")
"* TODO %?\n %U\n %a\n %i" :empty-lines 1)))
;; Init font setup
(rymacs/org-font-setup))
;; Change default pretty bullets to circles
(use-package org-bullets
:after org
:hook (org-mode . org-bullets-mode)
:custom
(org-bullets-bullet-list '("" "" "" "" "" "" "")))
;; Creates margins, and centerrs content in org mode.
(defun rymacs/org-mode-visual-fill ()
(setq visual-fill-column-width 100
visual-fill-column-center-text t)
(visual-fill-column-mode 1))
(use-package visual-fill-column
:hook (org-mode . rymacs/org-mode-visual-fill))
(use-package ob-racket
:after org
:config
(add-hook 'ob-racket-pre-runtime-library-load-hook
#'ob-racket-raco-make-runtime-library))
;; Load languages for babel code blocks.
(with-eval-after-load 'org
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(racket . t)
(python . t)
(scheme . t)
(javascript . t)
(html . t)
(css . t)
(lisp . t)))
(push '("conf-unix" . conf-unix) org-src-lang-modes))
(setq geiser-default-implementation '(guile))
;; Make shortcuts to easily create babel source code blocks.
(with-eval-after-load 'org
(require 'org-tempo)
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
(add-to-list 'org-structure-template-alist '("py" . "src python"))
(add-to-list 'org-structure-template-alist '("yml" . "src yaml"))
(add-to-list 'org-structure-template-alist '("scm" . "src scheme"))
(add-to-list 'org-structure-template-alist '("js" . "src javascript"))
(add-to-list 'org-structure-template-alist '("html" . "src html"))
(add-to-list 'org-structure-template-alist '("css" . "src css"))
(add-to-list 'org-structure-template-alist '("rt" . "src racket"))
(add-to-list 'org-structure-template-alist '("cl" . "src lisp")))
;; ;; Define a function that automatically executes rymacs/org-babel-tangle-config (a wrapper around org-babel-tangle) when saving this file.
;; (defun rymacs/org-babel-tangle-config ()
;; (when (string-equal (file-name-directory (buffer-file-name))
;; (expand-file-name "~/.dotfiles/.config/doom"))
;; (let ((org-confirm-babel-evaluate nil))
;; (org-babel-tangle))))
;; (add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'rymacs/org-babel-tangle-config)))
(after! sly
(load "/home/ry/quicklisp/clhs-use-local.el" t)
(setq sly-lisp-implementations
'((sbcl ("/bin/sbcl" "-L" "sbcl" "-Q" "run") :coding-system utf-8-unix)
(ccl ("/usr/local/bin/ccl64" :coding-system utf-8-unix)))))
(defmacro define-sly-lisp (name)
`(defun ,name () (interactive) (let ((sly-default-lisp ',name)) (sly))))
(define-sly-lisp sbcl)
(define-sly-lisp ccl)
(use-package mu4e
:config
;; This is set to 't' to avoid mail syncing issues when using mbsync
(setq mu4e-change-filenames-when-moving t)
;; Refresh mail using isync every 5 minutes
(setq mu4e-update-interval (* 5 60))
(setq mu4e-get-mail-command "mbsync -a -c ~/Dotfiles/.config/mbsync/mbsyncrc")
(setq mu4e-maildir "~/Mail")
(setq mu4e-contexts
(list
;; Opal.sh
(make-mu4e-context
:name "Ry P."
:match-func
(lambda (msg)
(when msg
(string-prefix-p "/opal.sh" (mu4e-message-field msg :maildir))))
:vars '((user-mail-address . "ry@opal.sh")
(user-full-name . "Ry P.")
(mu4e-drafts-folder . "/opal.sh/Drafts")
(mu4e-sent-folder . "/opal.sh/Sent")
(mu4e-trash-folder . "/opal.sh/Trash")))))
(setq mu4e-maildir-shortcuts
'(("/opal.sh/Inbox" . ?i)
("/opal.sh/Sent" . ?s)
("/opal.sh/Trash" . ?t)
("/opal.sh/Drafts" . ?d))))
(setq erc-server "irc.libera.chat" ;sets default server
erc-nick "opalvaults" ; Sets nick
erc-user-full-name "opalvaults"
erc-track-shorten-start 8
erc-kill-buffer-on-part t
erc-auto-query 'bury
erc-fill-column 90
erc-fill-function 'erc-fill-static
erc-fill-static-center 20
erc-track-visibility nil
erc-interpret-mirc-color t
erc-rename-buffers t
erc-track-exclude-server-buffer t)

View File

@@ -1,189 +0,0 @@
;;; init.el -*- lexical-binding: t; -*-
;; This file controls what Doom modules are enabled and what order they load
;; in. Remember to run 'doom sync' after modifying it!
;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's
;; documentation. There you'll find a "Module Index" link where you'll find
;; a comprehensive list of Doom's modules and what flags they support.
;; NOTE Move your cursor over a module's name (or its flags) and press 'K' (or
;; 'C-c c k' for non-vim users) to view its documentation. This works on
;; flags as well (those symbols that start with a plus).
;;
;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
;; directory (for easy access to its source code).
(doom! :input
;;chinese
;;japanese
;;layout ; auie,ctsrnm is the superior home row
:completion
company ; the ultimate code completion backend
;;helm ; the *other* search engine for love and life
;;ido ; the other *other* search engine...
;;ivy ; a search engine for love and life
vertico ; the search engine of the future
:ui
;;deft ; notational velocity for Emacs
doom ; what makes DOOM look the way it does
;;doom-dashboard ; a nifty splash screen for Emacs
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
(emoji +unicode) ; 🙂
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;;hydra
;;indent-guides ; highlighted indent columns
ligatures ; ligatures and symbols to make your code pretty again
;;minimap ; show a map of the code on the side
modeline ; snazzy, Atom-inspired modeline, plus API
;;nav-flash ; blink cursor line after big motions
;;neotree ; a project drawer, like NERDTree for vim
ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
tabs ; a tab bar for Emacs
;;treemacs ; a project drawer, like neotree but cooler
unicode ; extended unicode support for various languages
vc-gutter ; vcs diff in the fringe
vi-tilde-fringe ; fringe tildes to mark beyond EOB
;;window-select ; visually switch windows
workspaces ; tab emulation, persistence & separate workspaces
;;zen ; distraction-free coding or writing
:editor
(evil +everywhere); come to the dark side, we have cookies
file-templates ; auto-snippets for empty files
fold ; (nigh) universal code folding
(format +onsave) ; automated prettiness
;;god ; run Emacs commands without modifier keys
;;lispy ; vim for lisp, for people who don't like vim
;;multiple-cursors ; editing in many places at once
;;objed ; text object editing for the innocent
;;parinfer ; turn lisp into python, sort of
;;rotate-text ; cycle region at point between text candidates
snippets ; my elves. They type so I don't have to
word-wrap ; soft wrapping with language-aware indent
:emacs
dired ; making dired pretty [functional]
electric ; smarter, keyword-based electric-indent
ibuffer ; interactive buffer management
undo ; persistent, smarter undo for your inevitable mistakes
vc ; version-control and Emacs, sitting in a tree
:term
eshell ; the elisp shell that works everywhere
;;shell ; simple shell REPL for Emacs
;;term ; basic terminal emulator for Emacs
vterm ; the best terminal emulation in Emacs
:checkers
syntax ; tasing you for every semicolon you forget
;;(spell +flyspell) ; tasing you for misspelling mispelling
grammar ; tasing grammar mistake every you make
:tools
;;ansible
;;debugger ; FIXME stepping through code, to help you add bugs
;;direnv
docker
;;editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
lsp ; M-x vscode
magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs
;;pass ; password manager for nerds
pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders
;;rgb ; creating color strings
;;taskrunner ; taskrunner for all your projects
;;terraform ; infrastructure as code
;;tmux ; an API for interacting with tmux
;;upload ; map local to remote projects via ssh/ftp
:os
(:if IS-MAC macos) ; improve compatibility with macOS
tty ; improve the terminal Emacs experience
:lang
;;agda ; types of types of types of types...
;;beancount ; mind the GAAP
;;cc ; C > C++ == 1
;;clojure ; java with a lisp
common-lisp ; if you've seen one lisp, you've seen them all
;;coq ; proofs-as-programs
;;crystal ; ruby at the speed of c
;;csharp ; unity, .NET, and mono shenanigans
;;data ; config/data formats
;;(dart +flutter) ; paint ui and not much else
;;dhall
;;elixir ; erlang done right
;;elm ; care for a cup of TEA?
emacs-lisp ; drown in parentheses
;;erlang ; an elegant language for a more civilized age
;;ess ; emacs speaks statistics
;;factor
;;faust ; dsp, but you get to keep your soul
;;fsharp ; ML stands for Microsoft's Language
;;fstar ; (dependent) types and (monadic) effects and Z3
;;gdscript ; the language you waited for
;;(go +lsp) ; the hipster dialect
;;(haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on
;;json ; At least it ain't XML
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script)
;;latex ; writing papers in Emacs has never been so fun
;;lean ; for folks with too much to prove
;;ledger ; be audit you can be
;;lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
;;nim ; python + lisp at the speed of c
;;nix ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel
org ; organize your plain life in plain text
;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
python ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever
racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6
;;rest ; Emacs as a REST client
;;rst ; ReST in peace
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good
(scheme +guile) ; a fully conniving family of lisps
sh ; she sells {ba,z,fi}sh shells on the C xor
;;sml
;;solidity ; do you need a blockchain? No.
;;swift ; who asked for emoji variables?
;;terra ; Earth and Moon in alignment for performance.
web ; the tubes
yaml ; JSON, but readable
;;zig ; C, but simpler
:email
(mu4e +org +gmail)
;;notmuch
;;(wanderlust +gmail)
:app
;;calendar
;;emms
;;everywhere ; *leave* Emacs!? You must be joking
irc ; how neckbeards socialize
(rss +org) ; emacs as an RSS reader
;;twitter ; twitter client https://twitter.com/vnought
:config
;;literate
(default +bindings +smartparens))

View File

@@ -1,57 +0,0 @@
;; -*- no-byte-compile: t; -*-
;;; $DOOMDIR/packages.el
;; To install a package with Doom you must declare them here and run 'doom sync'
;; on the command line, then restart Emacs for the changes to take effect -- or
;; use 'M-x doom/reload'.
(package! org-bullets)
(package! modus-themes)
(package! org-pomodoro)
(package! visual-fill-column)
(package! tide)
(package! ob-racket
:recipe (:host github :repo "hasu/emacs-ob-racket"))
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
;(package! some-package)
;; To install a package directly from a remote git repo, you must specify a
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
;; https://github.com/raxod502/straight.el#the-recipe-format
;(package! another-package
; :recipe (:host github :repo "username/repo"))
;; If the package you are trying to install does not contain a PACKAGENAME.el
;; file, or is located in a subdirectory of the repo, you'll need to specify
;; `:files' in the `:recipe':
;(package! this-package
; :recipe (:host github :repo "username/repo"
; :files ("some-file.el" "src/lisp/*.el")))
;; If you'd like to disable a package included with Doom, you can do so here
;; with the `:disable' property:
;(package! builtin-package :disable t)
;; You can override the recipe of a built in package without having to specify
;; all the properties for `:recipe'. These will inherit the rest of its recipe
;; from Doom or MELPA/ELPA/Emacsmirror:
;(package! builtin-package :recipe (:nonrecursive t))
;(package! builtin-package-2 :recipe (:repo "myfork/package"))
;; Specify a `:branch' to install a package from a particular branch or tag.
;; This is required for some packages whose default branch isn't 'master' (which
;; our package manager can't deal with; see raxod502/straight.el#279)
;(package! builtin-package :recipe (:branch "develop"))
;; Use `:pin' to specify a particular commit to install.
;(package! builtin-package :pin "1a2b3c4d5e")
;; Doom's packages are pinned to a specific commit and updated from release to
;; release. The `unpin!' macro allows you to unpin single packages...
;(unpin! pinned-package)
;; ...or multiple packages
;(unpin! pinned-package another-pinned-package)
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
;(unpin! t)

View File

@@ -1,52 +0,0 @@
[global]
monitor = 0
follow = keyboard
geometry = "250x50-24+24"
indicate_hidden = yes
shrink = no
separator_height = 0
padding = 16
horizontal_padding = 24
frame_width = 2
sort = no
idle_threshold = 120
font = Noto Sans 8
line_height = 4
markup = full
format = "<b>%s</b>\n%b"
alignment = left
show_age_threshold = 60
word_wrap = yes
ignore_newline = no
stack_duplicates = false
hide_duplicate_count = yes
show_indicators = no
icon_position = off
sticky_history = yes
history_length = 20
browser = /usr/bin/icecat -new-tab
always_run_script = true
title = Dunst
class = Dunst
[shortcuts]
close = ctrl+space
close_all = ctrl+shift+space
history = ctrl+grave
context = ctrl+shift+period
[urgency_low]
background = "#2f343f"
foreground = "#d8dee8"
timeout = 2
[urgency_normal]
background = "#2f343f"
foreground = "#d8dee8"
timeout = 4
[urgency_critical]
background = "#2f343f"
foreground = "#d8dee8"
frame_color = "#bf616a"
timeout = 0

View File

@@ -1,2 +0,0 @@
clear lock
keycode 66 = Escape Caps_Lock NoSymbol NoSymbol

View File

@@ -1,49 +0,0 @@
### WINDOW SETTINGS
# Stick window to all workspaces: 0=No, 1=Yes
stick=1
# Undecorated window: 0=No, 1=Yes
undecorated=1
# Close the window if it loses focus: 0=No, 1=Yes
close_on_unfocus=1
# Initial window position: 'center', 'mouse' or 'none'
position=mouse
# Move the window horizontally from its intial position
x_offset=1
# Move the window vertically from its initial position
y_offset=1
### COLORS
# Window background specified with CSS color
background_color=#000000
# Text color specified with CSS color
foreground_color=#dfdfdf
# Dates of previous and following months, colored with CSS
fringe_date_color=#404040
# Highlight color for the current date
highlight_color=#c61740
### FONTS
# Month font with CSS size and weight
month_font_size=xx-large
month_font_weight=normal
# Weekday column header font with CSS size and weight
day_font_size=75%
day_font_weight=normal
# Date number font with CSS size and weight
date_font_size=x-large
date_font_weight=bold
# Arrow font, ie '<' and '>' with CSS size and weight
arrow_font_size = xx-large
arrow_font_weight = bold
### CALENDAR SETTINGS
# Sunday=0, Monday=1, Tuesday=2, Wednesday=3
# Thursday=4, Friday=5, Saturday=6
week_start=1

View File

@@ -1,2 +0,0 @@
preload = ~/.config/wallpapers/exterminator.png
wallpaper = ,~/.config/wallpapers/exterminator.png

View File

@@ -1,206 +0,0 @@
;; (in-package :nyxt)
;; (load "~/quicklisp/setup.lisp")
;; (ql:quickload 'slynk)
;; ;; (push #p"~/common-lisp/sly/" asdf:*central-registry*)
;; ;; (asdf:load-system :slynk)
;; ;; (slynk:create-server :port 4008)
(load-after-system :slynk (nyxt-init-file "my-slink.lisp"))
;; (load-after-system :slynk "~/.config/nyxt/my-slynk.lisp")
;; Vim-normal mode by default
(define-configuration buffer
((default-modes (append '(vi-normal-mode) '(blocker-mode) %slot-default%))))
;; Vim-insert for prompt-buffer (minibuffer)
(define-configuration prompt-buffer
((default-modes (append '(vi-insert-mode) %slot-default%))))
;; Keybindings
;; (Note: Override Map will override any other custom keybindings so use a prefix key.)
(define-configuration buffer
((override-map (define-key %slot-default%
"C-x s" 'nyxt/web-mode:search-buffers
"C-x u" 'copy-username
"C-x p" 'copy-password))))
;;Message buffer color configuration
(define-configuration window
((message-buffer-style
(str:concat
%slot-default%
(cl-css:css
'((body
:background-color "black"
:color "white")))))))
;; Mini-buffer style
(define-configuration prompt-buffer
((style (str:concat
%slot-default%
(cl-css:css
'((body
:background-color "black"
:color "white")
("#prompt-area"
:background-color "black")
;; The area you input text in.
("#input"
:background-color "#EDDDAA")
(".source-name"
:color "black"
:background-color "#125458")
(".source-content"
:background-color "black")
(".source-content th"
:border "1px solid #125458"
:background-color "black")
;; The currently highlighted option.
("#selection"
:background-color "#125458"
:color "black")
(.marked :background-color "#8B3A3A"
:font-weight "bold"
:color "white")
(.selected :background-color "black"
:color "white")))))))
;; Internal buffer (help, bookmarks, buffers panel)
(define-configuration (internal-buffer panel-buffer)
((style
(str:concat
%slot-default%
(cl-css:css
'((title
:color "#CD5C5C")
(body
:background-color "black"
:color "lightgray")
(hr
:color "lightgray")
(a
:color "#125458")
(.button
:color "white"
:background-color "#125458")))))))
;; Link hints in web mode
(define-configuration nyxt/web-mode:web-mode
((nyxt/web-mode:highlighted-box-style
(cl-css:css
'((".nyxt-hint.nyxt-highlight-hint"
:background "#125458"))))))
;; Modeline
(define-configuration status-buffer
((style (str:concat
%slot-default%
(cl-css:css
;; Arrows on the left.
'(("#controls"
:border-top "1px solid white"
:background-color "#125458")
;; To the right of the arrows.
("#url"
:background-color "black"
:color "white"
:border-top "1px solid white")
;; Far to the right.
("#modes"
:background-color "black"
:border-top "1px solid white")
;; The center segment.
("#tabs"
:background-color "#125458"
:color "black"
:border-top "1px solid white")))))))
;; Overriding dark theme colors
(define-configuration nyxt/style-mode:dark-mode
((style #.(cl-css:css
'((*
:background-color "black !important"
:background-image "none !important"
:color "white")
(a
:background-color "black !important"
:background-image "none !important"
:color "#556B2F !important"))))))
(define-configuration password:keepassxc-interface
((password:password-file "/home/opal/.config/keepassxc/.kdbx-store/opal.kdbx")))
(define-configuration buffer
((password-interface (make-instance 'password:user-keepassxc-interface))))
;; (define-command set-url (&key (prefill-current-url-p t))
;; "Set the URL for the current buffer, completing with history."
;; (let ((history (set-url-history *browser*))
;; (actions (list (make-command buffer-load* (suggestion-values)
;; "Load first selected URL in current buffer and the rest in new buffer(s)."
;; (mapc (lambda (suggestion) (make-buffer :url (url suggestion))) (rest suggestion-values))
;; (buffer-load (url (first suggestion-values))))
;; (make-command new-buffer-load (suggestion-values)
;; "Load URL(s) in new buffer(s)."
;; (mapc (lambda (suggestion) (make-buffer :url (url suggestion))) (rest suggestion-values))
;; (make-buffer-focus :url (url (first suggestion-values)))))))
;; (pushnew-url-history history (url (current-buffer)))
;; (prompt
;; :prompt "Open URL"
;; :input (if prefill-current-url-p
;; (render-url (url (current-buffer))) "")
;; :history history
;; :sources (list (make-instance 'user-new-url-or-search-source :actions actions)
;; (make-instance 'bookmark-source :actions actions)
;; (make-instance 'user-global-history-source :actions actions)
;; (make-instance 'search-engine-url-source :actions actions)))))
;; (define-command set-url-new-buffer (&key (prefill-current-url-p t))
;; "Prompt for a URL and set it in a new focused buffer."
;; (let ((history (set-url-history *browser*))
;; (actions (list (make-command new-buffer-load (suggestion-values)
;; "Load URL(s) in new buffer(s)"
;; (mapc (lambda (suggestion) (make-buffer :url (url suggestion)))
;; (rest suggestion-values))
;; (make-buffer-focus :url (url (first suggestion-values)))))))
;; (pushnew-url-history history (url (current-buffer)))
;; (prompt
;; :prompt "Open URL in new buffer"
;; :input (if prefill-current-url-p
;; (render-url (url (current-buffer))) "")
;; :history history
;; :sources (list (make-instance 'user-new-url-or-search-source :actions actions)
;; (make-instance 'bookmark-source :actions actions)
;; (make-instance 'user-global-history-source :actions actions)
;; (make-instance 'search-engine-url-source :actions actions)))))
;; I would like to implement redirection, or some extension to handle it for me.
;; todo: Redirect reddit to teddit
;; (defun old-reddit-handler (request-data)
;; (let ((url (url request-data)))
;; (setf (url request-data)
;; (if (search "reddit.com" (quri:uri-host url))
;; (progn
;; (setf (quri:uri-host url) "old.reddit.com")
;; (log:info "Switching to old Reddit: ~s" (render-url url))
;; url)
;; url)))
;; request-data)
;; (define-configuration web-buffer
;; ((request-resource-hook
;; (hooks:add-hook %slot-default% (make-handler-resource #'old-reddit-handler)))))
;; (See url-dispatching-handler for a simpler way to achieve the same result.)
;; (defun nyxt-init-file (&optional subpath)
;; "Return SUBPATH relative to `*init-file-path*'.
;; Return nil if `*init-file-path*' is nil.
;; Example:
;; If we want to load a define-command procedure that lives in ~/path/to/nyxt/config/dir/my-slink.lisp
;; (load-after-system :slynk (nyxt-init-file \"my-slink.lisp\"))"
;; (if subpath
;; (uiop:subpathname* (uiop:pathname-directory-pathname
;; (expand-path *init-file-path*))
;; subpath)
;; (expand-path *init-file-path*)))

View File

@@ -1,10 +0,0 @@
(define-command-global start-slynk (&optional (slynk-port *swank-port*))
"Start a Slynk server that can be connected to, for instance, in
Emacs via SLY.
Warning: This allows Nyxt to be controlled remotely, that is, to execute
arbitrary code with the privileges of the user running Nyxt. Make sure
you understand the security risks associated with this before running
this command."
(slynk:create-server :port slynk-port :dont-close t)
(echo "Slynk server started at port ~a" slynk-port))

View File

@@ -1,506 +0,0 @@
#+title: Emacs Custom Configuration File
#+PROPERTY: header-args:emacs-lisp :tangle ~/Dotfiles/.config/doom/config.el :mkdirp yes :lexical yes
* Configuration
:PROPERTIES:
:VISITBILITY: children
:END:
** Table of Contents :TOC_4_gh:
- [[#configuration][Configuration]]
- [[#general][General]]
- [[#load-paths][Load Paths]]
- [[#user-info][User Info]]
- [[#visual][Visual]]
- [[#misc][Misc]]
- [[#theme][Theme]]
- [[#fonts][Fonts]]
- [[#org][Org]]
- [[#fonts-and-symbols][Fonts and Symbols]]
- [[#general-1][General]]
- [[#better-heading-bullets][Better Heading Bullets]]
- [[#center-org-buffers][Center Org Buffers]]
- [[#org-babel][Org Babel]]
- [[#racket-specific-language][Racket Specific Language]]
- [[#babel-languages][Babel Languages]]
- [[#soure-block-creation-shortcuts][Soure Block Creation Shortcuts]]
- [[#babel-configuration-file-automation-hook][Babel Configuration File Automation Hook]]
- [[#programming-languages][Programming Languages]]
- [[#common-lisp][Common Lisp]]
- [[#mu4e-e-mail][Mu4e (E-mail)]]
- [[#erc-irc][ERC (IRC)]]
** General
*** Load Paths
#+begin_src emacs-lisp
(add-to-list 'load-path "~/.guix-profile/bin/guile")
(add-to-list 'load-path "~/.guix-profile/share/emacs/site-lisp")
;; Match Emacs program path to be the same as user shell
(defun set-exec-path-from-shell-PATH ()
"Set up Emacs' `exec-path' and PATH environment variable to match
that used by the user's shell."
(interactive)
(let ((path-from-shell (replace-regexp-in-string
"[ \t\n]*$" "" (shell-command-to-string
"$SHELL --login -c 'echo $PATH'"))))
(setenv "PATH" path-from-shell)
(setq exec-path (split-string path-from-shell path-separator))))
(set-exec-path-from-shell-PATH)
#+end_src
*** User Info
#+begin_src emacs-lisp
;; Setting general info
(setq user-full-name "Ry"
user-mail-address "ry@opal.sh")
#+end_src
*** Visual
#+begin_src emacs-lisp
;; Set line number
(setq display-line-numbers-type t)
;; Keeps text lines from going off screen.
(set-default 'truncate-lines nil)
;; Add this hook to ERC if I run into trouble with truncated lines in other modes.
;; (add-hook 'erc-mode-hook (lambda () (setq-default truncate-lines nil)))
;; Only enable line numbers for certain modes
(dolist (mode '(org-mode-hook
term-mode-hook
shell-mode-hook
eshell-mode-hook))
(add-hook mode (lambda () (display-line-numbers-mode 0))))
#+end_src
*** Misc
#+begin_src emacs-lisp
;; Enable clipboard
(setq x-select-enable-clipboard t)
#+end_src
** Theme
#+begin_src emacs-lisp
;; load theme
(setq doom-theme 'modus-operandi)
;; Configure Modus theme
(use-package modus-themes
:init
(setq modus-themes-italic-constructs t
modus-themes-bold-constructs nil
modus-themes-region '(accented bg-only no-extend)
modus-themes-org-blocks 'greyscale
modus-themes-paren-match 'intense
modus-themes-mixed-fonts t)
;; Load the theme files before enabling a theme
(modus-themes-load-themes)
:config
(modus-themes-load-vivendi) ;; OR (modus-themes-load-operandi)
:bind ("<f5>" . modus-themes-toggle))
#+end_src
** Fonts
Using [[https://github.com/tonsky/FiraCode][Fira Code]] + Fira Code Retina.
#+begin_src emacs-lisp
;; Set fonts
(set-face-attribute 'default nil :font "Fira Code" :height 125 :weight 'medium)
(set-face-attribute 'variable-pitch nil :font "Fira Sans" :height 1.0 :weight 'regular)
(set-face-attribute 'fixed-pitch nil :font "Fira Code" :height 1.0 :weight 'medium)
#+end_src
** Org
*** Fonts and Symbols
Here we are setting general font configuration in order to make editing in org mode a bit more streamlined to look at.
#+begin_src emacs-lisp
(defun rymacs/org-font-setup ()
;; Replace list hyphen with dot
(font-lock-add-keywords 'org-mode
'(("^ *\\([-]\\) "
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1)
""))))))
;; Set faces for heading levels
(dolist (face '((org-level-1 . 1.2)
(org-level-2 . 1.1)
(org-level-3 . 1.05)
(org-level-4 . 1.0)
(org-level-5 . 1.1)
(org-level-6 . 1.1)
(org-level-7 . 1.1)
(org-level-8 . 1.1)))
(set-face-attribute (car face) nil :font "Cantarell" :weight 'regular :height (cdr face)))
;; Ensure that anything that should be fixed-pitch in Org files appears that way
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
(set-face-attribute 'org-table nil :inherit 'fixed-pitch)
(set-face-attribute 'org-formula nil :inherit 'fixed-pitch)
(set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch)
(set-face-attribute 'line-number nil :inherit 'fixed-pitch)
(set-face-attribute 'line-number-current-line nil :inherit 'fixed-pitch))
#+end_src
*** General
Main Org/Agenda configuration.
#+begin_src emacs-lisp
;; Set org agenda dir
(setq org-directory "~/org/")
(defun rymacs/org-mode-setup ()
(org-indent-mode)
(variable-pitch-mode 1)
(visual-line-mode 1)
(setq org-startup-folded t))
(use-package org
:commands (org-capture org-agenda)
:hook (org-mode . rymacs/org-mode-setup)
:config
(setq org-ellipsis "")
(setq org-agenda-start-with-log-mode t)
(setq org-log-done 'time)
(setq org-log-into-drawer t)
(setq org-agenda-files
'("~/org/projects/"
"~/org/tasks/"
))
(require 'org-habit)
(add-to-list 'org-modules 'org-habit)
(setq org-habit-graph-column 60)
(setq org-todo-keywords
'((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!)")
(sequence "BACKLOG(b)" "PLAN(p)" "READY(r)" "ACTIVE(a)" "REVIEW(v)" "WAIT(w@/!)" "HOLD(h)" "|" "COMPLETED(c)" "CANC(k@)")))
(setq org-refile-targets
'(("archive.org" :maxlevel . 1)
("planner.org" :maxlevel . 1)))
;; Save Org buffers after refiling!
(advice-add 'org-refile :after 'org-save-all-org-buffers)
(setq org-tag-alist
'((:startgroup)
; Put mutually exclusive tags here
(:endgroup)
("@errand" . ?E)
("@home" . ?H)
("@work" . ?W)
("agenda" . ?a)
("planning" . ?p)
("publish" . ?P)
("batch" . ?b)
("note" . ?n)
("idea" . ?i)))
;; Configure custom agenda views
(setq org-agenda-custom-commands
'(("d" "Dashboard"
((agenda "" ((org-deadline-warning-days 7)))
(todo "NEXT"
((org-agenda-overriding-header "Next Tasks")))
(tags-todo "agenda/ACTIVE" ((org-agenda-overriding-header "Active Projects")))))
("n" "Next Tasks"
((todo "NEXT"
((org-agenda-overriding-header "Next Tasks")))))
;; Low-effort next actions
("e" tags-todo "+TODO=\"NEXT\"+Effort<15&+Effort>0"
((org-agenda-overriding-header "Low Effort Tasks")
(org-agenda-max-todos 20)
(org-agenda-files org-agenda-files)))))
;; Create capture templates
(setq org-capture-templates
`(("t" "Tasks")
("tt" "Task" entry (file+olp "~/org/planner/tasks.org" "Inbox")
"* TODO %?\n %U\n %a\n %i" :empty-lines 1)
("p" "Projects")
("pp" "Project File" entry (file+olp "~/org/projects/auto-infra-overview.org" "Inbox")
"* TODO %?\n %U\n %a\n %i" :empty-lines 1)))
;; Init font setup
(rymacs/org-font-setup))
#+end_src
*** Better Heading Bullets
#+begin_src emacs-lisp
;; Change default pretty bullets to circles
(use-package org-bullets
:after org
:hook (org-mode . org-bullets-mode)
:custom
(org-bullets-bullet-list '("" "" "" "" "" "" "")))
#+end_src
*** Center Org Buffers
#+begin_src emacs-lisp
;; Creates margins, and centerrs content in org mode.
(defun rymacs/org-mode-visual-fill ()
(setq visual-fill-column-width 100
visual-fill-column-center-text t)
(visual-fill-column-mode 1))
(use-package visual-fill-column
:hook (org-mode . rymacs/org-mode-visual-fill))
#+end_src
*** Org Babel
Org Babel allows us to evaluate source code blocks within org mode. With this functionality, we can tell org babel to insert the content of the source block codes into any file specified by using the org-babel-tangle function.
**** Racket Specific Language
#+begin_src emacs-lisp
(use-package ob-racket
:after org
:config
(add-hook 'ob-racket-pre-runtime-library-load-hook
#'ob-racket-raco-make-runtime-library))
#+end_src
**** Babel Languages
#+begin_src emacs-lisp
;; Load languages for babel code blocks.
(with-eval-after-load 'org
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(racket . t)
(python . t)
(scheme . t)
(javascript . t)
(html . t)
(css . t)
(lisp . t)))
(push '("conf-unix" . conf-unix) org-src-lang-modes))
(setq geiser-default-implementation '(guile))
#+end_src
#+RESULTS:
| guile |
**** Soure Block Creation Shortcuts
Here we use a package called org-tempo.
#+begin_src emacs-lisp
;; Make shortcuts to easily create babel source code blocks.
(with-eval-after-load 'org
(require 'org-tempo)
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
(add-to-list 'org-structure-template-alist '("py" . "src python"))
(add-to-list 'org-structure-template-alist '("yml" . "src yaml"))
(add-to-list 'org-structure-template-alist '("scm" . "src scheme"))
(add-to-list 'org-structure-template-alist '("js" . "src javascript"))
(add-to-list 'org-structure-template-alist '("html" . "src html"))
(add-to-list 'org-structure-template-alist '("css" . "src css"))
(add-to-list 'org-structure-template-alist '("rt" . "src racket"))
(add-to-list 'org-structure-template-alist '("cl" . "src lisp")))
#+end_src
**** Babel Configuration File Automation Hook
TODO: This needs to be fixed, or find an equiv.
Since we don't want to have to manually use the org-babel-tangle function everytime we make changes to the corresponding .org file, we create an automation hook that executes the function every time we save.
#+begin_src emacs-lisp
;; ;; Define a function that automatically executes rymacs/org-babel-tangle-config (a wrapper around org-babel-tangle) when saving this file.
;; (defun rymacs/org-babel-tangle-config ()
;; (when (string-equal (file-name-directory (buffer-file-name))
;; (expand-file-name "~/.dotfiles/.config/doom"))
;; (let ((org-confirm-babel-evaluate nil))
;; (org-babel-tangle))))
;; (add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'rymacs/org-babel-tangle-config)))
#+end_src
# *** Org Roam
# I use Org Roam as an alternative to writing traditional notes. Instead of long sprawling .org files, each note in Org roam is a excerpt of a specific idea or topic that has links to other notes made with Org Roam. Roam also allows you to pull up a buffer to look at which notes are linked in other notes. This creates a spawling network of information that is useful, quick to draw information from, and can create a notetaking experience that is interactive and seamless.
# #+begin_src emacs-lisp
# (use-package org-roam
# :init
# (setq org-roam-v2-ack t)
# :custom
# (org-roam-directory "~/roam/notes/")
# (org-roam-completion-everywhere t)
# (org-roam-capture-templates
# '(("d" "default" plain
# "%?"
# :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
# :unnarrowed t)
# ("r" "resources" plain
# (file "~/roam/templates/resource-template.org")
# :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
# :unnarrowed t)
# ("f" "files" plain
# (file "~/roam/templates/res-file-note-temp.org")
# :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
# :unnarrowed t)
# ("c" "cli" plain
# (file "~/roam/templates/commands-template.org")
# :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
# :unnarrowed t)))
# :bind (("C-c n l" . org-roam-buffer-toggle)
# ("C-c n f" . org-roam-node-find)
# ("C-c n i" . org-roam-node-insert)
# ("C-c n I" . org-roam-node-insert-immediate)
# ("C-c n p" . my/org-roam-find-project)
# :map org-mode-map
# ("C-M-i" . completion-at-point)
# :map org-roam-dailies-map
# ("Y" . org-roam-dailies-capture-yesterday)
# ("T" . org-roam-dailies-capture-tomorrow))
# :bind-keymap
# ("C-c n d" . org-roam-dailies-map)
# :config
# (require 'org-roam-dailies) ;; Ensure the keymap is available
# (org-roam-db-autosync-mode))
# ;; Function to enable the ability to quickly insert a link without
# ;; opening a capture buffer.
# (defun org-roam-node-insert-immediate (arg &rest args)
# (interactive "P")
# (let ((args (cons arg args))
# (org-roam-capture-templates (list (append (car org-roam-capture-templates)
# '(:immediate-finish t)))))
# (apply #'org-roam-node-insert args)))
# #+end_src
# *** Deft Configuration
# Deft is a package that helps browse and filter plain text files. I use it to search through org-roam notes.
# #+begin_src emacs-lisp
# (use-package deft
# :after org
# :bind
# ("C-c n d" . deft)
# :custom
# (deft-recursive t)
# (deft-use-filter-string-for-filename t)
# (deft-default-extension "org")
# (deft-directory org-roam-directory))
# #+end_src
** Programming Languages
*** Common Lisp
#+begin_src emacs-lisp
(after! sly
(load "/home/ry/quicklisp/clhs-use-local.el" t)
(setq sly-lisp-implementations
'((sbcl ("/bin/sbcl" "-L" "sbcl" "-Q" "run") :coding-system utf-8-unix)
(ccl ("/usr/local/bin/ccl64" :coding-system utf-8-unix)))))
(defmacro define-sly-lisp (name)
`(defun ,name () (interactive) (let ((sly-default-lisp ',name)) (sly))))
(define-sly-lisp sbcl)
(define-sly-lisp ccl)
#+end_src
** Mu4e (E-mail)
Account Information:
- IMAP: imap.opal.sh -- 993
- SMTP smtp.opal.sh -- 587
#+begin_src emacs-lisp
(use-package mu4e
:config
;; This is set to 't' to avoid mail syncing issues when using mbsync
(setq mu4e-change-filenames-when-moving t)
;; Refresh mail using isync every 5 minutes
(setq mu4e-update-interval (* 5 60))
(setq mu4e-get-mail-command "mbsync -a -c ~/Dotfiles/.config/mbsync/mbsyncrc")
(setq mu4e-maildir "~/Mail")
(setq mu4e-contexts
(list
;; Opal.sh
(make-mu4e-context
:name "Ry P."
:match-func
(lambda (msg)
(when msg
(string-prefix-p "/opal.sh" (mu4e-message-field msg :maildir))))
:vars '((user-mail-address . "ry@opal.sh")
(user-full-name . "Ry P.")
(mu4e-drafts-folder . "/opal.sh/Drafts")
(mu4e-sent-folder . "/opal.sh/Sent")
(mu4e-trash-folder . "/opal.sh/Trash")))))
(setq mu4e-maildir-shortcuts
'(("/opal.sh/Inbox" . ?i)
("/opal.sh/Sent" . ?s)
("/opal.sh/Trash" . ?t)
("/opal.sh/Drafts" . ?d))))
#+end_src
** ERC (IRC)
#+begin_src emacs-lisp
(setq erc-server "irc.libera.chat" ;sets default server
erc-nick "opalvaults" ; Sets nick
erc-user-full-name "opalvaults"
erc-track-shorten-start 8
erc-kill-buffer-on-part t
erc-auto-query 'bury
erc-fill-column 90
erc-fill-function 'erc-fill-static
erc-fill-static-center 20
erc-track-visibility nil
erc-interpret-mirc-color t
erc-rename-buffers t
erc-track-exclude-server-buffer t)
#+end_src
#+RESULTS:
: t

View File

@@ -1,92 +0,0 @@
configuration {
modi: "drun";
font: "Fira Code Regular 10";
show-icons: true;
icon-theme: "Reversal-dark";
display-drun: "";
drun-display-format: "{name}";
sidebar-mode: false;
}
@theme "/dev/null"
* {
bg: #151515;
fg: #e8e8d3;
accent: #687363;
button: #1c1c1c;
background-color: @bg;
text-color: @fg;
}
window {
border-radius: 7px;
width: 50%;
padding: 32px;
}
prompt {
background-color: @button;
enabled: true;
padding: 0.5% 32px 0% -0.5%;
font: "Rubik 10";
}
entry {
placeholder: "Search";
background-color: @button;
placeholder-color: @fg;
expand: true;
padding: 0.15% 0% 0% 0%;
}
inputbar {
children: [ prompt, entry ];
background-color: @button;
expand: false;
border-radius: 6px;
margin: 0%;
padding: 10px;
}
listview {
columns: 4;
lines: 3;
cycle: false;
dynamic: true;
layout: vertical;
}
mainbox {
children: [ inputbar, listview ];
spacing: 2%;
padding: 2% 1% 2% 1%;
}
element {
orientation: vertical;
padding: 2% 0% 2% 0%;
}
element-icon {
size: 48px;
horizontal-align: 0.5;
}
element-text {
expand: true;
horizontal-align: 0.5;
vertical-align: 0.5;
margin: 0.5% 0.5% -0.5% 0.5%;
}
element-text, element-icon {
background-color: inherit;
text-color: inherit;
}
element selected {
background-color: @button;
border-radius: 6px;
}

View File

@@ -1,271 +0,0 @@
# Directional Keys
set $left h
set $down j
set $up k
set $right l
# Mod Key
set $mod Mod4
# Terminal
set $term alacritty
# Application Launcher
set $menu killall wofi || wofi
# Start a terminal
bindsym $mod+Return exec $term
# Start wofi
bindsym $mod+d exec $menu
# Kill focused window
bindsym $mod+Shift+q kill
# Lock SwayWM
bindsym Control+Shift+l exec swaylock
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+x exec swaymsg -r exit
## Volume
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
## Volume for non-media button keyboards
bindsym $mod+Shift+n exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym $mod+Shift+b exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym $mod+Shift+m exec pactl set-sink-mute @DEFAULT_SINK@ toggle
# Media playerctl
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86AudioPlay exec playerctl play-pause
# Backlight
bindsym XF86MonBrightnessUp exec light -A 10 && notify-send "󰃞 Light" "Brightness: $(light)%" --hint="int:value:$(light)"
bindsym XF86MonBrightnessDown exec light -U 10 && notify-send "󰃞 Light" "Brightness: $(light)%" --hint="int:value:$(light)"
# Moving around:
# Move your focus around
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# Or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Move the focused window with the same, but add Shift
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# Ditto, with arrow keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# Layout stuff:
#
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+b splith
bindsym $mod+v splitv
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
bindsym $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym $left resize shrink width 10px
bindsym $down resize grow height 10px
bindsym $up resize shrink height 10px
bindsym $right resize grow width 10px
# Ditto, with arrow keys
bindsym Left resize shrink width 10px
bindsym Down resize grow height 10px
bindsym Up resize shrink height 10px
bindsym Right resize grow width 10px
# Return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Screenshot (Grimshot)
bindsym $mod+g exec grimshot save active
bindsym $mod+Shift+g exec grimshot save area
bindsym $mod+Mod1+g exec grimshot save output
bindsym $mod+Ctrl+g exec grimshot save window
# Turn the system off
bindsym $mod+Shift+e exec swaynag -t custom -m 'What action would you like to perform?' -b 'Shutdown' 'poweroff' -b 'Restart' 'poweroff --reboot' -b 'Suspend' 'systemctl suspend'
# Notifications
exec_always --no-startup-id dunst
# Clamshell Mode Script
exec_always ~/dotfiles/.config/sway/clamshell.sh
# flash focus
exec --no-startup-id flashfocus
# udiskie - auto usb mounting
exec --no-startup-id /usr/bin/udiskie
# polkit
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# Network Manager tray applet
exec /usr/bin/nm-applet --indicator
# Bluetooth manager tray applet
exec /usr/bin/blueman-applet
# Gtk
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
# Wlsunset (Night Light)
exec_always wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500
set $opacity 0.98
for_window [class=".*"] opacity $opacity
for_window [app_id=".*"] opacity $opacity
# Window Borders
default_border none
default_floating_border none
# Gaps
smart_gaps on
gaps inner 10
gaps outer 10
for_window [app_id="galendae"] floating enable, sticky enable, move position cursor, move down 35
# Idle configuration
exec swayidle -w \
timeout 90 'swaylock -f' \
# timeout 120 'swaymsg "output * dpms off"'
# timeout 600 'swaymsg "output * dpms off"' \
# resume 'swaymsg "output * dpms on"' \
# before-sleep 'swaylock -f'
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
input type:keyboard {
# Capslock key should work as escape key
# See /usr/share/X11/xkb/rules/xorg.lst for options
xkb_layout "us(altgr-intl)"
xkb_options caps:escape
repeat_delay 250
repeat_rate 45
}
# Hide mouse cursor after inactivity
seat * hide_cursor 4000
set $laptop eDP-1
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
# Monitors
# You can get the names of your outputs by running: swaymsg -t get_outputs
# output eDP-1 pos 0 0 res 1920x1200
# output DP-6 pos 1920 0 res 3440x1440
output HDMI-A-1 pos 0 0 res 2560x1440
# Wallpaper
output DP-6 bg /home/opal/dotfiles/.config/wallpapers/3.jpg fill #050402
output DP-5 bg /home/opal/dotfiles/.config/wallpapers/3.jpg fill #050402
output eDP-1 bg /home/opal/dotfiles/.config/wallpapers/3.jpg fill #050402
output HDMI-A-1 bg /home/opal/dotfiles/.config/wallpapers/3.jpg fill #050402
# Assign workspaces to numbers
set $ws1 number 1
set $ws2 number 2
set $ws3 number 3
set $ws4 number 4
set $ws5 number 5
set $ws6 number 6
# Switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
# Status Bar:
bar {
swaybar_command waybar
}

View File

@@ -1,218 +0,0 @@
include /gnu/store/6d3q9f1bdfn4cchsziws33ixq2p4zjhw-sway-1.6.1/etc/sway/config.d/*
set $mod Mod4
set $left h
set $down j
set $up k
set $right l
# Terminal
set $term alacritty
# Application Launcher
set $menu dmenu_path | dmenu | xargs swaymsg exec --
set $opacity 0.92
for_window [class=".*"] opacity $opacity
for_window [app_id=".*"] opacity $opacity
# Window Borders
default_border none
# Gaps
gaps top 2
gaps inner 3
# gaps outer 3
# Hide mouse cursor after inactivity
seat * hide_cursor 4000
# Notifications
exec_always dunst
# Wlsunset (Night Light)
exec_always wlsunset -l 47.6, -122.3 -t 3500 -T 6500
# Wallpaper
output * bg /home/opal/Dotfiles/guix-wallpaper.jpg stretch
# Monitors
# You can get the names of your outputs by running: swaymsg -t get_outputs
output eDP-1 resolution 1920x1080 position 0,0
### Idle configuration
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000'
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
input type:keyboard {
# Capslock key should work as escape key
# See /usr/share/X11/xkb/rules/xorg.lst for options
xkb_options caps:escape
repeat_delay 250
repeat_rate 45
}
# Start a terminal
bindsym $mod+Return exec $term
# Kill focused window
bindsym $mod+Shift+q kill
# Lock SwayWM
bindsym Control+Shift+l exec swaylock
# Start your launcher
bindsym $mod+d exec $menu
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+x exec swaymsg -r exit
# Moving around:
# Move your focus around
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# Or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Move the focused window with the same, but add Shift
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# Ditto, with arrow keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
set $ws1 ۱
set $ws2 ۲
set $ws3 ۳
set $ws4 ۴
set $ws5 ۵
# Switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
# Layout stuff:
#
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+b splith
bindsym $mod+v splitv
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
bindsym $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym $left resize shrink width 10px
bindsym $down resize grow height 10px
bindsym $up resize shrink height 10px
bindsym $right resize grow width 10px
# Ditto, with arrow keys
bindsym Left resize shrink width 10px
bindsym Down resize grow height 10px
bindsym Up resize shrink height 10px
bindsym Right resize grow width 10px
# Return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
gaps 5
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
}

View File

@@ -1,10 +0,0 @@
# Image
image=/home/opal/dotfiles/.config/wallpapers/3.jpg
scaling=fill
# Indicator
ignore-empty-password
indicator-caps-lock
# Behavior
show-failed-attempts

View File

@@ -1,16 +0,0 @@
[custom]
font=Iosevka 13
dismiss-button=Dismiss
background=0f0f0f
border=262626
border-bottom=262626
button-background=262626
text=f0f0f0
border-bottom-size=2
message-padding=5
details-border-size=2
button-border-size=0
button-gap=5
button-dismiss-gap=5
button-margin-right=5
button-padding=5

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 768 KiB

View File

@@ -1,101 +0,0 @@
{
"layer": "top",
"position": "top",
"height": 35,
"modules-left": ["sway/workspaces"],
"modules-center": ["clock", "backlight"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "battery", "tray"],
"sway/workspaces": {
// "persistent_workspaces": {
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
// "<span font=\"FontAwesome 5 Free\"></span>": ["HDMI-A-1"],
// },
"disable-scroll": true,
"all-outputs": true,
"format": "<span size='large'>{icon}</span>",
// "format-icons": {
// "1": "<span font=\"FontAwesome 5 Free\"></span>",
// "2": "<span font=\"FontAwesome 5 Free\"></span>",
// "3": "<span font=\"FontAwesome 5 Free\"></span>",
// "4": "<span font=\"FontAwesome 5 Free\"></span>",
// "5": "<span font=\"FontAwesome 5 Free\"></span>",
// "6": "<span font=\"FontAwesome 5 Free\"></span>",
// "7": "<span font=\"FontAwesome 5 Free\"></span>",
// "urgent": "<span font=\"FontAwesome 5 Free\"></span>",
// "focused": " <span font=\"FontAwesome 5 Free\"></span>",
// "default": "<span font=\"FontAwesome 5 Free\"></span>",
// },
},
"sway/mode": {
"format": "<span style='italic'>{}</span>"
},
"tray": {
"icon-size": 18,
"spacing": 8
},
"clock": {
"format": "{: %I:%M %A %B %d}",
"tooltip": false,
"on-click": "galendae -c $HOME/.config/galendae-cal/galendae.conf"
},
"battery": {
"interval": 30,
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"full-at": "99",
"format": " {capacity}%",
"format-good": " {capacity}%", // An empty format will hide the module
"format-full": "<span size='large' rise='-1600'></span> Full",
"format-charging": "<span size='large' rise='-1600'></span> {capacity}% "
},
"network": {
"interval": 5,
"format-wifi": "<span size='large' rise='-1000'></span> {essid}",
"format-ethernet": "<span size='large' rise='-1000'></span> {ifname}",
"format-disconnected": "",
"tooltip-format-wifi": "{essid}:{signalStrength}\nSpeed:{bandwidthDownBits} \n{ipaddr}"
},
"pulseaudio": {
"scroll-step": 1,
"on-scroll-up": "amixer set Master 3%+",
"on-click": "pavucontrol",
"on-scroll-down": "amixer set Master 3%-",
"format": "",
"format": "<span size='large' rise='-1600'>{icon}</span> {volume}%",
"format-source": "<span size='large' rise='-1600'>{icon}</span> {volume}%",
"format-muted": "<span font=\"FontAwesome 5 Free\"></span> Muted",
"format-icons": {
"headset": "",
"headphone": "",
"default": ["", ""]
},
},
"backlight": {
"device": "intel_backlight",
"format": "",
"format-icons": ["", ""],
// "on-scroll-up": "brightnessctl set 1%+",
// "on-scroll-down": "brightnessctl set 1%-",
"on-click": "wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500"
},
"idle_inhibitor": {
"format": "<span rise='-4000' size='large'>{icon}</span>",
"format-icons": {
"activated": " Idle Inhibit On",
"deactivated": " Idle Inhibit Off",
},
},
}

View File

@@ -1,122 +0,0 @@
\* {
border: none;
border-radius: 0;
font-family: Iosevka, FontAwesome;
font-size: 15px;
min-height: 0;
}
window#waybar {
opacity: 0.7;
background: #000000;
color: #bebebe;
}
#workspaces button {
color: #bebebe;
background: transparent;
padding: 0px 5px 0px 5px;
margin: 5px 10px 0 10px;
}
#workspaces button.focused {
color: white;
margin: 5px 10px 0 10px;
}
#workspaces button.active {
color: white;
margin: 5px 10px 0 10px;
}
#workspaces button.urgent{
margin: 5px 10px 0 10px;
padding: 0px 8px 0px 8px;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
border-radius: 7px;
}
#mode {
font-family: "Iosevka";
margin: 0px 15px 0px 15px;
padding: 0px 12px 0px 12px;
color: black;
background: white;
}
#battery{
margin:7px 4px 0 4px;
border-radius: 5px;
padding: 0px 8px 0px 8px;
}
#network {
margin:7px 4px 0 4px;
border-radius: 6px;
padding: 0px 8px 0px 8px;
}
@keyframes critical {
to {
background: rgba(187,56,0, 1);
border-radius: 7px;
margin:7px 4px 0 4px;
padding: 3px 8px 2px 8px;
}
}
@keyframes urgent {
to {
background: rgba(212,140,0, 1);
color: black;
border-radius: 7px;
}
}
#battery.critical:not(.charging) {
padding: 0px 6px 0px 6px;
color: white;
animation-name: critical;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#clock {
margin:7px 0 0 13px;
font-family: Manjari;
font-size: 16.5px;
border-radius: 6px;
padding: 3px 6px 2px 0px;
}
#clock:hover {
background: rgba(40,40,40, .95);
}
#backlight {
margin:7px 4px 0 4px;
border-radius: 5px;
padding: 3px 8px 2px 8px;
}
#pulseaudio {
margin:7px 4px 0 4px;
border-radius: 5px;
padding: 0px 8px 0px 8px;
}
#tray {
margin: 7px 15px 0 4px;
background: rgba(40,40,40, .65);
border-radius: 6px;
padding: 0px 5px 0px 5px;
}
#idle_inhibitor {
margin: 7px 4px 0 4px;
border-radius: 6px;
padding: 0px 5px 0px 5px;
}

View File

@@ -1,47 +0,0 @@
style=/home/opal/dotfiles/.config/wofi/style.css
show=drun
width=1000
height=300
always_parse_args=true
show_all=true
print_command=true
layer=overlay
insensitive=true
prompt=Search...
term=alacritty
window {
margin: 5px;
border: 2px solid red;
background-color: red;
}
#input {
margin: 5px;
border: 2px solid blue;
background-color: blue;
}
#inner-box {
margin: 5px;
border: 2px solid yellow;
background-color: yellow;
}
#outer-box {
margin: 5px;
border: 2px solid green;
background-color: green;
}
#scroll {
margin: 5px;
border: 2px solid orange;
background-color: orange;
}
#text {
margin: 5px;
border: 2px solid cyan;
background-color: cyan;
}

View File

@@ -1,46 +0,0 @@
*{
font-family: monospace;
}
window {
background-color: #7C818C;
}
#input {
margin: 5px;
border-radius: 0px;
border: none;
border-bottom: 3px solid black;
background-color: #383C4A;
color: white;
}
#inner-box {
background-color: #383C4A;
}
#outer-box {
margin: 5px;
padding:20px;
background-color: #383C4A;
}
#scroll {
}
#text {
padding: 5px;
color: white;
}
#entry:nth-child(even){
background-color: #404552;
}
#entry:selected {
background-color: #5291e2;
}
#text:selected {
}

View File

@@ -1,2 +0,0 @@
clear Lock
keycode 0x42 = Escape