Compare commits

..

No commits in common. "25d152f34484b171bac161ac516e88b0fd01c0dc" and "51a0052864b1956934c405a79052010d576f9f62" have entirely different histories.

12 changed files with 5 additions and 931 deletions

View File

@ -21,7 +21,7 @@ font:
x: 0
y: 5
background_opacity: 0.75
background_opacity: 0.5
colors:
# Default colors

View File

@ -3,25 +3,12 @@
CONFIG_DIR="/home/alex/.config"
echo "Copying hlwm config... $CONFIG_DIR/herbstluftwm"
rsync -a herbstluftwm/ "$CONFIG_DIR/herbstluftwm"
cp herbstluftwm/* "$CONFIG_DIR/herbstluftwm"
if [ "$1" == "reload" ]; then
herbstclient reload
fi
echo "Copying alacritty config..."
rsync -a alacritty/ "$CONFIG_DIR/alacritty"
echo "Copying git config..."
rsync -a git/ "$CONFIG_DIR/git"
echo "Copying picom config..."
rsync -a picom/ "$CONFIG_DIR/picom"
echo "Copying emacs config..."
rsync -a emacs/ "/home/alex/.emacs.d"
echo "Copying rofi config..."
cp rofi/config.rasi "$CONFIG_DIR/rofi"
cp rofi/theme.rasi "$CONFIG_DIR/rofi"
cp alacritty/* "$CONFIG_DIR/alacritty"
echo "Done"

View File

@ -1,135 +0,0 @@
;; Disable UI elements
(setq inhibit-splash-screen t)
(menu-bar-mode -1)
(toggle-scroll-bar -1)
(tool-bar-mode -1)
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(package-refresh-contents)
(when (not (package-installed-p 'use-package))
(package-install 'use-package))
(require 'use-package)
(setq use-package-always-ensure t)
;; Add personal elisp lib dir
(add-to-list 'load-path "~/.emacs.d/lisp/")
;; Auto refresh buffers if the file has been changed on disk
(global-auto-revert-mode t)
;; Theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(use-package gruvbox-theme)
(load-theme 'gruvbox t)
;; Set the font size
(set-face-attribute 'default nil :height 140)
;; Nov.el
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
;; Org Mode configs
(require 'org)
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(setq org-hide-emphasis-markers t)
(setq org-log-done t)
(setq org-agenda-files (list "~/Journal"))
(setq org-todo-keywords
'((sequence "TODO" "NEXT" "STARTED" "|" "DONE")))
(font-lock-add-keywords 'org-mode
'(("^ *\\([-]\\) "
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1) ""))))))
(setq-default fill-column 80)
(add-hook 'org-mode-hook 'visual-line-mode)
(add-hook 'org-mode-hook (lambda () (set-fill-column 95)))
(add-hook 'org-mode-hook 'visual-fill-column-mode)
(add-hook 'org-mode-hook
(lambda ()
(org-indent-mode t))
t)
(use-package org-bullets
:config
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))
(let* ((variable-tuple
(cond ((x-list-fonts "Source Sans Pro") '(:font "Source Sans Pro"))
((x-list-fonts "Lucida Grande") '(:font "Lucida Grande"))
((x-list-fonts "Verdana") '(:font "Verdana"))
((x-family-fonts "Sans Serif") '(:family "Sans Serif"))
(nil (warn "Cannot find a Sans Serif Font. Install Source Sans Pro."))))
(base-font-color (face-foreground 'default nil 'default))
(headline `(:inherit default)))
(custom-theme-set-faces
'user
'(org-indent ((t (:inherit (org-hide fixed-pitch)))))
`(org-level-8 ((t (,@headline ,@variable-tuple))))
`(org-level-7 ((t (,@headline ,@variable-tuple))))
`(org-level-6 ((t (,@headline ,@variable-tuple))))
`(org-level-5 ((t (,@headline ,@variable-tuple))))
`(org-level-4 ((t (,@headline ,@variable-tuple))))
`(org-level-3 ((t (,@headline ,@variable-tuple))))
`(org-level-2 ((t (,@headline ,@variable-tuple :height 1.05))))
`(org-level-1 ((t (,@headline ,@variable-tuple :height 1.12))))
`(org-document-title ((t (,@headline ,@variable-tuple :height 1.25 :underline nil))))))
(custom-theme-set-faces
'user
'(variable-pitch ((t (:family "Source Sans Pro" :height 180 :weight light))))
'(fixed-pitch ((t ( :family "Inconsolata" :slant normal :weight normal :height 1.0 :width normal)))))
(require 'ob-java)
(add-to-list 'org-babel-load-languages '(java . t))
;; Configure Language Server Protocol
(use-package lsp-mode)
(use-package dap-mode)
(use-package company)
(use-package lsp-ui)
(use-package lsp-treemacs)
(use-package lsp-java)
(use-package rust-mode)
(add-hook 'java-mode-hook #'lsp)
;; Automatically open some files in a buffer
(use-package treemacs
:ensure t
:defer t)
(find-file "/home/alex/.emacs.d/init.el")
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ido-mode 'both nil (ido))
'(markdown-code-lang-modes
'(("ocaml" . tuareg-mode)
("elisp" . emacs-lisp-mode)
("ditaa" . artist-mode)
("asymptote" . asy-mode)
("dot" . fundamental-mode)
("sqlite" . sql-mode)
("calc" . fundamental-mode)
("C" . c-mode)
("cpp" . c++-mode)
("C++" . c++-mode)
("screen" . shell-script-mode)
("shell" . sh-mode)
("bash" . sh-mode)
("html" . html-mode)))
'(org-export-backends '(ascii html icalendar latex md odt))
'(org-export-with-toc nil)
'(org-tag-faces nil)
'(org-tags-column 0)
'(package-selected-packages
'(rust-mode yaml-mode visual-fill-column nov use-package org-bullets lsp-ui lsp-java htmlize gruvbox-theme flycheck-rust dap-mode company-capf)))

View File

@ -1,191 +0,0 @@
;;; clues-theme.el --- an Emacs 24 theme which may well be fully awesome...
;;
;; Author: Jason Milkins <jasonm23@gmail.com>
;; Url: https://github.com/emacsfodder/emacs-clues-theme
;; Version: 1.0.1
;; Package-Requires: ((emacs "24.0"))
;;
;;; Changelog
;;
;; 1.0.1 - Source URL fixed
;;
;; 1.0.0 - tagged for Debian.
;;
;; 20140923.1012: Remove change to linum height, fix rainbow delimiters faces settings.
;;
;; 20140922.1722: Add highlight-indentation-mode support
;;
;; 20140417.1000: Improve visibility of diff backgrounds
;;
;; 20140410.1055: Improve visibility of linenums
;;
;; 20140228.0154: Improve visibility of region and secondary-selection
;;
;; 20140227.0115: Improve visibility of header-line
;;
;; 20130908.0801: Added git-gutter, diff support
;;
;; 20130908.0722: Update Js3 theming
;;
;; 20130906.1159: Fix commentary block
;;
;; 20130906.0211: Fix Magit item hightlight
;;
;; 20130905.2230: Updated header and minor changes
;;
;; 20130820.0702: Flymake/Flyspell error/warn to
;; underlines. Desaturated function name font lock fg.
;;
;; 20130720.559: Added rainbow mode switch (for editing) and fixed
;; default for terminal friendly use
;;
;; 20130715.0319: Modified keyword color
;;
;; 20130715.0252: Modifications for various colors. Added CUA
;; rectangle coloring. Highlight background and Button colors changed
;; for better visibility, reduced garish-icity ... That, is not a word.
;;
;; 20130714.2351: Background color normalised, based on pull by
;; Kaustav Das Modak (Github: kaustavdm) Added Rainbow delimeters
;;
;; 0.1.0: Basic start, the theme is really a note to myself -> Make
;; theme editor
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, version 3 of the License.
;;
;; This file is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs.
;;
;; This file is not a part of Emacs
;;; Commentary:
;;
;; Clues was initially based on a Visual Studio theme called 'Blues 'n
;; Roots' however it's a long way from looking much like it, aside
;; from the occasional color accent, Blues (despite it's name) has a
;; more toasted caramel flavor. Clues on the other hand is made up of
;; cooling colors with a couple of flecks of light cream/brown/orange
;; to break up any monotony, with yellow/gold rainbow-delimiters.
;;
;; Clues has become my working theme of choice since about 7/20/2013,
;; and when used with xterm-frobs.el, it looks great in the terminal
;; as well as the GUI.
;;
(deftheme clues
"clues theme - an Emacs 24 theme which may well be fully awesome...")
(custom-theme-set-variables
'clues
'(fringe-mode 8 nil (fringe))
'(linum-format " %4d \u2502 ")
'(main-line-color1 "#222232")
'(main-line-color2 "#333343")
'(powerline-color1 "#222232")
'(powerline-color2 "#333343"))
(custom-theme-set-faces
'clues
'(cursor ((t ( :background "orange" ))))
'(default
(
(((class color) (min-colors 16777216)) (:foreground "#C0E9F6" :background "#110B14"))
(((class color) (min-colors 88)) (:foreground "#fff" :background "#110B14"))
(((class color) (min-colors 16)) (:foreground "#fff" :background "#000"))
(((class color) (min-colors 8)) (:foreground "#fff" :background "#000")))
)
'(linum ((t (:foreground "#6a6a6a" :background "#000" ))))
'(minibuffer-prompt ((t (:foreground "#1278A8" :background nil :weight bold ))))
'(escape-glyph ((t (:foreground "orange" :background nil ))))
'(highlight ((t (:foreground "orange" :background nil ))))
'(region ((t ( :background "#342858" ))))
'(shadow ((t (:foreground "#777777" :background nil ))))
'(secondary-selection ((t ( :background "#342858" ))))
'(trailing-whitespace ((t (:foreground "#FFFFFF" :background "#C74000" ))))
'(font-lock-builtin-face ((t (:foreground "#55B1E2" :background nil ))))
'(font-lock-comment-face ((t (:foreground "#90A0A0" :background nil :slant italic ))))
'(font-lock-constant-face ((t (:foreground "#CFC5A9" :background nil ))))
`(font-lock-doc-string-face ((t (:foreground "#DFD3E9" :background nil ))))
'(font-lock-function-name-face ((t (:foreground "#BFC3A9" :background nil ))))
'(font-lock-keyword-face ((t (:foreground "#55C0D2" :background nil ))))
'(font-lock-negation-char-face ((t (:foreground "#C75311" :background nil ))))
'(font-lock-string-face ((t (:foreground "#94D4D9" :background nil ))))
'(font-lock-variable-name-face ((t (:foreground "#BDBA9F" :background nil ))))
'(font-lock-comment-delimiter-face ((t (:foreground "#3499aa" :background nil :inherit (font-lock-comment-face) ))))
'(font-lock-preprocessor-face ((t (:foreground "#A16C26" :background nil :inherit (font-lock-builtin-face) ))))
'(font-lock-regexp-grouping-backslash ((t (:foreground "#f66500" :background nil :inherit (bold) ))))
'(font-lock-regexp-grouping-construct ((t (:foreground "red" :background nil :inherit (bold) ))))
'(font-lock-doc-face ((t (:foreground "#90A0A0" :background nil :inherit (font-lock-string-face) ))))
'(font-lock-warning-face ((t (:foreground "#008000" :background nil :inherit (error) ))))
'(font-lock-type-face ((t (:foreground "#55aadd" :background nil :inherit (default) ))))
'(link ((t (:foreground "#00b7f0" :background nil :underline t ))))
'(link-visited ((t (:foreground "#4488cc" :underline t :inherit (link) ))))
'(button ((t (:foreground "#FFFFFF" :background "#444444" :underline t :inherit (link) ))))
'(fringe ((t ( :background "#110B14" ))))
'(next-error ((t ( :inherit (region) ))))
'(query-replace ((t ( :inherit (isearch) ))))
'(header-line ((t (:foreground "#EEEEEE" :background "#444444" :box nil :inherit (mode-line) ))))
'(mode-line-highlight ((t ( :box nil ))))
'(mode-line-emphasis ((t ( :weight bold ))))
'(mode-line-buffer-id ((t ( :box nil :weight bold ))))
'(mode-line-inactive ((t (:foreground "#555555" :background "#111111" :box nil :weight light :inherit (mode-line) ))))
'(mode-line ((t (:foreground "#777777" :background "#111111" :box nil :inherit (variable-pitch) ))))
'(isearch ((t (:foreground "#99ccee" :background "#444444" ))))
'(isearch-fail ((t ( :background "#ffaaaa" ))))
'(lazy-highlight ((t ( :background "#77bbdd" ))))
'(match ((t ( :background "#3388cc" ))))
'(tooltip ((t (:foreground "black" :background "LightYellow" :inherit (variable-pitch) ))))
'(highlight-indentation-face ((t ( :background "#122930" ))))
'(js3-function-param-face ((t (:foreground "#BFC3A9" ))))
'(js3-external-variable-face ((t (:foreground "#F0B090" :bold t ))))
'(cua-rectangle ((t (:foreground "#E0E4CC" :background "#342858" ))))
;; flyspell-mode
`(flyspell-incorrect ((t (:underline "#AA0000" :background nil :inherit nil ))))
`(flyspell-duplicate ((t (:underline "#009945" :background nil :inherit nil ))))
;; flymake-mode
`(flymake-errline ((t (:underline "#AA0000" :background nil :inherit nil ))))
`(flymake-warnline ((t (:underline "#009945" :background nil :inherit nil ))))
;; Magit hightlight
`(magit-item-highlight ((t (:foreground "white" :background "#1278A8" :inherit nil ))))
;;git-gutter
'(git-gutter:added ((t (:foreground "#609f60" :bold t))))
'(git-gutter:modified ((t (:foreground "#3388cc" :bold t))))
'(git-gutter:deleted ((t (:foreground "#cc3333" :bold t))))
'(diff-added ((t (:background "#305030"))))
'(diff-removed ((t (:background "#903010"))))
'(diff-changed ((t (:background "#103090"))))
'(diff-file-header ((t (:background "#362145"))))
'(diff-context ((t (:foreground "#E0E4CC"))))
'(diff-hunk-header ((t (:background "#242130"))))
'(rainbow-delimiters-depth-1-face ((t (:foreground "#99998A" ))))
'(rainbow-delimiters-depth-2-face ((t (:foreground "#776644" ))))
'(rainbow-delimiters-depth-3-face ((t (:foreground "#888866" ))))
'(rainbow-delimiters-depth-4-face ((t (:foreground "#AAAA88" ))))
'(rainbow-delimiters-depth-5-face ((t (:foreground "#CCCCAA" ))))
'(rainbow-delimiters-depth-6-face ((t (:foreground "#DEDEAA" ))))
'(rainbow-delimiters-depth-7-face ((t (:foreground "#EFEFBB" ))))
'(rainbow-delimiters-depth-8-face ((t (:foreground "#FFFFCC" ))))
'(rainbow-delimiters-depth-9-face ((t (:foreground "#FFFFEE" ))))
'(rainbow-delimiters-depth-unmatched-face ((t (:foreground "#AA0000" ))))
)
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'clues)
;; Local Variables:
;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode +1))
;; End:
;;; clues-theme.el ends here

View File

@ -1,83 +0,0 @@
# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*
# Org-mode
.org-id-locations
*_archive
# flymake-mode
*_flymake.*
# eshell files
/eshell/history
/eshell/lastdir
# elpa packages
/elpa/
# reftex files
*.rel
# AUCTeX auto folder
/auto/
# cask packages
.cask/
dist/
# Flycheck
flycheck_*.el
# server auth directory
/server/
# projectiles files
.projectile
# directory configuration
.dir-locals.el
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

View File

@ -2,7 +2,7 @@
# this is a simple config for herbstluftwm
source "$HOME/.config/herbstluftwm/colors.sh"
. ./colors.sh
hc() {
herbstclient "$@"
@ -10,9 +10,6 @@ hc() {
hc emit_hook reload
# set background
/home/alex/.fehbg
# remove all existing keybindings
hc keyunbind --all
@ -27,7 +24,7 @@ hc keybind $Mod-Shift-c close
hc keybind $Mod-Return spawn alacritty
# launch rofi
hc keybind $Mod-d spawn rofi -modi combi,drun,window -show combi -show-icons
hc keybind $Mod-d spawn rofi -modi drun -show drun
# basic movement in tiling and floating mode
# focusing clients
@ -187,11 +184,3 @@ for monitor in $(hc list_monitors | cut -d: -f1) ; do
# start it on each monitor
"$panel" "$monitor" &
done
# Start picom
picom --experimental-backends --backend glx &
# Disable screensaver
xset s off
xset -dpms

View File

@ -1,6 +0,0 @@
blur:
{
method = "gaussian";
size = 35
deviation = 15.0;
};

View File

@ -1,146 +0,0 @@
configuration {
modi: "window,drun,ssh";
/* width: 50;*/
/* lines: 15;*/
/* columns: 1;*/
font: "FantasqueSansMono Nerd Font 12";
/* bw: 1;*/
/* location: 0;*/
padding: 55;
/* yoffset: 0;*/
/* xoffset: 0;*/
/* fixed-num-lines: true;*/
/* show-icons: false;*/
/* terminal: "rofi-sensible-terminal";*/
/* ssh-client: "ssh";*/
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
/* run-command: "{cmd}";*/
/* run-list-command: "";*/
/* run-shell-command: "{terminal} -e {cmd}";*/
/* window-command: "wmctrl -i -R {window}";*/
/* window-match-fields: "all";*/
/* icon-theme: ;*/
/* drun-match-fields: "name,generic,exec,categories";*/
/* drun-show-actions: false;*/
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/
/* disable-history: false;*/
/* ignored-prefixes: "";*/
/* sort: false;*/
/* sorting-method: ;*/
/* case-sensitive: false;*/
/* cycle: true;*/
/* sidebar-mode: false;*/
/* eh: 1;*/
/* auto-select: false;*/
/* parse-hosts: false;*/
/* parse-known-hosts: true;*/
combi-modi: "window,drun";
/* matching: "normal";*/
/* tokenize: true;*/
/* m: "-5";*/
/* line-margin: 2;*/
/* line-padding: 1;*/
/* filter: ;*/
/* separator-style: "dash";*/
/* hide-scrollbar: false;*/
/* fullscreen: false;*/
/* fake-transparency: true;*/
/* dpi: -1;*/
/* threads: 0;*/
/* scrollbar-width: 8;*/
/* scroll-method: 0;*/
/* fake-background: "screenshot";*/
/* window-format: "{w} {c} {t}";*/
/* click-to-exit: true;*/
/* show-match: true;*/
/* theme: "./theme.rasi";*/
/* color-normal: ;*/
/* color-urgent: ;*/
/* color-active: ;*/
/* color-window: ;*/
/* max-history-size: 25;*/
/* combi-hide-mode-prefix: false;*/
/* matching-negate-char: '-' /* unsupported */;*/
/* cache-dir: ;*/
/* pid: "/run/user/1000/rofi.pid";*/
/* display-window: ;*/
/* display-windowcd: ;*/
/* display-run: ;*/
/* display-ssh: ;*/
/* display-drun: ;*/
/* display-combi: ;*/
/* display-keys: ;*/
/* kb-primary-paste: "Control+V,Shift+Insert";*/
/* kb-secondary-paste: "Control+v,Insert";*/
/* kb-clear-line: "Control+w";*/
/* kb-move-front: "Control+a";*/
/* kb-move-end: "Control+e";*/
/* kb-move-word-back: "Alt+b,Control+Left";*/
/* kb-move-word-forward: "Alt+f,Control+Right";*/
/* kb-move-char-back: "Left,Control+b";*/
/* kb-move-char-forward: "Right,Control+f";*/
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
/* kb-remove-word-forward: "Control+Alt+d";*/
/* kb-remove-char-forward: "Delete,Control+d";*/
/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/
/* kb-remove-to-eol: "Control+k";*/
/* kb-remove-to-sol: "Control+u";*/
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
/* kb-accept-custom: "Control+Return";*/
/* kb-accept-alt: "Shift+Return";*/
/* kb-delete-entry: "Shift+Delete";*/
/* kb-mode-next: "Shift+Right,Control+Tab";*/
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
/* kb-row-left: "Control+Page_Up";*/
/* kb-row-right: "Control+Page_Down";*/
/* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/
/* kb-row-down: "Down,Control+n";*/
/* kb-row-tab: "Tab";*/
/* kb-page-prev: "Page_Up";*/
/* kb-page-next: "Page_Down";*/
/* kb-row-first: "Home,KP_Home";*/
/* kb-row-last: "End,KP_End";*/
/* kb-row-select: "Control+space";*/
/* kb-screenshot: "Alt+S";*/
/* kb-ellipsize: "Alt+period";*/
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
/* kb-toggle-sort: "Alt+grave";*/
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
/* kb-custom-1: "Alt+1";*/
/* kb-custom-2: "Alt+2";*/
/* kb-custom-3: "Alt+3";*/
/* kb-custom-4: "Alt+4";*/
/* kb-custom-5: "Alt+5";*/
/* kb-custom-6: "Alt+6";*/
/* kb-custom-7: "Alt+7";*/
/* kb-custom-8: "Alt+8";*/
/* kb-custom-9: "Alt+9";*/
/* kb-custom-10: "Alt+0";*/
/* kb-custom-11: "Alt+exclam";*/
/* kb-custom-12: "Alt+at";*/
/* kb-custom-13: "Alt+numbersign";*/
/* kb-custom-14: "Alt+dollar";*/
/* kb-custom-15: "Alt+percent";*/
/* kb-custom-16: "Alt+dead_circumflex";*/
/* kb-custom-17: "Alt+ampersand";*/
/* kb-custom-18: "Alt+asterisk";*/
/* kb-custom-19: "Alt+parenleft";*/
/* kb-select-1: "Super+1";*/
/* kb-select-2: "Super+2";*/
/* kb-select-3: "Super+3";*/
/* kb-select-4: "Super+4";*/
/* kb-select-5: "Super+5";*/
/* kb-select-6: "Super+6";*/
/* kb-select-7: "Super+7";*/
/* kb-select-8: "Super+8";*/
/* kb-select-9: "Super+9";*/
/* kb-select-10: "Super+0";*/
/* ml-row-left: "ScrollLeft";*/
/* ml-row-right: "ScrollRight";*/
/* ml-row-up: "ScrollUp";*/
/* ml-row-down: "ScrollDown";*/
/* me-select-entry: "MousePrimary";*/
/* me-accept-entry: "MouseDPrimary";*/
/* me-accept-custom: "Control+MouseDPrimary";*/
}
@import "theme.rasi"

