From 2073e908ed84327161afc85ee9a27000a2e54fda Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 7 Feb 2023 12:57:09 +0200 Subject: qtile keys: change greek layout shortct to F2 --- .config/qtile/keys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), ), ] -- cgit v1.2.3 From 1b6e8eb3fda136d17883425d4538b863865d6791 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 7 Feb 2023 21:43:49 +0200 Subject: packages: add exwm-firefox-core --- guix-packages/starship.scm | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) 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 -- cgit v1.2.3 From 782839ebe235c239a891b4e0be8ca18147151655 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 7 Feb 2023 21:44:02 +0200 Subject: polybar: change icons --- .config/polybar/config.ini | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 = + label-occupied = %name% label-occupied-padding = 1 -- cgit v1.2.3 From 7aa32d2a85d716df954f4590a6a73f38bdf3543b Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 7 Feb 2023 21:44:11 +0200 Subject: bashrc: update sources --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 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\]' -- cgit v1.2.3 From 8cb0c916e82fd27231ac31325f1f7aeb493a4b63 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 7 Feb 2023 21:44:22 +0200 Subject: redo alacritty --- .config/alacritty/alacritty.yml | 96 ++++++++++++++++++++++------------------- 1 file changed, 51 insertions(+), 45 deletions(-) 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 -- cgit v1.2.3 From 25392d6474d4b27ab04a9ac4f2358f85fdd86c25 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 8 Feb 2023 01:27:30 +0200 Subject: Rename org file to doc --- README.org | 15 --------------- doc.org | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 15 deletions(-) delete mode 100644 README.org create mode 100644 doc.org 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..ef97e82 --- /dev/null +++ b/doc.org @@ -0,0 +1,29 @@ +#+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 sh + git clone https://github.com/ThanosApollo/dotfiles.git ~/dotfiles +#+end_src ++ Install [[https://www.gnu.org/software/stow/][GNU stow]] +#+begin_src sh + 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* + -- cgit v1.2.3 From f4126dc13be87da91066e6b5712983457c9830ca Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 8 Feb 2023 01:27:47 +0200 Subject: Add readme | Produced by doc.org --- README.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9d43a84 --- /dev/null +++ b/README.md @@ -0,0 +1,43 @@ + +# Table of Contents + +- [About](#orgd76539e) +- [Installation](#org30a346a) +- [Important!](#org880a841) + + + + + +# 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) + + + + +# 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 + + + + +# 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** + -- cgit v1.2.3 From e4501ab74c27fba361e4fbc1727bb1788f9bd372 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 8 Feb 2023 01:30:10 +0200 Subject: test readme --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9d43a84..bdf302a 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # Table of Contents -- [About](#orgd76539e) -- [Installation](#org30a346a) -- [Important!](#org880a841) +- [About](#orgeeecef4) +- [Installation](#orgae4e33a) +- [Important!](#org3e2d61f) - + # About @@ -19,12 +19,14 @@ I use this repo to keep my configurations synchronized across different machines ![img](pictures/showcase.png) - + # Installation - clone repository + cd testing + git clone https://github.com/ThanosApollo/dotfiles.git ~/dotfiles - Install [GNU stow](https://www.gnu.org/software/stow/) @@ -35,7 +37,7 @@ I use this repo to keep my configurations synchronized across different machines stow . # if you get errors, rename your files that produce them, e.g mv ~/.bashrc ~/.bashrc_backup - + # Important! -- cgit v1.2.3 From 8308c4dd59bc97380f06e083462f3c7e8482ec38 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 8 Feb 2023 01:36:56 +0200 Subject: update readme --- README.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index bdf302a..d375486 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # Table of Contents -- [About](#orgeeecef4) -- [Installation](#orgae4e33a) -- [Important!](#org3e2d61f) +- [About](#org40feefd) +- [Installation](#org4836c36) +- [Important!](#org4461b5b) - + # About @@ -19,25 +19,24 @@ I use this repo to keep my configurations synchronized across different machines ![img](pictures/showcase.png) - + # Installation - clone repository - - cd testing - +``` 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 +``` - - + # Important! -- cgit v1.2.3 From 88fb16800ba4c50d55577ea624c2b32aac676c8c Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 8 Feb 2023 01:37:02 +0200 Subject: update doc --- doc.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc.org b/doc.org index ef97e82..9b88813 100644 --- a/doc.org +++ b/doc.org @@ -13,13 +13,15 @@ I use this repo to keep my configurations synchronized across different machines * Installation + clone repository -#+begin_src sh + +#+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 sh + +#+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 -- cgit v1.2.3 From cf1b785be36c10c7d098363b4a8e26f566f216a7 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 8 Feb 2023 01:37:12 +0200 Subject: init: remove old comments and exwm configs --- .emacs.d/init.el | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) 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))) -- cgit v1.2.3