summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc4
-rw-r--r--.config/alacritty/alacritty.yml96
-rw-r--r--.config/polybar/config.ini10
-rw-r--r--.config/qtile/keys.py2
-rw-r--r--.emacs.d/init.el30
-rw-r--r--README.md44
-rw-r--r--README.org15
-rw-r--r--doc.org31
-rw-r--r--guix-packages/starship.scm24
9 files changed, 164 insertions, 92 deletions
diff --git a/.bashrc b/.bashrc
index 35cf2b3..ec59455 100644
--- a/.bashrc
+++ b/.bashrc
@@ -5,8 +5,8 @@
# honor it and otherwise use /bin/sh.
-source ~/.shells/alias
-source ~/.shells/exports
+source ~/.shells/alias.sh
+source ~/.shells/exports.sh
#source ~/.shells/prompt
PS1='\n\[\e[0m\][\[\e[0;1;38;5;208m\]\w\[\e[0;2;38;5;248m\]|\[\e[0;2;38;5;220m\]$(git branch 2>/dev/null | grep '"'"'^*'"'"' | colrm 1 2) \[\e[0;2;38;5;242m\]\t\[\e[0m\]]\n\[\e[0m\]-\[\e[0m\]> \[\e[0m\]'
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
index fbb5849..343ae34 100644
--- a/.config/alacritty/alacritty.yml
+++ b/.config/alacritty/alacritty.yml
@@ -8,9 +8,8 @@
#
# All imports must either be absolute paths starting with `/`, or paths relative
# to the user's home directory starting with `~/`.
-import:
- - ~/.config/alacritty/colorschemes/dracula.yaml
-
+#import:
+# - /path/to/alacritty.yml
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
@@ -24,7 +23,7 @@ import:
# available, otherwise `xterm-256color` is used.
#TERM: alacritty
-window:
+#window:
# Window dimensions (changes require restart)
#
# Number of lines/columns (not pixels) in the terminal. The number of columns
@@ -68,7 +67,7 @@ window:
#
# Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque.
- opacity: 0.80
+ opacity: 1.0
# Startup Mode (changes require restart)
#
@@ -100,64 +99,64 @@ window:
# and `light`. Set this to `None` to use the default theme variant.
#gtk_theme_variant: None
-scrolling:
+#scrolling:
# Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling.
- history: 50000
+ #history: 10000
# Scrolling distance multiplier.
#multiplier: 3
# Font configuration
-font:
+#font:
# Normal (roman) font face
- normal:
+ #normal:
# Font family
#
# Default:
# - (macOS) Menlo
# - (Linux/BSD) monospace
# - (Windows) Consolas
- family: JetBrains Mono
+ #family: monospace
# The `style` can be specified to pick a specific face.
- style: Regular
+ #style: Regular
# Bold font face
- bold:
+ #bold:
# Font family
#
# If the bold family is not specified, it will fall back to the
# value specified for the normal font.
- family: JetBrains Mono
+ #family: monospace
# The `style` can be specified to pick a specific face.
- style: Bold
+ #style: Bold
# Italic font face
- italic:
+ #italic:
# Font family
#
# If the italic family is not specified, it will fall back to the
# value specified for the normal font.
- family: JetBrains Mono
+ #family: monospace
# The `style` can be specified to pick a specific face.
- style: Italic
+ #style: Italic
# Bold italic font face
- bold_italic:
+ #bold_italic:
# Font family
#
# If the bold italic family is not specified, it will fall back to the
# value specified for the normal font.
- family: JetBrains Mono
+ #family: monospace
# The `style` can be specified to pick a specific face.
- style: Bold Italic
+ #style: Bold Italic
# Point size
- size: 12.0
+ #size: 11.0
# Offset is the extra space around each character. `offset.y` can be thought
# of as modifying the line spacing, and `offset.x` as modifying the letter
@@ -179,15 +178,22 @@ font:
# it is recommended to set `use_thin_strokes` to `false`.
#use_thin_strokes: true
+ # Use built-in font for box drawing characters.
+ #
+ # If `true`, Alacritty will use a custom built-in font for box drawing
+ # characters (Unicode points 2500 - 259f).
+ #
+ #builtin_box_drawing: true
+
# If `true`, bold text is drawn using the bright color variants.
#draw_bold_text_with_bright_colors: false
-# Colors (ArcoLinux)
-colors:
+# Colors (Tomorrow Night)
+#colors:
# Default colors
- # primary:
- # background: '#222222'
- # foreground: '#F9F9F9'
+ #primary:
+ #background: '#1d1f21'
+ # foreground: '#c5c8c6'
# Bright and dim foreground colors
#
@@ -274,26 +280,26 @@ colors:
# background: CellForeground
# Normal colors
- normal:
- black: '#3f3f3f'
- red: '#cc0000'
- green: '#4e9a06'
- yellow: '#c4a000'
- blue: '#94bff3'
- magenta: '#85678f'
- cyan: '#06989a'
- white: '#dcdccc'
+ #normal:
+ # black: '#1d1f21'
+ # red: '#cc6666'
+ # green: '#b5bd68'
+ # yellow: '#f0c674'
+ # blue: '#81a2be'
+ # magenta: '#b294bb'
+ # cyan: '#8abeb7'
+ # white: '#c5c8c6'
# Bright colors
- bright:
- black: '#545454'
- red: '#fc5454'
- green: '#8ae234'
- yellow: '#fce94f'
- blue: '#94bff3'
- magenta: '#b294bb'
- cyan: '#93e0e3'
- white: '#ffffff'
+ #bright:
+ # black: '#666666'
+ # red: '#d54e53'
+ # green: '#b9ca4a'
+ # yellow: '#e7c547'
+ # blue: '#7aa6da'
+ # magenta: '#c397d8'
+ # cyan: '#70c0b1'
+ # white: '#eaeaea'
# Dim colors
#
@@ -869,4 +875,4 @@ colors:
#log_level: Warn
# Print all received window events.
- #print_events: false
+ #print_events: false \ No newline at end of file
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
index 599af59..2e3c211 100644
--- a/.config/polybar/config.ini
+++ b/.config/polybar/config.ini
@@ -124,20 +124,24 @@ reverse-scroll = true
[module/xworkspaces]
type = internal/xworkspaces
-#pin-workspaces = true
+;pin-workspaces = true
-label-active = %name%
+label-active = %index%
label-active-background = ${colors.background-alt}
label-active-underline= ${colors.primary}
label-active-padding = 1
-icon-0 = code;♚
+name-0 = 0
+
+icon-0 = I;
icon-1 = office;♛
icon-2 = graphics;♜
icon-3 = mail;♝
icon-4 = web;♞
icon-default = ♟
+;format = <labe-state>
+
label-occupied = %name%
label-occupied-padding = 1
diff --git a/.config/qtile/keys.py b/.config/qtile/keys.py
index c750279..85bf7ef 100644
--- a/.config/qtile/keys.py
+++ b/.config/qtile/keys.py
@@ -151,7 +151,7 @@ class MyKeys():
Key([self.mod], "F1",
lazy.spawn("setxkbmap us -option ctrl:swapcaps"),
),
- Key([self.mod], "g",
+ Key([self.mod], "F2",
lazy.spawn("setxkbmap gr"),
),
]
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index ef73cdc..da8e000 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -104,7 +104,7 @@ Contains the list of packages that need to be installed.")
(load "keys.el")
(load "all-the-icons-dired.el")
;;(load "secret")
-(load "org-config")
+;;(load "org-config")
(load-file custom-file) ;; Load custom.el
;; if you are using guix, emacs-exwm will look for ~/.exwm.el
@@ -276,7 +276,7 @@ Contains the list of packages that need to be installed.")
;;Essentials
(electric-pair-mode 1)
-(setq sgml-quick-keys 'close)
+(setq sgml-quick-keys nil)
;;emacs-lisp
@@ -360,10 +360,10 @@ Contains the list of packages that need to be installed.")
;; (delete-char sgml-basic-offset)))))
(use-package typescript-mode
-:mode ".ts'"
-:hook (typescript-mode .lsp-deferred)
-:config
-(setq typescript-indent-level 2))
+ :mode ".ts'"
+ :hook (typescript-mode .lsp-deferred)
+ :config
+ (setq typescript-indent-level 2))
(use-package python-mode
:ensure t
@@ -450,24 +450,6 @@ Contains the list of packages that need to be installed.")
(use-package sudo-edit)
-(defun apollo/exwm-init-hook ()
- "Do this upon start."
- (display-battery-mode 0) ;;Change to 1 to display battery
-
- (setq display-time-day-and-date t)
- (display-time-mode 1)
-
- ;;Launch apps that will run in the background
-;; (apollo/run-in-background "blueman-applet")
- (apollo/run-in-background "picom")
-;; (apollo/run-in-background "nm-applet")
- (apollo/emacs-keys)
- (apollo/restore-wallpaper)
- )
-
-(defun apollo/exwm-update-class ()
- (exwm-workspace-rename-buffer exwm-class-name))
-
(use-package consult
:ensure t
:bind(("M-g g" . consult-goto-line)))
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..d375486
--- /dev/null
+++ b/README.md
@@ -0,0 +1,44 @@
+
+# Table of Contents
+
+- [About](#org40feefd)
+- [Installation](#org4836c36)
+- [Important!](#org4461b5b)
+
+
+
+<a id="org40feefd"></a>
+
+# About
+
+Personal dotfiles, managed with GNU stow
+
+I use this repo to keep my configurations synchronized across different machines. Including a macOS laptop.
+
+*Qtile with vanilla emacs*
+ ![img](pictures/showcase.png)
+
+
+<a id="org4836c36"></a>
+
+# 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
+
+ cd ~/dotfiles
+ stow . # if you get errors, rename your files that produce them, e.g mv ~/.bashrc ~/.bashrc_backup
+```
+
+<a id="org4461b5b"></a>
+
+# Important!
+
+**I do not recommend to run my dotfiles as is. Proceed with caution, you are better off copying parts of my code and implementing them in your own configuration**
+
diff --git a/README.org b/README.org
deleted file mode 100644
index c60741a..0000000
--- a/README.org
+++ /dev/null
@@ -1,15 +0,0 @@
-#+title: Dotfiles | My Linux setup
-
-* About
-
-Personal dotfiles, managed with GNU stow
-
-I use this repo to keep my configurations synchronized across different machines. Including a macOS laptop.
-
-/Qtile with vanilla emacs/
- [[pictures/showcase.png]]
-
-
-* Important!
-*I do not recommend to run my dotfiles as is. Proceed with caution, you are better off copying parts of my code and implementing them in your own configuration*
-
diff --git a/doc.org b/doc.org
new file mode 100644
index 0000000..9b88813
--- /dev/null
+++ b/doc.org
@@ -0,0 +1,31 @@
+#+title: Dotfiles | My Linux setup
+#+export_file_name: README.md
+#+OPTIONS: num:nil
+
+* About
+
+Personal dotfiles, managed with GNU stow
+
+I use this repo to keep my configurations synchronized across different machines. Including a macOS laptop.
+
+/Qtile with vanilla emacs/
+ [[file:pictures/showcase.png]]
+
+* Installation
++ clone repository
+
+#+begin_src bash
+ git clone https://github.com/ThanosApollo/dotfiles.git ~/dotfiles
+#+end_src
++ Install [[https://www.gnu.org/software/stow/][GNU stow]]
+
+#+begin_src bash
+ guix install stow # use the package manager of your distro if not guix
+
+ cd ~/dotfiles
+ stow . # if you get errors, rename your files that produce them, e.g mv ~/.bashrc ~/.bashrc_backup
+#+end_src
+
+* Important!
+*I do not recommend to run my dotfiles as is. Proceed with caution, you are better off copying parts of my code and implementing them in your own configuration*
+
diff --git a/guix-packages/starship.scm b/guix-packages/starship.scm
index 7293dc3..cd4319f 100644
--- a/guix-packages/starship.scm
+++ b/guix-packages/starship.scm
@@ -1,5 +1,5 @@
-(define-module (starship)
+(define-module (my-packages)
#:use-module (gnu packages)
#:use-module (gnu packages build-tools)
#:use-module (guix build-system copy)
@@ -9,7 +9,8 @@
#:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (guix build-system gnu)
- #:use-module (guix build-system asdf))
+ #:use-module (guix build-system asdf)
+ #:use-module (guix build-system emacs))
;; A temporary fix based on this patch:
;;
@@ -33,4 +34,23 @@
(home-page "https://starship.rs/")
(license gpl2+)))
+(define-public exwm-firefox-core
+ (package
+ (name "exwm-firefox-core")
+ (version "1.0")
+ (home-page "https://github.com/walseb/exwm-firefox-core")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0w2w20lxx8l662xdcvjdb033sglhgfg3dnm5jfjb5z5sixwd37x0"))))
+ (build-system emacs-build-system)
+ (synopsis "Library for executing firefox function through EXWM")
+ (description "sadf")
+ (license gpl3+)))
+
starship-prompt-bin