View File

@ -1,145 +0,0 @@
configuration {
/* modi: "window,run,ssh";*/
/* width: 50;*/
/* lines: 15;*/
/* columns: 1;*/
/* font: "mono 12";*/
/* bw: 1;*/
/* location: 0;*/
/* padding: 5;*/
/* yoffset: 0;*/
/* xoffset: 0;*/
/* fixed-num-lines: true;*/
/* show-icons: false;*/
/* terminal: "rofi-sensible-terminal";*/
/* ssh-client: "ssh";*/
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
/* run-command: "{cmd}";*/
/* run-list-command: "";*/
/* run-shell-command: "{terminal} -e {cmd}";*/
/* window-command: "wmctrl -i -R {window}";*/
/* window-match-fields: "all";*/
/* icon-theme: ;*/
/* drun-match-fields: "name,generic,exec,categories";*/
/* drun-show-actions: false;*/
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/
/* disable-history: false;*/
/* ignored-prefixes: "";*/
/* sort: false;*/
/* sorting-method: ;*/
/* case-sensitive: false;*/
/* cycle: true;*/
/* sidebar-mode: false;*/
/* eh: 1;*/
/* auto-select: false;*/
/* parse-hosts: false;*/
/* parse-known-hosts: true;*/
/* combi-modi: "window,run";*/
/* matching: "normal";*/
/* tokenize: true;*/
/* m: "-5";*/
/* line-margin: 2;*/
/* line-padding: 1;*/
/* filter: ;*/
/* separator-style: "dash";*/
/* hide-scrollbar: false;*/
/* fullscreen: false;*/
/* fake-transparency: false;*/
/* dpi: -1;*/
/* threads: 0;*/
/* scrollbar-width: 8;*/
/* scroll-method: 0;*/
/* fake-background: "screenshot";*/
/* window-format: "{w} {c} {t}";*/
/* click-to-exit: true;*/
/* show-match: true;*/
/* theme: ;*/
/* color-normal: ;*/
/* color-urgent: ;*/
/* color-active: ;*/
/* color-window: ;*/
/* max-history-size: 25;*/
/* combi-hide-mode-prefix: false;*/
/* matching-negate-char: '-' /* unsupported */;*/
/* cache-dir: ;*/
/* pid: "/run/user/1000/rofi.pid";*/
/* display-window: ;*/
/* display-windowcd: ;*/
/* display-run: ;*/
/* display-ssh: ;*/
/* display-drun: ;*/
/* display-combi: ;*/
/* display-keys: ;*/
/* kb-primary-paste: "Control+V,Shift+Insert";*/
/* kb-secondary-paste: "Control+v,Insert";*/
/* kb-clear-line: "Control+w";*/
/* kb-move-front: "Control+a";*/
/* kb-move-end: "Control+e";*/
/* kb-move-word-back: "Alt+b,Control+Left";*/
/* kb-move-word-forward: "Alt+f,Control+Right";*/
/* kb-move-char-back: "Left,Control+b";*/
/* kb-move-char-forward: "Right,Control+f";*/
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
/* kb-remove-word-forward: "Control+Alt+d";*/
/* kb-remove-char-forward: "Delete,Control+d";*/
/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/
/* kb-remove-to-eol: "Control+k";*/
/* kb-remove-to-sol: "Control+u";*/
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
/* kb-accept-custom: "Control+Return";*/
/* kb-accept-alt: "Shift+Return";*/
/* kb-delete-entry: "Shift+Delete";*/
/* kb-mode-next: "Shift+Right,Control+Tab";*/
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
/* kb-row-left: "Control+Page_Up";*/
/* kb-row-right: "Control+Page_Down";*/
/* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/
/* kb-row-down: "Down,Control+n";*/
/* kb-row-tab: "Tab";*/
/* kb-page-prev: "Page_Up";*/
/* kb-page-next: "Page_Down";*/
/* kb-row-first: "Home,KP_Home";*/
/* kb-row-last: "End,KP_End";*/
/* kb-row-select: "Control+space";*/
/* kb-screenshot: "Alt+S";*/
/* kb-ellipsize: "Alt+period";*/
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
/* kb-toggle-sort: "Alt+grave";*/
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
/* kb-custom-1: "Alt+1";*/
/* kb-custom-2: "Alt+2";*/
/* kb-custom-3: "Alt+3";*/
/* kb-custom-4: "Alt+4";*/
/* kb-custom-5: "Alt+5";*/
/* kb-custom-6: "Alt+6";*/
/* kb-custom-7: "Alt+7";*/
/* kb-custom-8: "Alt+8";*/
/* kb-custom-9: "Alt+9";*/
/* kb-custom-10: "Alt+0";*/
/* kb-custom-11: "Alt+exclam";*/
/* kb-custom-12: "Alt+at";*/
/* kb-custom-13: "Alt+numbersign";*/
/* kb-custom-14: "Alt+dollar";*/
/* kb-custom-15: "Alt+percent";*/
/* kb-custom-16: "Alt+dead_circumflex";*/
/* kb-custom-17: "Alt+ampersand";*/
/* kb-custom-18: "Alt+asterisk";*/
/* kb-custom-19: "Alt+parenleft";*/
/* kb-select-1: "Super+1";*/
/* kb-select-2: "Super+2";*/
/* kb-select-3: "Super+3";*/
/* kb-select-4: "Super+4";*/
/* kb-select-5: "Super+5";*/
/* kb-select-6: "Super+6";*/
/* kb-select-7: "Super+7";*/
/* kb-select-8: "Super+8";*/
/* kb-select-9: "Super+9";*/
/* kb-select-10: "Super+0";*/
/* ml-row-left: "ScrollLeft";*/
/* ml-row-right: "ScrollRight";*/
/* ml-row-up: "ScrollUp";*/
/* ml-row-down: "ScrollDown";*/
/* me-select-entry: "MousePrimary";*/
/* me-accept-entry: "MouseDPrimary";*/
/* me-accept-custom: "Control+MouseDPrimary";*/
}

