summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md58
-rwxr-xr-xorg/Qtile.org (renamed from Qtile.org)11
-rwxr-xr-xorg/README.org (renamed from README.org)0
-rwxr-xr-xorg/emacs.org (renamed from emacs.org)93
-rwxr-xr-xorg/shells.org (renamed from shells.org)16
5 files changed, 48 insertions, 130 deletions
diff --git a/README.md b/README.md
deleted file mode 100644
index 264f2f3..0000000
--- a/README.md
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-# About
-
-Welcome to my dotfiles repository!
-
-Here you will find my custom configuration files for a variety of applications and utilities. All of which are written in org-mode literate configuration format.
-
-All of the configurations in this repository are managed using [GNU Stow](https://www.gnu.org/software/stow/), which allows me to easily manage and switch between different configurations for different systems or environments.
-
-- Hosted at [sourcehut](https://git.sr.ht/~thanos_apollo/dotfiles)
-
-
-# Configurations
-
-- [Emacs](emacs.md)
-- [Shells](shells.md)
-- [Qtile](Qtile.md)
-
-*Qtile with emacs*
- ![img](pictures/showcase2.png)
-
-Themes I'm using:
-
-- [Dracula for rofi](https://github.com/dracula/rofi)
-- [Dracula for nyxt](https://github.com/dracula/nyxt)
-- [Dracula for Qutebrowser](https://github.com/dracula/qutebrowser)
-- [mocp-themes](https://github.com/wimstefan/mocp-themes) collection
-
-
-# Installation
-
-- clone repository
-
- git clone https://github.com/ThanosApollo/dotfiles.git ~/dotfiles
-
-- Install [GNU stow](https://www.gnu.org/software/stow/)
-
- guix install stow # use the package manager of your distro if not guix
-
-- Use stow
-
- cd ~/dotfiles
- stow .
-
-If you get any errors due to existing files, rename them with `_backup` at the end
-
-e.g `mv ~/.bashrc ~/.bashrc_backup`
-
-
-# WARNING!
-
-It's important to note that my dotfiles in this repository are constantly evolving, as I am constantly experimenting with new configurations and settings.
-
-While I am happy to share my configurations, **I do not recommend using them as-is on your own system** without careful review and testing.
-
-It's possible that some configurations may not work as expected or may cause issues on your system. Therefore, I strongly recommend taking caution and reviewing any changes carefully before applying them to your own system.
-
diff --git a/Qtile.org b/org/Qtile.org
index cbea9bc..064311f 100755
--- a/Qtile.org
+++ b/org/Qtile.org
@@ -1,12 +1,8 @@
#+TITLE: Qtile Configuration
#+auto_tangle: t
-* Table of contents :toc:
-- [[#colors][Colors]]
-- [[#keys][Keys]]
-- [[#base][Base]]
* Colors
-#+begin_src python :tangle .config/qtile/colors.by
+#+begin_src python :tangle ../.config/qtile/colors.by
"""
My Favorite Color Themes For Qtile |
@@ -68,7 +64,7 @@
}
#+end_src
* Keys
-#+begin_src python :tangle .config/qtile/config.py
+#+begin_src python :tangle ../.config/qtile/config.py
from libqtile.config import Key
from libqtile.command import lazy
from libqtile.config import Click, Drag
@@ -223,7 +219,7 @@
#+end_src
* Base
-#+begin_src python :tangle .config/qtile/config.py
+#+begin_src python :tangle ../.config/qtile/config.py
"""Configuration for qtile."""
import os
@@ -232,6 +228,7 @@
from libqtile.config import Group, Screen
from libqtile.dgroups import simple_key_binder
from colors import dracula
+ import keys
@hook.subscribe.startup_once
diff --git a/README.org b/org/README.org
index 42d4920..42d4920 100755
--- a/README.org
+++ b/org/README.org
diff --git a/emacs.org b/org/emacs.org
index 1163aa5..9dfd3b6 100755
--- a/emacs.org
+++ b/org/emacs.org
@@ -1,53 +1,8 @@
#+TITLE: Emacs Configuration
-#+PROPERTY: header-args :tangle .emacs.d/init.el
+#+PROPERTY: header-args :tangle ../.emacs.d/init.el
#+auto_tangle: t
-#+OPTIONS: num:nil toc:nil
#+STARTUP: overview
-* Table of contents :TOC:
-- [[#system-information][System information]]
-- [[#setting-up-packages][Setting up Packages]]
- - [[#setup-for-guixsd-machines][Setup for GuixSD machines]]
- - [[#define-and-install-packages][Define and install packages]]
-- [[#ui-settings][UI Settings]]
- - [[#basic-ui][Basic UI]]
- - [[#dashboard][Dashboard]]
- - [[#theme--modeline][Theme & modeline]]
- - [[#ivy][Ivy]]
- - [[#helpful][Helpful]]
-- [[#dired][Dired]]
- - [[#keys][Keys]]
- - [[#all-the-iconsel][All-the-icons.el]]
-- [[#terminals][Terminals]]
- - [[#vterm][Vterm]]
- - [[#eshell][Eshell]]
-- [[#custom][Custom]]
- - [[#chatgpt][ChatGPT]]
- - [[#random-functions][Random functions]]
- - [[#key-bindings][Key-bindings]]
-- [[#org-mode-configuration][Org-mode Configuration]]
- - [[#org-make-toc][org-make-toc]]
- - [[#themes][Themes]]
- - [[#settings][Settings]]
- - [[#babel][Babel]]
-- [[#markdown][Markdown]]
- - [[#theme][Theme]]
- - [[#settings-1][Settings]]
-- [[#programming][Programming]]
- - [[#essentials][Essentials]]
- - [[#emacs-lisp][Emacs lisp]]
- - [[#lsp-mode][LSP-Mode]]
- - [[#python][Python]]
- - [[#json][JSON]]
- - [[#javascript][Javascript]]
-- [[#elfeed][Elfeed]]
- - [[#feeds][Feeds]]
- - [[#settings--keys][Settings & Keys]]
-- [[#pdf][PDF]]
-- [[#telega][Telega]]
-- [[#mu4e--email-configuration][mu4e | Email Configuration]]
-- [[#exwm][EXWM]]
-
* System information
Check the ~$HOSTNAME~, if it's one of my devices running GuixSD.
#+begin_src emacs-lisp
@@ -885,6 +840,42 @@ Hook with ~dired-mode~
:height 1.0
:foreground "#A66CFF"))
#+end_src
+*** Org Modern
+#+begin_src emacs-lisp
+ (modify-all-frames-parameters
+ '((right-divider-width . 5)
+ (internal-border-width . 5)))
+ (dolist (face '(window-divider
+ window-divider-first-pixel
+ window-divider-last-pixel))
+ (face-spec-reset-face face)
+ (set-face-foreground face (face-attribute 'default :background)))
+ (set-face-background 'fringe (face-attribute 'default :background))
+
+ (setq
+ ;; Edit settings
+ org-auto-align-tags nil
+ org-tags-column 0
+ org-catch-invisible-edits 'show-and-error
+ org-special-ctrl-a/e t
+ org-insert-heading-respect-content t
+
+ ;; Org styling, hide markup etc.
+ org-hide-emphasis-markers t
+ org-pretty-entities t
+
+ ;; Agenda styling
+ org-agenda-tags-column 0
+ org-agenda-block-separator ?─
+ org-agenda-time-grid
+ '((daily today require-timed)
+ (800 1000 1200 1400 1600 1800 2000)
+ " ┄┄┄┄┄ " "┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄")
+ org-agenda-current-time-string
+ "⭠ now ─────────────────────────────────────────────────")
+
+ (global-org-modern-mode)
+#+end_src
** Settings
#+begin_src emacs-lisp
(require 'ox-md nil t)
@@ -914,7 +905,6 @@ Hook with ~dired-mode~
;; Hooks
(add-hook 'org-mode-hook 'apollo/org-theme-gruvbox)
- (add-hook 'org-mode-hook 'org-superstar-mode)
(add-hook 'org-mode-hook 'flyspell-mode)
(add-hook 'org-mode-hook 'toc-org-mode)
#+end_src
@@ -1141,13 +1131,6 @@ Hook with ~dired-mode~
(add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode)
(add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode))
#+end_src
-* Telega
-In ~GuixSD~ systems I have telegram installed via guix, and it's loaded via ~guix-emacs-autoload-packages~
-#+begin_src emacs-lisp
- (use-package telega
- :ensure nil)
-#+end_src
-
* mu4e | Email Configuration
#+begin_src emacs-lisp
@@ -1215,7 +1198,7 @@ In ~GuixSD~ systems I have telegram installed via guix, and it's loaded via ~gui
EXWM configuration is tangled with ~.exwm~
+ In GuixSD ~emacs-exwm~ package will look for ~~/.exwm~
-#+begin_src emacs-lisp :tangle .exwm.el
+#+begin_src emacs-lisp :tangle ../.exwm.el
(defun apollo/exwm-init-hook ()
"Do this upon start."
diff --git a/shells.org b/org/shells.org
index b7e0b97..4bf1a20 100755
--- a/shells.org
+++ b/org/shells.org
@@ -2,14 +2,8 @@
#+PROPERTY:
#+auto_tangle: t
#+STARTUP: overview
-* Table of contents :toc:
-- [[#aliases][Aliases]]
-- [[#exports][Exports]]
-- [[#bashrc][bashrc]]
-- [[#zshrc][zshrc]]
-
* Aliases
-#+begin_src bash :tangle .shells/alias.sh
+#+begin_src bash :tangle ../.shells/alias.sh
alias ll='ls -l'
alias grep='grep --color=auto'
alias anki='QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox" anki'
@@ -60,7 +54,7 @@
#+end_src
* Exports
-#+begin_src shell :tangle .shells/exports.sh
+#+begin_src shell :tangle ../.shells/exports.sh
# Export 'SHELL' to child processes. Programs such as 'screen'
# honor it and otherwise use /bin/sh.
path+=('~/node_modules/.bin')
@@ -81,7 +75,7 @@
#+end_src
* bashrc
-#+begin_src shell :tangle .bashrc
+#+begin_src shell :tangle ../.bashrc
source ~/.shells/alias.sh
source ~/.shells/exports.sh
@@ -93,10 +87,12 @@
#+end_src
* zshrc
-#+begin_src bash :tangle .zshrc
+#+begin_src bash :tangle ../.zshrc
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
+ source ~/.shells/alias.sh
+ source ~/.shells/exports.sh
export PATH=/home/apollo/.local/bin:$PATH
eval "$(starship init zsh)"