From 94286302a563948373a85086e54e86e97834ad47 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 20 Jan 2022 11:07:30 -0500 Subject: [PATCH 1/5] Trying out nimbus theme --- emacs.d/init.el | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index 144026c..9aedb5a 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -86,24 +86,14 @@ ;; Theme (setq custom-safe-themes t) -;; (use-package doom-themes -;; :config -;; (setq doom-themes-enable-bold t -;; doom-themes-enable-italic t) -;; (load-theme 'doom-gruvbox) -;; (doom-themes-visual-bell-config) -;; (setq doom-themes-treemacs-theme "doom-colors") -;; (doom-themes-treemacs-config) -;; (doom-themes-org-config)) - -;; (use-package gruvbox-theme -;; :init -;; (load-theme 'gruvbox-dark-hard t)) - -(use-package base16-theme - :ensure t +(use-package nimbus-theme :config - (load-theme 'gruvbox-dark-soft t)) + (load-theme 'nimbus t)) + +;; (use-package base16-theme +;; :ensure t +;; :config +;; (load-theme 'gruvbox-dark-soft t)) ;; Help distinguish between work buffers from others like sidebars and terminal (use-package solaire-mode From a9e429d8f2c1ef34cc9abed97d81d18abbbfdf60 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 20 Jan 2022 12:16:49 -0500 Subject: [PATCH 2/5] Nevermind, trying ample-flat instead --- emacs.d/init.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index 9aedb5a..b03272d 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -86,16 +86,20 @@ ;; Theme (setq custom-safe-themes t) -(use-package nimbus-theme +;; (use-package nimbus-theme +;; :config +;; (load-theme 'nimbus t)) + +(use-package ample-theme :config - (load-theme 'nimbus t)) + (load-theme `ample-flat t)) ;; (use-package base16-theme ;; :ensure t ;; :config ;; (load-theme 'gruvbox-dark-soft t)) -;; Help distinguish between work buffers from others like sidebars and terminal +;; Help distinguish between work from others like sidebars and terminal (use-package solaire-mode :diminish :init From 8e63b98e934effb38487c734115121e3fe08e71f Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 20 Jan 2022 16:09:19 -0500 Subject: [PATCH 3/5] Darktooth theme --- emacs.d/init.el | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index b03272d..67ce6e3 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -86,13 +86,13 @@ ;; Theme (setq custom-safe-themes t) -;; (use-package nimbus-theme -;; :config -;; (load-theme 'nimbus t)) - -(use-package ample-theme +(use-package darktooth-theme :config - (load-theme `ample-flat t)) + (load-theme `darktooth t)) + +;; (use-package ample-theme +;; :config +;; (load-theme `ample-flat t)) ;; (use-package base16-theme ;; :ensure t @@ -109,14 +109,19 @@ (use-package all-the-icons) ;; Modeline + +;; (use-package simple-modeline +;; :hook (after-init . simple-modeline-mode)) + (use-package minions - :hook (doom-modeline-mode . minions-mode)) + :hook (doom-modeline-mode . minions-mode) + (simple-modeline-mode . minions-mode)) (use-package doom-modeline :init (doom-modeline-mode) :custom-face - (mode-line ((t (:height 0.8)))) - (mode-line-inactive ((t (:height 0.75)))) + (mode-line ((t (:height 0.75)))) + (mode-line-inactive ((t (:height 0.7)))) :custom (doom-modeline-height 30) (doom-modeline-bar-width 4) @@ -215,7 +220,7 @@ (zig-mode . lsp) (lsp-mode . lsp-enable-which-key-integration)) :config - (setq lsp-prefer-flymake nil)) ;; prefer lsp-ui (flycheck) to flymake + (setq lsp-prefer-flymake nil)) ;prefer lsp-ui (flycheck) to flymake ; :bind ; (:map lsp-mode-map ; ("TAB" . completion-at-point))) From 9a6fd212938a6b7acd93cf84cc447707ed5c5d97 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 20 Jan 2022 16:20:15 -0500 Subject: [PATCH 4/5] Separate wifi driver no longer needed for t14 after kernel 5.16 --- info/Packages.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info/Packages.txt b/info/Packages.txt index 2dc7f8b..d06c2b9 100644 --- a/info/Packages.txt +++ b/info/Packages.txt @@ -51,4 +51,4 @@ st acpi_call acpi_call-lts # only if LTS kernel installed, see 'acpi_call-dkms' for other variants acpilight # or 'light' is sometimes needed for older thinkpads -rtw89-dkms-git # wifi for thinkpad t14 gen2 amd +rtw89-dkms-git # wifi for thinkpad t14 gen2 amd, not needed for kernel 5.16 or later From 08b4883e4c4db87354173ceada5c32a036d5a4cd Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 20 Jan 2022 22:08:37 -0500 Subject: [PATCH 5/5] Added and changed to zenburn theme globally --- README.md | 4 +- config/kitty/kitty.conf | 2 +- config/kitty/zenburn.conf | 26 +++ .../rofi/{config.rasi => config.rasi.gruvbox} | 0 config/rofi/config.rasi.zenburn | 193 ++++++++++++++++++ emacs.d/init.el | 8 +- 6 files changed, 229 insertions(+), 4 deletions(-) create mode 100644 config/kitty/zenburn.conf rename config/rofi/{config.rasi => config.rasi.gruvbox} (100%) create mode 100644 config/rofi/config.rasi.zenburn diff --git a/README.md b/README.md index 885fc64..069d78b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # dotfiles -### Configuration files for Arch Linux with bspwm and a dark gruvbox theme +### Configuration files for Arch Linux with bspwm and zenburn ``` git clone https://codeberg.org/acscott/dotfiles.git ~/.dotfiles @@ -22,6 +22,8 @@ in ~/dotfiles_backup. The script is simple enough that it should be easily editable, but obviously feel free to copy or symlink the files how you see fit. +The below screenshots are using a dark gruvbox theme, however I'm currently experimenting with zenburn. The gruvbox configs are still available, but they are not the default on all branches. + ### laptop-hidpi configuration ![Desktop screenshot of the laptop-hidpi configuration](info/screenshots/screenshot.png) diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf index 753857a..0f5e4a8 100644 --- a/config/kitty/kitty.conf +++ b/config/kitty/kitty.conf @@ -6,4 +6,4 @@ enable_audio_bell no #background_opacity 0.9 window_padding_width 20 #background #202020 -include gruvbox.conf +include zenburn.conf diff --git a/config/kitty/zenburn.conf b/config/kitty/zenburn.conf new file mode 100644 index 0000000..3e78192 --- /dev/null +++ b/config/kitty/zenburn.conf @@ -0,0 +1,26 @@ +# Zenburn by jnurmine, https://github.com/jnurmine/Zenburn +# This work is licensed under the terms of the GNU GPL license. +# For a copy, see http://www.gnu.org/licenses/gpl.html. + +background #3f3f3f +foreground #dcdccc +cursor #73635a +selection_background #21322f +color0 #4d4d4d +color8 #709080 +color1 #705050 +color9 #dca3a3 +color2 #60b48a +color10 #c3bf9f +color3 #f0deae +color11 #dfcf9f +color4 #506f8f +color12 #94bff3 +color5 #dc8cc3 +color13 #ec93d3 +color6 #8cd0d3 +color14 #93e0e3 +color7 #dcdccc +color15 #ffffff +selection_foreground #3f3f3f + diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi.gruvbox similarity index 100% rename from config/rofi/config.rasi rename to config/rofi/config.rasi.gruvbox diff --git a/config/rofi/config.rasi.zenburn b/config/rofi/config.rasi.zenburn new file mode 100644 index 0000000..7268a18 --- /dev/null +++ b/config/rofi/config.rasi.zenburn @@ -0,0 +1,193 @@ + +/*-*- mode: css; -*-*/ +/** ROFI Color theme */ + +configuration { + modi: "combi"; + combi-modi: "window,drun,run,ssh"; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; + scroll-method: 1; + display-ssh: "ssh"; + display-run: "#! "; + display-drun: ""; + display-window: ""; + display-combi: "請選擇"; + show-icons: true; +} + +/** + * User: Qball + * Copyright: Dave Davenport + */ +* { + foreground: #dcdccc; + backlight: #ccffeedd; + background-color: transparent; + dark: #434443; + black: #3F3F3F; + black-2: #4f4f4f; + tblack-2: #3f3f3fcc; + red: #CC9393; + red-2: #9C6363; + green: #7F9F7F; + green-2: #5F7F5F; + yellow: #F0DFAF; + yellow-2: #D0BF8F; + blue: #8CD0D3; + blue-2: #6CA0A3; + magenta: #DC8CC3; + magenta-2: #CB7BB2; + cyan: #93E0E3; + tcyan: #93E0E3de; + cyan-2: #82CFD2; + white: #DCDCCC; + white-2: #FFFFEF; + highlight: underline bold #6CA0A3; + transparent: rgba(0,0,0,0); + font: "Hack 12"; +} + +window { + location: center; + anchor: center; + transparency: "screenshot"; + padding: 10px; + border: 0px; + radius: 15px; + color: @magenta; + background-color: @transparent; + spacing: 0; + children: [vertb, mainbox]; + orientation: horizontal; + font: "Hack 12"; +} + +mainbox { + spacing: 0; + children: [ inputbar, message, listview ]; +} + +message { + border-color: @foreground; + border: 0px 2px 2px 2px; + padding: 5; + background-color: @yellow; + font: "Hack 12"; + color: @black; +} + +inputbar { + color: @foreground; + padding: 11px; + background-color: @dark; + border: 2px 2px 2px 2px; + border-radius: 0px 0px 0px 0px; + border-color: @foreground; + font: "Hack 12"; +} + +entry,prompt,case-indicator { + text-font: inherit; + text-color:inherit; +} + +listview { + padding: 8px; + border-radius: 0px 0px 0px 0px; + border-color: @foreground; + border: 0px 2px 2px 2px; + background-color: #1c1c1ccc; + dynamic: true; + lines: 20; +} + +element { + padding: 3px; + vertical-align: 0.5; + background-color: @dark; + color: @dark; + font:inherit; +} + +element selected normal { + color: @black; + background-color: @foreground; +} + +element normal active { + foreground: @red-2; + color: @green-2; + background-color:@yellow-2; +} + +element normal.urgent { + foreground: @red; +} + +element normal normal { + background-color: @tblack; +} + +element alternate normal { + background-color: @black; +} + +element alternate.active { + foreground: @red; +} + +element alternate.urgent { + foreground: @red; +} + +element selected.active { + color: @black; + background-color: @foreground; +} + +element selected.urgent { + background-color: @red-2; + foreground: @foreground; +} + + +vertb { + expand: false; + // children: [ Dummy0, sidebar, dummy1 ]; +} + +dummy0, dummy1 { + expand: true; +} + +sidebar { + expand: false; + orientation: vertical; + spacing: 0px; + border: 0px 0px 0px 0px; +} + +button { + font: "FontAwesome 26"; + padding: 6px; + border: 2px 0px 2px 2px; + border-radius: 4px 0px 0px 4px; + background-color: @tblack-2; + border-color: @foreground; + color: @foreground; + horizontal-align: 0.5; +} + +button selected normal { + color: @dark; + border: 2px 0px 2px 2px; + background-color: @backlight; + border-color: @foreground; +} + +element-icon { + padding: 2px 0px; + size: 32px; +} + diff --git a/emacs.d/init.el b/emacs.d/init.el index 67ce6e3..0d73a7b 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -86,9 +86,13 @@ ;; Theme (setq custom-safe-themes t) -(use-package darktooth-theme +;(use-package darktooth-theme +; :config +; (load-theme `darktooth t)) + +(use-package zenburn-theme :config - (load-theme `darktooth t)) + (load-theme `zenburn t)) ;; (use-package ample-theme ;; :config