View File

@ -1,127 +0,0 @@
/* ==========================================================================
File: gruvbox-common.rasi
Desc: Shared rules between all gruvbox themes
Author: bardisty <b@bah.im>
Source: https://github.com/bardisty/gruvbox-rofi
Modified: Mon Feb 12 2018 06:06:47 PST -0800
========================================================================== */
window {
background-color: @background;
border: 2;
padding: 2;
}
mainbox {
border: 0;
padding: 0;
}
message {
border: 2px 0 0;
border-color: @separatorcolor;
padding: 1px;
}
textbox {
highlight: @highlight;
text-color: @foreground;
}
listview {
border: 2px solid 0 0;
padding: 2px 0 0;
border-color: @separatorcolor;
spacing: 2px;
scrollbar: @scrollbar;
}
element {
border: 0;
padding: 2px;
}
element.normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element.normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
element.selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
element.selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
element.alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
scrollbar {
width: 4px;
border: 0;
handle-color: @scrollbar-handle;
handle-width: 8px;
padding: 0;
}
mode-switcher {
border: 2px 0 0;
border-color: @separatorcolor;
}
inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 2px;
children: [ prompt, textbox-prompt-sep, entry, case-indicator ];
}
case-indicator,
entry,
prompt,
button {
spacing: 0;
text-color: @normal-foreground;
}
button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
textbox-prompt-sep {
expand: false;
str: ":";
text-color: @normal-foreground;
margin: 0 0.3em 0 0;
}

