From 1938517aa5aec927ec7309d1ac363b71368d8649 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 14 Oct 2019 15:26:01 +0100 Subject: Add rofi config --- emacs/loader.org | 18 ++++++++++++------ install.sh | 7 +++++++ rofi/config | 4 ++++ 3 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 rofi/config diff --git a/emacs/loader.org b/emacs/loader.org index 28937cf..3ebff75 100644 --- a/emacs/loader.org +++ b/emacs/loader.org @@ -36,15 +36,21 @@ be manually set inside emacs. #+BEGIN_SRC emacs-lisp (setenv "PATH" - (concat - "/home/yannherklotz/.local/bin" ":" - "/home/yannherklotz/.yarn/bin" ":" - "/usr/bin/vendor_perl" ":" - (getenv "PATH"))) + (concat + "/home/yannherklotz/.local/bin" ":" + "/home/yannherklotz/.yarn/bin" ":" + "/usr/bin/vendor_perl" ":" + "/home/yannherklotz/.opam/4.09.0/bin" ":" + (getenv "PATH"))) + (setq exec-path (append + '("/home/yannherklotz/.opam/4.09.0/bin" + "/home/yannherklotz/.local/bin" + "/home/yannherklotz/.yarn/bin") + exec-path)) #+END_SRC #+RESULTS: -: /home/yannherklotz/.local/bin:/home/yannherklotz/.yarn/bin:/usr/bin/vendor_perl:/home/yannherklotz/.local/bin:/home/yannherklotz/.yarn/bin:/usr/local/sbin:/usr/local/bin:/usr/bin +| /home/yannherklotz/.opam/4.09.0/bin | /home/yannherklotz/.local/bin | /home/yannherklotz/.yarn/bin | /home/yannherklotz/.opam/4.09.0/bin | /home/yannherklotz/.local/bin | /home/yannherklotz/.yarn/bin | /home/yannherklotz/.opam/4.09.0/bin | /home/yannherklotz/.cargo/bin | /home/yannherklotz/.local/bin | /home/yannherklotz/.yarn/bin | /usr/bin | /home/yannherklotz/.gem/ruby/2.6.0/bin | /usr/local/bin | /home/yannherklotz/.nix-profile/bin | /nix/var/nix/profiles/default/bin | /usr/local/sbin | /usr/local/bin | /usr/bin | /opt/clojurescript/bin | /usr/lib/jvm/default/bin | /usr/bin/site_perl | /usr/bin/vendor_perl | /usr/bin/core_perl | /opt/Xilinx/Vivado/2019.1/bin | /opt/intelFPGA_lite/18.1/quartus/bin | /usr/lib/emacs/26.3/x86_64-pc-linux-gnu | Define a function to load a user file whenever I want to add configurations that are not pushed as part of this configuration file. This includes a private file diff --git a/install.sh b/install.sh index b973b97..7a412cb 100755 --- a/install.sh +++ b/install.sh @@ -57,6 +57,7 @@ for i in "$@"; do ncmpcpp) NCMPCPP=1; NOT_ALL=1;; mpd) MPD=1; NOT_ALL=1;; bspwm) BSPWM=1; NOT_ALL=1;; + rofi) ROFI=1; NOT_ALL=1;; *) print_help @@ -139,3 +140,9 @@ if [[ ! -z $BSPWM ]] || [[ -z $NOT_ALL ]]; then mk ~/.config/sxhkd ln_configs sxhkd/sxhkdrc ~/.config/sxhkd/sxhkdrc fi + +if [[ ! -z $ROFI ]] || [[ -z $NOT_ALL ]]; then + echo "Installing rofi config..." + mk ~/.config/rofi + ln_configs rofi/config ~/.config/rofi/config +fi diff --git a/rofi/config b/rofi/config new file mode 100644 index 0000000..f69402f --- /dev/null +++ b/rofi/config @@ -0,0 +1,4 @@ +rofi.combi-modi: window,drun +rofi.font: hack 10 +rofi.modi: combi +rofi.theme: .cache/wal/colors-rofi-dark.rasi -- cgit