View File

@ -1,62 +0,0 @@
/* ==========================================================================
Rofi color theme
Based on the Gruvbox color scheme for Vim by morhetz
https://github.com/morhetz/gruvbox
File: gruvbox-dark-hard.rasi
Desc: Gruvbox dark (hard contrast) color theme for Rofi
Author: bardisty <b@bah.im>
Source: https://github.com/bardisty/gruvbox-rofi
Modified: Mon Feb 12 2018 06:04:26 PST -0800
========================================================================== */
* {
/* Theme settings */
highlight: bold italic;
scrollbar: true;
/* Gruvbox dark colors */
gruvbox-dark-bg0-hard: #1d2021;
gruvbox-dark-bg0: #282828;
gruvbox-dark-bg2: #504945;
gruvbox-dark-fg0: #fbf1c7;
gruvbox-dark-fg1: #ebdbb2;
gruvbox-dark-red-dark: #cc241d;
gruvbox-dark-red-light: #fb4934;
gruvbox-dark-yellow-dark: #d79921;
gruvbox-dark-yellow-light: #fabd2f;
gruvbox-dark-gray: #a89984;
/* Theme colors */
background: @gruvbox-dark-bg0-hard;
background-color: @background;
foreground: @gruvbox-dark-fg1;
border-color: @gruvbox-dark-gray;
separatorcolor: @border-color;
scrollbar-handle: @border-color;
normal-background: @background;
normal-foreground: @foreground;
alternate-normal-background: @gruvbox-dark-bg0;
alternate-normal-foreground: @foreground;
selected-normal-background: @gruvbox-dark-bg2;
selected-normal-foreground: @gruvbox-dark-fg0;
active-background: @gruvbox-dark-yellow-dark;
active-foreground: @background;
alternate-active-background: @active-background;
alternate-active-foreground: @active-foreground;
selected-active-background: @gruvbox-dark-yellow-light;
selected-active-foreground: @active-foreground;
urgent-background: @gruvbox-dark-red-dark;
urgent-foreground: @background;
alternate-urgent-background: @urgent-background;
alternate-urgent-foreground: @urgent-foreground;
selected-urgent-background: @gruvbox-dark-red-light;
selected-urgent-foreground: @urgent-foreground;
}
@import "gruvbox-common.rasi"

View File

@ -1,7 +0,0 @@
* {
background-color: "blue";
}
window {
background-color: rgba ( 255, 0, 0, 100 % );
}